Bug 307489 - Closing a project crashes kexi
Summary: Closing a project crashes kexi
Status: CLOSED WORKSFORME
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.9 beta3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
: 329173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-27 17:26 UTC by Guido Schmidt
Modified: 2015-06-10 14:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Schmidt 2012-09-27 17:26:30 UTC
Application: kexi (2.5.2 (Calligra 2.5.2))
KDE Platform Version: 4.9.1 "release 561"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop i686
Distribution: "openSUSE 12.1 (i586)"

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

I had just created a new project with a couple of tables and one first formula. No data has been entered. When I closed the project kexi crashed.

I can reproduce the crash when I open the design-view of the formula before closing kexi (without edit anything). The formula consists only of some text-boxes and labels.

The db is stored on a distant MySQL-Server.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
[KCrash Handler]
#6  0xb758abe2 in QList<KexiActionProxy*>::indexOf (this=0x856da70, t=@0xbfdc3de4, from=<optimized out>) at /usr/include/QtCore/qlist.h:855
#7  0xb758a115 in KexiActionProxy::takeActionProxyChild (this=0x856da64, child=0x856e694) at /usr/src/debug/calligra-2.5.2/kexi/core/kexiactionproxy.cpp:288
#8  0xb758a30e in KexiActionProxy::~KexiActionProxy (this=0x856e694, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/core/kexiactionproxy.cpp:113
#9  0xb75a3246 in KexiView::~KexiView (this=0x856e680, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/core/KexiView.cpp:248
#10 0xad131822 in KexiDataAwareView::~KexiDataAwareView (this=0x856e680, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/widget/dataviewcommon/kexidataawareview.cpp:42
#11 0xacfc5754 in KexiFormView::~KexiFormView (this=0x856e680, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/plugins/forms/kexiformview.cpp:203
#12 0xacfc57b2 in KexiFormView::~KexiFormView (this=0x856e680, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/plugins/forms/kexiformview.cpp:217
#13 0xb6657ce1 in QObjectPrivate::deleteChildren (this=0x856e030) at kernel/qobject.cpp:1917
#14 0xb6c236bc in QWidget::~QWidget (this=0x856e018, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#15 0xb70463af in QFrame::~QFrame (this=0x856e018, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#16 0xb70aeb5f in QStackedWidget::~QStackedWidget (this=0x856e018, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:191
#17 0xb70aeba2 in QStackedWidget::~QStackedWidget (this=0x856e018, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:193
#18 0xb6657ce1 in QObjectPrivate::deleteChildren (this=0x856dab0) at kernel/qobject.cpp:1917
#19 0xb6c236bc in QWidget::~QWidget (this=0x856da50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#20 0xb759c2d9 in KexiWindow::~KexiWindow (this=0x856da50, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/core/KexiWindow.cpp:186
#21 0xb759c362 in KexiWindow::~KexiWindow (this=0x856da50, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/core/KexiWindow.cpp:191
#22 0xb6657ce1 in QObjectPrivate::deleteChildren (this=0x85637c8) at kernel/qobject.cpp:1917
#23 0xb6c236bc in QWidget::~QWidget (this=0x84f4198, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#24 0xb7645892 in ~KexiWindowContainer (this=0x84f4198, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow_p.h:127
#25 KexiWindowContainer::~KexiWindowContainer (this=0x84f4198, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow_p.h:127
#26 0xb7642fd1 in closeWindow (doNotSaveChanges=152, window=0x856da50, this=0x81d1a88, layoutTaskBar=<optimized out>) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:3232
#27 KexiMainWindow::closeWindow (this=0x81d1a88, window=0x856da50, layoutTaskBar=true, doNotSaveChanges=false) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:3074
#28 0xb76446ca in KexiMainWindow::closeWindow (this=0x81d1a88, window=0x856da50) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:3058
#29 0xb763f458 in closeProject (this=0x81d1a88) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:1726
#30 KexiMainWindow::closeProject (this=0x81d1a88) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:1652
#31 0xb763f6c3 in KexiMainWindow::slotProjectClose (this=0x81d1a88) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMainWindow.cpp:2815
#32 0xb7643fcd in qt_static_metacall (_a=0xbfdc4468, _id=68, _o=0x81d1a88, _c=<optimized out>) at /usr/src/debug/calligra-2.5.2/build/kexi/main/KexiMainWindow.moc:486
#33 KexiMainWindow::qt_static_metacall (_o=0x81d1a88, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfdc4468) at /usr/src/debug/calligra-2.5.2/build/kexi/main/KexiMainWindow.moc:373
#34 0xb665969f in QMetaObject::activate (sender=0x81fbcd8, m=0xb75453b8, local_signal_index=1, argv=0xbfdc4468) at kernel/qobject.cpp:3556
#35 0xb6bc81bd in QAction::triggered (this=0x81fbcd8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#36 0xb6bc845b in QAction::activate (this=0x81fbcd8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#37 0xb764baf0 in KexiMenuWidgetPrivate::activateCausedStack (this=0x8261130, causedStack=..., action=0x81fbcd8, action_e=QAction::Trigger, self=true) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMenuWidget.cpp:1218
#38 0xb764fbb5 in KexiMenuWidgetPrivate::activateAction (this=0x8261130, action=0x81fbcd8, action_e=QAction::Trigger, self=true) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMenuWidget.cpp:1285
#39 0xb7650fda in KexiMenuWidget::mouseReleaseEvent (this=0x82ce948, e=0xbfdc4c34) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMenuWidget.cpp:2386
#40 0xb6c29847 in QWidget::event (this=0x82ce948, event=0xbfdc4c34) at kernel/qwidget.cpp:8371
#41 0xb7653946 in KexiMenuWidget::event (this=0x82ce948, e=0xbfdc4c34) at /usr/src/debug/calligra-2.5.2/kexi/main/KexiMenuWidget.cpp:2494
#42 0xb6bcf404 in notify_helper (e=0xbfdc4c34, receiver=0x82ce948, this=0x809d7a0) at kernel/qapplication.cpp:4551
#43 QApplicationPrivate::notify_helper (this=0x809d7a0, receiver=0x82ce948, e=0xbfdc4c34) at kernel/qapplication.cpp:4523
#44 0xb6bd516c in QApplication::notify (this=0x809d7a0, receiver=0x82ce948, e=0xbfdc4c34) at kernel/qapplication.cpp:4094
#45 0xb578a3a1 in KApplication::notify (this=0x80980e8, receiver=0x82ce948, event=0xbfdc4c34) at /usr/src/debug/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#46 0xb6642dce in QCoreApplication::notifyInternal (this=0x80980e8, receiver=0x82ce948, event=0xbfdc4c34) at kernel/qcoreapplication.cpp:915
#47 0xb6bd03c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#48 QApplicationPrivate::sendMouseEvent (receiver=0x82ce948, event=0xbfdc4c34, alienWidget=0x82ce948, nativeWidget=0x82b3a00, buttonDown=0xb7562cb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#49 0xb6c59584 in QETWidget::translateMouseEvent (this=0x82b3a00, event=0xbfdc50ec) at kernel/qapplication_x11.cpp:4513
#50 0xb6c5814e in QApplication::x11ProcessEvent (this=0x80980e8, event=0xbfdc50ec) at kernel/qapplication_x11.cpp:3636
#51 0xb6c8380c in x11EventSourceDispatch (s=0x80a1e40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0xb53ace4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb53ad580 in ?? () from /usr/lib/libglib-2.0.so.0
#54 0xb53ad81a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0xb6675ae7 in QEventDispatcherGlib::processEvents (this=0x804e388, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0xb6c8340a in QGuiEventDispatcherGlib::processEvents (this=0x804e388, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0xb664164d in QEventLoop::processEvents (this=0xbfdc53f4, flags=...) at kernel/qeventloop.cpp:149
#58 0xb66418e9 in QEventLoop::exec (this=0xbfdc53f4, flags=...) at kernel/qeventloop.cpp:204
#59 0xb6646e2a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0xb6bcd2a4 in QApplication::exec () at kernel/qapplication.cpp:3812
#61 0x0804873d in main (argc=1, argv=0xbfdc5504) at /usr/src/debug/calligra-2.5.2/kexi/main.cpp:36

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-09-27 21:08:33 UTC
Hi, thanks for reporting!
Most probably already fixed on September 21. Available in Calligra git and will be released in 2.5.3. 

If you confirm it's different bug, please reopen.

*** This bug has been marked as a duplicate of bug 299484 ***
Comment 2 Jarosław Staniek 2013-12-23 22:41:49 UTC
Reopened as the same has been reported for 2.7.5.
Comment 3 Jarosław Staniek 2013-12-23 22:42:14 UTC
*** Bug 329173 has been marked as a duplicate of this bug. ***
Comment 4 Jarosław Staniek 2014-12-04 11:02:28 UTC
Waiting for confirmation if this still happens in Kexi 2.8.x.
Comment 5 Jarosław Staniek 2015-02-23 11:18:56 UTC
Update: after some fixes in 2.9 betas, I did not experience this for a long time. Would be nice if you test 2.9 and tell me.
Comment 6 Jarosław Staniek 2015-02-23 11:20:14 UTC
Related https://bugs.kde.org/show_bug.cgi?id=334234
Comment 7 Guido Schmidt 2015-02-25 01:24:40 UTC
Lucky coincidence! I just started yesterday reevaluating kexi and was playing with the exact same data I used when I reported this bug (now on opensuse 13.2 64bit). It worked with it a couple of hours and did not experience any crashes. So closing for now.
Thanks!