Bug 308574

Summary: Kexi crashes after insert data into a table
Product: [Applications] KEXI Reporter: cosimo <cosimofracca>
Component: TablesAssignee: Jarosław Staniek <staniek>
Status: CLOSED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.5.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cosimo 2012-10-17 19:41:21 UTC
Application: kexi (2.5.2 (Calligra 2.5.2))
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.6.0-030600-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
Nell' inserimento di dati in un campo collegato ad un altra tabella Kexi si chiude inaspettatamente

The crash can be reproduced every time.

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

Thread 2 (Thread 0xac507b40 (LWP 3976)):
#0  0xb54c6e13 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb6498a74 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb54323d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb53f21c9 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb53f2f58 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb53f3201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb66f5db7 in QEventDispatcherGlib::processEvents (this=0xabc00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb66c167d in QEventLoop::processEvents (this=0xac507240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb66c1919 in QEventLoop::exec (this=0xac507240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb65aa9ec in QThread::exec (this=0x8f30998) at thread/qthread.cpp:501
#10 0xb669eccd in QInotifyFileSystemWatcherEngine::run (this=0x8f30998) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb65ade80 in QThreadPrivate::start (arg=0x8f30998) at thread/qthread_unix.cpp:307
#12 0xb54c4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb648af4e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb3dc9740 (LWP 3970)):
[KCrash Handler]
#7  0xabbafef5 in KexiTableViewColumn::isReadOnly (this=0x90ee430) at /build/buildd/calligra-2.5.2/kexi/widget/dataviewcommon/KexiTableViewColumn.cpp:218
#8  0xabb71d25 in KexiComboBoxTableEdit::slotButtonClicked (this=0x90fbeb8) at /build/buildd/calligra-2.5.2/kexi/widget/tableview/kexicomboboxtableedit.cpp:253
#9  0xb66d9b81 in QMetaObject::activate (sender=0x90ffd70, m=0xb75bb7c8, local_signal_index=2, argv=0xbf8851f8) at kernel/qobject.cpp:3547
#10 0xb7367f5d in QAbstractButton::clicked (this=0x90ffd70, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#11 0xb705bb5d in QAbstractButtonPrivate::emitClicked (this=0x9100738) at widgets/qabstractbutton.cpp:548
#12 0xb705d1cb in QAbstractButtonPrivate::click (this=0x9100738) at widgets/qabstractbutton.cpp:541
#13 0xb705d486 in QAbstractButton::mouseReleaseEvent (this=0x90ffd70, e=0xbf8858e4) at widgets/qabstractbutton.cpp:1123
#14 0xb6c89ffc in QWidget::event (this=0x90ffd70, event=0xbf8858e4) at kernel/qwidget.cpp:8371
#15 0xb705c729 in QAbstractButton::event (this=0x90ffd70, e=0xbf8858e4) at widgets/qabstractbutton.cpp:1082
#16 0xb70ffcf8 in QPushButton::event (this=0x90ffd70, e=0xbf8858e4) at widgets/qpushbutton.cpp:683
#17 0xb6162165 in KexiComboBoxDropDownButton::event (this=0x90ffd70, event=0xbf8858e4) at /build/buildd/calligra-2.5.2/kexi/widget/utils/kexicomboboxdropdownbutton.cpp:107
#18 0xb6c2fdf4 in notify_helper (e=0xbf8858e4, receiver=0x90ffd70, this=0x896b590) at kernel/qapplication.cpp:4556
#19 QApplicationPrivate::notify_helper (this=0x896b590, receiver=0x90ffd70, e=0xbf8858e4) at kernel/qapplication.cpp:4528
#20 0xb6c35e74 in QApplication::notify (this=0x896b590, receiver=0x90ffd70, e=0xbf8858e4) at kernel/qapplication.cpp:4099
#21 0xb57fe541 in KApplication::notify (this=0x895e668, receiver=0x90ffd70, event=0xbf8858e4) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb66c2dde in QCoreApplication::notifyInternal (this=0x895e668, receiver=0x90ffd70, event=0xbf8858e4) at kernel/qcoreapplication.cpp:915
#23 0xb6c30db5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=0x90ffd70, event=0xbf8858e4, alienWidget=0x90ffd70, nativeWidget=0x9055270, buttonDown=0xb75c4cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#25 0xb6cbcf94 in QETWidget::translateMouseEvent (this=0x9055270, event=0xbf885d9c) at kernel/qapplication_x11.cpp:4617
#26 0xb6cbbb2d in QApplication::x11ProcessEvent (this=0x895e668, event=0xbf885d9c) at kernel/qapplication_x11.cpp:3732
#27 0xb6ce8e1c in x11EventSourceDispatch (s=0x8962e38, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0xb53f2d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb53f3125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb53f3201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb66f5d57 in QEventDispatcherGlib::processEvents (this=0x8914e88, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0xb6ce8a1a in QGuiEventDispatcherGlib::processEvents (this=0x8914e88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb66c167d in QEventLoop::processEvents (this=0xbf886094, flags=...) at kernel/qeventloop.cpp:149
#34 0xb66c1919 in QEventLoop::exec (this=0xbf886094, flags=...) at kernel/qeventloop.cpp:204
#35 0xb66c731a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0xb6c2d9c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#37 0x080486cd in main (argc=1, argv=0xbf8861a4) at /build/buildd/calligra-2.5.2/kexi/main.cpp:36

Possible duplicates by query: bug 299394.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-10-17 19:53:57 UTC
Hi, Thanks for reporting!
From the backtrace it looks like you are somehow using a combo box. I can look at this specific case if you send a simple database with such table created. 

This bug was already reported - please go to bug https://bugs.kde.org/show_bug.cgi?id=299394 and if you attach sample database that crashes (with recipe how to do that) it would be easier to fix.

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