Bug 283104 - importing a csv files caused a crash
Summary: importing a csv files caused a crash
Status: CLOSED DUPLICATE of bug 279980
Alias: None
Product: KEXI
Classification: Applications
Component: Migration/Import/Export (show other bugs)
Version: 2.3.3 (KOffice 2.3.3)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 15:58 UTC by Markus
Modified: 2012-08-11 11:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2011-09-30 15:58:38 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:
opening a small csv file (53kB) to create a new table, with 29 columns and 258 rows started the import wizard, but crashed before finished

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb72dcb70 (LWP 5096)):
#0  __libc_disable_asynccancel (oldtype=<value optimized out>) at ../nptl/cancellation.c:83
#1  0x08dbbf88 in __poll (fds=0x9680008, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x07d2e5eb in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07d1df4f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07d1e6cb in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05e97234 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x07d4708f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0030be99 in start_thread (arg=0xb72dcb70) at pthread_create.c:304
#8  0x08dca73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xab9f2b70 (LWP 5098)):
#0  socketNotifierSourceCheck (source=0xa16c098) at kernel/qeventdispatcher_glib.cpp:83
#1  0x07d1d4bd in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x07d1ddda in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07d1e2c4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0100e577 in QEventDispatcherGlib::processEvents (this=0xa16c088, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00fe0289 in QEventLoop::processEvents (this=0xab9f2280, flags=...) at kernel/qeventloop.cpp:149
#6  0x00fe0522 in QEventLoop::exec (this=0xab9f2280, flags=...) at kernel/qeventloop.cpp:201
#7  0x00eea2a0 in QThread::exec (this=0xa16e498) at thread/qthread.cpp:492
#8  0x00fc1fdb in QInotifyFileSystemWatcherEngine::run (this=0xa16e498) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00eecda2 in QThreadPrivate::start (arg=0xa16e498) at thread/qthread_unix.cpp:320
#10 0x0030be99 in start_thread (arg=0xab9f2b70) at pthread_create.c:304
#11 0x08dca73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7711720 (LWP 5095)):
[KCrash Handler]
#7  isNull (d=0x40) at kernel/qguivariant.cpp:292
#8  0x01001e23 in QVariant::isNull (this=0x40) at kernel/qvariant.cpp:2909
#9  0x0453a166 in KexiDB::SQLitePreparedStatement::execute (this=0xa3dc178) at ../../../../../kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp:86
#10 0x063f8343 in KexiCSVImportDialog::saveRow (this=0xa36ed00, inGUI=false) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:1264
#11 0x063fb94d in KexiCSVImportDialog::loadRows (this=0xa36ed00, field=..., row=@0xbf8feaf4, column=@0xbf8feaf0, maxColumn=@0xbf8feaec, inGUI=false) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:888
#12 0x06401a6b in KexiCSVImportDialog::accept (this=0xa36ed00) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:1602
#13 0x0474b13b in KDialog::slotButtonClicked (this=0xa36ed00, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#14 0x0474b5bc in KDialog::qt_metacall (this=0xa36ed00, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf8fedc8) at ./kdialog.moc:190
#15 0x063ffeba in KexiCSVImportDialog::qt_metacall (this=0xa36ed00, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf8fedc8) at ./kexicsvimportdialog.moc:89
#16 0x00fe76ba in QMetaObject::metacall (object=0xa36ed00, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbf8fedc8) at kernel/qmetaobject.cpp:237
#17 0x00ff74ff in QMetaObject::activate (sender=0xa36f264, m=0x111b0f8, local_signal_index=0, argv=0xbf8fedc8) at kernel/qobject.cpp:3287
#18 0x00ffb413 in QSignalMapper::mapped (this=0xa36f264, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#19 0x00ffb55f in QSignalMapper::map (this=0xa36f264, sender=0xa1fecf0) at kernel/qsignalmapper.cpp:266
#20 0x00ffb71e in QSignalMapper::map (this=0xa36f264) at kernel/qsignalmapper.cpp:257
#21 0x00ffbc0b in QSignalMapper::qt_metacall (this=0xa36f264, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8fef58) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x00fe76ba in QMetaObject::metacall (object=0xa36f264, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf8fef58) at kernel/qmetaobject.cpp:237
#23 0x00ff74ff in QMetaObject::activate (sender=0xa1fecf0, m=0xd97884, local_signal_index=2, argv=0xbf8fef58) at kernel/qobject.cpp:3287
#24 0x00b3d7c9 in QAbstractButton::clicked (this=0xa1fecf0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#25 0x00855326 in QAbstractButtonPrivate::emitClicked (this=0xa36f868) at widgets/qabstractbutton.cpp:546
#26 0x00856b94 in QAbstractButtonPrivate::click (this=0xa36f868) at widgets/qabstractbutton.cpp:539
#27 0x00856e4e in QAbstractButton::mouseReleaseEvent (this=0xa1fecf0, e=0xbf8ff6b4) at widgets/qabstractbutton.cpp:1121
#28 0x004aa13a in QWidget::event (this=0xa1fecf0, event=0xbf8ff6b4) at kernel/qwidget.cpp:8259
#29 0x00855e9e in QAbstractButton::event (this=0xa1fecf0, e=0xbf8ff6b4) at widgets/qabstractbutton.cpp:1080
#30 0x008f3c52 in QPushButton::event (this=0xa1fecf0, e=0xbf8ff6b4) at widgets/qpushbutton.cpp:683
#31 0x00451d24 in QApplicationPrivate::notify_helper (this=0x9645c30, receiver=0xa1fecf0, e=0xbf8ff6b4) at kernel/qapplication.cpp:4462
#32 0x00457201 in QApplication::notify (this=0x9640458, receiver=0xa1fecf0, e=0xbf8ff6b4) at kernel/qapplication.cpp:4023
#33 0x047fb3ca in KApplication::notify (this=0x9640458, receiver=0xa1fecf0, event=0xbf8ff6b4) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00fe10bb in QCoreApplication::notifyInternal (this=0x9640458, receiver=0xa1fecf0, event=0xbf8ff6b4) at kernel/qcoreapplication.cpp:731
#35 0x00452c3b in sendSpontaneousEvent (receiver=0xa1fecf0, event=0xbf8ff6b4, alienWidget=0xa1fecf0, nativeWidget=0xa397ad8, buttonDown=0xda0c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 QApplicationPrivate::sendMouseEvent (receiver=0xa1fecf0, event=0xbf8ff6b4, alienWidget=0xa1fecf0, nativeWidget=0xa397ad8, buttonDown=0xda0c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#37 0x004de04c in QETWidget::translateMouseEvent (this=0xa397ad8, event=0xbf8ffbdc) at kernel/qapplication_x11.cpp:4558
#38 0x004dc9b5 in QApplication::x11ProcessEvent (this=0x9640458, event=0xbf8ffbdc) at kernel/qapplication_x11.cpp:3680
#39 0x005085f4 in x11EventSourceDispatch (s=0x9649468, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x07d1d848 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x07d1e010 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0x07d1e2c4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x0100e53c in QEventDispatcherGlib::processEvents (this=0x9606480, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0x005081e5 in QGuiEventDispatcherGlib::processEvents (this=0x9606480, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00fe0289 in QEventLoop::processEvents (this=0xbf8ffeb0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00fe0522 in QEventLoop::exec (this=0xbf8ffeb0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00971a93 in QDialog::exec (this=0xa36ed00) at dialogs/qdialog.cpp:552
#48 0x001418d1 in KexiMainWindow::slotProjectImportDataTable (this=0xa18a570) at ../../../kexi/main/KexiMainWindow.cpp:4914
#49 0x0014f91c in KexiMainWindow::qt_metacall (this=0xa18a570, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0xbf9000c8) at ./KexiMainWindow.moc:478
#50 0x00fe76ba in QMetaObject::metacall (object=0xa18a570, cl=QMetaObject::InvokeMetaMethod, idx=91, argv=0xbf9000c8) at kernel/qmetaobject.cpp:237
#51 0x00ff74ff in QMetaObject::activate (sender=0xa28f0a8, m=0xd843f8, local_signal_index=1, argv=0xbf9000c8) at kernel/qobject.cpp:3287
#52 0x0044a8d9 in QAction::triggered (this=0xa28f0a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#53 0x0044ab38 in QAction::activate (this=0xa28f0a8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#54 0x00927ce2 in trigger (this=0xa2a6590) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#55 QToolButton::nextCheckState (this=0xa2a6590) at widgets/qtoolbutton.cpp:1147
#56 0x00856b53 in QAbstractButtonPrivate::click (this=0xa2ac6b8) at widgets/qabstractbutton.cpp:528
#57 0x00856e4e in QAbstractButton::mouseReleaseEvent (this=0xa2a6590, e=0xbf900854) at widgets/qabstractbutton.cpp:1121
#58 0x00927dcc in QToolButton::mouseReleaseEvent (this=0xa2a6590, e=0xbf900854) at widgets/qtoolbutton.cpp:721
#59 0x004aa13a in QWidget::event (this=0xa2a6590, event=0xbf900854) at kernel/qwidget.cpp:8259
#60 0x00855e9e in QAbstractButton::event (this=0xa2a6590, e=0xbf900854) at widgets/qabstractbutton.cpp:1080
#61 0x009294fa in QToolButton::event (this=0xa2a6590, event=0xbf900854) at widgets/qtoolbutton.cpp:1163
#62 0x00451d24 in QApplicationPrivate::notify_helper (this=0x9645c30, receiver=0xa2a6590, e=0xbf900854) at kernel/qapplication.cpp:4462
#63 0x00457201 in QApplication::notify (this=0x9640458, receiver=0xa2a6590, e=0xbf900854) at kernel/qapplication.cpp:4023
#64 0x047fb3ca in KApplication::notify (this=0x9640458, receiver=0xa2a6590, event=0xbf900854) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x00fe10bb in QCoreApplication::notifyInternal (this=0x9640458, receiver=0xa2a6590, event=0xbf900854) at kernel/qcoreapplication.cpp:731
#66 0x00452c3b in sendSpontaneousEvent (receiver=0xa2a6590, event=0xbf900854, alienWidget=0xa2a6590, nativeWidget=0xa2964f0, buttonDown=0xda0c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#67 QApplicationPrivate::sendMouseEvent (receiver=0xa2a6590, event=0xbf900854, alienWidget=0xa2a6590, nativeWidget=0xa2964f0, buttonDown=0xda0c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#68 0x004de04c in QETWidget::translateMouseEvent (this=0xa2964f0, event=0xbf900d7c) at kernel/qapplication_x11.cpp:4558
#69 0x004dc9b5 in QApplication::x11ProcessEvent (this=0x9640458, event=0xbf900d7c) at kernel/qapplication_x11.cpp:3680
#70 0x005085f4 in x11EventSourceDispatch (s=0x9649468, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#71 0x07d1d848 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0x07d1e010 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x07d1e2c4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x0100e53c in QEventDispatcherGlib::processEvents (this=0x9606480, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#75 0x005081e5 in QGuiEventDispatcherGlib::processEvents (this=0x9606480, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00fe0289 in QEventLoop::processEvents (this=0xbf901044, flags=...) at kernel/qeventloop.cpp:149
#77 0x00fe0522 in QEventLoop::exec (this=0xbf901044, flags=...) at kernel/qeventloop.cpp:201
#78 0x00fe4ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#79 0x0044f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#80 0x080486c4 in main (argc=1, argv=0xbf901164) at ../../kexi/main.cpp:34

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

Possible duplicates by query: bug 279980.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2011-11-30 18:41:06 UTC
Could you please provide a small sample CSV file that causes a crash?

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