Bug 354955 - Kmymoney crashed when importing csv
Summary: Kmymoney crashed when importing csv
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-06 15:14 UTC by kesmicj
Modified: 2015-11-06 18:12 UTC (History)
1 user (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 kesmicj 2015-11-06 15:14:03 UTC
Application: kmymoney (4.7.90)
KDE Platform Version: 4.14.3 (Compiled from sources)
Qt Version: 4.8.7
Operating System: Darwin 13.4.0 x86_64

-- Information about the crash:
- What I was doing when the application crashed:

Using the CSVWizard to import transactions; the program crashes each time I try to select a column number for category.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault: 11
(lldb) process attach --pid 11203
Process 11203 stopped
Executable module set to "/Applications/MacPorts/KDE4/kmymoney.app/Contents/MacOS/kmymoney".
Architecture set to: x86_64-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x222a7f, 0x00007fff88a5ae20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x222a7f, 0x00007fff88a5ae20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff88a5ae20 libsystem_kernel.dylib`__wait4 + 8
    frame #1: 0x000000010f63437e libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 286
    frame #2: 0x000000010f633523 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1203
    frame #3: 0x00007fff8bf035aa libsystem_platform.dylib`_sigtramp + 26
    frame #4: 0x00000001109b8e38 QtCore`QString::operator==(QString const&) const + 8
    frame #5: 0x000000011b853f6c kmm_csvimport.so`CSVWizard::categoryColumnSelected(int) + 140
    frame #6: 0x0000000110a9306b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #7: 0x000000010fdf38ea QtGui`QComboBoxPrivate::_q_emitCurrentIndexChanged(QModelIndex const&) + 90
    frame #8: 0x000000010fdf95ef QtGui`QComboBoxPrivate::setCurrentIndex(QModelIndex const&) + 751
    frame #9: 0x000000010fdf91f9 QtGui`QComboBoxPrivate::_q_itemSelected(QModelIndex const&) + 89
    frame #10: 0x000000010fdfdd86 QtGui`QComboBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 646
    frame #11: 0x0000000110a9306b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #12: 0x000000011009e1c5 QtGui`QComboBoxPrivateContainer::itemSelected(QModelIndex const&) + 53
    frame #13: 0x000000010fdf662c QtGui`QComboBoxPrivateContainer::eventFilter(QObject*, QEvent*) + 652
    frame #14: 0x0000000110a7a4ac QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 124
    frame #15: 0x000000010fa5c7db QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235
    frame #16: 0x000000010fa5e775 QtGui`QApplication::notify(QObject*, QEvent*) + 2949
    frame #17: 0x0000000110a7a186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #18: 0x000000010fa5d1fb QtGui`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 475
    frame #19: 0x000000010fa09902 QtGui`qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1298
    frame #20: 0x00007fff90468145 AppKit`-[NSWindow sendEvent:] + 781
    frame #21: 0x000000010f9f9361 QtGui`-[QCocoaPanel sendEvent:] + 113
    frame #22: 0x00007fff904095d4 AppKit`-[NSApplication sendEvent:] + 2021
    frame #23: 0x000000010fa05d21 QtGui`-[QNSApplication sendEvent:] + 97
    frame #24: 0x00007fff902599f9 AppKit`-[NSApplication run] + 646
    frame #25: 0x000000010fa0f16b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
    frame #26: 0x0000000110a774ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #27: 0x0000000110a7a737 QtCore`QCoreApplication::exec() + 199
    frame #28: 0x000000010cf263d1 kmymoney`runKMyMoney(KApplication*, KStartupLogo*) + 2753
    frame #29: 0x000000010cf2552e kmymoney`main + 9374
    frame #30: 0x00007fff89e4d5fd libdyld.dylib`start + 1
    frame #31: 0x00007fff89e4d5fd libdyld.dylib`start + 1

  thread #2: tid = 0x222a96, 0x00007fff88a5b662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff88a5b662 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff89dc2421 libdispatch.dylib`_dispatch_mgr_invoke + 239
    frame #2: 0x00007fff89dc2136 libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x222ad6, 0x00007fff88a5a9aa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff88a5a9aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff92d4fa03 CoreFoundation`__CFSocketManager + 867
    frame #2: 0x00007fff87699899 libsystem_pthread.dylib`_pthread_body + 138
    frame #3: 0x00007fff8769972a libsystem_pthread.dylib`_pthread_start + 137
    frame #4: 0x00007fff8769dfc9 libsystem_pthread.dylib`thread_start + 13

  thread #4: tid = 0x222ae1, 0x00007fff88a56a1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff88a56a1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff88a55d18 libsystem_kernel.dylib`mach_msg + 64
    frame #2: 0x00007fff92d03f15 CoreFoundation`__CFRunLoopServiceMachPort + 181
    frame #3: 0x00007fff92d03539 CoreFoundation`__CFRunLoopRun + 1161
    frame #4: 0x00007fff92d02e75 CoreFoundation`CFRunLoopRunSpecific + 309
    frame #5: 0x00007fff9040605e AppKit`_NSEventThread + 144
    frame #6: 0x00007fff87699899 libsystem_pthread.dylib`_pthread_body + 138
    frame #7: 0x00007fff8769972a libsystem_pthread.dylib`_pthread_start + 137
    frame #8: 0x00007fff8769dfc9 libsystem_pthread.dylib`thread_start + 13

  thread #5: tid = 0x22374a, 0x00007fff88a5b64a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff88a5b64a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x0000000110a5c65a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
    frame #2: 0x0000000110969802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff87699899 libsystem_pthread.dylib`_pthread_body + 138
    frame #4: 0x00007fff8769972a libsystem_pthread.dylib`_pthread_start + 137
    frame #5: 0x00007fff8769dfc9 libsystem_pthread.dylib`thread_start + 13

  thread #6: tid = 0x223751, 0x00007fff88a5a9aa libsystem_kernel.dylib`__select + 10, name = 'QProcessManager'
    frame #0: 0x00007fff88a5a9aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x0000000110a4ddef QtCore`QProcessManager::run() + 143
    frame #2: 0x0000000110969802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff87699899 libsystem_pthread.dylib`_pthread_body + 138
    frame #4: 0x00007fff8769972a libsystem_pthread.dylib`_pthread_start + 137
    frame #5: 0x00007fff8769dfc9 libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 11203 detached
(lldb) (lldb) quit

Possible duplicates by query: bug 354951, bug 354948, bug 354926, bug 354855, bug 354787.

Reported using DrKonqi
Comment 1 allan 2015-11-06 18:12:10 UTC
This works correctly for me, so it might be helpful if you could either send a copy of your CSV file to me, or attach to this bug report. Had you previously entered other field  numbers?

The back-trace is not very helpful without symbols, so it might help if you could recompile KMM with symbols.  Just send the file first, though, in case that helps.  If necessary, disguise any sensitive data, as long as the problem still shows.