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

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


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

Eleazar <eaglexboy at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REOPENED

--- Comment #33 from Eleazar <eaglexboy at gmail.com> ---
I pulled the latest code (10/27/2018 @ 11:30 MDT) and built it same as before
(cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debugfull
-DKDE_INSTALL_PLUGINDIR=/usr/lib/x86_64-linux-gnu/qt5/plugins). This built
version is 5.0.2-cf0ead3c

I performed the requested items and as you can see from below it crashed when
performing them. I did notice that it was able to create the DB and the needed
tables for the new instances but it always crashed when trying to save the
data. Is it using a different method to create the tables then the one used to
store the data? 


> a) create new file (and specify to write as a DB)
Created All the needed tables and then crashed. 

Std Out
(gdb) run -n
Starting program: /usr/bin/kmymoney -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdaa81700 (LWP 9402)]
[New Thread 0x7fffd6cb0700 (LWP 9403)]
[New Thread 0x7fffcfb68700 (LWP 9404)]
[New Thread 0x7fffbf846700 (LWP 9405)]
[New Thread 0x7fffbf045700 (LWP 9406)]
[New Thread 0x7fffbe844700 (LWP 9407)]
[New Thread 0x7fffbe043700 (LWP 9408)]
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Running in server mode
Plugins: budgetview loaded
Plugins: checkprinting loaded
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
Plugins: kbanking pluged
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: weboob loaded
Plugins: xmlstorage loaded
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fff63fff700 (LWP 9409)]
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default.
[New Thread 0x7fff5a0ce700 (LWP 9415)]
'/usr/share/kmymoney/templates/dk' not scanned
[New Thread 0x7fff5bfff700 (LWP 9416)]
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
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1304, resource id:
46143950, major code: 40 (TranslateCoords), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1706, resource id:
46144029, major code: 40 (TranslateCoords), minor code: 0
[New Thread 0x7fff5b7fe700 (LWP 9419)]
[New Thread 0x7fff598cd700 (LWP 9420)]
[New Thread 0x7fff590cc700 (LWP 9421)]

Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:65
65      ../nptl/pthread_mutex_lock.c: No such file or directory.


Backtrace:
(gdb) bt
#0  0x00007fffef593fa0 in __GI___pthread_mutex_lock (mutex=0x20) at
../nptl/pthread_mutex_lock.c:65
#1  0x00007fff5834126a in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#2  0x00007fff58318ad1 in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#3  0x00007fff582ecabb in mysql_real_connect () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#4  0x00007fff5adf41b9 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlmysql.so
#5  0x00007fffa6fc2f50 in QSqlDatabase::open() () at
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
#6  0x00007fffa721f78d in MyMoneyStorageSql::open(QUrl const&, int, bool)
(this=0x55555699b970, url=..., openMode=3, clear=false)
    at /home/eagleboy/kmymoney/kmymoney/plugins/sql/mymoneystoragesql.cpp:114
