Bug 287863 - Kexi crash when hit Data while in Design of a Query
Summary: Kexi crash when hit Data while in Design of a Query
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-11-29 20:30 UTC by Drew Ruggles
Modified: 2012-01-31 22:21 UTC (History)
2 users (show)

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 Drew Ruggles 2011-11-29 20:30:18 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: Creating a query in design mode. Linked IDs of two tables, added the ID fields, then one field each to the query. Tried to view the result by hitting the Data button, and Lexi crashes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb5af8b70 (LWP 1866)):
#0  0x06fc9d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x003907d5 in do_gettime (frac=0xb5af8010, sec=0xb5af8008) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x004634b6 in QTimerInfoList::updateCurrentTime (this=0x87f6b34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0046380a in QTimerInfoList::timerWait (this=0x87f6b34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00462053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb5af811c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x004620ed in timerSourcePrepare (source=0x87f6b00, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07c8588c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07c86637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x07c86c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00462b37 in QEventDispatcherGlib::processEvents (this=0x87f3220, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x004331dd in QEventLoop::processEvents (this=0xb5af82a0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00433421 in QEventLoop::exec (this=0xb5af82a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0033690b in QThread::exec (this=0x87f3968) at thread/qthread.cpp:498
#14 0x00413e2d in QInotifyFileSystemWatcherEngine::run (this=0x87f3968) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x003397b3 in QThreadPrivate::start (arg=0x87f3968) at thread/qthread_unix.cpp:331
#16 0x007b1d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x006410ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb4958b70 (LWP 1885)):
#0  0x007d2416 in __kernel_vsyscall ()
#1  0x007b5a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0064ecfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0483b9a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x0483b9ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x007b1d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x006410ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7730720 (LWP 1865)):
[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=0x8af2980) at ../../../kexi/kexidb/queryschema.cpp:173
#10 0x0021e17e in KexiDB::QuerySchemaPrivate::clear (this=0x8af2980) at ../../../kexi/kexidb/queryschema.cpp:158
#11 0x024de452 in KexiQueryPart::TempData::clearQuery (this=0x8a175e0) at ../../../../kexi/plugins/queries/kexiquerypart.cpp:241
#12 0x024e9c0b in KexiQueryDesignerGuiEditor::buildSchema (this=0x88768d0, errMsg=0xbffa4800) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:383
#13 0x024ec726 in KexiQueryDesignerGuiEditor::beforeSwitchTo (this=0x88768d0, mode=Kexi::DataViewMode, dontStore=@0xbffa48ef) at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:606
#14 0x0071fdc2 in KexiWindow::switchToViewMode (this=0x8a89ea0, newViewMode=Kexi::DataViewMode, staticObjectArgs=0x0, proposeOpeningInTextViewModeBecauseOfProblems=@0xbffa494f) at ../../../kexi/core/KexiWindow.cpp:607
#15 0x007209cc in KexiWindow::switchToViewMode (this=0x8a89ea0, newViewMode=Kexi::DataViewMode) at ../../../kexi/core/KexiWindow.cpp:743
#16 0x0014963a in KexiMainWindow::switchToViewMode (this=0x88a73f8, window=..., viewMode=Kexi::DataViewMode) at ../../../kexi/main/KexiMainWindow.cpp:3534
#17 0x0071f60b in KexiWindow::switchToViewModeInternal (this=0x8a89ea0, newViewMode=Kexi::DataViewMode) at ../../../kexi/core/KexiWindow.cpp:733
#18 0x00724d17 in KexiView::slotSwitchToViewModeInternal (this=0x88768d0, mode=Kexi::DataViewMode) at ../../../kexi/core/KexiView.cpp:643
#19 0x00724dd3 in KexiView::slotSwitchToDataViewModeInternal (this=0x88768d0) at ../../../kexi/core/KexiView.cpp:623
#20 0x007250be in KexiView::qt_metacall (this=0x88768d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbffa4ba8) at ./KexiView.moc:98
#21 0x024f6a32 in KexiQueryDesignerGuiEditor::qt_metacall (this=0x88768d0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbffa4ba8) at ./kexiquerydesignerguieditor.moc:123
#22 0x0043ab7d in metacall (argv=0xbffa4ba8, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0x88768d0) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0x88768d0, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0xbffa4ba8) at kernel/qmetaobject.cpp:232
#24 0x00449a6a in QMetaObject::activate (sender=0x892e4c8, m=0x1286a28, local_signal_index=4, argv=0xbffa4ba8) at kernel/qobject.cpp:3278
#25 0x0103fe7d in QAbstractButton::toggled (this=0x892e4c8, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:213
#26 0x00d3ff77 in QAbstractButton::setChecked (this=0x892e4c8, checked=true) at widgets/qabstractbutton.cpp:766
#27 0x00d40110 in QAbstractButton::nextCheckState (this=0x892e4c8) at widgets/qabstractbutton.cpp:1020
#28 0x00e17180 in QToolButton::nextCheckState (this=0x892e4c8) at widgets/qtoolbutton.cpp:1145
#29 0x00d3fbb7 in QAbstractButtonPrivate::click (this=0x8ae8be8) at widgets/qabstractbutton.cpp:528
#30 0x00d3feb6 in QAbstractButton::mouseReleaseEvent (this=0x892e4c8, e=0xbffa51ac) at widgets/qabstractbutton.cpp:1121
#31 0x00e1720d in QToolButton::mouseReleaseEvent (this=0x892e4c8, e=0xbffa51ac) at widgets/qtoolbutton.cpp:721
#32 0x00984f98 in QWidget::event (this=0x892e4c8, event=0xbffa51ac) at kernel/qwidget.cpp:8295
#33 0x00d3f159 in QAbstractButton::event (this=0x892e4c8, e=0xbffa51ac) at widgets/qabstractbutton.cpp:1080
#34 0x00e1894c in QToolButton::event (this=0x892e4c8, event=0xbffa51ac) at widgets/qtoolbutton.cpp:1163
#35 0x0092ad54 in notify_helper (e=0xbffa51ac, receiver=0x892e4c8, this=0x844fe30) at kernel/qapplication.cpp:4486
#36 QApplicationPrivate::notify_helper (this=0x844fe30, receiver=0x892e4c8, e=0xbffa51ac) at kernel/qapplication.cpp:4458
#37 0x00930dbb in QApplication::notify (this=0x844fe30, receiver=0x892e4c8, e=0xbffa51ac) at kernel/qapplication.cpp:4047
#38 0x054de681 in KApplication::notify (this=0x844a0f0, receiver=0x892e4c8, event=0xbffa51ac) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x0043419e in QCoreApplication::notifyInternal (this=0x844a0f0, receiver=0x892e4c8, event=0xbffa51ac) at kernel/qcoreapplication.cpp:787
#40 0x0092bd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QApplicationPrivate::sendMouseEvent (receiver=0x892e4c8, event=0xbffa51ac, alienWidget=0x892e4c8, nativeWidget=0x88768d0, buttonDown=0x1295eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#42 0x009b82c4 in QETWidget::translateMouseEvent (this=0x88768d0, event=0xbffa562c) at kernel/qapplication_x11.cpp:4568
#43 0x009b6e4d in QApplication::x11ProcessEvent (this=0x844a0f0, event=0xbffa562c) at kernel/qapplication_x11.cpp:3690
#44 0x009e324c in x11EventSourceDispatch (s=0x84520f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x07c8625f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x07c86990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x07c86c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x00462ada in QEventDispatcherGlib::processEvents (this=0x842b230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x009e2e3a in QGuiEventDispatcherGlib::processEvents (this=0x842b230, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x004331dd in QEventLoop::processEvents (this=0xbffa5934, flags=...) at kernel/qeventloop.cpp:149
#51 0x00433421 in QEventLoop::exec (this=0xbffa5934, flags=...) at kernel/qeventloop.cpp:201
#52 0x0043819d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x009288f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#54 0x08048624 in main (argc=1, argv=0xbffa5a34) at ../../kexi/main.cpp:34

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

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

Reported using DrKonqi
Comment 1 Bogdan Udrescu 2011-12-02 23:01:19 UTC
duplicate of bug 273151
Comment 2 Jarosław Staniek 2011-12-02 23:31:56 UTC
Fixed, see https://bugs.kde.org/show_bug.cgi?id=273151#c13
Comment 3 Jarosław Staniek 2011-12-02 23:33:12 UTC

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