Bug 299202 - Error during MDB import
Summary: Error during MDB import
Status: CLOSED DUPLICATE of bug 240343
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-01 21:41 UTC by yo_oke
Modified: 2012-08-11 11:22 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 yo_oke 2012-05-01 21:41:42 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:
cuando se empezo la importacion de la base de datos mdb, se produjo el error. hay veces que cuando reinicio la computadora no hace el problema

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 0x7f2819786780 (LWP 11912))]

Thread 4 (Thread 0x7f28009f3700 (LWP 11916)):
#0  0x00007f281768e0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f281426d88f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2814232abd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2814232f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f281423345a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f28009f898b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f28142549a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f28146ffe9a in start_thread (arg=0x7f28009f3700) at pthread_create.c:308
#8  0x00007f281769b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f27fbbf4700 (LWP 11917)):
#0  0x00007f281768fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2814232ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f281423345a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f280774d2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f28142549a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f28146ffe9a in start_thread (arg=0x7f27fbbf4700) at pthread_create.c:308
#6  0x00007f281769b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f27fa4f1700 (LWP 11934)):
#0  0x00007f281768fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2814232ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2814233124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2817b10426 in QEventDispatcherGlib::processEvents (this=0x7f27ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2817adfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2817adfed7 in QEventLoop::exec (this=0x7f27fa4f0dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f28179defa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2817abf9ff in QInotifyFileSystemWatcherEngine::run (this=0x228c820) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f28179e1fcb in QThreadPrivate::start (arg=0x228c820) at thread/qthread_unix.cpp:298
#9  0x00007f28146ffe9a in start_thread (arg=0x7f27fa4f1700) at pthread_create.c:308
#10 0x00007f281769b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2819786780 (LWP 11912)):
[KCrash Handler]
#6  KexiDB::IndexSchema::addField (this=0x2865750, field=0x0) at /build/buildd/calligra-2.4.0/kexi/kexidb/indexschema.cpp:90
#7  0x00007f27e02688ef in KexiMigration::MDBMigrate::getPrimaryKey (this=<optimized out>, table=0x2863990, tableDef=0x2863c30) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:432
#8  0x00007f27e0268e7b in KexiMigration::MDBMigrate::drv_readTableSchema (this=0x27efbc0, originalName=..., tableSchema=...) at /build/buildd/calligra-2.4.0/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp:188
#9  0x00007f27e110e01d in KexiMigration::KexiMigrate::performImport (this=0x27efbc0, result=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/migration/keximigrate.cpp:200
#10 0x00007f27e111a2b0 in KexiMigration::ImportWizard::import (this=0x24e05b0) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:817
#11 0x00007f27e111abda in KexiMigration::ImportWizard::next (this=0x24e05b0) at /build/buildd/calligra-2.4.0/kexi/migration/importwizard.cpp:902
#12 0x00007f2817af5281 in QMetaObject::activate (sender=0x24e05b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007f28154e7040 in KDialog::slotButtonClicked (this=0x24e05b0, button=8192) at ../../kdeui/dialogs/kdialog.cpp:897
#14 0x00007f28154e7564 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#15 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#16 0x00007f2817af5281 in QMetaObject::activate (sender=0x24e0850, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09373040) at kernel/qobject.cpp:3547
#17 0x00007f2817afcb3e in QSignalMapper::mapped (this=<optimized out>, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:115
#18 0x00007f2817afd0db in QSignalMapper::map (this=0x24e0850, sender=0x23b6da0) at kernel/qsignalmapper.cpp:266
#19 0x00007f2817af5281 in QMetaObject::activate (sender=0x23b6da0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff093731d0) at kernel/qobject.cpp:3547
#20 0x00007f2818b65c82 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#21 0x00007f28188a3a5e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#22 0x00007f28188a4d9b in QAbstractButtonPrivate::click (this=0x25410a0) at widgets/qabstractbutton.cpp:541
#23 0x00007f28188a500c in QAbstractButton::mouseReleaseEvent (this=0x23b6da0, e=0x7fff09373aa0) at widgets/qabstractbutton.cpp:1123
#24 0x00007f2818526144 in QWidget::event (this=0x23b6da0, event=0x7fff09373aa0) at kernel/qwidget.cpp:8362
#25 0x00007f28184d5894 in notify_helper (e=0x7fff09373aa0, receiver=0x23b6da0, this=0x1a568d0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x1a568d0, receiver=0x23b6da0, e=0x7fff09373aa0) at kernel/qapplication.cpp:4531
#27 0x00007f28184db0bf in QApplication::notify (this=<optimized out>, receiver=0x23b6da0, e=0x7fff09373aa0) at kernel/qapplication.cpp:4102
#28 0x00007f2815591b46 in KApplication::notify (this=0x1a46800, receiver=0x23b6da0, event=0x7fff09373aa0) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f2817ae0e9c in QCoreApplication::notifyInternal (this=0x1a46800, receiver=0x23b6da0, event=0x7fff09373aa0) at kernel/qcoreapplication.cpp:876
#30 0x00007f28184d6862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=0x23b6da0, event=0x7fff09373aa0, alienWidget=0x23b6da0, nativeWidget=0x23a5160, buttonDown=0x23b6da0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#32 0x00007f2818555bf5 in QETWidget::translateMouseEvent (this=0x23a5160, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#33 0x00007f2818554bae in QApplication::x11ProcessEvent (this=0x1a46800, event=0x7fff09374370) at kernel/qapplication_x11.cpp:3732
#34 0x00007f281857e0e2 in x11EventSourceDispatch (s=0x1a59000, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f2814232c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2814233060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f2814233124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f2817b103bf in QEventDispatcherGlib::processEvents (this=0x19dead0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007f281857dd6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f2817adfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f2817adfed7 in QEventLoop::exec (this=0x7fff09374710, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f28189a5946 in QDialog::exec (this=0x24e05b0) at dialogs/qdialog.cpp:554
#43 0x00007f28192c547d in KexiMainWindow::showProjectMigrationWizard (this=0x1d39ad0, mimeType=..., databaseName=..., cdata=0x0) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:3993
#44 0x00007f28192c4ebb in KexiMainWindow::openProject (this=0x1d39ad0, aFileName=..., cdata=<optimized out>, dbName=..., autoopenObjects=...) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:2630
#45 0x00007f28192c5095 in KexiMainWindow::openProject (this=<optimized out>, aFileName=..., cdata=<optimized out>, dbName=..., autoopenObjects=...) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:2594
#46 0x00007f28192c513c in KexiMainWindow::openProject (this=0x1d39ad0, aFileName=..., fileNameForConnectionData=..., dbName=...) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:2586
#47 0x00007f28192c5a4e in KexiMainWindow::openProject (this=<optimized out>, aFileName=...) at /build/buildd/calligra-2.4.0/kexi/main/KexiMainWindow.cpp:2569
#48 0x00007f28192c73c8 in qt_static_metacall (_a=0x7fff09374d30, _id=<optimized out>, _o=0x1d39ad0, _c=<optimized out>) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:427
#49 KexiMainWindow::qt_static_metacall (_o=0x1d39ad0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff09374d30) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiMainWindow.moc:370
#50 0x00007f2817af5281 in QMetaObject::activate (sender=0x1fbf190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09374d30) at kernel/qobject.cpp:3547
#51 0x00007f28192eb115 in KexiOpenProjectAssistant::openProject (this=<optimized out>, _t1=...) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/main/KexiOpenProjectAssistant.moc:260
#52 0x00007f28192eb34b in nextPageRequested (this=0x1fbf190, page=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/main/startup/KexiOpenProjectAssistant.cpp:230
#53 KexiOpenProjectAssistant::nextPageRequested (this=0x1fbf190, page=<optimized out>) at /build/buildd/calligra-2.4.0/kexi/main/startup/KexiOpenProjectAssistant.cpp:222
#54 0x00007f2817af5281 in QMetaObject::activate (sender=0x22512a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09374ec0) at kernel/qobject.cpp:3547
#55 0x00007f2817045972 in KexiAssistantPage::next (this=<optimized out>, _t1=0x22512a0) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/kexi/kexiutils/KexiAssistantPage.moc:133
#56 0x00007f2817af5281 in QMetaObject::activate (sender=0x2283a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#57 0x00007f2816b812b4 in KexiFileWidget::slotExistingFileHighlighted (this=0x2283a60, fileName=...) at /build/buildd/calligra-2.4.0/kexi/widget/KexiFileWidget.cpp:145
#58 0x00007f2817af5281 in QMetaObject::activate (sender=0x2283a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09375180) at kernel/qobject.cpp:3547
#59 0x00007f28161ecc85 in KFileWidget::fileHighlighted (this=<optimized out>, _t1=...) at ./kfilewidget.moc:201
#60 0x00007f28161f31f7 in KFileWidgetPrivate::_k_fileHighlighted (this=0x2258240, i=...) at ../../kfile/kfilewidget.cpp:1079
#61 0x00007f2817af5281 in QMetaObject::activate (sender=0x22b5bf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09375330) at kernel/qobject.cpp:3547
#62 0x00007f28161d59a5 in KDirOperator::fileHighlighted (this=<optimized out>, _t1=...) at ./kdiroperator.moc:321
#63 0x00007f28161d59ee in KDirOperator::highlightFile (this=0x22b5bf0, item=...) at ../../kfile/kdiroperator.cpp:1718
#64 0x00007f28161d9ecc in KDirOperator::Private::_k_slotSelectionChanged (this=0x22b5970) at ../../kfile/kdiroperator.cpp:2385
#65 0x00007f28161db2f0 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdiroperator.moc:228
#66 KDirOperator::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdiroperator.moc:160
#67 0x00007f2817af5281 in QMetaObject::activate (sender=0x23bbbe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09375510) at kernel/qobject.cpp:3547
#68 0x00007f2818a528c7 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#69 0x00007f2818a58724 in QItemSelectionModel::emitSelectionChanged (this=0x23bbbe0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#70 0x00007f2818a596b1 in QItemSelectionModel::select (this=0x23bbbe0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#71 0x00007f2818a25065 in QListView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qlistview.cpp:1379
#72 0x00007f2818a0110a in QAbstractItemView::mousePressEvent (this=0x2373bb0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#73 0x00007f28161d227a in KDirOperatorIconView::mousePressEvent (this=0x2373bb0, event=0x7fff09376710) at ../../kfile/kdiroperator.cpp:162
#74 0x00007f2818526429 in QWidget::event (this=0x2373bb0, event=0x7fff09376710) at kernel/qwidget.cpp:8358
#75 0x00007f28188e63c6 in QFrame::event (this=0x2373bb0, e=0x7fff09376710) at widgets/qframe.cpp:557
#76 0x00007f28189fa8ab in QAbstractItemView::viewportEvent (this=0x2373bb0, event=0x7fff09376710) at itemviews/qabstractitemview.cpp:1644
#77 0x00007f2817ae1028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x22d4240, event=0x7fff09376710) at kernel/qcoreapplication.cpp:986
#78 0x00007f28184d585f in notify_helper (e=0x7fff09376710, receiver=0x22d4240, this=0x1a568d0) at kernel/qapplication.cpp:4555
#79 QApplicationPrivate::notify_helper (this=0x1a568d0, receiver=0x22d4240, e=0x7fff09376710) at kernel/qapplication.cpp:4531
#80 0x00007f28184db0bf in QApplication::notify (this=<optimized out>, receiver=0x22d4240, e=0x7fff09376710) at kernel/qapplication.cpp:4102
#81 0x00007f2815591b46 in KApplication::notify (this=0x1a46800, receiver=0x22d4240, event=0x7fff09376710) at ../../kdeui/kernel/kapplication.cpp:311
#82 0x00007f2817ae0e9c in QCoreApplication::notifyInternal (this=0x1a46800, receiver=0x22d4240, event=0x7fff09376710) at kernel/qcoreapplication.cpp:876
#83 0x00007f28184d6862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#84 QApplicationPrivate::sendMouseEvent (receiver=0x22d4240, event=0x7fff09376710, alienWidget=0x22d4240, nativeWidget=0x2283a60, buttonDown=0x22d4240, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#85 0x00007f2818555bf5 in QETWidget::translateMouseEvent (this=0x2283a60, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#86 0x00007f2818554bae in QApplication::x11ProcessEvent (this=0x1a46800, event=0x7fff09376fe0) at kernel/qapplication_x11.cpp:3732
#87 0x00007f281857e0e2 in x11EventSourceDispatch (s=0x1a59000, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#88 0x00007f2814232c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007f2814233060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007f2814233124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#91 0x00007f2817b103bf in QEventDispatcherGlib::processEvents (this=0x19dead0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#92 0x00007f281857dd6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#93 0x00007f2817adfc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#94 0x00007f2817adfed7 in QEventLoop::exec (this=0x7fff09377380, flags=...) at kernel/qeventloop.cpp:204
#95 0x00007f2817ae4f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#96 0x0000000000400891 in main (argc=<optimized out>, argv=0x7fff093774c8) at /build/buildd/calligra-2.4.0/kexi/main.cpp:36

Possible duplicates by query: bug 280212.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-08-05 11:47:25 UTC
Hi, thanks for the report. May I ask for example .mdb file that causes kexi crash?

You can attach it here below via 'Add an attachment' link or send me (if it's confidential) to staniek @kde.org. Please zip the file before sending.
 
Thanks.

I will mark this report as a duplication of other report: https://bugs.kde.org/show_bug.cgi?id=240343

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