[kmymoney] [Bug 398410] KMyMoney crashes when trying to save entries back to DB Backend
Thomas Baumgart
bugzilla_noreply at kde.org
Sun Sep 9 08:58:24 BST 2018
https://bugs.kde.org/show_bug.cgi?id=398410
--- Comment #2 from Thomas Baumgart <tbaumgart at kde.org> ---
Part of the 'core dump' is a backtrace. It shows the following, but I have no
idea what is going on. Why would KMyMoney call 'slotFileSave' on a DB backend?
That does not make sense to me at all.
#0 0x00007f3f0380ffa0 in __GI___pthread_mutex_lock (mutex=0x20) at
../nptl/pthread_mutex_lock.c:65
type = <optimized out>
__PRETTY_FUNCTION__ = "__pthread_mutex_lock"
id = <optimized out>
#1 0x00007f3e6fa7526a in () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#2 0x00007f3e6fa4cad1 in () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#3 0x00007f3e6fa20abb in mysql_real_connect () at
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
#4 0x00007f3e743f61b9 in () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers/libqsqlmysql.so
#5 0x00007f3eba846f50 in QSqlDatabase::open() () at
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
#6 0x00007f3ebaaa8db5 in MyMoneyStorageSql::open(QUrl const&, int, bool)
(this=this at entry=0x55f72e8092e0, url=..., openMode=openMode at entry=2,
clear=clear at entry=false) at
/home/eagleboy/kmymoney/kmymoney/plugins/sql/mymoneystoragesql.cpp:161
isSQLiteAutocreated = false
isSuccessfullyOpened = <optimized out>
rc = 0
options = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value =
{<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data
fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55f72da9d630},
d = 0x55f72da9d630}}, <No data fields>}
dbName = {static null = {<No data fields>}, d = 0x55f72dbc4a60}
query = {d = 0x55f72ea67340}
d = 0x55f72e8e0330
__PRETTY_FUNCTION__ = "int MyMoneyStorageSql::open(const QUrl&, int,
bool)"
#7 0x00007f3ebaa97655 in SQLStorage::save(QUrl const&) (this=<optimized out>,
url=...) at /home/eagleboy/kmymoney/kmymoney/plugins/sql/sqlstorage.cpp:143
rc = false
writer = 0x55f72e8092e0
#8 0x000055f72b508785 in KMyMoneyApp::slotFileSave() (this=0x55f72cff5820) at
/home/eagleboy/kmymoney/kmymoney/kmymoney.cpp:3496
plugin = @0x55f72d484710: 0x55f72d4d26b0
__for_range = @0x7f3f0a0db240: {d = 0x55f72d475250}
__for_begin = {i = 0x55f72d4846f0}
__for_end = {i = 0x55f72d475258}
_thisStatus = {m_prevText = {static null = {<No data fields>}, d =
0x55f72e670710}}
#9 0x000055f72b528340 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, bool (KMyMoneyApp::*)()>::call(bool
(KMyMoneyApp::*)(), KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp
* const)) 0x55f72b50866a <KMyMoneyApp::slotFileSave()>, o=0x55f72cff5820,
arg=0x7ffef139be80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136
#10 0x000055f72b528009 in QtPrivate::FunctionPointer<bool
(KMyMoneyApp::*)()>::call<QtPrivate::List<>, void>(bool (KMyMoneyApp::*)(),
KMyMoneyApp*, void**) (f=(bool (KMyMoneyApp::*)(KMyMoneyApp * const))
0x55f72b50866a <KMyMoneyApp::slotFileSave()>, o=0x55f72cff5820,
arg=0x7ffef139be80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169
#11 0x000055f72b527438 in QtPrivate::QSlotObject<bool (KMyMoneyApp::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x55f72d187e00, r=0x55f72cff5820,
a=0x7ffef139be80, ret=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120
#12 0x00007f3f050b46cf in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f3f0723e122 in QAction::triggered(bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f3f0724080c in QAction::activate(QAction::ActionEvent) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f3f0733710b in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f3f0733736d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list