Bug 332315 - Kexi crash on MDB import
Summary: Kexi crash on MDB import
Status: CLOSED DUPLICATE of bug 240343
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-19 10:45 UTC by Filippo Bottega
Modified: 2014-05-09 23:28 UTC (History)
0 users

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 Filippo Bottega 2014-03-19 10:45:52 UTC
Application: kexi (2.7.2)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-18-generic x86_64
Distribution: Ubuntu 13.10

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

Importing an MDB file copied across from an old Windows installation of Microsoft Access

The crash can be reproduced every time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f66a53f37c0 (LWP 2028))]

Thread 3 (Thread 0x7f667480f700 (LWP 2031)):
#0  0x00007f669fad60ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f669fad63c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f669fa96299 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f669fa96708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f669fa967ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f66a378aa76 in QEventDispatcherGlib::processEvents (this=0x7f66700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f66a375c5ef in QEventLoop::processEvents (this=this@entry=0x7f667480ed70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f66a375c8e5 in QEventLoop::exec (this=this@entry=0x7f667480ed70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f66a365b88f in QThread::exec (this=this@entry=0x163ac10) at thread/qthread.cpp:542
#9  0x00007f66a373dd13 in QInotifyFileSystemWatcherEngine::run (this=0x163ac10) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f66a365df2f in QThreadPrivate::start (arg=0x163ac10) at thread/qthread_unix.cpp:338
#11 0x00007f669ff6ef6e in start_thread (arg=0x7f667480f700) at pthread_create.c:311
#12 0x00007f66a33159cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f666f6a9700 (LWP 2035)):
#0  0x00007f669ff71055 in __GI___pthread_mutex_lock (mutex=0x7f6668000a60) at pthread_mutex_lock.c:95
#1  0x00007f669fad63a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f669fa9612c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f669fa9663b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f669fa967ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f66a378aa76 in QEventDispatcherGlib::processEvents (this=0x7f66680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f66a375c5ef in QEventLoop::processEvents (this=this@entry=0x7f666f6a8d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f66a375c8e5 in QEventLoop::exec (this=this@entry=0x7f666f6a8d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f66a365b88f in QThread::exec (this=this@entry=0x1932270) at thread/qthread.cpp:542
#9  0x00007f66a373dd13 in QInotifyFileSystemWatcherEngine::run (this=0x1932270) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f66a365df2f in QThreadPrivate::start (arg=0x1932270) at thread/qthread_unix.cpp:338
#11 0x00007f669ff6ef6e in start_thread (arg=0x7f666f6a9700) at pthread_create.c:311
#12 0x00007f66a33159cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f66a53f37c0 (LWP 2028)):
[KCrash Handler]
#6  KexiDB::IndexSchema::addField (this=0x1bc1780, field=0x0) at /build/buildd/calligra-2.7.2/libs/db/indexschema.cpp:90
#7  0x00007f666ec99c00 in KexiMigration::MDBMigrate::getPrimaryKey (this=this@entry=0x17282a0, table=table@entry=0x1bbdbe0, tableDef=tableDef@entry=0x1bbde50) at /build/buildd/calligra-2.7.2/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:426
#8  0x00007f666ec9a6d4 in KexiMigration::MDBMigrate::drv_readTableSchema (this=0x17282a0, originalName=..., tableSchema=...) at /build/buildd/calligra-2.7.2/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:183
#9  0x00007f66748243bf in KexiMigration::KexiMigrate::performImport (this=this@entry=0x17282a0, result=result@entry=0x7fff808b7300) at /build/buildd/calligra-2.7.2/kexi/migration/keximigrate.cpp:262
#10 0x00007f667482f990 in KexiMigration::ImportWizard::import (this=this@entry=0x12a4a60) at /build/buildd/calligra-2.7.2/kexi/migration/importwizard.cpp:874
#11 0x00007f6674830c2b in KexiMigration::ImportWizard::next (this=0x12a4a60) at /build/buildd/calligra-2.7.2/kexi/migration/importwizard.cpp:959
#12 0x00007f66a3771a58 in QMetaObject::activate (sender=sender@entry=0x12a4a60, m=m@entry=0x7f66a140e420 <KDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#13 0x00007f66a0f71573 in KDialog::user2Clicked (this=this@entry=0x12a4a60) at ./kdialog.moc:248
#14 0x00007f66a0f71c98 in KDialog::slotButtonClicked (this=0x12a4a60, button=8192) at ../../kdeui/dialogs/kdialog.cpp:897
#15 0x00007f66a0f7357f in KDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#16 0x00007f66a3771a58 in QMetaObject::activate (sender=sender@entry=0x1206400, m=m@entry=0x7f66a3abdd60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff808b7710) at kernel/qobject.cpp:3539
#17 0x00007f66a377913e in QSignalMapper::mapped (this=this@entry=0x1206400, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:115
#18 0x00007f66a3779246 in QSignalMapper::map (this=0x1206400, sender=0x12dea20) at kernel/qsignalmapper.cpp:266
#19 0x00007f66a3771a58 in QMetaObject::activate (sender=sender@entry=0x12dea20, m=m@entry=0x7f66a4c212a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff808b7880) at kernel/qobject.cpp:3539
#20 0x00007f66a479c732 in QAbstractButton::clicked (this=this@entry=0x12dea20, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#21 0x00007f66a44fff73 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x12a5700) at widgets/qabstractbutton.cpp:548
#22 0x00007f66a45010e3 in QAbstractButtonPrivate::click (this=this@entry=0x12a5700) at widgets/qabstractbutton.cpp:541
#23 0x00007f66a45011cc in QAbstractButton::mouseReleaseEvent (this=0x12dea20, e=0x7fff808b7d70) at widgets/qabstractbutton.cpp:1123
#24 0x00007f66a419e31e in QWidget::event (this=0x12dea20, event=0x7fff808b7d70) at kernel/qwidget.cpp:8375
#25 0x00007f66a414edfc in QApplicationPrivate::notify_helper (this=this@entry=0xdb1d00, receiver=receiver@entry=0x12dea20, e=e@entry=0x7fff808b7d70) at kernel/qapplication.cpp:4567
#26 0x00007f66a41555ad in QApplication::notify (this=this@entry=0xd9c810, receiver=receiver@entry=0x12dea20, e=e@entry=0x7fff808b7d70) at kernel/qapplication.cpp:4110
#27 0x00007f66a100fa6a in KApplication::notify (this=0xd9c810, receiver=0x12dea20, event=0x7fff808b7d70) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f66a375d8bd in QCoreApplication::notifyInternal (this=0xd9c810, receiver=receiver@entry=0x12dea20, event=event@entry=0x7fff808b7d70) at kernel/qcoreapplication.cpp:946
#29 0x00007f66a4154d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x12dea20, event=event@entry=0x7fff808b7d70, alienWidget=alienWidget@entry=0x12dea20, nativeWidget=nativeWidget@entry=0x1255080, buttonDown=buttonDown@entry=0x7f66a4c332f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#31 0x00007f66a41c97db in QETWidget::translateMouseEvent (this=this@entry=0x1255080, event=event@entry=0x7fff808b80f0) at kernel/qapplication_x11.cpp:4631
#32 0x00007f66a41c9079 in QApplication::x11ProcessEvent (this=0xd9c810, event=event@entry=0x7fff808b80f0) at kernel/qapplication_x11.cpp:3624
#33 0x00007f66a41f0922 in x11EventSourceDispatch (s=0xda16c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f669fa963b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f669fa96708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f669fa967ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f66a378aa55 in QEventDispatcherGlib::processEvents (this=0xd13ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f66a41f09d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f66a375c5ef in QEventLoop::processEvents (this=this@entry=0x7fff808b84e0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f66a375c8e5 in QEventLoop::exec (this=this@entry=0x7fff808b84e0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f66a45f538c in QDialog::exec (this=this@entry=0x12a4a60) at dialogs/qdialog.cpp:554
#42 0x00007f66a4f2b145 in KexiMainWindow::showProjectMigrationWizard (this=this@entry=0xf47f10, mimeType=..., databaseName=..., cdata=cdata@entry=0x0) at /build/buildd/calligra-2.7.2/kexi/main/KexiMainWindow.cpp:3782
#43 0x00007f66a4f2b478 in KexiMainWindow::slotToolsImportProject (this=0xf47f10) at /build/buildd/calligra-2.7.2/kexi/main/KexiMainWindow.cpp:3677
#44 0x00007f66a4f2cada in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:520
#45 KexiMainWindow::qt_static_metacall (_o=0xf47f10, _c=<optimized out>, _id=<optimized out>, _a=0x7fff808b8770) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:380
#46 0x00007f66a3771a58 in QMetaObject::activate (sender=0x13fe5c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#47 0x00007f66a3771a58 in QMetaObject::activate (sender=sender@entry=0x1571a10, m=m@entry=0x7f66a4c212a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff808b8900) at kernel/qobject.cpp:3539
#48 0x00007f66a479c732 in QAbstractButton::clicked (this=this@entry=0x1571a10, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#49 0x00007f66a44fff73 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x15bc980) at widgets/qabstractbutton.cpp:548
#50 0x00007f66a45010e3 in QAbstractButtonPrivate::click (this=this@entry=0x15bc980) at widgets/qabstractbutton.cpp:541
#51 0x00007f66a45011cc in QAbstractButton::mouseReleaseEvent (this=0x1571a10, e=0x7fff808b8df0) at widgets/qabstractbutton.cpp:1123
#52 0x00007f66a419e31e in QWidget::event (this=0x1571a10, event=0x7fff808b8df0) at kernel/qwidget.cpp:8375
#53 0x00007f66a414edfc in QApplicationPrivate::notify_helper (this=this@entry=0xdb1d00, receiver=receiver@entry=0x1571a10, e=e@entry=0x7fff808b8df0) at kernel/qapplication.cpp:4567
#54 0x00007f66a41555ad in QApplication::notify (this=this@entry=0xd9c810, receiver=receiver@entry=0x1571a10, e=e@entry=0x7fff808b8df0) at kernel/qapplication.cpp:4110
#55 0x00007f66a100fa6a in KApplication::notify (this=0xd9c810, receiver=0x1571a10, event=0x7fff808b8df0) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007f66a375d8bd in QCoreApplication::notifyInternal (this=0xd9c810, receiver=receiver@entry=0x1571a10, event=event@entry=0x7fff808b8df0) at kernel/qcoreapplication.cpp:946
#57 0x00007f66a4154d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#58 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1571a10, event=event@entry=0x7fff808b8df0, alienWidget=alienWidget@entry=0x1571a10, nativeWidget=nativeWidget@entry=0x13fe5c0, buttonDown=buttonDown@entry=0x7f66a4c332f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#59 0x00007f66a41c97db in QETWidget::translateMouseEvent (this=this@entry=0x13fe5c0, event=event@entry=0x7fff808b9170) at kernel/qapplication_x11.cpp:4631
#60 0x00007f66a41c9079 in QApplication::x11ProcessEvent (this=0xd9c810, event=event@entry=0x7fff808b9170) at kernel/qapplication_x11.cpp:3624
#61 0x00007f66a41f0922 in x11EventSourceDispatch (s=0xda16c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#62 0x00007f669fa963b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f669fa96708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f669fa967ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f66a378aa76 in QEventDispatcherGlib::processEvents (this=0xd13ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#66 0x00007f66a41f09d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007f66a375c5ef in QEventLoop::processEvents (this=this@entry=0x7fff808b9550, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007f66a375c8e5 in QEventLoop::exec (this=this@entry=0x7fff808b9550, flags=...) at kernel/qeventloop.cpp:204
#69 0x00007f66a3761e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#70 0x00007f66a414d34c in QApplication::exec () at kernel/qapplication.cpp:3828
#71 0x00000000004008c1 in main (argc=<optimized out>, argv=0x7fff808b9698) at /build/buildd/calligra-2.7.2/kexi/main.cpp:36

Reported using DrKonqi
Comment 1 Jarosław Staniek 2014-03-19 14:52:15 UTC

*** This bug has been marked as a duplicate of bug 240343 ***
Comment 2 Jarosław Staniek 2014-03-19 14:53:41 UTC
Would be good to have access to a test .mdb file that causes the crash. For now I propose to move to the bug #240343 and close this as a duplicate.