Bug 299392 - Crash on switching to query data view
Summary: Crash on switching to query data view
Status: CLOSED WAITINGFORINFO
Alias: None
Product: KEXI
Classification: Applications
Component: Queries (other bugs)
Version First Reported In: 2.3.3 (KOffice 2.3.3)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 18:01 UTC by Deorgins Cousins
Modified: 2016-01-29 19:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 2.9.11
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.20 KB, text/plain)
2012-05-04 21:35 UTC, Deorgins Cousins
Details
New crash information added by DrKonqi (6.83 KB, text/plain)
2012-07-10 22:31 UTC, Deorgins Cousins
Details
New crash information added by DrKonqi (6.82 KB, text/plain)
2012-07-10 22:38 UTC, Deorgins Cousins
Details
New crash information added by DrKonqi (5.81 KB, text/plain)
2013-04-03 13:27 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deorgins Cousins 2012-05-04 18:01:48 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:  updating a query table by clicking on design button and clicking back on data button

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f7fa0de2700 (LWP 2024)):
#0  0x00007f7fb4e68ae3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7fb1848104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7fb1848639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7fb52aa446 in QEventDispatcherGlib::processEvents (this=0x1c9f3a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f7fb527e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7fb527eabc in QEventLoop::exec (this=0x7f7fa0de1db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f7fb5195924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f7fb5260c2f in QInotifyFileSystemWatcherEngine::run (this=0x1c9edb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7fb5198175 in QThreadPrivate::start (arg=0x1c9edb0) at thread/qthread_unix.cpp:320
#9  0x00007f7fb1d13d8c in start_thread (arg=0x7f7fa0de2700) at pthread_create.c:304
#10 0x00007f7fb4e75c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7f99db7700 (LWP 2028)):
#0  0x00007f7fb4e68ae3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7fb1848104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7fb1848639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7fb52aa446 in QEventDispatcherGlib::processEvents (this=0x1cc3fc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f7fb527e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7fb527eabc in QEventLoop::exec (this=0x7f7f99db6db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f7fb5195924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f7fb5260c2f in QInotifyFileSystemWatcherEngine::run (this=0x1e66e10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7fb5198175 in QThreadPrivate::start (arg=0x1e66e10) at thread/qthread_unix.cpp:320
#9  0x00007f7fb1d13d8c in start_thread (arg=0x7f7f99db7700) at pthread_create.c:304
#10 0x00007f7fb4e75c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7fb66a77a0 (LWP 2023)):
[KCrash Handler]
#6  0x00007f7faed349c5 in KexiTableViewColumn::isReadOnly (this=<value optimized out>) at ../../../../kexi/widget/tableview/KexiTableViewColumn.cpp:218
#7  0x00007f7faed420f2 in KexiComboBoxTableEdit::eventFilter (this=0x22af300, o=0x22af300, e=0x7fffe632de60) at ../../../../kexi/widget/tableview/kexicomboboxtableedit.cpp:345
#8  0x00007f7fb527f627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x22af300, event=0x7fffe632de60) at kernel/qcoreapplication.cpp:846
#9  0x00007f7fb576d9c1 in QApplicationPrivate::notify_helper (this=0x1508240, receiver=0x22af300, e=0x7fffe632de60) at kernel/qapplication.cpp:4458
#10 0x00007f7fb57723ba in QApplication::notify (this=<value optimized out>, receiver=0x22af300, e=0x7fffe632de60) at kernel/qapplication.cpp:4341
#11 0x00007f7fb2b746c6 in KApplication::notify (this=0x1500090, receiver=0x22af300, event=0x7fffe632de60) at ../../kdeui/kernel/kapplication.cpp:311
#12 0x00007f7fb527f49c in QCoreApplication::notifyInternal (this=0x1500090, receiver=0x22af300, event=0x7fffe632de60) at kernel/qcoreapplication.cpp:731
#13 0x00007f7fb57b6f7b in sendEvent (this=<value optimized out>, dx=0, dy=-2) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QWidgetPrivate::scrollChildren (this=<value optimized out>, dx=0, dy=-2) at kernel/qwidget.cpp:390
#15 0x00007f7fb58082c9 in QWidgetPrivate::scroll_sys (this=0x20df010, dx=0, dy=-2) at kernel/qwidget_x11.cpp:2666
#16 0x00007f7fb57c3935 in QWidget::scroll (this=0x2078940, dx=0, dy=-2) at kernel/qwidget.cpp:10223
#17 0x00007f7fb30f5329 in Q3ScrollView::moveContents (this=0x20de6a0, x=0, y=<value optimized out>) at widgets/q3scrollview.cpp:2105
#18 0x00007f7fb30f53ff in Q3ScrollView::vslide (this=<value optimized out>, pos=<value optimized out>) at widgets/q3scrollview.cpp:702
#19 0x00007f7fb31d807a in Q3ScrollView::qt_metacall (this=0x20de6a0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffe632e190) at .moc/release-shared/moc_q3scrollview.cpp:157
#20 0x00007f7faed2e096 in KexiTableView::qt_metacall (this=0x20de6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe632e190) at ./kexitableview.moc:201
#21 0x00007f7fb52945f8 in QMetaObject::activate (sender=0x20b1ce0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe632e190) at kernel/qobject.cpp:3287
#22 0x00007f7fb5de5e0e in QAbstractSlider::valueChanged (this=<value optimized out>, _t1=2) at .moc/release-shared/moc_qabstractslider.cpp:182
#23 0x00007f7fb5bc149c in QScrollBar::mouseMoveEvent (this=0x20b1ce0, e=0x7fffe632eb70) at widgets/qscrollbar.cpp:674
#24 0x00007f7fb57becfc in QWidget::event (this=0x20b1ce0, event=0x7fffe632eb70) at kernel/qwidget.cpp:8244
#25 0x00007f7fb5bc0872 in QScrollBar::event (this=0x20b1ce0, event=0x7fffe632eb70) at widgets/qscrollbar.cpp:546
#26 0x00007f7fb576d9f4 in QApplicationPrivate::notify_helper (this=0x1508240, receiver=0x20b1ce0, e=0x7fffe632eb70) at kernel/qapplication.cpp:4462
#27 0x00007f7fb5772dc3 in QApplication::notify (this=<value optimized out>, receiver=0x20b1ce0, e=0x7fffe632eb70) at kernel/qapplication.cpp:4023
#28 0x00007f7fb2b746c6 in KApplication::notify (this=0x1500090, receiver=0x20b1ce0, event=0x7fffe632eb70) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f7fb527f49c in QCoreApplication::notifyInternal (this=0x1500090, receiver=0x20b1ce0, event=0x7fffe632eb70) at kernel/qcoreapplication.cpp:731
#30 0x00007f7fb576ea1d in sendEvent (receiver=0x20b1ce0, event=0x7fffe632eb70, alienWidget=0x20b1ce0, nativeWidget=0x1f6c910, buttonDown=0x7f7fb6251218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x20b1ce0, event=0x7fffe632eb70, alienWidget=0x20b1ce0, nativeWidget=0x1f6c910, buttonDown=0x7f7fb6251218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#32 0x00007f7fb57f0190 in QETWidget::translateMouseEvent (this=0x1f6c910, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#33 0x00007f7fb57eeab7 in QApplication::x11ProcessEvent (this=0x1500090, event=0x7fffe632f4c0) at kernel/qapplication_x11.cpp:3680
#34 0x00007f7fb5817842 in x11EventSourceDispatch (s=0x150d680, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f7fb1847bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f7fb18483a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f7fb1848639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f7fb52aa3ef in QEventDispatcherGlib::processEvents (this=0x14b04e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f7fb58174de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f7fb527e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f7fb527eabc in QEventLoop::exec (this=0x7fffe632f7c0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f7fb5282ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x0000000000400899 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kexi/main.cpp:34