#7  0x00007fffa721b0d6 in SQLStorage::save(QUrl const&) (this=0x5555562697e0,
url=...) at /home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:188
#8  0x00007fffa721cccf in SQLStorage::saveAsDatabase(QUrl const&)
(this=0x5555562697e0, url=...) at
/home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:344
#9  0x00007fffa721bb08 in SQLStorage::saveAs() (this=0x5555562697e0) at
/home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:231
#10 0x000055555560df2a in KMyMoneyApp::slotFileSaveAs() (this=0x555555d17780)
at /home/eagleboy/kmymoney/kmymoney/kmymoney.cpp:3554
#11 0x000055555560c492 in KMyMoneyApp::slotFileNew() (this=0x555555d17780) at
/home/eagleboy/kmymoney/kmymoney/kmymoney.cpp:3390
#12 0x000055555562dc0e in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, bool (KMyMoneyApp::*)()>::call(bool
(KMyMoneyApp::*)(), KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp
* const)) 0x55555560bf1a <KMyMoneyApp::slotFileNew()>, o=0x555555d17780,
arg=0x7fffffffcdc0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136
#13 0x000055555562d8d7 in QtPrivate::FunctionPointer<bool
(KMyMoneyApp::*)()>::call<QtPrivate::List<>, void>(bool (KMyMoneyApp::*)(),
KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp * const))
0x55555560bf1a <KMyMoneyApp::slotFileNew()>, o=0x555555d17780,
arg=0x7fffffffcdc0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169
#14 0x000055555562cc4e in QtPrivate::QSlotObject<bool (KMyMoneyApp::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x555555f543e0, r=0x555555d17780,
a=0x7fffffffcdc0, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120
#15 0x00007ffff0e336cf in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff2db0122 in QAction::triggered(bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff2db280c in QAction::activate(QAction::ActionEvent) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff2ea910b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff2ea936d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff2f87fea in QToolButton::mouseReleaseEvent(QMouseEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff2df5038 in QWidget::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff2f88084 in QToolButton::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff2dbe64f in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff2dbd622 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff2e1014b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff2e127ba in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff2dbe0f4 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff25fa523 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
---Type <return> to continue, or q <return> to quit---
#33 0x00007ffff25fbff5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007ffff25d32eb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007fffd98b91c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#36 0x00007fffe67f2287 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fffe67f24c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fffe67f254c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff0e5d8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff0e029ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff0e0ba84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00005555555f3037 in runKMyMoney(QApplication&,
std::unique_ptr<QSplashScreen, std::default_delete<QSplashScreen> >, QUrl
const&, bool) (a=..., splash=std::unique_ptr<QSplashScreen> = {...}, file=...,
noFile=true) at /home/eagleboy/kmymoney/kmymoney/main.cpp:335
#43 0x00005555555f2716 in main(int, char**) (argc=2, argv=0x7fffffffdd18) at
/home/eagleboy/kmymoney/kmymoney/main.cpp:243


> b) use existing .kmy file and save it as DB
Dropped all the tables from the previous run. And tried it again. It created
all the required tables and crashed

Std Out:
(gdb) run -n
Starting program: /usr/bin/kmymoney -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdaa81700 (LWP 9537)]
[New Thread 0x7fffd6cb0700 (LWP 9538)]
[New Thread 0x7fffcfb68700 (LWP 9539)]
[New Thread 0x7fffbf846700 (LWP 9540)]
[New Thread 0x7fffbf045700 (LWP 9541)]
[New Thread 0x7fffbe844700 (LWP 9542)]
[New Thread 0x7fffbe043700 (LWP 9543)]
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
Plugins: budgetview loaded
Plugins: checkprinting loaded
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
Plugins: kbanking pluged
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: weboob loaded
Plugins: xmlstorage loaded
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fff63fff700 (LWP 9544)]
reading file
start parsing file
startDocument
reading securities
endDocument
[New Thread 0x7fff5bfff700 (LWP 9548)]
Cost center model created with items 0
Payees model created with items 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2805, resource id:
46146018, major code: 40 (TranslateCoords), minor code: 0

Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:65
65      ../nptl/pthread_mutex_lock.c: No such file or directory.

Backtrace:
(gdb) bt
#0  0x00007fffef593fa0 in __GI___pthread_mutex_lock (mutex=0x20) at
../nptl/pthread_mutex_lock.c:65
#1  0x00007fff5b27426a in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#2  0x00007fff5b24bad1 in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#3  0x00007fff5b21fabb in mysql_real_connect () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#4  0x00007fff605f61b9 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlmysql.so
#5  0x00007fffa6fc2f50 in QSqlDatabase::open() () at
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
#6  0x00007fffa721f78d in MyMoneyStorageSql::open(QUrl const&, int, bool)
(this=0x555556059b10, url=..., openMode=3, clear=false)
    at /home/eagleboy/kmymoney/kmymoney/plugins/sql/mymoneystoragesql.cpp:114
