Bug 299171

Summary: Kexi Crash during importing MDB file with linked tables
Product: [Applications] KEXI Reporter: Terry Mills <darksparc>
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: RESOLVED WORKSFORME    
Severity: crash CC: rang501
Priority: NOR Keywords: triaged
Version First Reported In: 2.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Terry Mills 2012-05-01 14:44:26 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.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have a Access Database with a linked DataBase. I can import the Database that is linked but crash durring import of Main DataBase.
I am running under Unity not KDE. I will try in KDE when I get to my other computer this week.

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

Thread 4 (Thread 0x7fc8d08a3700 (LWP 3759)):
#0  0x00007fc8e727db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc8e3e20ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc8e3e2145a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8d0ef998b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fc8e3e429a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc8e42ede9a in start_thread (arg=0x7fc8d08a3700) at pthread_create.c:308
#6  0x00007fc8e72894bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc8cbfff700 (LWP 3760)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007fc8e727dae8 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007fc8e3e20ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8e3e2145a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc8d7e512c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007fc8e3e429a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc8e42ede9a in start_thread (arg=0x7fc8cbfff700) at pthread_create.c:308
#7  0x00007fc8e72894bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc8abc38700 (LWP 3764)):
#0  0x00007fc8e727db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc8e3e20ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc8e3e21124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8e76fe426 in QEventDispatcherGlib::processEvents (this=0x7fc8a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc8e76cdc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc8e76cded7 in QEventLoop::exec (this=0x7fc8abc37d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc8e75ccfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc8e76ad9ff in QInotifyFileSystemWatcherEngine::run (this=0x1a588d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc8e75cffcb in QThreadPrivate::start (arg=0x1a588d0) at thread/qthread_unix.cpp:298
#9  0x00007fc8e42ede9a in start_thread (arg=0x7fc8abc38700) at pthread_create.c:308
#10 0x00007fc8e72894bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8e937a7c0 (LWP 3757)):
[KCrash Handler]
#6  0x00007fc8e71cd445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fc8e71d0bab in __GI_abort () at abort.c:91
#8  0x00007fc8e720ae2e in __libc_message (do_abort=2, fmt=0x7fc8e73130d0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007fc8e7215626 in malloc_printerr (action=3, str=0x7fc8e73131e0 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007fc8aadd43a6 in mdb_xfer_bound_data (mdb=<optimized out>, start=<optimized out>, col=0x2221e90, len=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/mdbtools/libmdb/data.c:241
#11 0x00007fc8aadd463c in _mdb_attempt_bind (len=<optimized out>, offset=<optimized out>, isnull=<optimized out>, col=<optimized out>, mdb=0x1b6bb00) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/mdbtools/libmdb/data.c:321
#12 mdb_read_row (table=0x22219b0, row=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/mdbtools/libmdb/data.c:299
#13 0x00007fc8aadd4806 in mdb_fetch_row (table=0x22219b0) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/mdbtools/libmdb/data.c:417
#14 0x00007fc8aadd15a7 in KexiMigration::MDBMigrate::drv_copyTable (this=0x1e8a440, srcTable=..., destConn=0x2132a00, dstTable=0x236a8d0) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:291
#15 0x00007fc8abc4e4d6 in KexiMigration::KexiMigrate::performImport (this=0x1e8a440, result=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/keximigrate.cpp:379
#16 0x00007fc8abc592b0 in KexiMigration::ImportWizard::import (this=0x2019350) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:817
#17 0x00007fc8abc59bda in KexiMigration::ImportWizard::next (this=0x2019350) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:902
#18 0x00007fc8e76e3281 in QMetaObject::activate (sender=0x2019350, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007fc8e50d5040 in KDialog::slotButtonClicked (this=0x2019350, button=8192) at ../../kdeui/dialogs/kdialog.cpp:897
#20 0x00007fc8e50d5564 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#21 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#22 0x00007fc8e76e3281 in QMetaObject::activate (sender=0x1ee8940, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff9236090) at kernel/qobject.cpp:3547
#23 0x00007fc8e76eab3e in QSignalMapper::mapped (this=<optimized out>, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:115
#24 0x00007fc8e76eb0db in QSignalMapper::map (this=0x1ee8940, sender=0x1ee8010) at kernel/qsignalmapper.cpp:266
#25 0x00007fc8e76e3281 in QMetaObject::activate (sender=0x1ee8010, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff9236220) at kernel/qobject.cpp:3547
#26 0x00007fc8e8753c82 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#27 0x00007fc8e8491a5e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#28 0x00007fc8e8492d9b in QAbstractButtonPrivate::click (this=0x1fea0e0) at widgets/qabstractbutton.cpp:541
#29 0x00007fc8e849300c in QAbstractButton::mouseReleaseEvent (this=0x1ee8010, e=0x7ffff9236af0) at widgets/qabstractbutton.cpp:1123
#30 0x00007fc8e8114144 in QWidget::event (this=0x1ee8010, event=0x7ffff9236af0) at kernel/qwidget.cpp:8362
#31 0x00007fc8e80c3894 in notify_helper (e=0x7ffff9236af0, receiver=0x1ee8010, this=0x122b580) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x122b580, receiver=0x1ee8010, e=0x7ffff9236af0) at kernel/qapplication.cpp:4531
#33 0x00007fc8e80c90bf in QApplication::notify (this=<optimized out>, receiver=0x1ee8010, e=0x7ffff9236af0) at kernel/qapplication.cpp:4102
#34 0x00007fc8e517fb46 in KApplication::notify (this=0x121cbb0, receiver=0x1ee8010, event=0x7ffff9236af0) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007fc8e76cee9c in QCoreApplication::notifyInternal (this=0x121cbb0, receiver=0x1ee8010, event=0x7ffff9236af0) at kernel/qcoreapplication.cpp:876
#36 0x00007fc8e80c4862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QApplicationPrivate::sendMouseEvent (receiver=0x1ee8010, event=0x7ffff9236af0, alienWidget=0x1ee8010, nativeWidget=0x18eead0, buttonDown=0x1ee8010, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#38 0x00007fc8e8143bf5 in QETWidget::translateMouseEvent (this=0x18eead0, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#39 0x00007fc8e8142bae in QApplication::x11ProcessEvent (this=0x121cbb0, event=0x7ffff92373c0) at kernel/qapplication_x11.cpp:3732
#40 0x00007fc8e816c0e2 in x11EventSourceDispatch (s=0x122c720, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007fc8e3e20c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fc8e3e21060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fc8e3e21124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fc8e76fe3bf in QEventDispatcherGlib::processEvents (this=0x11b4e00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007fc8e816bd6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007fc8e76cdc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fc8e76cded7 in QEventLoop::exec (this=0x7ffff9237760, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007fc8e8593946 in QDialog::exec (this=0x2019350) at dialogs/qdialog.cpp:554
#49 0x00007fc8e8eb347d in KexiMainWindow::showProjectMigrationWizard (this=0x14ac710, mimeType=..., databaseName=..., cdata=0x0) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:3993
#50 0x00007fc8e8eb39fc in KexiMainWindow::slotToolsImportProject (this=0x14ac710) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:3888
#51 0x00007fc8e8eb591a in qt_static_metacall (_a=0x7ffff9237b00, _id=<optimized out>, _o=0x14ac710, _c=<optimized out>) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:506
#52 KexiMainWindow::qt_static_metacall (_o=0x14ac710, _c=<optimized out>, _id=<optimized out>, _a=0x7ffff9237b00) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:370
#53 0x00007fc8e76e3281 in QMetaObject::activate (sender=0x1b7f780, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#54 0x00007fc8e76e3281 in QMetaObject::activate (sender=0x19d6950, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff9237cb0) at kernel/qobject.cpp:3547
#55 0x00007fc8e8753c82 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#56 0x00007fc8e8491a5e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#57 0x00007fc8e8492d9b in QAbstractButtonPrivate::click (this=0x1739410) at widgets/qabstractbutton.cpp:541
#58 0x00007fc8e849300c in QAbstractButton::mouseReleaseEvent (this=0x19d6950, e=0x7ffff9238580) at widgets/qabstractbutton.cpp:1123
#59 0x00007fc8e8114144 in QWidget::event (this=0x19d6950, event=0x7ffff9238580) at kernel/qwidget.cpp:8362
#60 0x00007fc8e80c3894 in notify_helper (e=0x7ffff9238580, receiver=0x19d6950, this=0x122b580) at kernel/qapplication.cpp:4559
#61 QApplicationPrivate::notify_helper (this=0x122b580, receiver=0x19d6950, e=0x7ffff9238580) at kernel/qapplication.cpp:4531
#62 0x00007fc8e80c90bf in QApplication::notify (this=<optimized out>, receiver=0x19d6950, e=0x7ffff9238580) at kernel/qapplication.cpp:4102
#63 0x00007fc8e517fb46 in KApplication::notify (this=0x121cbb0, receiver=0x19d6950, event=0x7ffff9238580) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007fc8e76cee9c in QCoreApplication::notifyInternal (this=0x121cbb0, receiver=0x19d6950, event=0x7ffff9238580) at kernel/qcoreapplication.cpp:876
#65 0x00007fc8e80c4862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#66 QApplicationPrivate::sendMouseEvent (receiver=0x19d6950, event=0x7ffff9238580, alienWidget=0x19d6950, nativeWidget=0x16df830, buttonDown=0x19d6950, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#67 0x00007fc8e8143bf5 in QETWidget::translateMouseEvent (this=0x16df830, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#68 0x00007fc8e8142bae in QApplication::x11ProcessEvent (this=0x121cbb0, event=0x7ffff9238e50) at kernel/qapplication_x11.cpp:3732
#69 0x00007fc8e816c0e2 in x11EventSourceDispatch (s=0x122c720, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00007fc8e3e20c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fc8e3e21060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fc8e3e21124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fc8e76fe3bf in QEventDispatcherGlib::processEvents (this=0x11b4e00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#74 0x00007fc8e816bd6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fc8e76cdc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fc8e76cded7 in QEventLoop::exec (this=0x7ffff92391f0, flags=...) at kernel/qeventloop.cpp:204
#77 0x00007fc8e76d2f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#78 0x0000000000400891 in main (argc=<optimized out>, argv=0x7ffff9239338) at /build/buildd/calligra-2.4.0/kexi/main.cpp:36

Possible duplicates by query: bug 299137, bug 296435, bug 294766, bug 292022, bug 290830.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-08-11 11:05:35 UTC
Hi, thanks for the report. There should be no difference if you use Unity and not KDE. Could you please try to copy the main db and remove all linked tables, leaving only regular tables, then try to import?

Alternatively could you please create an test mdb file with linked table and whatever data, that causes the crash, then attach both linked db and main db (zipped) below?
Comment 2 Jarosław Staniek 2012-09-13 21:19:58 UTC
*** Bug 306728 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Crouthamel 2018-09-23 02:17:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 03:55:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!