Bug 283228

Summary: Kexi crashed when switching to form data view
Product: [Applications] KEXI Reporter: Lars Noodén <lars.nooden>
Component: FormsAssignee: Jarosław Staniek <staniek>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: investigated, triaged
Priority: NOR    
Version: 2.3.3 (KOffice 2.3.3)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lars Noodén 2011-10-03 09:19:32 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

I was editing a form and switched to the datra view.  Then the application closed unexpectedly.

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

Thread 2 (Thread 0xb5c2cb70 (LWP 7801)):
#0  0x01407d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x010557d5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#2  0x011284b6 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0x0112880a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0x01127053 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0x011270ed in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x0285e88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0285f637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0285fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01127b37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x010f81dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x010f8421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0x00ffb90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0x010d8e2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0x00ffe7b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0x0767bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x0030d0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78d1720 (LWP 7798)):
[KCrash Handler]
#7  0x009856f9 in QCleanlooksStyle::subControlRect(QStyle::ComplexControl, QStyleOptionComplex const*, QStyle::SubControl, QWidget const*) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0x00971b8a in QGtkStyle::subControlRect(QStyle::ComplexControl, QStyleOptionComplex const*, QStyle::SubControl, QWidget const*) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#9  0x0580be7f in KexiDBComboBox::buttonGeometry() const () from /usr/lib/libkexiformutils.so.8
#10 0x0580c4e0 in KexiDBComboBox::eventFilter(QObject*, QEvent*) () from /usr/lib/libkexiformutils.so.8
#11 0x010f9336 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0x005a7d22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#13 0x005ad1a8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#14 0x03580791 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x010f919e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0x005a861b in QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0x005a8f16 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0x006352c4 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0x00633e4d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0x0066024c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0x0285f25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0x0285f990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0x0285fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x01127ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0x0065fe3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0x010f81dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0x010f8421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#28 0x010fd19d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#29 0x005a58f4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0x08048624 in ?? ()
#31 0x00254113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#32 0x08048671 in _start ()

Reported using DrKonqi
Comment 1 Lars Noodén 2011-10-03 09:35:16 UTC
Crashed again when viewing a table and switching from design mode to data mode.

Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb5ad9b70 (LWP 8188)):
#0  0x0054bdbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x001eff14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x07a1d70b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07a1e637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07a1ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00d46b37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x00d171dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0x00d17421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x00c1a90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0x00cf7e2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x00c1d7b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x00549d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb777e720 (LWP 8179)):
[KCrash Handler]
#7  0x09153d35 in KexiTableViewColumn::isReadOnly() const () from /usr/lib/libkexidatatable.so.8
#8  0x09162b69 in ?? () from /usr/lib/libkexidatatable.so.8
#9  0x00d18336 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x01036d22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#11 0x0103c1a8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#12 0x0571f791 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0x00d1819e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0x0103547f in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#15 0x01083b11 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#16 0x01072da5 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0x01072ebf in QStackedLayout::setCurrentWidget(QWidget*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0x014fd6ce in QStackedWidget::setCurrentWidget(QWidget*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0x00ac4a29 in KexiWindow::switchToViewMode(Kexi::ViewMode, QMap<QString, QVariant>*, bool&) () from /usr/lib/libkexicore.so.8
#20 0x00ac59cc in KexiWindow::switchToViewMode(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#21 0x003d163a in KexiMainWindow::switchToViewMode(KexiWindow&, Kexi::ViewMode) () from /usr/lib/libkeximain.so.8
#22 0x00ac460b in KexiWindow::switchToViewModeInternal(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#23 0x00ac9d17 in KexiView::slotSwitchToViewModeInternal(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#24 0x00ac9dd3 in KexiView::slotSwitchToDataViewModeInternal(bool) () from /usr/lib/libkexicore.so.8
#25 0x00aca0be in KexiView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkexicore.so.8
#26 0x0050cd52 in KexiDataAwareView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkexiextendedwidgets.so.8
#27 0x0050e9b2 in KexiDataTable::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkexiextendedwidgets.so.8
#28 0x026f1c42 in ?? () from /usr/lib/kde4/kexihandler_table.so
#29 0x00d1eb7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#30 0x00d2da6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#31 0x0174be7d in QAbstractButton::toggled(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0x0144bf77 in QAbstractButton::setChecked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0x0144c110 in QAbstractButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0x01523180 in QToolButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0x0144bbb7 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0x0144beb6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0x0152320d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#38 0x01090f98 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#39 0x0144b159 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x0152494c in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#41 0x01036d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#42 0x0103cdbb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#43 0x0571f791 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00d1819e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#45 0x01037d15 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#46 0x010c42c4 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#47 0x010c2e4d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#48 0x010ef24c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#49 0x07a1e25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x07a1e990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x07a1ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x00d46ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#53 0x010eee3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#54 0x00d171dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#55 0x00d17421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#56 0x00d1c19d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#57 0x010348f4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#58 0x08048624 in ?? ()
#59 0x00129113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#60 0x08048671 in _start ()

Report to https://bugs.kde.org
Comment 2 Jarosław Staniek 2011-10-03 09:51:11 UTC
If there are two different defects please report two bugs to make it possible to properly track, thank you.
Comment 3 Lars Noodén 2011-10-03 09:54:40 UTC
As far as I can tell they are the same bug.  I was doing the same thing, switching to data view, when the crash occurred.  It's happened more than once but I cannot cause it to crash on demand.
Comment 4 Jarosław Staniek 2011-10-03 10:01:20 UTC
One is for forms the other is for tables. These are different things, different code, and your backtraces look different.

Anyway, for further testing, please temporarily change the current widgets style from cleanlooks to, something other, e.g. Window and try again.

From command line you cam do that by simply executing:

kexi --style=windows
Comment 5 Jarosław Staniek 2012-03-06 22:41:53 UTC
Waiting for more info...
Comment 6 Andrew Crouthamel 2018-09-22 01:54:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 02:30:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!