Bug 258343

Summary: crash trying to import data
Product: [Applications] KEXI Reporter: jackslife1049
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: CLOSED DUPLICATE    
Severity: crash CC: dimitrios.tanis
Priority: NOR    
Version: 2.2.2 (KOffice 2.2.2)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jackslife1049 2010-11-30 06:53:04 UTC
Application: kexi (2.2.2 (KOffice 2.2.2))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: I was trying to import a csv file. program crashed. I have tried several times with the same result.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb736bb70 (LWP 14280)):
#0  0x00a56416 in __kernel_vsyscall ()
#1  0x0024cdf6 in poll () from /lib/libc.so.6
#2  0x01cd0a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x01cc343c in ?? () from /lib/libglib-2.0.so.0
#4  0x01cc3ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x0240c6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x01cea48f in ?? () from /lib/libglib-2.0.so.0
#7  0x00738cc9 in start_thread () from /lib/libpthread.so.0
#8  0x0025b6be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7746720 (LWP 14279)):
[KCrash Handler]
#7  isEmpty (this=0xa167798, row=1, col=1024, text=...) at /usr/include/qt4/QtCore/qlist.h:95
#8  isEmpty (this=0xa167798, row=1, col=1024, text=...) at /usr/include/qt4/QtCore/qlist.h:139
#9  KexiCSVImportDialog::detectTypeAndUniqueness (this=0xa167798, row=1, col=1024, text=...) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:1062
#10 0x03254b89 in KexiCSVImportDialog::setText (this=0xa167798, row=1, col=1025, text=..., inGUI=true) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:1252
#11 0x03255cd1 in KexiCSVImportDialog::loadRows (this=0xa167798, field=..., row=@0xbfc796d8, column=@0xbfc796d4, maxColumn=@0xbfc796d0, inGUI=<value optimized out>) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:821
#12 0x032570c8 in KexiCSVImportDialog::fillTable (this=0xa167798) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:522
#13 0x0325785f in KexiCSVImportDialog::initLater (this=0xa167798) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:443
#14 0x0325d1db in KexiCSVImportDialog::KexiCSVImportDialog (this=0xa167798, mode=KexiCSVImportDialog::File, parent=0x9fd89f8) at ../../../../../kexi/plugins/importexport/csv/kexicsvimportdialog.cpp:428
#15 0x03251221 in KexiCSVImportExportPart::createWidget (this=0xa168480, widgetClass=0x17dada "KexiCSVImportDialog", parent=0x9fd89f8, objName=0x17da57 "csv_importexport", args=0xbfc79bfc) at ../../../../../kexi/plugins/importexport/csv/kexicsv_importexportpart.cpp:45
#16 0x003f6a8f in KexiInternalPart::createModalDialogInstance (partName=0x17da57 "csv_importexport", dialogClass=0x17dada "KexiCSVImportDialog", msgHdr=0x9fd8a14, objName=0x17da57 "csv_importexport", args=0xbfc79bfc) at ../../../kexi/core/kexiinternalpart.cpp:169
#17 0x00138bf2 in KexiMainWindow::slotProjectImportDataTable (this=0x9fd89f8) at ../../../kexi/main/KexiMainWindow.cpp:4855
#18 0x0014cb96 in KexiMainWindow::qt_metacall (this=0x9fd89f8, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0xbfc79d88) at ./KexiMainWindow.moc:478
#19 0x008cf8ca in QMetaObject::metacall (object=0x9fd89f8, cl=QMetaObject::ReadProperty, idx=91, argv=0xbfc79d88) at kernel/qmetaobject.cpp:237
#20 0x008e26ad in QMetaObject::activate (sender=0x9ffa7c8, m=0x187a370, local_signal_index=1, argv=0xa18c070) at kernel/qobject.cpp:3280
#21 0x00ef3f99 in QAction::triggered (this=0x9ffa7c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#22 0x00ef58dc in QAction::activate (this=0x9ffa7c8, event=QAction::Trigger) at kernel/qaction.cpp:1256
#23 0x01412082 in trigger (this=0x404) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#24 QToolButton::nextCheckState (this=0x404) at widgets/qtoolbutton.cpp:1147
#25 0x0132b6b3 in QAbstractButtonPrivate::click (this=0xa078c60) at widgets/qabstractbutton.cpp:528
#26 0x0132b9ae in QAbstractButton::mouseReleaseEvent (this=0xa013cf8, e=0xbfc7a500) at widgets/qabstractbutton.cpp:1121
#27 0x0141254c in QToolButton::mouseReleaseEvent (this=0xa013cf8, e=0xbfc7a500) at widgets/qtoolbutton.cpp:721
#28 0x00f59e08 in QWidget::event (this=0xa013cf8, event=0xbfc7a500) at kernel/qwidget.cpp:8187
#29 0x01329e9e in QAbstractButton::event (this=0xa013cf8, e=0x404) at widgets/qabstractbutton.cpp:1080
#30 0x014150ca in QToolButton::event (this=0xa013cf8, event=0xbfc7a500) at widgets/qtoolbutton.cpp:1163
#31 0x00efbfdc in QApplicationPrivate::notify_helper (this=0x9b2e670, receiver=0xa013cf8, e=0xbfc7a500) at kernel/qapplication.cpp:4396
#32 0x00f02c2e in QApplication::notify (this=0x9b2bd28, receiver=0xa013cf8, e=0xbfc7a500) at kernel/qapplication.cpp:3959
#33 0x0208368a in KApplication::notify (this=0x9b2bd28, receiver=0xa013cf8, event=0xbfc7a500) at ../../kdeui/kernel/kapplication.cpp:310
#34 0x008c9b3b in QCoreApplication::notifyInternal (this=0x9b2bd28, receiver=0xa013cf8, event=0xbfc7a500) at kernel/qcoreapplication.cpp:732
#35 0x00f01094 in sendEvent (receiver=0xa013cf8, event=0xbfc7a500, alienWidget=0xa013cf8, nativeWidget=0xa0049f0, buttonDown=0x18963c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0xa013cf8, event=0xbfc7a500, alienWidget=0xa013cf8, nativeWidget=0xa0049f0, buttonDown=0x18963c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#37 0x00f8fd10 in QETWidget::translateMouseEvent (this=0xa0049f0, event=0xbfc7aa1c) at kernel/qapplication_x11.cpp:4403
#38 0x00f8f151 in QApplication::x11ProcessEvent (this=0x9b2bd28, event=0xbfc7aa1c) at kernel/qapplication_x11.cpp:3414
#39 0x00fbe36a in x11EventSourceDispatch (s=0x9b313e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x01cbf855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x01cc3668 in ?? () from /lib/libglib-2.0.so.0
#42 0x01cc3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x008f8565 in QEventDispatcherGlib::processEvents (this=0x9b10b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#44 0x00fbdbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9b10b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x008c8609 in QEventLoop::processEvents (this=0xbfc7ad14, flags=) at kernel/qeventloop.cpp:149
#46 0x008c8a8a in QEventLoop::exec (this=0xbfc7ad14, flags=...) at kernel/qeventloop.cpp:201
#47 0x008cd00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#48 0x00efae07 in QApplication::exec () at kernel/qapplication.cpp:3672
#49 0x080486c4 in main (argc=1, argv=0xbfc7ae34) at ../../kexi/main.cpp:34

Reported using DrKonqi
Comment 1 Jarosław Staniek 2010-11-30 20:41:17 UTC
Thanks for reporting. Could you please attach sample CSV file that causes the issue? (using "Add an attachment" link below)
Comment 2 jackslife1049 2010-12-01 16:34:37 UTC
Here is a small part of the file as it is too big to e-mail the complete
file.

Jack
Comment 3 Jarosław Staniek 2010-12-01 17:38:42 UTC
Part of the file is OK (if still causes a crash). But I suppose you forgot to submit the file. You can optionally send it to staniek @ kde.org if you want.
Comment 4 Dimitrios T Tanis 2012-01-12 00:26:43 UTC
Jaroslaw, please change status to needs more info.
Comment 5 Jarosław Staniek 2012-01-12 01:16:47 UTC
-> more info needed
Comment 6 Jarosław Staniek 2012-08-01 23:06:05 UTC

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