Reported using DrKonqi
Comment 1 Deorgins Cousins 2012-05-04 21:35:56 UTC
Created attachment 70868 [details]
New crash information added by DrKonqi

kexi (2.3.3 (KOffice 2.3.3)) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed: exact duplicate of crash bug id 299392 - does the same every time - is there an update function for query tables?

-- Backtrace (Reduced):
#6  0x00007f301ecf79ba in KexiTableViewColumn::isReadOnly (this=0x3b41670) at ../../../../kexi/widget/tableview/KexiTableViewColumn.cpp:218
#7  0x00007f301ed050f2 in KexiComboBoxTableEdit::eventFilter (this=0x3b636a0, o=0x3b636a0, e=0x7fff841a5970) at ../../../../kexi/widget/tableview/kexicomboboxtableedit.cpp:345
#8  0x00007f3025242627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3b636a0, event=0x7fff841a5970) at kernel/qcoreapplication.cpp:846
#9  0x00007f30257309c1 in QApplicationPrivate::notify_helper (this=0x1f16240, receiver=0x3b636a0, e=0x7fff841a5970) at kernel/qapplication.cpp:4458
#10 0x00007f30257353ba in QApplication::notify (this=<value optimized out>, receiver=0x3b636a0, e=0x7fff841a5970) at kernel/qapplication.cpp:4341
Comment 2 Jarosław Staniek 2012-05-04 21:48:34 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 3 Deorgins Cousins 2012-07-10 22:31:56 UTC
Created attachment 72437 [details]
New crash information added by DrKonqi

