[kmymoney] [Bug 398410] KMyMoney crashes when trying to save entries back to DB Backend

Eleazar bugzilla_noreply at kde.org
Sat Oct 27 19:30:05 BST 2018


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

--- Comment #36 from Eleazar <eaglexboy at gmail.com> ---
Using the App Image I got the same results. Let me know if there is anything
else you guys want me to try.



> a) create new file (and specify to write as a DB)
It created the tables but crashed saving the data

eagleboy at MobileThingy:~/Downloads$ ./kmymoney--d0e7eea-x86_64.appimage -n
QPainter::begin: Paint device returned engine == 0, type: 2
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Running in server mode
QFSFileEngine::open: No file name specified
Plugins: budgetview loaded
Plugins: checkprinting loaded
QIODevice::read (QFile, "/usr/share/checkprinting/check_template.html"): device
not open
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
3:2018/10/27
12-14-07:gwen(14159):/home/appimage/appimage-workspace/deps-build/ext_gwenhywfar/ext_gwenhywfar-prefix/src/ext_gwenhywfar/src/base/plugin.c:
 379: Plugin "dir" not found.
3:2018/10/27
12-14-07:(null)(14159):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
  77: Could not create ConfigMgr[dir:///home/eagleboy/.aqbanking/settings].
Maybe the gwenhywfar plugins are not installed
3:2018/10/27
12-14-07:(null)(14159):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 100: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
3:2018/10/27
12-14-07:aqbanking(14159):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 712: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
Error on online init (-1).
Could not initialize KBanking online banking interface
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
No such XML file
"/tmp/.mount_kmymon3Why0D/usr/bin/../share/kxmlgui5/csvexporter/qifimporter.rc"
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: xmlstorage loaded
Unknown view '' in slotOpenURL()
QFSFileEngine::open: No file name specified
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default.
'/usr/share/kmymoney/templates/dk' not scanned
testing fileFixVersion 0 < 4
testing fileFixVersion 1 < 4
testing fileFixVersion 2 < 4
0 transactions fixed in fixFile_2
testing fileFixVersion 3 < 4
Cost center model created with items 0
Payees model created with items 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1789, resource
id: 46158956, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2259, resource
id: 46159044, major code: 40 (TranslateCoords), minor code: 0
Received signal 11 SEGV_MAPERR 000000000008
#0 0x7f58c70eedce <unknown>
#1 0x7f58c5b59fc0 <unknown>
#2 0x7f58c70ef2ee <unknown>
#3 0x7f58ccb72f20 <unknown>
#4 0x7f580f942456 <unknown>
#5 0x7f580f942573 <unknown>
#6 0x7f580f942641 <unknown>
#7 0x7f580f9426c5 <unknown>
#8 0x7f580f94275a <unknown>
#9 0x7f580f8f5cc2 <unknown>
#10 0x7f580f8fa17c <unknown>
#11 0x7f585c1cc73a <unknown>
#12 0x7f58a0188530 QSqlDatabase::open()
#13 0x7f5898cfbd5b MyMoneyStorageSql::open()
#14 0x7f5898cea745 SQLStorage::save()
#15 0x7f5898ceb03d SQLStorage::saveAsDatabase()
#16 0x7f5898cec895 SQLStorage::saveAs()
#17 0x0000004667e8 KMyMoneyApp::slotFileSaveAs()
#18 0x000000468326 KMyMoneyApp::slotFileNew()
#19 0x7f58cdafcb4b QMetaObject::activate()
#20 0x7f58cf1eea02 QAction::triggered()
#21 0x7f58cf1f0de0 QAction::activate()
#22 0x7f58cf2d880d <unknown>
#23 0x7f58cf2d8a15 QAbstractButton::mouseReleaseEvent()
#24 0x7f58cf3b869a QToolButton::mouseReleaseEvent()
#25 0x7f58cf2318a8 QWidget::event()
#26 0x7f58cf3b876c QToolButton::event()
#27 0x7f58cf1f4afc QApplicationPrivate::notify_helper()
#28 0x7f58cf1fce50 QApplication::notify()
#29 0x7f58cdad09c8 QCoreApplication::notifyInternal2()
#30 0x7f58cf1fb1cd QApplicationPrivate::sendMouseEvent()
#31 0x7f58cf24af4d <unknown>
#32 0x7f58cf24d7d3 <unknown>
#33 0x7f58cf1f4afc QApplicationPrivate::notify_helper()
#34 0x7f58cf1fbc66 QApplication::notify()
#35 0x7f58cdad09c8 QCoreApplication::notifyInternal2()
#36 0x7f58cec200b9 QGuiApplicationPrivate::processMouseEvent()
#37 0x7f58cec21da5 QGuiApplicationPrivate::processWindowSystemEvent()
#38 0x7f58cebfe5cb QWindowSystemInterface::sendWindowSystemEvents()
#39 0x7f58b62e9a7b <unknown>
#40 0x7f58cdaceeca QEventLoop::exec()
#41 0x7f58cdad7a90 QCoreApplication::exec()
#42 0x0000004505f5 runKMyMoney()
#43 0x00000044f499 main
#44 0x7f58ccb55b97 __libc_start_main
#45 0x0000004502a1 <unknown>
  r8: 0000000000000000  r9: 0000000003803ee8 r10: 00000000020b6010 r11:
0000000000000000
 r12: 00007fff6eb6eca8 r13: 0000000003803ec0 r14: 0000000000000020 r15:
0000000000000000
  di: 0000000000000000  si: 0000000000000075  bp: 00007fff6eb6ec80  bx:
0000000000000000
  dx: 0000000000000000  ax: 5f2d228e16c49d29  cx: 5f2d228e16c49d29  sp:
00007fff6eb6ec70
  ip: 00007f580f942456 efl: 0000000000010246 cgf: 002b000000000033 erf:
0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008
[end of stack trace]
Calling _exit(1). Core file will not be generated.


> b) use existing .kmy file and save it as DB
It created the tables and crashed saving the data.

