Bug 404984 - Kmymoney crashes while csv import
Summary: Kmymoney crashes while csv import
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-03-02 11:43 UTC by mikosae
Modified: 2019-04-23 04:33 UTC (History)
0 users

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 mikosae 2019-03-02 11:43:34 UTC
Application: kmymoney (5.0.3)

Qt Version: 5.12.1
Frameworks Version: 5.55.0
Operating System: Linux 4.20.12-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I tried to import a csv from my bank account into kmymoney, what worked really fine yesterday. This time the first import with a utf8 encoded file worked and when i tried the second iso encoded file I came till the field selection menu but the "next" button stayed grey when I tried going back and importing the first file it crashed... 

- Unusual behavior I noticed:

grey next button in the collum selection menu

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7f0bf77ff700 (LWP 1467)):
#0  0x00007f0c5778b7a4 in read () at /usr/lib/libc.so.6
#1  0x00007f0c5247f971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c524d00b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c524d14e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f0c524d162e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f0c57e63d04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c57e0cb2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f0c57c50569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c57c5196c in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f0bf87ff700 (LWP 1466)):
#0  0x00007f0c5778b7a4 in read () at /usr/lib/libc.so.6
#1  0x00007f0c5247f971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c524d00b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c524d14e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f0c524d162e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f0c57e63d04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c57e0cb2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f0c57c50569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c57c5196c in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f0c48c99700 (LWP 1463)):
#0  0x00007f0c5716aafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f0c492a8c84 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f0c492a89a8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0c4b522700 (LWP 1462)):
#0  0x00007f0c5778fc21 in poll () at /usr/lib/libc.so.6
#1  0x00007f0c524d1540 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f0c524d162e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f0c57e63d04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f0c57e0cb2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c57c50569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f0c580d7ba6 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f0c57c5196c in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0c4c6ec700 (LWP 1461)):
#0  0x00007f0c5778fc21 in poll () at /usr/lib/libc.so.6
#1  0x00007f0c51814630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f0c518162db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f0c4d206949 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f0c57c5196c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0c4e105700 (LWP 1460)):
#0  0x00007f0c5716aafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f0c57ab9cd1 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#2  0x00007f0c57ab9cd1 in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f0c565ccf14 in  () at /usr/lib/libQt5WebKit.so.5
#4  0x00007f0c565cd039 in  () at /usr/lib/libQt5WebKit.so.5
#5  0x00007f0c57ac0063 in std::execute_native_thread_routine(void*) (__p=0x5591a650b200) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#6  0x00007f0c57164a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f0c5779ab23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0c4e109880 (LWP 1459)):
[KCrash Handler]
#6  0x00007f0c4825f708 in  () at /usr/lib/qt/plugins/kmymoney/csvimporter.so
#7  0x00007f0c58e95f6f in  () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f0c58e96193 in QWizard::next() () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f0c57e3887c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007f0c58d4aeb3 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f0c58d4b0cc in  () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f0c58d4c4c2 in  () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f0c58d4c696 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f0c58c9eb68 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f0c58c5de24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f0c58c65929 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f0c57e0de99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f0c58c64c08 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f0c58cb9e93 in  () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f0c58cbcf87 in  () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f0c58c5de24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f0c58c656e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f0c57e0de99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f0c5866896e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#25 0x00007f0c58669dd6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#26 0x00007f0c5864375c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#27 0x00007f0c4d20790c in  () at /usr/lib/libQt5XcbQpa.so.5
#28 0x00007f0c524cfa2f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#29 0x00007f0c524d15e9 in  () at /usr/lib/libglib-2.0.so.0
#30 0x00007f0c524d162e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x00007f0c57e63ce9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f0c57e0cb2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f0c58e562ce in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f0c4824fb7a in  () at /usr/lib/qt/plugins/kmymoney/csvimporter.so
#35 0x00007f0c4824f100 in  () at /usr/lib/qt/plugins/kmymoney/csvimporter.so
#36 0x00007f0c57e389d0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#37 0x00007f0c58c57633 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007f0c58c59d1a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f0c58dd44ad in  () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f0c58ddbc92 in  () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f0c58ddccbc in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f0c58c9eb68 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#43 0x00007f0c58ddf36c in QMenu::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007f0c58c5de24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007f0c58c65929 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#46 0x00007f0c57e0de99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#47 0x00007f0c58c64c08 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007f0c58cba7eb in  () at /usr/lib/libQt5Widgets.so.5
#49 0x00007f0c58cbcf87 in  () at /usr/lib/libQt5Widgets.so.5
#50 0x00007f0c58c5de24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#51 0x00007f0c58c656e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#52 0x00007f0c57e0de99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#53 0x00007f0c5866896e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#54 0x00007f0c58669dd6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#55 0x00007f0c5864375c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#56 0x00007f0c4d20790c in  () at /usr/lib/libQt5XcbQpa.so.5
#57 0x00007f0c524cfa2f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#58 0x00007f0c524d15e9 in  () at /usr/lib/libglib-2.0.so.0
#59 0x00007f0c524d162e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#60 0x00007f0c57e63ce9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#61 0x00007f0c57e0cb2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#62 0x00007f0c57e14e36 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#63 0x00005591a5bfd821 in  ()
#64 0x00005591a5bfc90c in  ()
#65 0x00007f0c576c3223 in __libc_start_main () at /usr/lib/libc.so.6
#66 0x00005591a5bfd4de in _start ()
[Inferior 1 (process 1459) detached]

Reported using DrKonqi
Comment 1 Thomas Baumgart 2019-03-24 12:27:56 UTC
Can you try to install debug symbols for at least the csv importer part? I have no idea what to do on Arch though. I am also wondering, why frames #0 to #5 in Thread 1 are missing. These are the ones we need to somehow interpret what is going on. Can you try to get this information?
Comment 2 Bug Janitor Service 2019-04-08 04:33:10 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
mark the bug 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 3 Bug Janitor Service 2019-04-23 04:33:26 UTC
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!