Bug 299178

Summary: Crash when trying to import existing DB
Product: [Applications] KEXI Reporter: Thomas Tanghus <thomas>
Component: Migration/Import/ExportAssignee: Kexi Bugs <kexi-bugs>
Status: CLOSED WAITINGFORINFO    
Severity: crash CC: adam, inksi, staniek
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=349156
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Tanghus 2012-05-01 15:57:49 UTC
Application: kexi (2.4.0 (Calligra 2.4.0))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.0.0-19-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was trying out kexi by importing my local ownCloud MySQL db and saving the project in as another db.
It looked like it was the UI feedback that crashed the app, but I only took a quick glance at the traceback.

-- Backtrace:
Application: Kexi (kexi), signal: Floating point exception
[Current thread is 1 (Thread 0x7f21b16f87a0 (LWP 3029))]

Thread 3 (Thread 0x7f2188c13700 (LWP 3032)):
#0  0x00007f21abd3a1fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1151818) at pthread_mutex_unlock.c:290
#2  0x00007f21ab42a72e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f21ab42af82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f21ab42b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f21afa8d5a6 in QEventDispatcherGlib::processEvents (this=0x114f770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f21afa5cd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f21afa5cfd7 in QEventLoop::exec (this=0x7f2188c12db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f21af95c077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f21afa3caff in QInotifyFileSystemWatcherEngine::run (this=0x112f200) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f21af95f09b in QThreadPrivate::start (arg=0x112f200) at thread/qthread_unix.cpp:298
#11 0x00007f21abd36efc in start_thread (arg=0x7f2188c13700) at pthread_create.c:304
#12 0x00007f21af62559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2187b84700 (LWP 3039)):
#0  0x00007f21af619473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f21ab42af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f21ab42b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f21afa8d5a6 in QEventDispatcherGlib::processEvents (this=0x13409f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f21afa5cd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f21afa5cfd7 in QEventLoop::exec (this=0x7f2187b83db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f21af95c077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f21afa3caff in QInotifyFileSystemWatcherEngine::run (this=0xcdc370) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f21af95f09b in QThreadPrivate::start (arg=0xcdc370) at thread/qthread_unix.cpp:298
#9  0x00007f21abd36efc in start_thread (arg=0x7f2187b84700) at pthread_create.c:304
#10 0x00007f21af62559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f21b16f87a0 (LWP 3029)):
[KCrash Handler]
#6  0x00007f2184eebd3e in KexiMigration::KexiMigrate::updateProgress (this=0x1a2da10, step=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/keximigrate.cpp:473
#7  0x00007f2184eee63d in KexiMigration::KexiMigrate::performImport (this=0x1a2da10, result=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/keximigrate.cpp:309
#8  0x00007f2184ef9290 in KexiMigration::ImportWizard::import (this=0x17af860) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:817
#9  0x00007f2184ef9bba in KexiMigration::ImportWizard::next (this=0x17af860) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:902
#10 0x00007f21ad477301 in KAssistantDialog::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./kassistantdialog.moc:76
#11 0x00007f2184ef8880 in KexiMigration::ImportWizard::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffde1d04c0) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/migration/importwizard.moc:101
#12 0x00007f21afa72589 in QMetaObject::activate (sender=0x17af860, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#13 0x00007f21ad488e00 in KDialog::slotButtonClicked (this=0x17af860, button=8192) at ../../kdeui/dialogs/kdialog.cpp:897
#14 0x00007f21ad489382 in KDialog::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffde1d0770) at ./kdialog.moc:190
#15 0x00007f21ad560b60 in KPageDialog::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffde1d0770) at ./kpagedialog.moc:70
#16 0x00007f21ad477298 in KAssistantDialog::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./kassistantdialog.moc:70
#17 0x00007f2184ef8880 in KexiMigration::ImportWizard::qt_metacall (this=0x17af860, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffde1d0770) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/migration/importwizard.moc:101
#18 0x00007f21afa72589 in QMetaObject::activate (sender=0x17afb00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d0770) at kernel/qobject.cpp:3566
#19 0x00007f21afa79c3e in QSignalMapper::mapped (this=<optimized out>, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:115
#20 0x00007f21afa7a1db in QSignalMapper::map (this=0x17afb00, sender=0x1640ba0) at kernel/qsignalmapper.cpp:266
#21 0x00007f21afa72381 in QMetaObject::activate (sender=0x1640ba0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d0900) at kernel/qobject.cpp:3547
#22 0x00007f21b060ea02 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#23 0x00007f21b034c43e in QAbstractButtonPrivate::emitClicked (this=0x17b1f00) at widgets/qabstractbutton.cpp:548
#24 0x00007f21b034d77b in QAbstractButtonPrivate::click (this=0x17b1f00) at widgets/qabstractbutton.cpp:541
#25 0x00007f21b034d9ec in QAbstractButton::mouseReleaseEvent (this=0x1640ba0, e=0x7fffde1d11d0) at widgets/qabstractbutton.cpp:1123
#26 0x00007f21affd1af4 in QWidget::event (this=0x1640ba0, event=0x7fffde1d11d0) at kernel/qwidget.cpp:8362
#27 0x00007f21aff812e4 in notify_helper (e=0x7fffde1d11d0, receiver=0x1640ba0, this=0x89cd40) at kernel/qapplication.cpp:4559
#28 QApplicationPrivate::notify_helper (this=0x89cd40, receiver=0x1640ba0, e=0x7fffde1d11d0) at kernel/qapplication.cpp:4531
#29 0x00007f21aff86b0f in QApplication::notify (this=<optimized out>, receiver=0x1640ba0, e=0x7fffde1d11d0) at kernel/qapplication.cpp:4102
#30 0x00007f21ad532bf6 in KApplication::notify (this=0x886800, receiver=0x1640ba0, event=0x7fffde1d11d0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f21afa5df9c in QCoreApplication::notifyInternal (this=0x886800, receiver=0x1640ba0, event=0x7fffde1d11d0) at kernel/qcoreapplication.cpp:876
#32 0x00007f21aff822b2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=0x1640ba0, event=0x7fffde1d11d0, alienWidget=0x1640ba0, nativeWidget=0x1792d50, buttonDown=0x1640ba0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#34 0x00007f21afffe955 in QETWidget::translateMouseEvent (this=0x1792d50, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#35 0x00007f21afffd80a in QApplication::x11ProcessEvent (this=0x886800, event=0x7fffde1d1a90) at kernel/qapplication_x11.cpp:3732
#36 0x00007f21b0026862 in x11EventSourceDispatch (s=0x8959c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f21ab42aa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f21ab42b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f21ab42b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f21afa8d53f in QEventDispatcherGlib::processEvents (this=0x81ead0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f21b00264ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f21afa5cd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f21afa5cfd7 in QEventLoop::exec (this=0x7fffde1d1e60, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f21b044e626 in QDialog::exec (this=0x17af860) at dialogs/qdialog.cpp:554
#45 0x00007f21b123f43d in KexiMainWindow::showProjectMigrationWizard (this=0x9f7d60, mimeType=..., databaseName=<optimized out>, cdata=0x1443640) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:3993
#46 0x00007f21b123e227 in KexiMainWindow::openProject (this=0x9f7d60, projectData=...) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:1373
#47 0x00007f21b1241233 in qt_static_metacall (_a=0x7fffde1d24b0, _id=<optimized out>, _o=0x9f7d60, _c=<optimized out>) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:415
#48 KexiMainWindow::qt_static_metacall (_o=0x9f7d60, _c=<optimized out>, _id=<optimized out>, _a=0x7fffde1d24b0) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:370
#49 0x00007f21afa72381 in QMetaObject::activate (sender=0x10df400, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d24b0) at kernel/qobject.cpp:3547
#50 0x00007f21b1265052 in KexiOpenProjectAssistant::openProject (this=<optimized out>, _t1=<optimized out>) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiOpenProjectAssistant.moc:253
#51 0x00007f21afa72381 in QMetaObject::activate (sender=0x143b270, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d2600) at kernel/qobject.cpp:3547
#52 0x00007f21aeaf393f in KexiProjectSelectorWidget::projectExecuted (this=<optimized out>, _t1=0x14436f0) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/widget/moc_KexiProjectSelectorWidget.cpp:112
#53 0x00007f21afa72381 in QMetaObject::activate (sender=0x8bb4c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d2750) at kernel/qobject.cpp:3547
#54 0x00007f21b051cb10 in QTreeWidget::itemDoubleClicked (this=<optimized out>, _t1=0x134dcf0, _t2=1) at .moc/release-shared/moc_qtreewidget.cpp:228
#55 0x00007f21afa72381 in QMetaObject::activate (sender=0x8bb4c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde1d28a0) at kernel/qobject.cpp:3547
#56 0x00007f21b04a4775 in QAbstractItemView::doubleClicked (this=<optimized out>, _t1=<optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:355
#57 0x00007f21b04f0b05 in QTreeView::mouseDoubleClickEvent (this=0x8bb4c0, event=0x7fffde1d35a0) at itemviews/qtreeview.cpp:1898
#58 0x00007f21affd1b0e in QWidget::event (this=0x8bb4c0, event=0x7fffde1d35a0) at kernel/qwidget.cpp:8366
#59 0x00007f21b038edd6 in QFrame::event (this=0x8bb4c0, e=0x7fffde1d35a0) at widgets/qframe.cpp:557
#60 0x00007f21b04a353b in QAbstractItemView::viewportEvent (this=0x8bb4c0, event=0x7fffde1d35a0) at itemviews/qabstractitemview.cpp:1644
#61 0x00007f21b04eb115 in QTreeView::viewportEvent (this=0x8bb4c0, event=0x7fffde1d35a0) at itemviews/qtreeview.cpp:1257
#62 0x00007f21afa5e128 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1609460, event=0x7fffde1d35a0) at kernel/qcoreapplication.cpp:986
#63 0x00007f21aff812af in notify_helper (e=0x7fffde1d35a0, receiver=0x1609460, this=0x89cd40) at kernel/qapplication.cpp:4555
#64 QApplicationPrivate::notify_helper (this=0x89cd40, receiver=0x1609460, e=0x7fffde1d35a0) at kernel/qapplication.cpp:4531
#65 0x00007f21aff86b0f in QApplication::notify (this=<optimized out>, receiver=0x1609460, e=0x7fffde1d35a0) at kernel/qapplication.cpp:4102
#66 0x00007f21ad532bf6 in KApplication::notify (this=0x886800, receiver=0x1609460, event=0x7fffde1d35a0) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007f21afa5df9c in QCoreApplication::notifyInternal (this=0x886800, receiver=0x1609460, event=0x7fffde1d35a0) at kernel/qcoreapplication.cpp:876
#68 0x00007f21aff822b2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QApplicationPrivate::sendMouseEvent (receiver=0x1609460, event=0x7fffde1d35a0, alienWidget=0x1609460, nativeWidget=0x144a960, buttonDown=0x1609460, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#70 0x00007f21afffe955 in QETWidget::translateMouseEvent (this=0x144a960, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#71 0x00007f21afffd80a in QApplication::x11ProcessEvent (this=0x886800, event=0x7fffde1d3e60) at kernel/qapplication_x11.cpp:3732
#72 0x00007f21b0026862 in x11EventSourceDispatch (s=0x8959c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x00007f21ab42aa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f21ab42b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f21ab42b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007f21afa8d53f in QEventDispatcherGlib::processEvents (this=0x81ead0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#77 0x00007f21b00264ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007f21afa5cd82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007f21afa5cfd7 in QEventLoop::exec (this=0x7fffde1d4230, flags=...) at kernel/qeventloop.cpp:204
#80 0x00007f21afa62067 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#81 0x0000000000400891 in main (argc=<optimized out>, argv=0x7fffde1d4378) at /build/buildd/calligra-2.4.0/kexi/main.cpp:36

Reported using DrKonqi
Comment 1 Jarosław Staniek 2016-01-23 20:57:21 UTC
Related fix #349156 is present since 2.9.6. Please test if possible. Many fixes since 2.4.0 :)
Please reopen on any issues.