https://bugs.kde.org/show_bug.cgi?id=394909

            Bug ID: 394909
           Summary: CSV Import crash if Date Format is left blank
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: luisgmare...@hotmail.com
  Target Milestone: ---

Application: kmymoney (4.7.2)
KDE Platform Version: 4.14.33
Qt Version: 4.8.6
Operating System: Linux 4.16.12-1-custom x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
Trying to import a CSV file created on another KMyMoney instance via CSVWizard.
On Step 5 of the Banking import you can select a Date Format. If this Date
Format field is left blank, KMyMoney crashes when doing the import. After
selecting a Date Format, the operation completed successfuly.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f547697e900 (LWP 28434))]

Thread 2 (Thread 0x7f5458def700 (LWP 28660)):
#0  0x00007f546be9d8b4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f546be5b950 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f546be5c230 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f546be5c42c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f54719d7fce in QEventDispatcherGlib::processEvents
(this=0x7f544c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f54719a9d3f in QEventLoop::processEvents
(this=this@entry=0x7f5458deeca0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f54719aa035 in QEventLoop::exec (this=this@entry=0x7f5458deeca0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f54718a749f in QThread::exec (this=this@entry=0x3ee4b10) at
thread/qthread.cpp:538
#8  0x00007f547198b643 in QInotifyFileSystemWatcherEngine::run (this=0x3ee4b10)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f54718a9b7f in QThreadPrivate::start (arg=0x3ee4b10) at
thread/qthread_unix.cpp:349
#10 0x00007f546e228724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5470a44e8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f547697e900 (LWP 28434)):
[KCrash Handler]
#6  fmtDateTime (f=..., dt=dt@entry=0x0, dd=dd@entry=0x7fff9bd187f0) at
tools/qdatetime.cpp:3917
#7  0x00007f54718b6f58 in QDate::toString (this=this@entry=0x7fff9bd187f0,
format=...) at tools/qdatetime.cpp:892
#8  0x00007f545ca056f5 in CSVDialog::processQifLine (this=this@entry=0x3cedfc0,
iBuff=...) at
/usr/src/debug/kmymoney-4.7.2/kmymoney/plugins/csvimport/csvdialog.cpp:1156
#9  0x00007f545ca0e43e in CSVDialog::readFile (this=this@entry=0x3cedfc0,
fname=...) at
/usr/src/debug/kmymoney-4.7.2/kmymoney/plugins/csvimport/csvdialog.cpp:855
#10 0x00007f545ca102fe in CSVDialog::slotImportClicked (this=0x3cedfc0) at
/usr/src/debug/kmymoney-4.7.2/kmymoney/plugins/csvimport/csvdialog.cpp:1497
#11 0x00007f545ca575b5 in CSVDialog::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=0x7fff9bd18d20, _c=<optimized out>) at
/usr/src/debug/kmymoney-4.7.2/build/kmymoney/plugins/csvimport/moc_csvdialog.cpp:92
#12 0x00007f54719bf0ea in QMetaObject::activate (sender=sender@entry=0x3de7120,
m=m@entry=0x7f545cc759c0 <CompletionPage::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at
kernel/qobject.cpp:3576
#13 0x00007f545ca58143 in CompletionPage::importBanking
(this=this@entry=0x3de7120) at
/usr/src/debug/kmymoney-4.7.2/build/kmymoney/plugins/csvimport/moc_csvwizard.cpp:717
#14 0x00007f545ca23edd in CompletionPage::slotImportClicked (this=0x3de7120) at
/usr/src/debug/kmymoney-4.7.2/kmymoney/plugins/csvimport/csvwizard.cpp:1835
#15 0x00007f54719bf0ea in QMetaObject::activate (sender=sender@entry=0x3d1a180,
m=m@entry=0x7f5472e8a1e0 <QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff9bd18f70)
at kernel/qobject.cpp:3576
#16 0x00007f5472a06372 in QAbstractButton::clicked (this=this@entry=0x3d1a180,
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#17 0x00007f547276a723 in QAbstractButtonPrivate::emitClicked
(this=this@entry=0x3d1a550) at widgets/qabstractbutton.cpp:548
#18 0x00007f547276b893 in QAbstractButtonPrivate::click
(this=this@entry=0x3d1a550) at widgets/qabstractbutton.cpp:541
#19 0x00007f547276b97c in QAbstractButton::mouseReleaseEvent (this=0x3d1a180,
e=0x7fff9bd19460) at widgets/qabstractbutton.cpp:1123
#20 0x00007f547240cbba in QWidget::event (this=0x3d1a180, event=0x7fff9bd19460)
at kernel/qwidget.cpp:8389
#21 0x00007f54723bd6fc in QApplicationPrivate::notify_helper
(this=this@entry=0x152ff40, receiver=receiver@entry=0x3d1a180,
e=e@entry=0x7fff9bd19460) at kernel/qapplication.cpp:4565
#22 0x00007f54723c3d7a in QApplication::notify (this=this@entry=0x1511bb0,
receiver=receiver@entry=0x3d1a180, e=e@entry=0x7fff9bd19460) at
kernel/qapplication.cpp:4108
#23 0x00007f54730d4e9a in KApplication::notify (this=0x1511bb0,
receiver=0x3d1a180, event=0x7fff9bd19460) at
/usr/src/debug/kdelibs-4.14.33/kdeui/kernel/kapplication.cpp:311
#24 0x00007f54719ab17d in QCoreApplication::notifyInternal (this=0x1511bb0,
receiver=receiver@entry=0x3d1a180, event=event@entry=0x7fff9bd19460) at
kernel/qcoreapplication.cpp:953
#25 0x00007f54723c3573 in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3d1a180,
event=event@entry=0x7fff9bd19460, alienWidget=alienWidget@entry=0x3d1a180,
nativeWidget=nativeWidget@entry=0x3d023b0,
buttonDown=buttonDown@entry=0x7f5472e9c258 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at
kernel/qapplication.cpp:3173
#27 0x00007f5472434c4b in QETWidget::translateMouseEvent
(this=this@entry=0x3d023b0, event=event@entry=0x7fff9bd197d0) at
kernel/qapplication_x11.cpp:4530
#28 0x00007f54724336bc in QApplication::x11ProcessEvent (this=0x1511bb0,
event=event@entry=0x7fff9bd197d0) at kernel/qapplication_x11.cpp:3653
#29 0x00007f547245a552 in x11EventSourceDispatch (s=0x151f2a0, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f546be5c134 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#31 0x00007f546be5c388 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f546be5c42c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#33 0x00007f54719d7fce in QEventDispatcherGlib::processEvents (this=0x14e6370,
flags=...) at kernel/qeventdispatcher_glib.cpp:452
#34 0x00007f547245a606 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f54719a9d3f in QEventLoop::processEvents
(this=this@entry=0x7fff9bd19ba0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f54719aa035 in QEventLoop::exec (this=this@entry=0x7fff9bd19ba0,
flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f54719af489 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#38 0x00007f54723bbecc in QApplication::exec () at kernel/qapplication.cpp:3823
#39 0x00000000004af1ba in runKMyMoney (splash=splash@entry=0x16b69a0,
a=0x1511bb0) at /usr/src/debug/kmymoney-4.7.2/kmymoney/main.cpp:283
#40 0x00000000004acdac in main (argc=1, argv=0x7fff9bd1a668) at
/usr/src/debug/kmymoney-4.7.2/kmymoney/main.cpp:182

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to