#7  0x00007fffa721b0d6 in SQLStorage::save(QUrl const&) (this=0x555556269570,
url=...) at /home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:188
#8  0x00007fffa721cccf in SQLStorage::saveAsDatabase(QUrl const&)
(this=0x555556269570, url=...) at
/home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:344
#9  0x00007fffa721bb08 in SQLStorage::saveAs() (this=0x555556269570) at
/home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:231
#10 0x000055555560df2a in KMyMoneyApp::slotFileSaveAs() (this=0x555555d17bb0)
at /home/eagleboy/kmymoney/kmymoney/kmymoney.cpp:3554
#11 0x000055555562dc0e in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, bool (KMyMoneyApp::*)()>::call(bool
(KMyMoneyApp::*)(), KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp
* const)) 0x55555560db80 <KMyMoneyApp::slotFileSaveAs()>, o=0x555555d17bb0,
arg=0x7fffffffcc80)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136
#12 0x000055555562d8d7 in QtPrivate::FunctionPointer<bool
(KMyMoneyApp::*)()>::call<QtPrivate::List<>, void>(bool (KMyMoneyApp::*)(),
KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp * const))
0x55555560db80 <KMyMoneyApp::slotFileSaveAs()>, o=0x555555d17bb0,
arg=0x7fffffffcc80)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169
#13 0x000055555562cc4e in QtPrivate::QSlotObject<bool (KMyMoneyApp::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x555555f19120, r=0x555555d17bb0,
a=0x7fffffffcc80, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120
#14 0x00007ffff0e336cf in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff2db0122 in QAction::triggered(bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff2db280c in QAction::activate(QAction::ActionEvent) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff2f2f0bc in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff2f3656b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff2f37393 in QMenu::mouseReleaseEvent(QMouseEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff2df5038 in QWidget::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff2f396bb in QMenu::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff2dbe64f in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff2dbd622 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff2e0fe85 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff2e127ba in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff2dbe0f4 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff25fa523 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
---Type <return> to continue, or q <return> to quit---
#32 0x00007ffff25fbff5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007ffff25d32eb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007fffd98b91c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#35 0x00007fffe67f2287 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fffe67f24c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fffe67f254c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff0e5d8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff0e029ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff0e0ba84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00005555555f3037 in runKMyMoney(QApplication&,
std::unique_ptr<QSplashScreen, std::default_delete<QSplashScreen> >, QUrl
const&, bool) (a=..., splash=std::unique_ptr<QSplashScreen> = {...}, file=...,
noFile=true) at /home/eagleboy/kmymoney/kmymoney/main.cpp:335
#42 0x00005555555f2716 in main(int, char**) (argc=2, argv=0x7fffffffdd18) at
/home/eagleboy/kmymoney/kmymoney/main.cpp:243


> c) use an existing DB and save it
I cloned my existing DB and was able to load all entries with "Open Database".
When I tried to save it Prompted me of some inconsistency issues and crashed
after I acknowledged them.

Std Out
(gdb) run -n
Starting program: /usr/bin/kmymoney -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdaa81700 (LWP 9750)]
[New Thread 0x7fffd6cb0700 (LWP 9751)]
[New Thread 0x7fffcfb68700 (LWP 9752)]
[New Thread 0x7fffbf846700 (LWP 9753)]
[New Thread 0x7fffbf045700 (LWP 9754)]
[New Thread 0x7fffbe844700 (LWP 9755)]
[New Thread 0x7fffbe043700 (LWP 9756)]
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
Plugins: budgetview loaded
Plugins: checkprinting loaded
Plugins: csvexporter loaded
Plugins: csvimporter loaded
Plugins: forecastview loaded
Plugins: gncimporter loaded
Plugins: icalendarexporter loaded
Plugins: kbanking loaded
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
Plugins: kbanking pluged
Plugins: ofximporter loaded
Plugins: onlinejoboutboxview loaded
Plugins: qifexporter loaded
Plugins: qifimporter loaded
Plugins: reconciliation report loaded
Plugins: reportsview loaded
Plugins: sqlstorage loaded
Plugins: weboob loaded
Plugins: xmlstorage loaded
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fff63fff700 (LWP 9757)]
[New Thread 0x7fff5bfff700 (LWP 9826)]
Cost center model created with items 0
Payees model created with items 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2687, resource id:
46148477, major code: 40 (TranslateCoords), minor code: 0
[New Thread 0x7fff5a00a700 (LWP 9838)]
[Thread 0x7fff5a00a700 (LWP 9838) exited]
[New Thread 0x7fff5a00a700 (LWP 9840)]
[Thread 0x7fff5a00a700 (LWP 9840) exited]
[New Thread 0x7fff5a00a700 (LWP 9841)]
[Thread 0x7fff5a00a700 (LWP 9841) exited]
[New Thread 0x7fff5a00a700 (LWP 9842)]
[New Thread 0x7fff3b90b700 (LWP 9843)]
[New Thread 0x7fff3aaab700 (LWP 9844)]
[New Thread 0x7fff3a2aa700 (LWP 9845)]
[New Thread 0x7fff3989b700 (LWP 9846)]
[New Thread 0x7fff3909a700 (LWP 9847)]
[New Thread 0x7fff38899700 (LWP 9848)]
[New Thread 0x7fff23fff700 (LWP 9849)]
[Thread 0x7fff5a00a700 (LWP 9842) exited]
[Thread 0x7fff38899700 (LWP 9848) exited]
[Thread 0x7fff3909a700 (LWP 9847) exited]
[Thread 0x7fff3989b700 (LWP 9846) exited]
[Thread 0x7fff3a2aa700 (LWP 9845) exited]
[Thread 0x7fff3aaab700 (LWP 9844) exited]
[Thread 0x7fff3b90b700 (LWP 9843) exited]

Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:65
65      ../nptl/pthread_mutex_lock.c: No such file or directory.