kexi (2.4.0 (Calligra 2.4.0)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

changed query criteria and clicked save. clicked on data tab and then it crashed

-- Backtrace (Reduced):
#6  0x00007fb3f8a36f4a in KexiTableViewColumn::isReadOnly() const () from /usr/lib/libkexidataviewcommon.so.9
[...]
#8  0x00007fb4220f6028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3569d20, event=0x7fffd7835d40) at kernel/qcoreapplication.cpp:986
#9  0x00007fb422af085f in notify_helper (e=0x7fffd7835d40, receiver=0x3569d20, this=0x1f79420) at kernel/qapplication.cpp:4555
#10 QApplicationPrivate::notify_helper (this=0x1f79420, receiver=0x3569d20, e=0x7fffd7835d40) at kernel/qapplication.cpp:4531
#11 0x00007fb422af5713 in QApplication::notify (this=0x1f6a960, receiver=0x3569d20, e=0x7fffd7835d40) at kernel/qapplication.cpp:4420
Comment 4 Deorgins Cousins 2012-07-10 22:38:56 UTC
Created attachment 72438 [details]
New crash information added by DrKonqi

kexi (2.4.0 (Calligra 2.4.0)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

same as before - changed query criteria, saved, and when clicked on data tab, it showed results this time but crashed again.

-- Backtrace (Reduced):
#8  0x00007f02cd575028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2349ce0, event=0x7fffd05b99b0) at kernel/qcoreapplication.cpp:986
#9  0x00007f02cdf6f85f in notify_helper (e=0x7fffd05b99b0, receiver=0x2349ce0, this=0x16eb3e0) at kernel/qapplication.cpp:4555
#10 QApplicationPrivate::notify_helper (this=0x16eb3e0, receiver=0x2349ce0, e=0x7fffd05b99b0) at kernel/qapplication.cpp:4531
#11 0x00007f02cdf74713 in QApplication::notify (this=0x16dc960, receiver=0x2349ce0, e=0x7fffd05b99b0) at kernel/qapplication.cpp:4420
#12 0x00007f02cb0229e6 in KApplication::notify (this=0x16dc960, receiver=0x2349ce0, event=0x7fffd05b99b0) at ../../kdeui/kernel/kapplication.cpp:311
Comment 5 James 2013-04-03 13:27:55 UTC
Created attachment 78607 [details]
New crash information added by DrKonqi

kexi (2.5.3 (Calligra 2.5.3)) on KDE Platform 4.9.5 using Qt 4.8.3

- What I was doing when the application crashed:

While creating a new database and editing field properties Kexi crashed.

-- Backtrace (Reduced):
#7  0xac4affe5 in KexiTableViewColumn::isReadOnly (this=0x9144868) at /build/buildd/calligra-2.5.3/kexi/widget/dataviewcommon/KexiTableViewColumn.cpp:218
#8  0xac471685 in KexiComboBoxTableEdit::eventFilter (this=0x911d780, o=0x8cfff38, e=0xbfbf6ba4) at /build/buildd/calligra-2.5.3/kexi/widget/tableview/kexicomboboxtableedit.cpp:345
#9  0xb66da8fe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8760ba0, receiver=0x8cfff38, event=0xbfbf6ba4) at kernel/qcoreapplication.cpp:1025
#10 0xb6c4736d in QApplicationPrivate::notify_helper (this=0x8760ba0, receiver=0x8cfff38, e=0xbfbf6ba4) at kernel/qapplication.cpp:4558
#11 0xb6c4be54 in QApplication::notify (this=0x8760ba0, receiver=0x8cfff38, e=0xbfbf6ba4) at kernel/qapplication.cpp:4423
Comment 6 Jarosław Staniek 2013-04-03 14:37:16 UTC
@James, thanks. Is the crash the same as the one reported by Deorgins Cousins? I see you're using newer version of Kexi, so I'd like to ask to open another bug. In the description if you explain what type of field was edited, we can track the problem more easily. Thanks!
Comment 7 James 2013-04-03 16:03:13 UTC
(In reply to comment #6)
> @James, thanks. Is the crash the same as the one reported by Deorgins
> Cousins? I see you're using newer version of Kexi, so I'd like to ask to
> open another bug. In the description if you explain what type of field was
> edited, we can track the problem more easily. Thanks!

Thanks for the response Jaroslaw. The issue seems to be related to the one reported by Deorgins Cousins. I have been testing Kexi to see features and interface and have had several crashes which do not seem to follow a specific action. It seems to be more of a general instability that is not predictably repeatable, but frequent.  I will open a new bug report when it crashes again so I can attach the details.
Comment 8 Jarosław Staniek 2013-04-10 17:20:42 UTC
@James what's your Kexi version, again?
Comment 9 James 2013-04-11 13:22:13 UTC
I am using Kexi 2.5.3 installed on Mint 14 Cinnamon.  I installed from Synaptic and did not compile from source.

(In reply to comment #8)
> @James what's your Kexi version, again?
Comment 10 Jarosław Staniek 2014-06-01 20:56:14 UTC
@James it would be useful to know what was the query that crashes (e.g. send me the SQL of the query or the database even privately to staniek @ kde.org). Or whether Kexi 2.8 crashes on it too.
Comment 11 Jarosław Staniek 2016-01-23 10:19:20 UTC
2.9.11 fixes related issues, possibly the core of the problem. Please reopen this report if the problem persists. Or please provide a test database or query so we can verify the fix. Thanks.