Bug 289560 - Kexi Crashes when Saving a Query
Summary: Kexi Crashes when Saving a Query
Status: CLOSED DUPLICATE of bug 273151
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.3.3 (KOffice 2.3.3)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 06:37 UTC by cramjaco
Modified: 2012-01-31 22:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.3.4 (KOffice 2.3.4) and Calligra 2.4.0 alpha


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cramjaco 2011-12-22 06:37:15 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
I had designed a new query that joined two tables and returned some consolidated information.  When I click save, Kexi completely crashes.

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

Thread 3 (Thread 0xb6c4fb70 (LWP 1871)):
#0  0x007e6416 in __kernel_vsyscall ()
#1  0x004ee40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0719234b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07183896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07183f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02205cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x071aa5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x096cad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x004fd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb74a7b70 (LWP 1876)):
#0  0x007e6416 in __kernel_vsyscall ()
#1  0x004ee40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0719234b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07183896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07183c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0031eb37 in QEventDispatcherGlib::processEvents (this=0x9edf7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x002ef1dd in QEventLoop::processEvents (this=0xb74a72a0, flags=...) at kernel/qeventloop.cpp:149
#7  0x002ef421 in QEventLoop::exec (this=0xb74a72a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x001f290b in QThread::exec (this=0x9edab78) at thread/qthread.cpp:498
#9  0x002cfe2d in QInotifyFileSystemWatcherEngine::run (this=0x9edab78) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x001f57b3 in QThreadPrivate::start (arg=0x9edab78) at thread/qthread_unix.cpp:331
#11 0x096cad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x004fd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7734720 (LWP 1869)):
[KCrash Handler]
#7  end (this=0x0) at /usr/include/qt4/QtCore/qvector.h:238
#8  qDeleteAll<QVector<KexiDB::QueryColumnInfo*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KexiDB::QuerySchemaPrivate::clearCachedData (this=0x9ebff18) at ../../../kexi/kexidb/queryschema.cpp:173
#10 0x00630e75 in KexiDB::QuerySchema::insertField (this=0x9fe5fa8, position=1, field=0x9dad8e8, bindToTable=-1, visible=true) at ../../../kexi/kexidb/queryschema.cpp:687
#11 0x00631acc in KexiDB::QuerySchema::insertField (this=0x9fe5fa8, position=1, field=0x9dad8e8, visible=true) at ../../../kexi/kexidb/queryschema.cpp:657
#12 0x00631b19 in KexiDB::QuerySchema::addField (this=0x9fe5fa8, field=0x9dad8e8, visible=true) at ../../../kexi/kexidb/queryschema.cpp:750
#13 0x02c6ac26 in KexiQueryDesignerGuiEditor::buildSchema (this=0x9ae1238, errMsg=0xbf9791f4) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:491
#14 0x02c6c3ab in KexiQueryDesignerGuiEditor::storeNewData (this=0x9ae1238, sdata=..., cancel=@0xbf97927f) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:713
#15 0x006a89af in KexiWindow::storeNewData (this=0x9e6cdb8) at ../../../kexi/core/KexiWindow.cpp:855
#16 0x00143a44 in KexiMainWindow::saveObject (this=0x9b409c8, window=0x9e6cdb8, messageWhenAskingForName=..., dontAsk=false) at ../../../kexi/main/KexiMainWindow.cpp:3699
#17 0x0013db25 in KexiMainWindow::slotProjectSave (this=0x9b409c8) at ../../../kexi/main/KexiMainWindow.cpp:3344
#18 0x0014ecf0 in KexiMainWindow::qt_metacall (this=0x9b409c8, _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbf9794f8) at ./KexiMainWindow.moc:470
#19 0x002f6b7d in metacall (argv=0xbf9794f8, idx=83, cl=QMetaObject::InvokeMetaMethod, object=0x9b409c8) at kernel/qmetaobject.cpp:237
#20 QMetaObject::metacall (object=0x9b409c8, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xbf9794f8) at kernel/qmetaobject.cpp:232
#21 0x00305a6a in QMetaObject::activate (sender=0x9b4fb60, m=0x1287458, local_signal_index=1, argv=0xbf9794f8) at kernel/qobject.cpp:3278
#22 0x0093783d in QAction::triggered (this=0x9b4fb60, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00937adb in QAction::activate (this=0x9b4fb60, event=QAction::Trigger) at kernel/qaction.cpp:1257
#24 0x00938fa8 in trigger (this=0x9b4fb60) at kernel/qaction.h:218
#25 QAction::qt_metacall (this=0x9b4fb60, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf979728) at .moc/release-shared/moc_qaction.cpp:174
#26 0x009a07f2 in QWidgetAction::qt_metacall (this=0x9b4fb60, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf979728) at .moc/release-shared/moc_qwidgetaction.cpp:67
#27 0x014e6e22 in KAction::qt_metacall (this=0x9b4fb60, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf979728) at ./kaction.moc:95
#28 0x002f6b7d in metacall (argv=0xbf979728, idx=12, cl=QMetaObject::InvokeMetaMethod, object=0x9b4fb60) at kernel/qmetaobject.cpp:237
#29 QMetaObject::metacall (object=0x9b4fb60, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbf979728) at kernel/qmetaobject.cpp:232
#30 0x00305a6a in QMetaObject::activate (sender=0x9c912b0, m=0x129aa28, local_signal_index=2, argv=0xbf979728) at kernel/qobject.cpp:3278
#31 0x01053e1d in QAbstractButton::clicked (this=0x9c912b0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#32 0x00d5258d in QAbstractButtonPrivate::emitClicked (this=0x9eb27c8) at widgets/qabstractbutton.cpp:546
#33 0x00d53bfb in QAbstractButtonPrivate::click (this=0x9eb27c8) at widgets/qabstractbutton.cpp:539
#34 0x00d53eb6 in QAbstractButton::mouseReleaseEvent (this=0x9c912b0, e=0xbf979cec) at widgets/qabstractbutton.cpp:1121
#35 0x00e2b20d in QToolButton::mouseReleaseEvent (this=0x9c912b0, e=0xbf979cec) at widgets/qtoolbutton.cpp:721
#36 0x00998f98 in QWidget::event (this=0x9c912b0, event=0xbf979cec) at kernel/qwidget.cpp:8295
#37 0x00d53159 in QAbstractButton::event (this=0x9c912b0, e=0xbf979cec) at widgets/qabstractbutton.cpp:1080
#38 0x00e2c94c in QToolButton::event (this=0x9c912b0, event=0xbf979cec) at widgets/qtoolbutton.cpp:1163
#39 0x0093ed54 in notify_helper (e=0xbf979cec, receiver=0x9c912b0, this=0x9959788) at kernel/qapplication.cpp:4486
#40 QApplicationPrivate::notify_helper (this=0x9959788, receiver=0x9c912b0, e=0xbf979cec) at kernel/qapplication.cpp:4458
#41 0x00944dbb in QApplication::notify (this=0x9959788, receiver=0x9c912b0, e=0xbf979cec) at kernel/qapplication.cpp:4047
#42 0x015e7681 in KApplication::notify (this=0x99540d8, receiver=0x9c912b0, event=0xbf979cec) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x002f019e in QCoreApplication::notifyInternal (this=0x99540d8, receiver=0x9c912b0, event=0xbf979cec) at kernel/qcoreapplication.cpp:787
#44 0x0093fd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0x9c912b0, event=0xbf979cec, alienWidget=0x9c912b0, nativeWidget=0x9c89ea8, buttonDown=0x12a9eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#46 0x009cc2c4 in QETWidget::translateMouseEvent (this=0x9c89ea8, event=0xbf97a16c) at kernel/qapplication_x11.cpp:4568
#47 0x009cae4d in QApplication::x11ProcessEvent (this=0x99540d8, event=0xbf97a16c) at kernel/qapplication_x11.cpp:3690
#48 0x009f724c in x11EventSourceDispatch (s=0x995c700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x0718325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x07183990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x07183c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x0031eada in QEventDispatcherGlib::processEvents (this=0x9935218, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#53 0x009f6e3a in QGuiEventDispatcherGlib::processEvents (this=0x9935218, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x002ef1dd in QEventLoop::processEvents (this=0xbf97a474, flags=...) at kernel/qeventloop.cpp:149
#55 0x002ef421 in QEventLoop::exec (this=0xbf97a474, flags=...) at kernel/qeventloop.cpp:201
#56 0x002f419d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#57 0x0093c8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#58 0x08048624 in main (argc=2, argv=0xbf97a574) at ../../kexi/main.cpp:34

This bug may be a duplicate of or related to bug 277682.

Possible duplicates by query: bug 287863, bug 277979, bug 277682, bug 273344, bug 273151.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2011-12-22 07:51:09 UTC
Hi, this crash has been fixed in Calligra 2.4.0 alpha and backported to 2.3 series (unreleased KOffice 2.3.4 which can be fetched from git for compiling and some distributions could have done it already).

Thanks for reporting!

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