eagleboy at MobileThingy:~/Downloads$ ./kmymoney--d0e7eea-x86_64.appimage -n
QPainter::begin: Paint device returned engine == 0, type: 2
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Running in server mode
QFSFileEngine::open: No file name specified
Plugins: budgetview loaded
Plugins: checkprinting loaded
QIODevice::read (QFile, "/usr/share/checkprinting/check_template.html"): device
not open
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
3:2018/10/27
12-18-51:gwen(14487):/home/appimage/appimage-workspace/deps-build/ext_gwenhywfar/ext_gwenhywfar-prefix/src/ext_gwenhywfar/src/base/plugin.c:
 379: Plugin "dir" not found.
3:2018/10/27
12-18-51:(null)(14487):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
  77: Could not create ConfigMgr[dir:///home/eagleboy/.aqbanking/settings].
Maybe the gwenhywfar plugins are not installed
3:2018/10/27
12-18-51:(null)(14487):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 100: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
3:2018/10/27
12-18-51:aqbanking(14487):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 712: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
Error on online init (-1).
Could not initialize KBanking online banking interface
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
No such XML file
"/tmp/.mount_kmymonCfb4qr/usr/bin/../share/kxmlgui5/csvexporter/qifimporter.rc"
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: xmlstorage loaded
Unknown view '' in slotOpenURL()
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1204, resource
id: 46160835, major code: 40 (TranslateCoords), minor code: 0
reading file
start parsing file
startDocument
reading securities
endDocument
Cost center model created with items 0
Payees model created with items 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3896, resource
id: 46161082, major code: 40 (TranslateCoords), minor code: 0
Received signal 11 SEGV_MAPERR 000000000008
#0 0x7f0b1a852dce <unknown>
#1 0x7f0b192bdfc0 <unknown>
#2 0x7f0b1a8532ee <unknown>
#3 0x7f0b202d6f20 <unknown>
#4 0x7f0a63942456 <unknown>
#5 0x7f0a63942573 <unknown>
#6 0x7f0a63942641 <unknown>
#7 0x7f0a639426c5 <unknown>
#8 0x7f0a6394275a <unknown>
#9 0x7f0a638f5cc2 <unknown>
#10 0x7f0a638fa17c <unknown>
#11 0x7f0acc1ca73a <unknown>
#12 0x7f0af40c2530 QSqlDatabase::open()
#13 0x7f0ae4507d5b MyMoneyStorageSql::open()
#14 0x7f0ae44f6745 SQLStorage::save()
#15 0x7f0ae44f703d SQLStorage::saveAsDatabase()
#16 0x7f0ae44f8895 SQLStorage::saveAs()
#17 0x0000004667e8 KMyMoneyApp::slotFileSaveAs()
#18 0x7f0b21260b4b QMetaObject::activate()
#19 0x7f0b22952a02 QAction::triggered()
#20 0x7f0b22954de0 QAction::activate()
#21 0x7f0b22abb2fa <unknown>
#22 0x7f0b22ac247c <unknown>
#23 0x7f0b22ac3536 QMenu::mouseReleaseEvent()
#24 0x7f0b229958a8 QWidget::event()
#25 0x7f0b22ac594b QMenu::event()
#26 0x7f0b22958afc QApplicationPrivate::notify_helper()
#27 0x7f0b22960e50 QApplication::notify()
#28 0x7f0b212349c8 QCoreApplication::notifyInternal2()
#29 0x7f0b22ac3090 <unknown>
#30 0x7f0b22ac330e QMenu::mouseReleaseEvent()
#31 0x7f0b229958a8 QWidget::event()
#32 0x7f0b22ac594b QMenu::event()
#33 0x7f0b22958afc QApplicationPrivate::notify_helper()
#34 0x7f0b22960e50 QApplication::notify()
#35 0x7f0b212349c8 QCoreApplication::notifyInternal2()
#36 0x7f0b2295f1cd QApplicationPrivate::sendMouseEvent()
#37 0x7f0b229af350 <unknown>
#38 0x7f0b229b17d3 <unknown>
#39 0x7f0b22958afc QApplicationPrivate::notify_helper()
#40 0x7f0b2295fc66 QApplication::notify()
#41 0x7f0b212349c8 QCoreApplication::notifyInternal2()
#42 0x7f0b223840b9 QGuiApplicationPrivate::processMouseEvent()
#43 0x7f0b22385da5 QGuiApplicationPrivate::processWindowSystemEvent()
#44 0x7f0b223625cb QWindowSystemInterface::sendWindowSystemEvents()
#45 0x7f0b09a4da7b <unknown>
#46 0x7f0b21232eca QEventLoop::exec()
#47 0x7f0b2123ba90 QCoreApplication::exec()
#48 0x0000004505f5 runKMyMoney()
#49 0x00000044f499 main
#50 0x7f0b202b9b97 __libc_start_main
#51 0x0000004502a1 <unknown>
  r8: 0000000000000000  r9: 000000000294ac68 r10: 0000000001218010 r11:
0000000000000001
 r12: 00007ffec7afb528 r13: 000000000294ac40 r14: 0000000000000020 r15:
0000000000000000
  di: 0000000000000000  si: 0000000000000075  bp: 00007ffec7afb500  bx:
0000000000000000
  dx: 0000000000000000  ax: 5f2d228e16c49d29  cx: 5f2d228e16c49d29  sp:
00007ffec7afb4f0
  ip: 00007f0a63942456 efl: 0000000000010246 cgf: 002b000000000033 erf:
0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008
[end of stack trace]
Calling _exit(1). Core file will not be generated.


> c) use an existing DB and save it
I was able to load the data but it crashed when it tried to save changes.

