Bug 277682 - Crash when saving queries (after modification)
Summary: Crash when saving queries (after modification)
Status: CLOSED DUPLICATE of bug 273151
Alias: None
Product: KEXI
Classification: Applications
Component: Queries (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-07-13 09:51 UTC by olivimo
Modified: 2012-08-11 11:47 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 olivimo 2011-07-13 09:51:08 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
From a very basic database with 2 tables and a query, I tried to modify the query (in the design mode). I add a new row in the "Query Columns" and want to save it.
When I click on the save button it always crash.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb5d90b70 (LWP 3824)):
#0  0x00279374 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x001ee616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x03dce080 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03dce92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01d87304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0x03df72df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00276e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x001e073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb154cb70 (LWP 3826)):
#0  0x005b2416 in __kernel_vsyscall ()
#1  0x001d1f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x03dde84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03dce1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03dce524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0078c577 in QEventDispatcherGlib::processEvents (this=0x987d6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0075e289 in QEventLoop::processEvents (this=0xb154c280, flags=...) at kernel/qeventloop.cpp:149
#7  0x0075e522 in QEventLoop::exec (this=0xb154c280, flags=...) at kernel/qeventloop.cpp:201
#8  0x006682a0 in QThread::exec (this=0x987cac0) at thread/qthread.cpp:492
#9  0x0073ffdb in QInotifyFileSystemWatcherEngine::run (this=0x987cac0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0066ada2 in QThreadPrivate::start (arg=0x987cac0) at thread/qthread_unix.cpp:320
#11 0x00276e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x001e073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb5552b70 (LWP 3830)):
#0  0x005b2416 in __kernel_vsyscall ()
#1  0x0027b48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x001ee3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x038c4817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x39d81c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x038c4851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x39d81c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00276e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x001e073e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb608f720 (LWP 3822)):
[KCrash Handler]
#7  end (this=0x9baa758) at /usr/include/qt4/QtCore/qvector.h:238
#8  qDeleteAll<QVector<KexiDB::QueryColumnInfo*> > (this=0x9baa758) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KexiDB::QuerySchemaPrivate::clearCachedData (this=0x9baa758) at ../../../kexi/kexidb/queryschema.cpp:173
#10 0x0033c628 in KexiDB::QuerySchemaPrivate::clear (this=0x9baa758) at ../../../kexi/kexidb/queryschema.cpp:158
#11 0x050e33e4 in KexiQueryPart::TempData::clearQuery (this=0x9b3f0c0) at ../../../../kexi/plugins/queries/kexiquerypart.cpp:241
#12 0x050f388b in KexiQueryDesignerGuiEditor::buildSchema (this=0x9b34cd8, errMsg=0x0) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:383
#13 0x050f72a8 in KexiQueryDesignerGuiEditor::storeData (this=0x9b34cd8, dontAsk=false) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:745
#14 0x009e8d98 in KexiWindow::storeData (this=0x9b40200, dontAsk=false) at ../../../kexi/core/KexiWindow.cpp:954
#15 0x00ad7617 in KexiMainWindow::saveObject (this=0x9a2d6a8, window=0x9b40200, messageWhenAskingForName=..., dontAsk=false) at ../../../kexi/main/KexiMainWindow.cpp:3684
#16 0x00ad0640 in KexiMainWindow::slotProjectSave (this=0x9a2d6a8) at ../../../kexi/main/KexiMainWindow.cpp:3344
#17 0x00ae289c in KexiMainWindow::qt_metacall (this=0x9a2d6a8, _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbfe67738) at ./KexiMainWindow.moc:470
#18 0x007656ba in QMetaObject::metacall (object=0x9a2d6a8, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xbfe67738) at kernel/qmetaobject.cpp:237
#19 0x007754ff in QMetaObject::activate (sender=0x9a310b0, m=0x15733f8, local_signal_index=1, argv=0xbfe67738) at kernel/qobject.cpp:3287
#20 0x00c3b8d9 in QAction::triggered (this=0x9a310b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00c3bb38 in QAction::activate (this=0x9a310b0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#22 0x00c3cffb in trigger (this=0x9a310b0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe67968) at kernel/qaction.h:218
#23 QAction::qt_metacall (this=0x9a310b0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe67968) at .moc/release-shared/moc_qaction.cpp:174
#24 0x00ca268a in QWidgetAction::qt_metacall (this=0x9a310b0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe67968) at .moc/release-shared/moc_qwidgetaction.cpp:67
#25 0x06cb90aa in KAction::qt_metacall (this=0x9a310b0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe67968) at ./kaction.moc:95
#26 0x007656ba in QMetaObject::metacall (object=0x9a310b0, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbfe67968) at kernel/qmetaobject.cpp:237
#27 0x007754ff in QMetaObject::activate (sender=0x9b73030, m=0x1586884, local_signal_index=2, argv=0xbfe67968) at kernel/qobject.cpp:3287
#28 0x0132bd39 in QAbstractButton::clicked (this=0x9b73030, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#29 0x01043896 in QAbstractButtonPrivate::emitClicked (this=0x9b7b2a0) at widgets/qabstractbutton.cpp:546
#30 0x01045104 in QAbstractButtonPrivate::click (this=0x9b7b2a0) at widgets/qabstractbutton.cpp:539
#31 0x010453be in QAbstractButton::mouseReleaseEvent (this=0x9b73030, e=0xbfe680d4) at widgets/qabstractbutton.cpp:1121
#32 0x0111633c in QToolButton::mouseReleaseEvent (this=0x9b73030, e=0xbfe680d4) at widgets/qtoolbutton.cpp:721
#33 0x00c9b13a in QWidget::event (this=0x9b73030, event=0xbfe680d4) at kernel/qwidget.cpp:8259
#34 0x0104440e in QAbstractButton::event (this=0x9b73030, e=0xbfe680d4) at widgets/qabstractbutton.cpp:1080
#35 0x01117a6a in QToolButton::event (this=0x9b73030, event=0xbfe680d4) at widgets/qtoolbutton.cpp:1163
#36 0x00c42d24 in QApplicationPrivate::notify_helper (this=0x92ec920, receiver=0x9b73030, e=0xbfe680d4) at kernel/qapplication.cpp:4462
#37 0x00c48201 in QApplication::notify (this=0x92e6f68, receiver=0x9b73030, e=0xbfe680d4) at kernel/qapplication.cpp:4023
#38 0x06daa3ca in KApplication::notify (this=0x92e6f68, receiver=0x9b73030, event=0xbfe680d4) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x0075f0bb in QCoreApplication::notifyInternal (this=0x92e6f68, receiver=0x9b73030, event=0xbfe680d4) at kernel/qcoreapplication.cpp:731
#40 0x00c43c3b in sendSpontaneousEvent (receiver=0x9b73030, event=0xbfe680d4, alienWidget=0x9b73030, nativeWidget=0x9b34cd8, buttonDown=0x158fc60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 QApplicationPrivate::sendMouseEvent (receiver=0x9b73030, event=0xbfe680d4, alienWidget=0x9b73030, nativeWidget=0x9b34cd8, buttonDown=0x158fc60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#42 0x00ccd2bc in QETWidget::translateMouseEvent (this=0x9b34cd8, event=0xbfe685fc) at kernel/qapplication_x11.cpp:4556
#43 0x00ccb746 in QApplication::x11ProcessEvent (this=0x92e6f68, event=0xbfe685fc) at kernel/qapplication_x11.cpp:3678
#44 0x00cf6b84 in x11EventSourceDispatch (s=0x92eff68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x03dcdaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x03dce270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x03dce524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x0078c53c in QEventDispatcherGlib::processEvents (this=0x92acf68, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00cf6775 in QGuiEventDispatcherGlib::processEvents (this=0x92acf68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x0075e289 in QEventLoop::processEvents (this=0xbfe688c4, flags=...) at kernel/qeventloop.cpp:149
#51 0x0075e522 in QEventLoop::exec (this=0xbfe688c4, flags=...) at kernel/qeventloop.cpp:201
#52 0x00762ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x00c408e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#54 0x080486c4 in main (argc=1, argv=0xbfe689e4) at ../../kexi/main.cpp:34

Possible duplicates by query: bug 273344, bug 273151.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2011-07-17 22:05:55 UTC

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