[Kmymoney-devel] [Bug 312587] New: Crashes after Hibernate Using MySQL backend

michael papet mpapet at yahoo.com
Fri Jan 4 04:53:31 UTC 2013


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

            Bug ID: 312587
           Summary: Crashes after Hibernate Using MySQL backend
    Classification: Unclassified
           Product: kmymoney4
           Version: 4.6.2
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: mpapet at yahoo.com

Error in function void MyMoneyStorageSql::close(bool) : starting commit unit
Driver = QMYSQL, Host = 192.168.1.33, User = mythtv, Database = kmymoney Driver
Error: QMYSQL: Unable to begin transaction Database Error No 2013: Lost
connection to MySQL server during query Text: Lost connection to MySQL server
during query QMYSQL: Unable to begin transaction Error type 2 Executed: Query
error No -1: Driver not loaded Driver not loaded Error type 1 void
MyMoneyStorageSql::close(bool) in file
/build/buildd-kmymoney_4.6.2-3.1-amd64-N_PinZ/kmymoney-4.6.2/kmymoney/mymoney/storage/mymoneystoragesql.cpp
line 870

Reproducible: Always

Steps to Reproduce:
1. Launch kmymoney
2. Use Kmymoney4 a bit.
3.  Put the laptop into hibernation. (eg. the network connection drops)
4.  Wake the laptop up with kmymoney4 still running.
5. Crash
Actual Results:  
Error in function void MyMoneyStorageSql::close(bool) : starting commit unit
Driver = QMYSQL, Host = 192.168.15.33, User = mythtv, Database = kmymoney
Driver Error: QMYSQL: Unable to begin transaction Database Error No 2013: Lost
connection to MySQL server during query Text: Lost connection to MySQL server
during query QMYSQL: Unable to begin transaction Error type 2 Executed: Query
error No -1: Driver not loaded Driver not loaded Error type 1 void
MyMoneyStorageSql::close(bool) in file
/build/buildd-kmymoney_4.6.2-3.1-amd64-N_PinZ/kmymoney-4.6.2/kmymoney/mymoney/storage/mymoneystoragesql.cpp
line 870

Expected Results:  
The application needs to re-initialize the database connection somehow when the
network connection is broken.  Not a simple task.

Great app bugs and all!

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


More information about the KMyMoney-devel mailing list