Bug 336546 - Crash when Kexi wants to close an open tab
Summary: Crash when Kexi wants to close an open tab
Status: CLOSED DUPLICATE of bug 334234
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.8.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-21 13:01 UTC by Y
Modified: 2014-06-21 22:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Y 2014-06-21 13:01:09 UTC
Application: kexi (2.8.3)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

* A query was open in a tab
* I edited the design of a table used by the query (changed the name of a field)
* Kexi warned that it must closes the object using the query first
* I click OK, close it
* Kexi crashed on me

The crash can be reproduced every time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa1582367c0 (LWP 26578))]

Thread 5 (Thread 0x7fa13d3d5700 (LWP 26579)):
#0  0x00007fa152db97ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x2096390) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x2096390) at pthread_mutex_unlock.c:310
#2  0x00007fa1529189c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1528d6ef6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa1528d730a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa144997e16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fa1528fbf15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fa152db6182 in start_thread (arg=0x7fa13d3d5700) at pthread_create.c:312
#8  0x00007fa15617130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa13cbd4700 (LWP 26580)):
#0  0x00007fa156163fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa1528d6fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1528d70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1528d7129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa1528fbf15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa152db6182 in start_thread (arg=0x7fa13cbd4700) at pthread_create.c:312
#6  0x00007fa15617130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa137fff700 (LWP 26591)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fa12c002c00) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fa12c002c00) at pthread_mutex_unlock.c:310
#2  0x00007fa1529189c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1528d60f0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa1528d6ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa1528d70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa1565e67be in QEventDispatcherGlib::processEvents (this=0x7fa12c001390, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fa1565b80af in QEventLoop::processEvents (this=this@entry=0x7fa137ffede0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fa1565b83a5 in QEventLoop::exec (this=this@entry=0x7fa137ffede0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fa1564b4c5f in QThread::exec (this=this@entry=0x24a4c10) at thread/qthread.cpp:537
#10 0x00007fa156599823 in QInotifyFileSystemWatcherEngine::run (this=0x24a4c10) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fa1564b732f in QThreadPrivate::start (arg=0x24a4c10) at thread/qthread_unix.cpp:349
#12 0x00007fa152db6182 in start_thread (arg=0x7fa137fff700) at pthread_create.c:312
#13 0x00007fa15617130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa1377fe700 (LWP 26654)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa11fcdeffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa11fcdf039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa152db6182 in start_thread (arg=0x7fa1377fe700) at pthread_create.c:312
#4  0x00007fa15617130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa1582367c0 (LWP 26578)):
[KCrash Handler]
#6  KexiWindow::close (this=this@entry=0x2306740, force=force@entry=true) at /build/buildd/calligra-2.8.3/kexi/core/KexiWindow.cpp:325
#7  0x00007fa157ad1436 in KexiWindow::~KexiWindow (this=0x2306740, __in_chrg=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/core/KexiWindow.cpp:168
#8  0x00007fa157ad1529 in KexiWindow::~KexiWindow (this=0x2306740, __in_chrg=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/core/KexiWindow.cpp:172
#9  0x00007fa157d8d966 in ~KexiWindowContainer (this=0x25db9e0, __in_chrg=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow_p.h:143
#10 KexiWindowContainer::~KexiWindowContainer (this=0x25db9e0, __in_chrg=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow_p.h:145
#11 0x00007fa157d83fda in KexiMainWindow::closeWindow (this=this@entry=0x2181350, window=<optimized out>, layoutTaskBar=layoutTaskBar@entry=true, doNotSaveChanges=doNotSaveChanges@entry=false) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow.cpp:3054
#12 0x00007fa157d84458 in KexiMainWindow::closeWindow (this=0x2181350, window=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow.cpp:2880
#13 0x00007fa084f9d6ad in KexiQueryPart::TempData::closeListener (this=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/plugins/queries/kexiquerypart.cpp:259
#14 0x00007fa155696af9 in KexiDB::Connection::closeAllTableSchemaChangeListeners (this=this@entry=0x2746ea0, tableSchema=...) at /build/buildd/calligra-2.8.3/libs/db/connection.cpp:3762
#15 0x00007fa1193141ff in KexiTablePart::askForClosingObjectsUsingTableSchema (parent=parent@entry=0x2ea1460, conn=..., table=..., msg=...) at /build/buildd/calligra-2.8.3/kexi/plugins/tables/kexitablepart.cpp:203
#16 0x00007fa119322324 in KexiTableDesignerView::storeData (this=0x2ea1460, dontAsk=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/plugins/tables/kexitabledesignerview.cpp:1508
#17 0x00007fa157ad378e in KexiWindow::storeData (this=this@entry=0x3548cd0, dontAsk=<optimized out>) at /build/buildd/calligra-2.8.3/kexi/core/KexiWindow.cpp:732
#18 0x00007fa157d7ebcd in KexiMainWindow::saveObject (this=this@entry=0x2181350, window=0x3548cd0, messageWhenAskingForName=..., options=...) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow.cpp:2820
#19 0x00007fa157d772b6 in KexiMainWindow::slotProjectSave (this=0x2181350) at /build/buildd/calligra-2.8.3/kexi/main/KexiMainWindow.cpp:2530
#20 0x00007fa157d8bffa in KexiMainWindow::qt_static_metacall (_o=0x2181350, _id=38337968, _a=0x7fff7109aae0, _c=<optimized out>) at /build/buildd/calligra-2.8.3/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:488
#21 0x00007fa1565cd87a in QMetaObject::activate (sender=sender@entry=0x21b35a0, m=m@entry=0x7fa157a55de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff7109aae0) at kernel/qobject.cpp:3539
#22 0x00007fa156fa5a62 in QAction::triggered (this=this@entry=0x21b35a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#23 0x00007fa156fa7433 in QAction::activate (this=0x21b35a0, event=<optimized out>) at kernel/qaction.cpp:1257
#24 0x00007fa1565cd87a in QMetaObject::activate (sender=sender@entry=0x354a280, m=m@entry=0x7fa157a7f2a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff7109ac40) at kernel/qobject.cpp:3539
#25 0x00007fa1575fa0d2 in QAbstractButton::clicked (this=this@entry=0x354a280, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#26 0x00007fa15735d9d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x3523270) at widgets/qabstractbutton.cpp:548
#27 0x00007fa15735eb43 in QAbstractButtonPrivate::click (this=this@entry=0x3523270) at widgets/qabstractbutton.cpp:541
#28 0x00007fa15735ec2c in QAbstractButton::mouseReleaseEvent (this=0x354a280, e=0x7fff7109b140) at widgets/qabstractbutton.cpp:1123
#29 0x00007fa157415a4a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#30 0x00007fa156ffb50a in QWidget::event (this=0x354a280, event=0x7fff7109b140) at kernel/qwidget.cpp:8376
#31 0x00007fa156fabe2c in QApplicationPrivate::notify_helper (this=this@entry=0x1f4d8c0, receiver=receiver@entry=0x354a280, e=e@entry=0x7fff7109b140) at kernel/qapplication.cpp:4567
#32 0x00007fa156fb25dd in QApplication::notify (this=this@entry=0x1f49b60, receiver=receiver@entry=0x354a280, e=e@entry=0x7fff7109b140) at kernel/qapplication.cpp:4110
#33 0x00007fa153e5dd1a in KApplication::notify (this=0x1f49b60, receiver=0x354a280, event=0x7fff7109b140) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fa1565b94dd in QCoreApplication::notifyInternal (this=0x1f49b60, receiver=receiver@entry=0x354a280, event=event@entry=0x7fff7109b140) at kernel/qcoreapplication.cpp:953
#35 0x00007fa156fb1d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x354a280, event=event@entry=0x7fff7109b140, alienWidget=alienWidget@entry=0x354a280, nativeWidget=nativeWidget@entry=0x35063c0, buttonDown=buttonDown@entry=0x7fa157a91318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#37 0x00007fa1570269cb in QETWidget::translateMouseEvent (this=this@entry=0x35063c0, event=event@entry=0x7fff7109b4c0) at kernel/qapplication_x11.cpp:4634
#38 0x00007fa157026269 in QApplication::x11ProcessEvent (this=0x1f49b60, event=event@entry=0x7fff7109b4c0) at kernel/qapplication_x11.cpp:3627
#39 0x00007fa15704db02 in x11EventSourceDispatch (s=0x1f4df70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007fa1528d6e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa1528d7048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fa1528d70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fa1565e67a1 in QEventDispatcherGlib::processEvents (this=0x1ed6af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#44 0x00007fa15704dbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fa1565b80af in QEventLoop::processEvents (this=this@entry=0x7fff7109b890, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fa1565b83a5 in QEventLoop::exec (this=this@entry=0x7fff7109b890, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fa1565bdb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#48 0x00007fa156faa37c in QApplication::exec () at kernel/qapplication.cpp:3828
#49 0x00000000004008c1 in main (argc=<optimized out>, argv=0x7fff7109b9d8) at /build/buildd/calligra-2.8.3/kexi/main.cpp:36

Possible duplicates by query: bug 335739, bug 334234.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2014-06-21 22:14:10 UTC
Thanks! Already reported, so closing this instance. Explanation you shared helps anyway!

*** This bug has been marked as a duplicate of bug 334234 ***