Bug 280212

Summary: Kexi crashed after import from MS-database
Product: [Applications] KEXI Reporter: strodti <js>
Component: GeneralAssignee: Jarosław Staniek <staniek>
Status: CLOSED DUPLICATE    
Severity: crash CC: adam
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 strodti 2011-08-16 18:49:32 UTC
Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: Start an .mdb file with kexi and import from MS-database file, then crash.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xb7387b70 (LWP 7668)):
#0  0x005c9416 in __kernel_vsyscall ()
#1  0x00527f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x06bbb84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x06bab1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x06bab92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0264c304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x06bd42df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01097e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0053673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb4b88b70 (LWP 7672)):
#0  0x06baa54d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x06bab03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x06bab524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x00292577 in QEventDispatcherGlib::processEvents (this=0x9c46410, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00264289 in QEventLoop::processEvents (this=0xb4b88280, flags=...) at kernel/qeventloop.cpp:149
#5  0x00264522 in QEventLoop::exec (this=0xb4b88280, flags=...) at kernel/qeventloop.cpp:201
#6  0x0016e2a0 in QThread::exec (this=0x9c63900) at thread/qthread.cpp:492
#7  0x00245fdb in QInotifyFileSystemWatcherEngine::run (this=0x9c63900) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00170da2 in QThreadPrivate::start (arg=0x9c63900) at thread/qthread_unix.cpp:320
#9  0x01097e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x0053673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77b6720 (LWP 7666)):
[KCrash Handler]
#7  KexiDB::IndexSchema::addField (this=0x9e15fe0, field=0x0) at ../../../kexi/kexidb/indexschema.cpp:90
#8  0x08e945ef in KexiMigration::MDBMigrate::getPrimaryKey (this=0x9de8e78, table=0x9e12010, tableDef=0x9e13390) at ../../../../../kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:432
#9  0x08e94b5f in KexiMigration::MDBMigrate::drv_readTableSchema (this=0x9de8e78, originalName=..., tableSchema=...) at ../../../../../kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:188
#10 0x078e8fb3 in KexiMigration::KexiMigrate::performImport (this=0x9de8e78, result=0xbff747a4) at ../../../kexi/migration/keximigrate.cpp:199
#11 0x078f63d2 in KexiMigration::ImportWizard::import (this=0x9b254c8) at ../../../kexi/migration/importwizard.cpp:820
#12 0x078f6d45 in KexiMigration::ImportWizard::next (this=0x9b254c8) at ../../../kexi/migration/importwizard.cpp:905
#13 0x015cf4ae in KAssistantDialog::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff74a5c) at ./kassistantdialog.moc:76
#14 0x078f588a in KexiMigration::ImportWizard::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=76, _a=0xbff74a5c) at ./importwizard.moc:78
#15 0x0026b6ba in QMetaObject::metacall (object=0x9b254c8, cl=QMetaObject::InvokeMetaMethod, idx=76, argv=0xbff74a5c) at kernel/qmetaobject.cpp:237
#16 0x0027b4ff in QMetaObject::activate (sender=0x9b254c8, m=0x1844d04, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3287
#17 0x015e1807 in KDialog::user2Clicked (this=0x9b254c8) at ./kdialog.moc:234
#18 0x015e2030 in KDialog::slotButtonClicked (this=0x9b254c8, button=8192) at ../../kdeui/dialogs/kdialog.cpp:896
#19 0x015e25bc in KDialog::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbff74cb8) at ./kdialog.moc:190
#20 0x016c696a in KPageDialog::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbff74cb8) at ./kpagedialog.moc:70
#21 0x015cf44a in KAssistantDialog::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbff74cb8) at ./kassistantdialog.moc:70
#22 0x078f588a in KexiMigration::ImportWizard::qt_metacall (this=0x9b254c8, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbff74cb8) at ./importwizard.moc:78
#23 0x0026b6ba in QMetaObject::metacall (object=0x9b254c8, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbff74cb8) at kernel/qmetaobject.cpp:237
#24 0x0027b4ff in QMetaObject::activate (sender=0x9afe42c, m=0x39f0f8, local_signal_index=0, argv=0xbff74cb8) at kernel/qobject.cpp:3287
#25 0x0027f413 in QSignalMapper::mapped (this=0x9afe42c, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:101
#26 0x0027f55f in QSignalMapper::map (this=0x9afe42c, sender=0x9afe058) at kernel/qsignalmapper.cpp:266
#27 0x0027f71e in QSignalMapper::map (this=0x9afe42c) at kernel/qsignalmapper.cpp:257
#28 0x0027fc0b in QSignalMapper::qt_metacall (this=0x9afe42c, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbff74e48) at .moc/release-shared/moc_qsignalmapper.cpp:87
#29 0x0026b6ba in QMetaObject::metacall (object=0x9afe42c, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbff74e48) at kernel/qmetaobject.cpp:237
#30 0x0027b4ff in QMetaObject::activate (sender=0x9afe058, m=0x1085884, local_signal_index=2, argv=0xbff74e48) at kernel/qobject.cpp:3287
#31 0x00e2b7c9 in QAbstractButton::clicked (this=0x9afe058, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#32 0x00b43326 in QAbstractButtonPrivate::emitClicked (this=0x9b28780) at widgets/qabstractbutton.cpp:546
#33 0x00b44b94 in QAbstractButtonPrivate::click (this=0x9b28780) at widgets/qabstractbutton.cpp:539
#34 0x00b44e4e in QAbstractButton::mouseReleaseEvent (this=0x9afe058, e=0xbff755a4) at widgets/qabstractbutton.cpp:1121
#35 0x0079813a in QWidget::event (this=0x9afe058, event=0xbff755a4) at kernel/qwidget.cpp:8259
#36 0x00b43e9e in QAbstractButton::event (this=0x9afe058, e=0xbff755a4) at widgets/qabstractbutton.cpp:1080
#37 0x00be1c52 in QPushButton::event (this=0x9afe058, e=0xbff755a4) at widgets/qpushbutton.cpp:683
#38 0x0073fd24 in QApplicationPrivate::notify_helper (this=0x98c85c0, receiver=0x9afe058, e=0xbff755a4) at kernel/qapplication.cpp:4462
#39 0x00745201 in QApplication::notify (this=0x98c3498, receiver=0x9afe058, e=0xbff755a4) at kernel/qapplication.cpp:4023
#40 0x016923ca in KApplication::notify (this=0x98c3498, receiver=0x9afe058, event=0xbff755a4) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x002650bb in QCoreApplication::notifyInternal (this=0x98c3498, receiver=0x9afe058, event=0xbff755a4) at kernel/qcoreapplication.cpp:731
#42 0x00740c3b in sendSpontaneousEvent (receiver=0x9afe058, event=0xbff755a4, alienWidget=0x9afe058, nativeWidget=0x9b254c8, buttonDown=0x108ec60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 QApplicationPrivate::sendMouseEvent (receiver=0x9afe058, event=0xbff755a4, alienWidget=0x9afe058, nativeWidget=0x9b254c8, buttonDown=0x108ec60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#44 0x007cc04c in QETWidget::translateMouseEvent (this=0x9b254c8, event=0xbff75acc) at kernel/qapplication_x11.cpp:4558
#45 0x007ca9b5 in QApplication::x11ProcessEvent (this=0x98c3498, event=0xbff75acc) at kernel/qapplication_x11.cpp:3680
#46 0x007f65f4 in x11EventSourceDispatch (s=0x98ccaa8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x06baaaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x06bab270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x06bab524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x0029253c in QEventDispatcherGlib::processEvents (this=0x9889480, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0x007f61e5 in QGuiEventDispatcherGlib::processEvents (this=0x9889480, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00264289 in QEventLoop::processEvents (this=0xbff75da0, flags=...) at kernel/qeventloop.cpp:149
#53 0x00264522 in QEventLoop::exec (this=0xbff75da0, flags=...) at kernel/qeventloop.cpp:201
#54 0x00c5fa93 in QDialog::exec (this=0x9b254c8) at dialogs/qdialog.cpp:552
#55 0x00430d94 in KexiMainWindow::showProjectMigrationWizard (this=0x99548d0, mimeType=..., databaseName=..., cdata=0x0) at ../../../kexi/main/KexiMainWindow.cpp:4863
#56 0x004319a8 in KexiMainWindow::startup (this=0x99548d0) at ../../../kexi/main/KexiMainWindow.cpp:1532
#57 0x00431c0b in KexiMainWindow::create (argc=2, argv=0xbff76034, aboutdata=0x0) at ../../../kexi/main/KexiMainWindow.cpp:300
#58 0x080486b4 in main (argc=2, argv=0xbff76034) at ../../kexi/main.cpp:30

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

Possible duplicates by query: bug 262817, bug 261072, bug 240343.

Reported using DrKonqi
Comment 1 Adam Pigg 2011-08-25 19:05:51 UTC
Does it happen repeatedly with the same .mdb file?  Can you attach a problem file?
Comment 2 Jarosław Staniek 2011-08-25 19:15:32 UTC
Already reported, thanks. Let's continue discussion in the context of bug #240343. Attached test mdb file could help indeed.

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