Bug 357990 - kexi crashes on .csv import
Summary: kexi crashes on .csv import
Status: RESOLVED WORKSFORME
Alias: None
Product: KEXI
Classification: Applications
Component: Migration/Import/Export (show other bugs)
Version: 2.8.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2016-01-14 18:08 UTC by Ed Devine
Modified: 2018-10-27 04:11 UTC (History)
3 users (show)

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 Ed Devine 2016-01-14 18:08:21 UTC
Application: kexi (2.8.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-97-generic-pae i686
Distribution: Ubuntu 12.04.5 LTS

-- Information about the crash:
trying to import a libreoffice spreadsheet that I saved as a .csv file

The crash can be reproduced every time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4078740 (LWP 26081))]

Thread 4 (Thread 0xab35db40 (LWP 26159)):
#0  0xb4e6edba in __GI_clock_gettime (clock_id=1, tp=0xab35cfb8) at ../sysdeps/unix/clock_gettime.c:94
#1  0xb65fc3e5 in do_gettime (frac=0xab35cfb0, sec=0xab35cfa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb66e6726 in QTimerInfoList::updateCurrentTime (this=0xaaa02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb66e6a7a in QTimerInfoList::timerWait (this=0xaaa02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb66e5323 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xab35d0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb66e53bd in timerSourcePrepare (source=0xaaa02040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb537b832 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb537bf6f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb537c1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb66e5de7 in QEventDispatcherGlib::processEvents (this=0xaaa00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb66b16ad in QEventLoop::processEvents (this=0xab35d240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb66b1949 in QEventLoop::exec (this=0xab35d240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb659aa1c in QThread::exec (this=0x9cf1d88) at thread/qthread.cpp:501
#14 0xb668ecfd in QInotifyFileSystemWatcherEngine::run (this=0x9cf1d88) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb659deb0 in QThreadPrivate::start (arg=0x9cf1d88) at thread/qthread_unix.cpp:307
#16 0xb544dd4c in start_thread (arg=0xab35db40) at pthread_create.c:308
#17 0xb647bb8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaa8f5b40 (LWP 26620)):
#0  0xb537bc0f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb537c0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb537c1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb66e5de7 in QEventDispatcherGlib::processEvents (this=0xa9f00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb66b16ad in QEventLoop::processEvents (this=0xaa8f5240, flags=...) at kernel/qeventloop.cpp:149
#5  0xb66b1949 in QEventLoop::exec (this=0xaa8f5240, flags=...) at kernel/qeventloop.cpp:204
#6  0xb659aa1c in QThread::exec (this=0x9edbe88) at thread/qthread.cpp:501
#7  0xb668ecfd in QInotifyFileSystemWatcherEngine::run (this=0x9edbe88) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb659deb0 in QThreadPrivate::start (arg=0x9edbe88) at thread/qthread_unix.cpp:307
#9  0xb544dd4c in start_thread (arg=0xaa8f5b40) at pthread_create.c:308
#10 0xb647bb8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa9a46b40 (LWP 27533)):
#0  0xb77b2428 in __kernel_vsyscall ()
#1  0xb545196b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb648949c in __pthread_cond_wait (cond=0xaeb8c890, mutex=0xaeb8c878) at forward.c:139
#3  0xaea88029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xaea8806f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb544dd4c in start_thread (arg=0xa9a46b40) at pthread_create.c:308
#6  0xb647bb8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4078740 (LWP 26081)):
[KCrash Handler]
#7  0xb7604672 in KexiPart::Item::~Item() () from /usr/lib/libkexicore.so.13
#8  0xb75f1708 in KexiProject::deleteUnstoredItem(KexiPart::Item*) () from /usr/lib/libkexicore.so.13
#9  0xa8b7fe87 in ?? () from /usr/lib/kde4/kexihandler_csv_importexport.so
#10 0xb66c9bb1 in QMetaObject::activate (sender=0xa67a4a0, m=0xb5a0d2b8, local_signal_index=0, argv=0xbfab9744) at kernel/qobject.cpp:3547
#11 0xb57fbb8d in KPageDialog::currentPageChanged (this=0xa67a4a0, _t1=0xa7099c8, _t2=0xa799fe0) at ./kpagedialog.moc:102
#12 0xb57fbc30 in qt_static_metacall (_a=0xbfab9844, _o=0xa67a4a0, _c=<optimized out>, _id=<optimized out>) at ./kpagedialog.moc:52
#13 KPageDialog::qt_static_metacall (_o=0xa67a4a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfab9844) at ./kpagedialog.moc:46
#14 0xb66c9bb1 in QMetaObject::activate (sender=0x99e8640, m=0xb5a0e048, local_signal_index=0, argv=0xbfab9844) at kernel/qobject.cpp:3547
#15 0xb5801d8d in KPageWidget::currentPageChanged (this=0x99e8640, _t1=0xa7099c8, _t2=0xa799fe0) at ./kpagewidget.moc:110
#16 0xb5801e28 in KPageWidgetPrivate::_k_slotCurrentPageChanged (this=0x9eca6e0, current=..., before=...) at ../../kdeui/paged/kpagewidget.cpp:43
#17 0xb66c9bb1 in QMetaObject::activate (sender=0x99e8640, m=0xb5a0d508, local_signal_index=0, argv=0xbfab9954) at kernel/qobject.cpp:3547
#18 0xb57fd55d in KPageView::currentPageChanged (this=0x99e8640, _t1=..., _t2=...) at ./kpageview.moc:154
#19 0xb57fdb9d in KPageViewPrivate::_k_pageSelected (this=0x9eca6e0, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:244
#20 0xb66c9bb1 in QMetaObject::activate (sender=0xa92c6d0, m=0xb75aa868, local_signal_index=0, argv=0xbfab9ab4) at kernel/qobject.cpp:3547
#21 0xb7235bbd in QItemSelectionModel::selectionChanged (this=0xa92c6d0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#22 0xb723b862 in QItemSelectionModel::emitSelectionChanged (this=0xa92c6d0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#23 0xb723ce2c in QItemSelectionModel::select (this=0xa92c6d0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#24 0xb7237cd6 in QItemSelectionModel::select (this=0xa92c6d0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#25 0xb7235ee8 in QItemSelectionModel::setCurrentIndex (this=0xa92c6d0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#26 0xb57fd33b in KPageView::setCurrentPage (this=0x99e8640, index=...) at ../../kdeui/paged/kpageview.cpp:374
#27 0xb5801cb3 in KPageWidget::setCurrentPage (this=0x99e8640, item=0xa7099c8) at ../../kdeui/paged/kpagewidget.cpp:122
#28 0xb57fba29 in KPageDialog::setCurrentPage (this=0xa67a4a0, item=0xa7099c8) at ../../kdeui/paged/kpagedialog.cpp:110
#29 0xb56f1c9a in KAssistantDialog::back (this=0xa67a4a0) at ../../kdeui/dialogs/kassistantdialog.cpp:113
#30 0xb56f2bc8 in qt_static_metacall (_o=0xa67a4a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kassistantdialog.moc:52
#31 KAssistantDialog::qt_static_metacall (_o=0xa67a4a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfab9e50) at ./kassistantdialog.moc:46
#32 0xb66c9bb1 in QMetaObject::activate (sender=0xa67a4a0, m=0xb5a08470, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3547
#33 0xb57060d5 in KDialog::user3Clicked (this=0xa67a4a0) at ./kdialog.moc:242
#34 0xb5706940 in KDialog::slotButtonClicked (this=0xa67a4a0, button=16384) at ../../kdeui/dialogs/kdialog.cpp:894
#35 0xb5706ee0 in qt_static_metacall (_a=0xbfab9fd8, _id=33, _o=0xa67a4a0, _c=<optimized out>) at ./kdialog.moc:167
#36 KDialog::qt_static_metacall (_o=0xa67a4a0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfab9fd8) at ./kdialog.moc:127
#37 0xb66c9bb1 in QMetaObject::activate (sender=0xa736094, m=0xb680fe58, local_signal_index=0, argv=0xbfab9fd8) at kernel/qobject.cpp:3547
#38 0xb66d12a5 in QSignalMapper::mapped (this=0xa736094, _t1=16384) at .moc/release-shared/moc_qsignalmapper.cpp:115
#39 0xb66d13f2 in QSignalMapper::map (this=0xa736094, sender=0x9de7710) at kernel/qsignalmapper.cpp:266
#40 0xb66d15ae in QSignalMapper::map (this=0xa736094) at kernel/qsignalmapper.cpp:257
#41 0xb66d1690 in qt_static_metacall (_a=0xbfaba158, _id=4, _o=0xa736094, _c=<optimized out>) at .moc/release-shared/moc_qsignalmapper.cpp:64
#42 QSignalMapper::qt_static_metacall (_o=0xa736094, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfaba158) at .moc/release-shared/moc_qsignalmapper.cpp:54
#43 0xb66c9bb1 in QMetaObject::activate (sender=0x9de7710, m=0xb75b07c8, local_signal_index=2, argv=0xbfaba158) at kernel/qobject.cpp:3547
#44 0xb735cf5d in QAbstractButton::clicked (this=0x9de7710, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#45 0xb7050b5d in QAbstractButtonPrivate::emitClicked (this=0xa90be18) at widgets/qabstractbutton.cpp:548
#46 0xb70521cb in QAbstractButtonPrivate::click (this=0xa90be18) at widgets/qabstractbutton.cpp:541
#47 0xb7052486 in QAbstractButton::mouseReleaseEvent (this=0x9de7710, e=0xbfaba824) at widgets/qabstractbutton.cpp:1123
#48 0xb6c7effc in QWidget::event (this=0x9de7710, event=0xbfaba824) at kernel/qwidget.cpp:8371
#49 0xb7051729 in QAbstractButton::event (this=0x9de7710, e=0xbfaba824) at widgets/qabstractbutton.cpp:1082
#50 0xb70f4cf8 in QPushButton::event (this=0x9de7710, e=0xbfaba824) at widgets/qpushbutton.cpp:683
#51 0xb6c24df4 in notify_helper (e=0xbfaba824, receiver=0x9de7710, this=0x96ce238) at kernel/qapplication.cpp:4556
#52 QApplicationPrivate::notify_helper (this=0x96ce238, receiver=0x9de7710, e=0xbfaba824) at kernel/qapplication.cpp:4528
#53 0xb6c2ae74 in QApplication::notify (this=0x96ce238, receiver=0x9de7710, e=0xbfaba824) at kernel/qapplication.cpp:4099
#54 0xb57c63b1 in KApplication::notify (this=0x96b7888, receiver=0x9de7710, event=0xbfaba824) at ../../kdeui/kernel/kapplication.cpp:311
#55 0xb66b2e0e in QCoreApplication::notifyInternal (this=0x96b7888, receiver=0x9de7710, event=0xbfaba824) at kernel/qcoreapplication.cpp:915
#56 0xb6c25db5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QApplicationPrivate::sendMouseEvent (receiver=0x9de7710, event=0xbfaba824, alienWidget=0x9de7710, nativeWidget=0xa861490, buttonDown=0xb75b9cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#58 0xb6cb1f94 in QETWidget::translateMouseEvent (this=0xa861490, event=0xbfabacdc) at kernel/qapplication_x11.cpp:4617
#59 0xb6cb0b2d in QApplication::x11ProcessEvent (this=0x96b7888, event=0xbfabacdc) at kernel/qapplication_x11.cpp:3732
#60 0xb6cdde1c in x11EventSourceDispatch (s=0x96d0840, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0xb537bd46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb537c0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb537c1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#64 0xb66e5d87 in QEventDispatcherGlib::processEvents (this=0x96877e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#65 0xb6cdda1a in QGuiEventDispatcherGlib::processEvents (this=0x96877e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb66b16ad in QEventLoop::processEvents (this=0xbfabafd0, flags=...) at kernel/qeventloop.cpp:149
#67 0xb66b1949 in QEventLoop::exec (this=0xbfabafd0, flags=...) at kernel/qeventloop.cpp:204
#68 0xb71777e9 in QDialog::exec (this=0xa67a4a0) at dialogs/qdialog.cpp:554
#69 0xb769671b in KexiMainWindow::slotProjectImportDataTable() () from /usr/lib/libkeximain.so.13
#70 0xb769c84d in ?? () from /usr/lib/libkeximain.so.13
#71 0xb66c9bb1 in QMetaObject::activate (sender=0x978b018, m=0xb759c3f8, local_signal_index=1, argv=0xbfabb1f8) at kernel/qobject.cpp:3547
#72 0xb6c1d90d in QAction::triggered (this=0x978b018, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#73 0xb6c1dbab in QAction::activate (this=0x978b018, event=QAction::Trigger) at kernel/qaction.cpp:1257
#74 0xb712a9a0 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#75 QToolButton::nextCheckState (this=0x980e328) at widgets/qtoolbutton.cpp:1144
#76 0xb7052187 in QAbstractButtonPrivate::click (this=0x9878c78) at widgets/qabstractbutton.cpp:530
#77 0xb7052486 in QAbstractButton::mouseReleaseEvent (this=0x980e328, e=0xbfabb8f4) at widgets/qabstractbutton.cpp:1123
#78 0xb712aa3d in QToolButton::mouseReleaseEvent (this=0x980e328, e=0xbfabb8f4) at widgets/qtoolbutton.cpp:718
#79 0xb6c7effc in QWidget::event (this=0x980e328, event=0xbfabb8f4) at kernel/qwidget.cpp:8371
#80 0xb7051729 in QAbstractButton::event (this=0x980e328, e=0xbfabb8f4) at widgets/qabstractbutton.cpp:1082
#81 0xb712c16c in QToolButton::event (this=0x980e328, event=0xbfabb8f4) at widgets/qtoolbutton.cpp:1160
#82 0xb6c24df4 in notify_helper (e=0xbfabb8f4, receiver=0x980e328, this=0x96ce238) at kernel/qapplication.cpp:4556
#83 QApplicationPrivate::notify_helper (this=0x96ce238, receiver=0x980e328, e=0xbfabb8f4) at kernel/qapplication.cpp:4528
#84 0xb6c2ae74 in QApplication::notify (this=0x96ce238, receiver=0x980e328, e=0xbfabb8f4) at kernel/qapplication.cpp:4099
#85 0xb57c63b1 in KApplication::notify (this=0x96b7888, receiver=0x980e328, event=0xbfabb8f4) at ../../kdeui/kernel/kapplication.cpp:311
#86 0xb66b2e0e in QCoreApplication::notifyInternal (this=0x96b7888, receiver=0x980e328, event=0xbfabb8f4) at kernel/qcoreapplication.cpp:915
#87 0xb6c25db5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#88 QApplicationPrivate::sendMouseEvent (receiver=0x980e328, event=0xbfabb8f4, alienWidget=0x980e328, nativeWidget=0x97e2190, buttonDown=0xb75b9cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#89 0xb6cb1f94 in QETWidget::translateMouseEvent (this=0x97e2190, event=0xbfabbdac) at kernel/qapplication_x11.cpp:4617
#90 0xb6cb0b2d in QApplication::x11ProcessEvent (this=0x96b7888, event=0xbfabbdac) at kernel/qapplication_x11.cpp:3732
#91 0xb6cdde1c in x11EventSourceDispatch (s=0x96d0840, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#92 0xb537bd46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#93 0xb537c0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#94 0xb537c1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#95 0xb66e5d87 in QEventDispatcherGlib::processEvents (this=0x96877e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#96 0xb6cdda1a in QGuiEventDispatcherGlib::processEvents (this=0x96877e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#97 0xb66b16ad in QEventLoop::processEvents (this=0xbfabc0a4, flags=...) at kernel/qeventloop.cpp:149
#98 0xb66b1949 in QEventLoop::exec (this=0xbfabc0a4, flags=...) at kernel/qeventloop.cpp:204
#99 0xb66b734a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#100 0xb6c229c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#101 0x0804867d in ?? ()
#102 0xb63a64d3 in __libc_start_main (main=0x8048640, argc=1, ubp_av=0xbfabc1b4, init=0x8048760 <__libc_csu_init>, fini=0x80487d0 <__libc_csu_fini>, rtld_fini=0xb77c2280 <_dl_fini>, stack_end=0xbfabc1ac) at libc-start.c:226
#103 0x080486c5 in _start ()

Reported using DrKonqi
Comment 1 Jarosław Staniek 2016-01-15 01:12:32 UTC
Thanks. 
I'd welcome test file (even a few lines of your CSV) that causes the crash for you.
Please attach there or send me privately. Thanks.

PS: I wonder why so old Kexi? 14 versions old...
Comment 2 Jarosław Staniek 2016-01-15 01:13:11 UTC
(more info)
Comment 3 Andrew Crouthamel 2018-09-25 21:53:50 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 04:11:21 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!