[Kmymoney-devel] [Bug 263983] New: Cannot open Database on start of KMyMoney.
Russ Fineman
upscope at nwi.net
Sat Jan 22 16:55:51 CET 2011
https://bugs.kde.org/show_bug.cgi?id=263983
Summary: Cannot open Database on start of KMyMoney.
Product: kmymoney4
Version: unspecified
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kmymoney-devel at kde.org
ReportedBy: upscope at nwi.net
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.4
Operating System: Linux 2.6.34.7-0.7-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"
-- Information about the crash:
- What I was doing when the application crashed:Starting KMM after having shut
it down in Database mode. gives error
Error in function int MyMoneyStorageSql::upgradeDb() : Error retrieving file
info(version)
Driver = QMYSQL, Host = localhost, User = finemanruss, Database =
Driver Error:
Database Error No -1:
Text:
Error type 0
Executed: SELECT version FROM kmmFileInfo;
Query error No 1046: No database selected QMYSQL: Unable to execute query
Error type 2
-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f664dcdd760 (LWP 5462))]
Thread 2 (Thread 0x7f6636054710 (LWP 5463)):
#0 0xffffffffff600177 in ?? ()
#1 0x00007fff9e5ff7a1 in ?? ()
#2 0x00007f6643de12a3 in clock_gettime () from /lib64/librt.so.1
#3 0x00007f664a2ef79f in qt_gettime() () from /usr/lib64/libQtCore.so.4
#4 0x00007f664a2f30ed in QTimerInfoList::updateCurrentTime() () from
/usr/lib64/libQtCore.so.4
#5 0x00007f664a2f3475 in QTimerInfoList::timerWait(timeval&) () from
/usr/lib64/libQtCore.so.4
#6 0x00007f664a2f20ac in timerSourcePrepareHelper(GTimerSource*, int*) () from
/usr/lib64/libQtCore.so.4
#7 0x00007f664a2f2155 in timerSourcePrepare(_GSource*, int*) () from
/usr/lib64/libQtCore.so.4
#8 0x00007f6643b38f7f in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#9 0x00007f6643b39e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f6643b3a510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#11 0x00007f664a2f2876 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#12 0x00007f664a2c9452 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#13 0x00007f664a2c9655 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#14 0x00007f664a1dfe1f in QThread::exec() () from /usr/lib64/libQtCore.so.4
#15 0x00007f664a2ab518 in QInotifyFileSystemWatcherEngine::run() () from
/usr/lib64/libQtCore.so.4
#16 0x00007f664a1e2745 in QThreadPrivate::start(void*) () from
/usr/lib64/libQtCore.so.4
#17 0x00007f664b380a4f in start_thread () from /lib64/libpthread.so.0
#18 0x00007f66488a782d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f664dcdd760 (LWP 5462)):
[KCrash Handler]
#6 0x00007f6648b33088 in main_arena () from /lib64/libc.so.6
#7 0x0000000000826870 in MyMoneyStorageSql::writeFileInfo (this=0x215b150) at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragesql.cpp:2356
#8 0x00000000008283c7 in MyMoneyStorageSql::close (this=0x215b150,
logoff=<value optimized out>)
at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragesql.cpp:229
#9 0x000000000083a04c in MyMoneyStorageSql::~MyMoneyStorageSql() ()
#10 0x00000000004c99b5 in ~KSharedPtr (this=<value optimized out>, url=<value
optimized out>) at /usr/include/ksharedptr.h:90
#11 KMyMoneyView::openDatabase (this=<value optimized out>, url=<value
optimized out>) at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:828
#12 0x00000000004ca1dd in KMyMoneyView::readFile (this=0xedb560, url=<value
optimized out>) at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:597
#13 0x0000000000497720 in KMyMoneyApp::slotFileOpenRecent (this=0xc882b0,
url=...) at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/kmymoney.cpp:1502
#14 0x000000000045924f in main (argc=1, argv=0x7fff9e53aeb8) at
/home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/main.cpp:247
Possible duplicates by query: bug 252481, bug 250743.
Reported using DrKonqi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list