eagleboy at MobileThingy:~/Downloads$ ./kmymoney--d0e7eea-x86_64.appimage -n
QPainter::begin: Paint device returned engine == 0, type: 2
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
QFSFileEngine::open: No file name specified
Plugins: budgetview loaded
Plugins: checkprinting loaded
QIODevice::read (QFile, "/usr/share/checkprinting/check_template.html"): device
not open
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
3:2018/10/27
12-23-40:gwen(15397):/home/appimage/appimage-workspace/deps-build/ext_gwenhywfar/ext_gwenhywfar-prefix/src/ext_gwenhywfar/src/base/plugin.c:
 379: Plugin "dir" not found.
3:2018/10/27
12-23-40:(null)(15397):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
  77: Could not create ConfigMgr[dir:///home/eagleboy/.aqbanking/settings].
Maybe the gwenhywfar plugins are not installed
3:2018/10/27
12-23-40:(null)(15397):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 100: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
3:2018/10/27
12-23-40:aqbanking(15397):/home/appimage/appimage-workspace/deps-build/ext_aqbanking/ext_aqbanking-prefix/src/ext_aqbanking/src/libs/aqbanking/banking_cfg.c:
 712: No config manager. Maybe the gwenhywfar plugins are not installed
correctly?
Error on online init (-1).
Could not initialize KBanking online banking interface
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
No such XML file
"/tmp/.mount_kmymon7P4wl9/usr/bin/../share/kxmlgui5/csvexporter/qifimporter.rc"
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: xmlstorage loaded
Unknown view '' in slotOpenURL()
Database apparently in use
Opened by kmymoney at 192.168.0.4 on 2018-10-27 at 12.21.47.
Open anyway?
Cost center model created with items 0
Payees model created with items 0
Received signal 11 SEGV_MAPERR 000000000008
#0 0x7ff4c434adce <unknown>
#1 0x7ff4c2db5fc0 <unknown>
#2 0x7ff4c434b2ee <unknown>
#3 0x7ff4c9dcef20 <unknown>
#4 0x7ff41693f456 <unknown>
#5 0x7ff41693f573 <unknown>
#6 0x7ff41693f641 <unknown>
#7 0x7ff41693f6c5 <unknown>
#8 0x7ff41693f75a <unknown>
#9 0x7ff4168f2cc2 <unknown>
#10 0x7ff4168f717c <unknown>
#11 0x7ff48009273a <unknown>
#12 0x7ff49c0cd530 QSqlDatabase::open()
#13 0x7ff48e032d5b MyMoneyStorageSql::open()
#14 0x7ff48e021745 SQLStorage::save()
#15 0x000000465df5 KMyMoneyApp::slotFileSave()
#16 0x7ff4cad58b4b QMetaObject::activate()
#17 0x7ff4cc44aa02 QAction::triggered()
#18 0x7ff4cc44cde0 QAction::activate()
#19 0x7ff4cc53480d <unknown>
#20 0x7ff4cc534a15 QAbstractButton::mouseReleaseEvent()
#21 0x7ff4cc61469a QToolButton::mouseReleaseEvent()
#22 0x7ff4cc48d8a8 QWidget::event()
#23 0x7ff4cc61476c QToolButton::event()
#24 0x7ff4cc450afc QApplicationPrivate::notify_helper()
#25 0x7ff4cc458e50 QApplication::notify()
#26 0x7ff4cad2c9c8 QCoreApplication::notifyInternal2()
#27 0x7ff4cc4571cd QApplicationPrivate::sendMouseEvent()
#28 0x7ff4cc4a6f4d <unknown>
#29 0x7ff4cc4a97d3 <unknown>
#30 0x7ff4cc450afc QApplicationPrivate::notify_helper()
#31 0x7ff4cc457c66 QApplication::notify()
#32 0x7ff4cad2c9c8 QCoreApplication::notifyInternal2()
#33 0x7ff4cbe7c0b9 QGuiApplicationPrivate::processMouseEvent()
#34 0x7ff4cbe7dda5 QGuiApplicationPrivate::processWindowSystemEvent()
#35 0x7ff4cbe5a5cb QWindowSystemInterface::sendWindowSystemEvents()
#36 0x7ff4b3545a7b <unknown>
#37 0x7ff4cad2aeca QEventLoop::exec()
#38 0x7ff4cad33a90 QCoreApplication::exec()
#39 0x0000004505f5 runKMyMoney()
#40 0x00000044f499 main
#41 0x7ff4c9db1b97 __libc_start_main
#42 0x0000004502a1 <unknown>
  r8: 000000000000000a  r9: 0000000008013698 r10: 0000000008c4828b r11:
000000000000004e
 r12: 00007fff5dee5828 r13: 0000000008019b90 r14: 0000000000000020 r15:
0000000000000000
  di: 0000000000000000  si: 0000000000000075  bp: 00007fff5dee5800  bx:
0000000000000000
  dx: 0000000000000000  ax: 5f2d228e16c49d29  cx: 5f2d228e16c49d29  sp:
00007fff5dee57f0
  ip: 00007ff41693f456 efl: 0000000000010246 cgf: 002b000000000033 erf:
0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008
[end of stack trace]
Calling _exit(1). Core file will not be generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list