Bug 276483

Summary: crash when clicking "Import Tables"
Product: [Applications] KEXI Reporter: Alexander Potashev <aspotashev>
Component: Migration/Import/ExportAssignee: Adam Pigg <adam>
Status: CLOSED DUPLICATE    
Severity: crash CC: staniek
Priority: NOR    
Version: 2.4 alpha2 (Calligra 2.4 alpha2)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2011-06-25 21:07:54 UTC
Application: kexi (2.4 Alpha 2 (Calligra 2.4 Alpha 2))
KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.38 x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

1. Create a blank file project in Kexi
2. Click "External Data -> Import Tables"

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

Thread 2 (Thread 0x7f492628f700 (LWP 23042)):
#0  0x00007fff24585831 in clock_gettime ()
#1  0x0000003bd8604318 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f49306697a4 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f493073262d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f4930732655 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f493073083d in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f49307308dd in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f492d36fe76 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f492d370d49 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f492d3713cd in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4930730656 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f4930703b92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f4930703f7d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f49306131ad in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f49306e3f48 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f4930616155 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x0000003bd7e06914 in start_thread () from /lib64/libpthread.so.0
#17 0x0000003bd72d177d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f492be52760 (LWP 23041)):
[KCrash Handler]
#6  deref (this=0x2e7af30, parent=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  ~QString (this=0x2e7af30, parent=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:883
#8  node_destruct (this=0x2e7af30, parent=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:376
#9  erase (this=0x2e7af30, parent=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:452
#10 removeFirst (this=0x2e7af30, parent=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:273
#11 KexiMigration::AlterSchemaWidget::AlterSchemaWidget (this=0x2e7af30, parent=<value optimized out>) at /home/sasha/soft/kde-git/calligra/kexi/migration/AlterSchemaWidget.cpp:47
#12 0x00007f49247edc3f in KexiMigration::ImportTableWizard::setupAlterTablePage (this=0x2b39be0) at /home/sasha/soft/kde-git/calligra/kexi/migration/importtablewizard.cpp:241
#13 0x00007f49247ef903 in KexiMigration::ImportTableWizard::ImportTableWizard (this=0x2b39be0, curDB=<value optimized out>, parent=<value optimized out>, flags=<value optimized out>) at /home/sasha/soft/kde-git/calligra/kexi/migration/importtablewizard.cpp:70
#14 0x00007f49249fd55c in KexiMigrationPart::createWidget (this=<value optimized out>, widgetClass=<value optimized out>, parent=0x2a7b250, objName=0x7f4934f47d39 "migration", args=0x0) at /home/sasha/soft/kde-git/calligra/kexi/plugins/migration/keximigrationpart.cpp:48
#15 0x00007f4934cbc369 in KexiInternalPart::createModalDialogInstance (partName=0x7f4934f47d39 "migration", dialogClass=0x7f4934f47d2d "importtable", msgHdr=<value optimized out>, objName=<value optimized out>, args=0x0) at /home/sasha/soft/kde-git/calligra/kexi/core/kexiinternalpart.cpp:169
#16 0x00007f4934f18a1e in KexiMainWindow::slotToolsImportTables (this=0x2a7b250) at /home/sasha/soft/kde-git/calligra/kexi/main/KexiMainWindow.cpp:4817
#17 0x00007f4934f26e3d in KexiMainWindow::qt_metacall (this=0x2a7b250, _c=QMetaObject::InvokeMetaMethod, _id=87, _a=0x7fff2446cd80) at /home/sasha/soft/kde-git/calligra/b/kexi/main/KexiMainWindow.moc:501
#18 0x00007f493071c66f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f4930bf93e2 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f4930bfaa6b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f4930fcf62a in QAbstractButtonPrivate::click() () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f4930fcf8cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f493109bfaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f4930c5602d in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f4930c0095c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f4930c0789e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f49322fcbe6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f4930704e0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f4930c04d95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f4930c88c73 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f4930c87cf9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f4930cb1ad2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f492d370982 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f492d371130 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f492d3713cd in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f4930730603 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007f4930cb144e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f4930703b92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f4930703f7d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007f4930707f73 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#41 0x0000000000400b19 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/sasha/soft/kde-git/calligra/kexi/main.cpp:34

Reported using DrKonqi
Comment 1 Jarosław Staniek 2012-01-01 21:04:17 UTC
Clicking the "Import Tables" alone works but any attempt of importing simple ods file crashes in one or other page of the wizard.
Comment 2 Jarosław Staniek 2012-02-28 21:48:12 UTC

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