Backtrace:
(gdb) bt
#0  0x00007fffef593fa0 in __GI___pthread_mutex_lock (mutex=0x20) at
../nptl/pthread_mutex_lock.c:65
#1  0x00007fff5a85626a in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#2  0x00007fff5a82dad1 in  () at /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#3  0x00007fff5a801abb in mysql_real_connect () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#4  0x00007fff605f61b9 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlmysql.so
#5  0x00007fffa6fc2f50 in QSqlDatabase::open() () at
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
#6  0x00007fffa721f78d in MyMoneyStorageSql::open(QUrl const&, int, bool)
(this=0x55555724ff00, url=..., openMode=3, clear=false)
    at /home/eagleboy/kmymoney/kmymoney/plugins/sql/mymoneystoragesql.cpp:114
#7  0x00007fffa721b0d6 in SQLStorage::save(QUrl const&) (this=0x555556268680,
url=...) at /home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:188
#8  0x000055555560d95f in KMyMoneyApp::slotFileSave() (this=0x555555e70db0) at
/home/eagleboy/kmymoney/kmymoney/kmymoney.cpp:3497
#9  0x000055555562dc0e in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, bool (KMyMoneyApp::*)()>::call(bool
(KMyMoneyApp::*)(), KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp
* const)) 0x55555560d844 <KMyMoneyApp::slotFileSave()>, o=0x555555e70db0,
arg=0x7fffffffcdc0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136
#10 0x000055555562d8d7 in QtPrivate::FunctionPointer<bool
(KMyMoneyApp::*)()>::call<QtPrivate::List<>, void>(bool (KMyMoneyApp::*)(),
KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp * const))
0x55555560d844 <KMyMoneyApp::slotFileSave()>, o=0x555555e70db0,
arg=0x7fffffffcdc0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169
#11 0x000055555562cc4e in QtPrivate::QSlotObject<bool (KMyMoneyApp::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x555555f3bd40, r=0x555555e70db0,
a=0x7fffffffcdc0, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120
#12 0x00007ffff0e336cf in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff2db0122 in QAction::triggered(bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff2db280c in QAction::activate(QAction::ActionEvent) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff2ea910b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff2ea936d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff2f87fea in QToolButton::mouseReleaseEvent(QMouseEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff2df5038 in QWidget::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff2f88084 in QToolButton::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff2dbe64f in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff2dbd622 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff2e1014b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff2e127ba in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff2db682c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff2dbe0f4 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff0e049a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff25fa523 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007ffff25fbff5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#31 0x00007ffff25d32eb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#32 0x00007fffd98b91c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#33 0x00007fffe67f2287 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffe67f24c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fffe67f254c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff0e5d8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff0e029ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007ffff0e0ba84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00005555555f3037 in runKMyMoney(QApplication&,
std::unique_ptr<QSplashScreen, std::default_delete<QSplashScreen> >, QUrl
const&, bool) (a=..., splash=std::unique_ptr<QSplashScreen> = {...}, file=...,
noFile=true) at /home/eagleboy/kmymoney/kmymoney/main.cpp:335
#40 0x00005555555f2716 in main(int, char**) (argc=2, argv=0x7fffffffdd18) at
/home/eagleboy/kmymoney/kmymoney/main.cpp:243

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


More information about the KMyMoney-devel mailing list