Bug 299394

Summary: Kexi crashed while switching to data view after query criteria changes
Product: [Applications] KEXI Reporter: Deorgins Cousins <atanaki>
Component: QueriesAssignee: Jarosław Staniek <staniek>
Status: CLOSED WAITINGFORINFO    
Severity: crash CC: cosimofracca
Priority: NOR    
Version First Reported In: 2.3.3 (KOffice 2.3.3)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 2.9.11
Sentry Crash Report:

Description Deorgins Cousins 2012-05-04 18:13:14 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-14-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: modified the criteria to refine query and when clicked on data button to see results blank screen showed. clicked on sreen and it crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe43f8897a0 (LWP 2231))]

Thread 4 (Thread 0x7fe429fc4700 (LWP 2232)):
#0  0x00007fe43aef83c4 in __pthread_mutex_lock (mutex=0x7fe4240009a8) at pthread_mutex_lock.c:61
#1  0x00007fe43aa2987f in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe43aa2a122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe43aa2a639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe43e48c446 in QEventDispatcherGlib::processEvents (this=0x7fe4240008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fe43e460882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe43e460abc in QEventLoop::exec (this=0x7fe429fc3db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fe43e377924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fe43e442c2f in QInotifyFileSystemWatcherEngine::run (this=0x219c620) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fe43e37a175 in QThreadPrivate::start (arg=0x219c620) at thread/qthread_unix.cpp:320
#10 0x00007fe43aef5d8c in start_thread (arg=0x7fe429fc4700) at pthread_create.c:304
#11 0x00007fe43e057c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe422fbf700 (LWP 2236)):
#0  0x00007fe43aa2a661 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe43e48c446 in QEventDispatcherGlib::processEvents (this=0x2189600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#2  0x00007fe43e460882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x00007fe43e460abc in QEventLoop::exec (this=0x7fe422fbedb0, flags=...) at kernel/qeventloop.cpp:201
#4  0x00007fe43e377924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#5  0x00007fe43e442c2f in QInotifyFileSystemWatcherEngine::run (this=0x23ac7d0) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x00007fe43e37a175 in QThreadPrivate::start (arg=0x23ac7d0) at thread/qthread_unix.cpp:320
#7  0x00007fe43aef5d8c in start_thread (arg=0x7fe422fbf700) at pthread_create.c:304
#8  0x00007fe43e057c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe41b641700 (LWP 2247)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe41ff8a2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fe4202a3180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fe41ff8a2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fe4202b1254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fe43aef5d8c in start_thread (arg=0x7fe41b641700) at pthread_create.c:304
#4  0x00007fe43e057c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe43f8897a0 (LWP 2231)):
[KCrash Handler]
#6  0x00007fe437f169ba in KexiTableViewColumn::isReadOnly (this=0x24b1db0) at ../../../../kexi/widget/tableview/KexiTableViewColumn.cpp:218
#7  0x00007fe437f24dd9 in KexiComboBoxTableEdit::slotButtonClicked (this=0x27bd660) at ../../../../kexi/widget/tableview/kexicomboboxtableedit.cpp:253
#8  0x00007fe437f2516c in KexiComboBoxTableEdit::qt_metacall (this=0x27bd660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb5257f50) at ./kexicomboboxtableedit.moc:92
#9  0x00007fe43e4765f8 in QMetaObject::activate (sender=0x27c3290, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb5257f50) at kernel/qobject.cpp:3287
#10 0x00007fe43efc7942 in QAbstractButton::clicked (this=<value optimized out>, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:206
#11 0x00007fe43ed10f2e in QAbstractButtonPrivate::emitClicked (this=0x27bf9d0) at widgets/qabstractbutton.cpp:546
#12 0x00007fe43ed124ab in QAbstractButtonPrivate::click (this=0x27bf9d0) at widgets/qabstractbutton.cpp:539
#13 0x00007fe43ed1271c in QAbstractButton::mouseReleaseEvent (this=0x27c3290, e=0x7fffb5258890) at widgets/qabstractbutton.cpp:1121
#14 0x00007fe43e9a0cc8 in QWidget::event (this=0x27c3290, event=0x7fffb5258890) at kernel/qwidget.cpp:8259
#15 0x00007fe43e94f9f4 in QApplicationPrivate::notify_helper (this=0x1a10240, receiver=0x27c3290, e=0x7fffb5258890) at kernel/qapplication.cpp:4462
#16 0x00007fe43e954dc3 in QApplication::notify (this=<value optimized out>, receiver=0x27c3290, e=0x7fffb5258890) at kernel/qapplication.cpp:4023
#17 0x00007fe43bd566c6 in KApplication::notify (this=0x1a08090, receiver=0x27c3290, event=0x7fffb5258890) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fe43e46149c in QCoreApplication::notifyInternal (this=0x1a08090, receiver=0x27c3290, event=0x7fffb5258890) at kernel/qcoreapplication.cpp:731
#19 0x00007fe43e950a1d in sendEvent (receiver=0x27c3290, event=0x7fffb5258890, alienWidget=0x27c3290, nativeWidget=0x25e4710, buttonDown=0x7fe43f433218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QApplicationPrivate::sendMouseEvent (receiver=0x27c3290, event=0x7fffb5258890, alienWidget=0x27c3290, nativeWidget=0x25e4710, buttonDown=0x7fe43f433218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#21 0x00007fe43e9d2190 in QETWidget::translateMouseEvent (this=0x25e4710, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#22 0x00007fe43e9d0ab7 in QApplication::x11ProcessEvent (this=0x1a08090, event=0x7fffb52591e0) at kernel/qapplication_x11.cpp:3680
#23 0x00007fe43e9f9842 in x11EventSourceDispatch (s=0x1a15680, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007fe43aa29bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe43aa2a3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fe43aa2a639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fe43e48c3ef in QEventDispatcherGlib::processEvents (this=0x19b84e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007fe43e9f94de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fe43e460882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007fe43e460abc in QEventLoop::exec (this=0x7fffb52594e0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007fe43e464ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#32 0x0000000000400899 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kexi/main.cpp:34

Possible duplicates by query: bug 279711.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-05-04 21:48:03 UTC
Hi, thanks for reporting. Please see comment at https://bugs.kde.org/show_bug.cgi?id=279711#c2 - maybe this is the same bug? Sending test database that crashes would help.
Comment 2 Jarosław Staniek 2012-08-11 11:11:27 UTC
Could you please provide more info? Query SQL or sample kexi file?
Comment 3 Jarosław Staniek 2012-10-17 19:53:57 UTC
*** Bug 308574 has been marked as a duplicate of this bug. ***
Comment 4 Jarosław Staniek 2016-01-23 10:17:20 UTC
2.9.11 fixes related issues, possibly the core of the problem. Please reopen this report if the problem persists. Thanks.