Bug 261298

Summary: Follow start up instructions - crash. Start from File-Database in - Nocrash.
Product: [Applications] kmymoney Reporter: martin welsh <martin>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: martin
Priority: NOR    
Version: 4.5.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Copy of error messages.
New crash information added by DrKonqi

Description martin welsh 2010-12-26 16:36:40 UTC
Version:           4.5.1 (using KDE 4.4.5) 
OS:                Linux



Reproducible: Didn't try
Comment 1 martin welsh 2010-12-26 16:39:51 UTC
Created attachment 55262 [details]
Copy of error messages.
Comment 2 Thomas Baumgart 2010-12-26 16:49:27 UTC
How did you obtain the program? Did you build it yourself? Did you have a previous version installed? I am asking, because the attachment does not contain really useful information.
Comment 3 martin welsh 2010-12-27 16:55:47 UTC
On 26/12/10 15:49, Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=261298
>
>
> Thomas Baumgart<ipwizard@users.sourceforge.net>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Version|4.5.1                       |4.5.2
>
>
>
>
> --- Comment #2 from Thomas Baumgart<ipwizard users sourceforge net>   2010-12-26 16:49:27 ---
> How did you obtain the program? Did you build it yourself? Did you have a
> previous version installed? I am asking, because the attachment does not
> contain really useful information.
>
Programme was installed from ClayWeber ppa via 
Ubuntu/MintLinux/Synaptic.  Indeed it was updated automatically to 4.5.2.
'gdb' gnome debugger is installed.
The data given was presented by the crash handler programme.
I have previously tried loading from the File drop-down menu without 
trouble.
After update of programme to 4.5.2 I was presented with the Mysql start 
up panel when Kmymoney was restarted.  This is where I met the repeat of 
the original bug.
I am afraid that I have just tried to repeat the crash so that I could 
glean more data and it started like clockwork - but a very slow clock if 
I may say so.

I must apologise for raising a false alarm.

Tell me, if you start using the database facility are the records stored 
in the database and in the normal storage locations or is it, once a 
database  then only a database.


martin welsh
Comment 4 martin welsh 2010-12-28 20:37:24 UTC
Created attachment 55326 [details]
New crash information added by DrKonqi

kmymoney (4.5.2) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Another system, MintLinux 10, was auto updated using repositries and Synaptic.
A KmyMoney-dbug report exists.

The system will not be changed but will be switched off this evening.

Your comments please. (I am following instructions hence the doubt about the attachment being enclosed.)

martin welsh

-- Backtrace (Reduced):
#7  0x085491ea in MyMoneyStorageSql::writeFileInfo (this=0xaa1e4b0) at /build/buildd/kmymoney-4.5.2/kmymoney/mymoney/storage/mymoneystoragesql.cpp:2356
#8  0x0854be6b in MyMoneyStorageSql::close (this=0xaa1e4b0, logoff=true) at /build/buildd/kmymoney-4.5.2/kmymoney/mymoney/storage/mymoneystoragesql.cpp:229
#9  0x08569c1f in MyMoneyStorageSql::~MyMoneyStorageSql() ()
#10 0x0810ca3b in ~KSharedPtr (this=0xa686c48, url=...) at /usr/include/ksharedptr.h:90
#11 KMyMoneyView::openDatabase (this=0xa686c48, url=...) at /build/buildd/kmymoney-4.5.2/kmymoney/views/kmymoneyview.cpp:879
Comment 5 Fernando Vilas 2010-12-29 00:39:34 UTC
If you store your records in a database, they will not be also stored in a file. The file you used will be in the same state as when you did a "save as database".

I often open my database in KMM and do a "save as..." and give it a filename, in case I need a file backup later. So, you can always get the data back out of the db.
Comment 6 martin welsh 2010-12-29 15:17:30 UTC
On 28/12/10 23:39, Fernando Vilas wrote:
> https://bugs.kde.org/show_bug.cgi?id=261298
>
>
>
>
>
> --- Comment #5 from Fernando Vilas<fvilas iname com>   2010-12-29 00:39:34 ---
> If you store your records in a database, they will not be also stored in a
> file. The file you used will be in the same state as when you did a "save as
> database".
>
> I often open my database in KMM and do a "save as..." and give it a filename,
> in case I need a file backup later. So, you can always get the data back out of
> the db.
>
Thank you. Perhaps a small addition to the handbook will be valued.

martin welsh
Comment 7 Cristian OneČ› 2012-01-06 12:15:06 UTC

*** This bug has been marked as a duplicate of bug 252481 ***