Application: kexi (2.3.1 (KOffice 2.3.1)) KDE Platform Version: 4.6.00 (4.6.0) Qt Version: 4.7.1 Operating System: Linux 2.6.37-12-desktop i686 Distribution: "openSUSE 11.3 (i586)" -- Information about the crash: I created a new local database which has two tables. I then tried to create a query. No data had been added to the tables so far. I selected one table and put two fields in the list. Then I clicked on the "SQL" button and Kexi immediately crashed. -- Backtrace: Application: Kexi (kexi), signal: Segmentation fault [Current thread is 1 (Thread 0xb40e7710 (LWP 27644))] Thread 2 (Thread 0xb1059b70 (LWP 27646)): #0 0xb526f22b in clock_gettime () from /lib/librt.so.1 #1 0xb6a21265 in do_gettime () at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb6af4d26 in updateCurrentTime (this=0x86749b4, tm=...) at kernel/qeventdispatcher_unix.cpp:339 #4 QTimerInfoList::timerWait (this=0x86749b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6af355b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb105911c) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6af35fd in timerSourcePrepare (source=0x8674980, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb55fd0c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #8 0xb55fdf22 in ?? () from /usr/lib/libglib-2.0.so.0 #9 0xb55fe60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #10 0xb6af3da7 in QEventDispatcherGlib::processEvents (this=0x8219fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0xb6ac489d in QEventLoop::processEvents (this=0xb10592b0, flags=...) at kernel/qeventloop.cpp:149 #12 0xb6ac4ac9 in QEventLoop::exec (this=0xb10592b0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb69c37a9 in QThread::exec (this=0x834b4d0) at thread/qthread.cpp:490 #14 0xb6aa44ad in QInotifyFileSystemWatcherEngine::run (this=0x834b4d0) at io/qfilesystemwatcher_inotify.cpp:248 #15 0xb69c639a in QThreadPrivate::start (arg=0x834b4d0) at thread/qthread_unix.cpp:285 #16 0xb56aab25 in start_thread () from /lib/libpthread.so.0 #17 0xb68c946e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb40e7710 (LWP 27644)): [KCrash Handler] #7 end (this=0x8b1e230, position=1, field=0x880c2e8, bindToTable=-1, visible=true) at /usr/include/QtCore/qvector.h:238 #8 qDeleteAll<QVector<KexiDB::QueryColumnInfo*> > (this=0x8b1e230, position=1, field=0x880c2e8, bindToTable=-1, visible=true) at /usr/include/QtCore/qalgorithms.h:330 #9 clearCachedData (this=0x8b1e230, position=1, field=0x880c2e8, bindToTable=-1, visible=true) at /usr/src/debug/koffice-2.3.1/kexi/kexidb/queryschema.cpp:173 #10 KexiDB::QuerySchema::insertField (this=0x8b1e230, position=1, field=0x880c2e8, bindToTable=-1, visible=true) at /usr/src/debug/koffice-2.3.1/kexi/kexidb/queryschema.cpp:687 #11 0xb67b2cac in KexiDB::QuerySchema::insertField (this=0x8b1e230, position=1, field=0x880c2e8, visible=true) at /usr/src/debug/koffice-2.3.1/kexi/kexidb/queryschema.cpp:657 #12 0xb67b2cf9 in KexiDB::QuerySchema::addField (this=0x8b1e230, field=0x880c2e8, visible=true) at /usr/src/debug/koffice-2.3.1/kexi/kexidb/queryschema.cpp:750 #13 0xafd4c249 in KexiQueryDesignerGuiEditor::buildSchema (this=0x88f4170, errMsg=0x0) at /usr/src/debug/koffice-2.3.1/kexi/plugins/queries/kexiquerydesignerguieditor.cpp:491 #14 0xafd4da72 in KexiQueryDesignerGuiEditor::beforeSwitchTo (this=0x88f4170, mode=Kexi::TextViewMode, dontStore=@0xbfcb3e4e) at /usr/src/debug/koffice-2.3.1/kexi/plugins/queries/kexiquerydesignerguieditor.cpp:616 #15 0xb66f3b72 in KexiWindow::switchToViewMode (this=0x8a85b48, newViewMode=Kexi::TextViewMode, staticObjectArgs=0x0, proposeOpeningInTextViewModeBecauseOfProblems=@0xbfcb3eaf) at /usr/src/debug/koffice-2.3.1/kexi/core/KexiWindow.cpp:607 #16 0xb66f422c in KexiWindow::switchToViewMode (this=0x8a85b48, newViewMode=Kexi::TextViewMode) at /usr/src/debug/koffice-2.3.1/kexi/core/KexiWindow.cpp:743 #17 0xb7700285 in KexiMainWindow::switchToViewMode (this=0x8767548, window=..., viewMode=Kexi::TextViewMode) at /usr/src/debug/koffice-2.3.1/kexi/main/KexiMainWindow.cpp:3534 #18 0xb66f16db in KexiWindow::switchToViewModeInternal (this=0x8a85b48, newViewMode=Kexi::TextViewMode) at /usr/src/debug/koffice-2.3.1/kexi/core/KexiWindow.cpp:733 #19 0xb66f6153 in KexiView::slotSwitchToViewModeInternal (this=0x88f4170, mode=Kexi::TextViewMode) at /usr/src/debug/koffice-2.3.1/kexi/core/KexiView.cpp:643 #20 0xb66f61c3 in KexiView::slotSwitchToTextViewModeInternal (this=0x88f4170) at /usr/src/debug/koffice-2.3.1/kexi/core/KexiView.cpp:633 #21 0xb66f62a6 in KexiView::qt_metacall (this=0x88f4170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcb4108) at /usr/src/debug/koffice-2.3.1/build/kexi/core/KexiView.moc:100 #22 0xafd534d2 in KexiQueryDesignerGuiEditor::qt_metacall (this=0x88f4170, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfcb4108) at /usr/src/debug/koffice-2.3.1/build/kexi/plugins/queries/kexiquerydesignerguieditor.moc:123 #23 0xb6acbe5d in QMetaObject::metacall (object=0x88f4170, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xbfcb4108) at kernel/qmetaobject.cpp:237 #24 0xb6adbffc in QMetaObject::activate (sender=0x8aa03c8, m=0xb76b7824, local_signal_index=4, argv=0xbfcb4108) at kernel/qobject.cpp:3272 #25 0xb746f66d in QAbstractButton::toggled (this=0x8aa03c8, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:213 #26 0xb71693cd in QAbstractButton::setChecked (this=0x8aa03c8, checked=true) at widgets/qabstractbutton.cpp:766 #27 0xb7169970 in QAbstractButton::nextCheckState (this=0x8aa03c8) at widgets/qabstractbutton.cpp:1020 #28 0xb7240260 in QToolButton::nextCheckState (this=0x8aa03c8) at widgets/qtoolbutton.cpp:1145 #29 0xb7169007 in QAbstractButtonPrivate::click (this=0x8a84d58) at widgets/qabstractbutton.cpp:528 #30 0xb7169306 in QAbstractButton::mouseReleaseEvent (this=0x8aa03c8, e=0xbfcb4874) at widgets/qabstractbutton.cpp:1121 #31 0xb724033d in QToolButton::mouseReleaseEvent (this=0x8aa03c8, e=0xbfcb4874) at widgets/qtoolbutton.cpp:721 #32 0xb6d9b6d0 in QWidget::event (this=0x8aa03c8, event=0xbfcb4874) at kernel/qwidget.cpp:8200 #33 0xb7168310 in QAbstractButton::event (this=0x8aa03c8, e=0xbfcb4874) at widgets/qabstractbutton.cpp:1080 #34 0xb7241a9c in QToolButton::event (this=0x8aa03c8, event=0xbfcb4874) at widgets/qtoolbutton.cpp:1163 #35 0xb6d40414 in QApplicationPrivate::notify_helper (this=0x8070d98, receiver=0x8aa03c8, e=0xbfcb4874) at kernel/qapplication.cpp:4445 #36 0xb6d49c90 in QApplication::notify (this=0xbfcb458c, receiver=0x8aa03c8, e=0xbfcb4874) at kernel/qapplication.cpp:4006 #37 0xb5ba76c1 in KApplication::notify (this=0x806e230, receiver=0x8aa03c8, event=0xbfcb4874) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311 #38 0xb6ac55be in QCoreApplication::notifyInternal (this=0x806e230, receiver=0x8aa03c8, event=0xbfcb4874) at kernel/qcoreapplication.cpp:732 #39 0xb6d414bc in sendSpontaneousEvent (receiver=0x8aa03c8, event=0xbfcb4874, alienWidget=0x8aa03c8, nativeWidget=0x8814580, buttonDown=0xb76c0c00, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218 #40 QApplicationPrivate::sendMouseEvent (receiver=0x8aa03c8, event=0xbfcb4874, alienWidget=0x8aa03c8, nativeWidget=0x8814580, buttonDown=0xb76c0c00, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3103 #41 0xb6dcd4ac in QETWidget::translateMouseEvent (this=0x8814580, event=0xbfcb4d8c) at kernel/qapplication_x11.cpp:4438 #42 0xb6dcc5ce in QApplication::x11ProcessEvent (this=0x806e230, event=0xbfcb4d8c) at kernel/qapplication_x11.cpp:3442 #43 0xb6df6db0 in x11EventSourceDispatch (s=0x8073900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #44 0xb55fdb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #45 0xb55fe350 in ?? () from /usr/lib/libglib-2.0.so.0 #46 0xb55fe60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #47 0xb6af3d5b in QEventDispatcherGlib::processEvents (this=0x8051e40, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #48 0xb6df69aa in QGuiEventDispatcherGlib::processEvents (this=0x8051e40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #49 0xb6ac489d in QEventLoop::processEvents (this=0xbfcb5044, flags=...) at kernel/qeventloop.cpp:149 #50 0xb6ac4ac9 in QEventLoop::exec (this=0xbfcb5044, flags=...) at kernel/qeventloop.cpp:201 #51 0xb6ac9570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #52 0xb6d3e114 in QApplication::exec () at kernel/qapplication.cpp:3719 #53 0x08048764 in main (argc=1, argv=0xbfcb5154) at /usr/src/debug/koffice-2.3.1/kexi/main.cpp:34 Reported using DrKonqi
Hello, thanks for the report. May I ask for sample database that crashes? 'Add an attachment' link below can be used for attaching files.
Created attachment 61940 [details] Database used when the crash happened
Thanks for the sample, will be used for tests. *** This bug has been marked as a duplicate of bug 273151 ***