Bug 261072

Summary: Kexi crashed when importing *.mdb file
Product: [Applications] KEXI Reporter: Claus Christensen <claus_chr>
Component: GeneralAssignee: Jarosław Staniek <staniek>
Status: CLOSED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Claus Christensen 2010-12-23 15:20:34 UTC
Application: kexi (2.3 RC 1 (KOffice 2.3 RC 1))
KDE Platform Version: 4.5.85 (4.6 Beta2)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-rc3-git1-6-desktop i686
Distribution: "openSUSE 11.4 Milestone 5 of 6 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: Nothing other then going through the import guide. I chose to import both structure and data and to save as a file.

I am running Kexi in a dinstibution installed i a virtual machine in VirtualBox under OpenSUSE 11.3 (the open source version from the official SUSE repositories). Kexi is also installed from the repositories.

The .mdb file is from a rather old XP-version of Access .

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb115eb70 (LWP 22269)):
#0  0xb52d922b in clock_gettime () from /lib/librt.so.1
#1  0xb6a68ac5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6b3b6f6 in updateCurrentTime (this=0x81fbc34, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x81fbc34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6b39f3b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb115e11c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6b39fdd in timerSourcePrepare (source=0x81fbc00, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5679210 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb567a082 in ?? () from /lib/libglib-2.0.so.0
#9  0xb567a76e in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb6b3a787 in QEventDispatcherGlib::processEvents (this=0x8205e70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6b0b29d in QEventLoop::processEvents (this=0xb115e2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6b0b4c9 in QEventLoop::exec (this=0xb115e2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6a0c7b9 in QThread::exec (this=0x8233aa0) at thread/qthread.cpp:490
#14 0xb6aeb22d in QInotifyFileSystemWatcherEngine::run (this=0x8233aa0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6a0f3aa in QThreadPrivate::start (arg=0x8233aa0) at thread/qthread_unix.cpp:285
#16 0xb572bb25 in start_thread () from /lib/libpthread.so.0
#17 0xb6910c5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4173710 (LWP 22268)):
[KCrash Handler]
#7  KexiDB::IndexSchema::addField (this=0x87b13c8, field=0x0) at /usr/src/debug/koffice-2.2.91/kexi/kexidb/indexschema.cpp:90
#8  0xafef0589 in KexiMigration::MDBMigrate::getPrimaryKey (this=0x8798008, table=0x8675330, tableDef=0x87a35c8) at /usr/src/debug/koffice-2.2.91/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:432
#9  0xafef0bc4 in KexiMigration::MDBMigrate::drv_readTableSchema (this=0x8798008, originalName=..., tableSchema=...) at /usr/src/debug/koffice-2.2.91/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:188
#10 0xaff11c62 in KexiMigration::KexiMigrate::performImport (this=0x8798008, result=0xbfe176e4) at /usr/src/debug/koffice-2.2.91/kexi/migration/keximigrate.cpp:199
#11 0xaff1fa3c in KexiMigration::ImportWizard::import (this=0x85d3f58) at /usr/src/debug/koffice-2.2.91/kexi/migration/importwizard.cpp:816
#12 0xaff2028b in KexiMigration::ImportWizard::next (this=0x85d3f58) at /usr/src/debug/koffice-2.2.91/kexi/migration/importwizard.cpp:901
#13 0xb5d8a177 in KAssistantDialog::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe1798c) at /usr/src/debug/kdelibs-4.5.85/build/kdeui/kassistantdialog.moc:76
#14 0xaff1ec92 in KexiMigration::ImportWizard::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=76, _a=0xbfe1798c) at /usr/src/debug/koffice-2.2.91/build/kexi/migration/importwizard.moc:78
#15 0xb6b128ad in QMetaObject::metacall (object=0x85d3f58, cl=QMetaObject::InvokeMetaMethod, idx=76, argv=0xbfe1798c) at kernel/qmetaobject.cpp:237
#16 0xb6b229fc in QMetaObject::activate (sender=0x85d3f58, m=0xb5ede1e0, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3272
#17 0xb5bec765 in KDialog::user2Clicked (this=0x85d3f58) at /usr/src/debug/kdelibs-4.5.85/build/kdeui/kdialog.moc:234
#18 0xb5d88370 in KDialog::slotButtonClicked (this=0x85d3f58, button=8192) at /usr/src/debug/kdelibs-4.5.85/kdeui/dialogs/kdialog.cpp:886
#19 0xb5d89d8e in KDialog::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfe17bc8) at /usr/src/debug/kdelibs-4.5.85/build/kdeui/kdialog.moc:190
#20 0xb5d89ed2 in KPageDialog::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfe17bc8) at /usr/src/debug/kdelibs-4.5.85/build/kdeui/kpagedialog.moc:70
#21 0xb5d8a10e in KAssistantDialog::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfe17bc8) at /usr/src/debug/kdelibs-4.5.85/build/kdeui/kassistantdialog.moc:70
#22 0xaff1ec92 in KexiMigration::ImportWizard::qt_metacall (this=0x85d3f58, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfe17bc8) at /usr/src/debug/koffice-2.2.91/build/kexi/migration/importwizard.moc:78
#23 0xb6b128ad in QMetaObject::metacall (object=0x85d3f58, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbfe17bc8) at kernel/qmetaobject.cpp:237
#24 0xb6b229fc in QMetaObject::activate (sender=0x85d1728, m=0xb6c45130, local_signal_index=0, argv=0xbfe17bc8) at kernel/qobject.cpp:3272
#25 0xb6b26cc5 in QSignalMapper::mapped (this=0x85d1728, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:101
#26 0xb6b26f39 in QSignalMapper::map (this=0x85d1728, sender=0x85d4990) at kernel/qsignalmapper.cpp:266
#27 0xb6b2704e in QSignalMapper::map (this=0x85d1728) at kernel/qsignalmapper.cpp:257
#28 0xb6b275f0 in QSignalMapper::qt_metacall (this=0x85d1728, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe17d58) at .moc/release-shared/moc_qsignalmapper.cpp:87
#29 0xb6b128ad in QMetaObject::metacall (object=0x85d1728, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfe17d58) at kernel/qmetaobject.cpp:237
#30 0xb6b229fc in QMetaObject::activate (sender=0x85d4990, m=0xb76f0824, local_signal_index=2, argv=0xbfe17d58) at kernel/qobject.cpp:3272
#31 0xb74a94bd in QAbstractButton::clicked (this=0x85d4990, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#32 0xb71a44bd in QAbstractButtonPrivate::emitClicked (this=0x85de9d0) at widgets/qabstractbutton.cpp:546
#33 0xb71a5dab in QAbstractButtonPrivate::click (this=0x85de9d0) at widgets/qabstractbutton.cpp:539
#34 0xb71a6066 in QAbstractButton::mouseReleaseEvent (this=0x85d4990, e=0xbfe18474) at widgets/qabstractbutton.cpp:1121
#35 0xb6de2580 in QWidget::event (this=0x85d4990, event=0xbfe18474) at kernel/qwidget.cpp:8200
#36 0xb71a5070 in QAbstractButton::event (this=0x85d4990, e=0xbfe18474) at widgets/qabstractbutton.cpp:1080
#37 0xb7247528 in QPushButton::event (this=0x85d4990, e=0xbfe18474) at widgets/qpushbutton.cpp:683
#38 0xb6d87434 in QApplicationPrivate::notify_helper (this=0x8071840, receiver=0x85d4990, e=0xbfe18474) at kernel/qapplication.cpp:4445
#39 0xb6d90c30 in QApplication::notify (this=0xbfe1818c, receiver=0x85d4990, e=0xbfe18474) at kernel/qapplication.cpp:4006
#40 0xb5c0f351 in KApplication::notify (this=0x806ec60, receiver=0x85d4990, event=0xbfe18474) at /usr/src/debug/kdelibs-4.5.85/kdeui/kernel/kapplication.cpp:311
#41 0xb6b0bfbe in QCoreApplication::notifyInternal (this=0x806ec60, receiver=0x85d4990, event=0xbfe18474) at kernel/qcoreapplication.cpp:732
#42 0xb6d8847c in sendSpontaneousEvent (receiver=0x85d4990, event=0xbfe18474, alienWidget=0x85d4990, nativeWidget=0x85d3f58, buttonDown=0xb76f9c00, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#43 QApplicationPrivate::sendMouseEvent (receiver=0x85d4990, event=0xbfe18474, alienWidget=0x85d4990, nativeWidget=0x85d3f58, buttonDown=0xb76f9c00, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3103
#44 0xb6e14000 in QETWidget::translateMouseEvent (this=0x85d3f58, event=0xbfe1898c) at kernel/qapplication_x11.cpp:4438
#45 0xb6e1310e in QApplication::x11ProcessEvent (this=0x806ec60, event=0xbfe1898c) at kernel/qapplication_x11.cpp:3442
#46 0xb6e3d940 in x11EventSourceDispatch (s=0x8073b18, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb5679ca9 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0xb567a4b0 in ?? () from /lib/libglib-2.0.so.0
#49 0xb567a76e in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0xb6b3a73b in QEventDispatcherGlib::processEvents (this=0x8071820, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb6e3d53a in QGuiEventDispatcherGlib::processEvents (this=0x8071820, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb6b0b29d in QEventLoop::processEvents (this=0xbfe18c40, flags=...) at kernel/qeventloop.cpp:149
#53 0xb6b0b4c9 in QEventLoop::exec (this=0xbfe18c40, flags=...) at kernel/qeventloop.cpp:201
#54 0xb72c908d in QDialog::exec (this=0x85d3f58) at dialogs/qdialog.cpp:552
#55 0xb773aa66 in KexiMainWindow::showProjectMigrationWizard (this=0x84ae888, mimeType=..., databaseName=..., cdata=0x0) at /usr/src/debug/koffice-2.2.91/kexi/main/KexiMainWindow.cpp:4863
#56 0xb773b838 in KexiMainWindow::startup (this=0x84ae888) at /usr/src/debug/koffice-2.2.91/kexi/main/KexiMainWindow.cpp:1532
#57 0xb773bab0 in KexiMainWindow::create (argc=1, argv=0xbfe18ec4, aboutdata=0x0) at /usr/src/debug/koffice-2.2.91/kexi/main/KexiMainWindow.cpp:300
#58 0x08048754 in main (argc=1, argv=0xbfe18ec4) at /usr/src/debug/koffice-2.2.91/kexi/main.cpp:30

This bug may be a duplicate of or related to bug 240343.

Possible duplicates by query: bug 240343.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-25 15:00:07 UTC
[Comment from a bug triager]
This issue is being tracked at bug 240343. Merging. Thanks

*** This bug has been marked as a duplicate of bug 240343 ***