Bug 252481 - Cannot open MySQL Database from GUI after system reboot.
Summary: Cannot open MySQL Database from GUI after system reboot.
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 250743 261298 283895 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-26 22:44 UTC by Russ Fineman
Modified: 2012-01-06 12:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.18 KB, text/plain)
2010-11-30 20:44 UTC, Russ Fineman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Fineman 2010-09-26 22:44:52 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Selected file open database (first time) others it came up with Database log-in screen. Database type only had Mysql option. greyed out. Entered password, Failure said no database selected. This wizard came up.

Tryed from command line and database came up with two options, selected MySQl, entered password, other options already filled in. Database came up and is working. YaSt2 shows no Kmymoney installed from repos. Version installed is tar file with patch for duplicate transactions.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2fafd32760 (LWP 9943))]

Thread 2 (Thread 0x7f2f97e74710 (LWP 9944)):
#0  0x00007f2fa5b69f72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2fa5b6ae69 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2fa5b6b510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2fac3466d6 in QEventDispatcherGlib::processEvents (this=0x10c9e20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f2fac31d292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2fac31d495 in QEventLoop::exec (this=0x7f2f97e73de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2fac2342cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f2fac2ff458 in QInotifyFileSystemWatcherEngine::run (this=0x10c49c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2fac236bf5 in QThreadPrivate::start (arg=0x10c49c0) at thread/qthread_unix.cpp:248
#9  0x00007f2fad3d2a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2faa8d282d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2fafd32760 (LWP 9943)):
[KCrash Handler]
#6  0x0000000002034f90 in ?? ()
#7  0x0000000000826870 in MyMoneyStorageSql::writeFileInfo (this=0x1af3c20) at /home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragesql.cpp:2356
#8  0x00000000008283c7 in MyMoneyStorageSql::close (this=0x1af3c20, 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=0xecf380, url=<value optimized out>) at /home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:597
#13 0x0000000000497720 in KMyMoneyApp::slotFileOpenRecent (this=0xd3be40, url=...) at /home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/kmymoney.cpp:1502
#14 0x000000000045924f in main (argc=1, argv=0x7fffe6e95138) at /home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/main.cpp:247

This bug may be a duplicate of or related to bug 250743.

Possible duplicates by query: bug 250743.

Reported using DrKonqi
Comment 1 Russ Fineman 2010-09-29 00:19:10 UTC
More information:

If I start with the .kmy file selected (last window open) and then do File --> open database. It comes up with database log in screen. Both thyp database are showm (MySQL and SQLite) I select MySQL, put in password and the ledge opens from the database, no errors. If I open KMyMoney from the GUI or command line after startup of system I get the above error.

Hope this helps.
Comment 2 Tony B 2010-09-29 10:49:51 UTC
Sorry for the delayed response; I've been away for a few days.

This appears to be a duplicate of bug 250300 which is fixed in the SVN version.
Comment 3 Russ Fineman 2010-11-30 20:44:27 UTC
Created attachment 53917 [details]
New crash information added by DrKonqi

kmymoney (4.5.0) on KDE Platform 4.5.3 (KDE 4.5.3) "release 10" using Qt 4.6.3

- What I was doing when the application crashed: Trying to start kmymoney4 in database mode from panel icon. Same as previous report but later version of KMyMoney4 I think. Also clicking on file open database. This ays it was fixed in SVN but I have not updated this package since it has a patch to fix another problem that may not be in the version available from SuSE repo's.

-- Backtrace (Reduced):
#7  0x0000000000826870 in MyMoneyStorageSql::writeFileInfo (this=0x1a8ae10) at /home/finemanruss/Temp/KMyMoney/build/kmymoney-4.5/kmymoney/mymoney/storage/mymoneystoragesql.cpp:2356
#8  0x00000000008283c7 in MyMoneyStorageSql::close (this=0x1a8ae10, 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
Comment 4 Fernando Vilas 2011-01-05 05:17:47 UTC
Has this been checked against the new release? If it works there, this bug can be closed.
Comment 5 Thomas Baumgart 2011-01-13 15:17:29 UTC
*** Bug 250743 has been marked as a duplicate of this bug. ***
Comment 6 Tony B 2011-01-14 14:36:38 UTC
Fixed in SVN (kselectdatabasedlg.cpp) Oct 2010.
Comment 7 Cristian Oneț 2012-01-06 12:15:06 UTC
*** Bug 261298 has been marked as a duplicate of this bug. ***
Comment 8 Cristian Oneț 2012-01-06 12:15:38 UTC
*** Bug 283895 has been marked as a duplicate of this bug. ***