Bug 285782 - Error when opening any budget report
Summary: Error when opening any budget report
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 285911 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-04 21:30 UTC by Gonzague de Chalain
Modified: 2012-01-03 21:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Here is the backtrace. (1.40 KB, application/octet-stream)
2011-11-07 06:49 UTC, Gonzague de Chalain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gonzague de Chalain 2011-11-04 21:30:28 UTC
Version:           4.5.3 (using KDE 4.7.2) 
OS:                Linux

When I try to see any budget report I get the following error:
"Unknown account id 'A000130' dans le fichier /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp à la ligne 132"
and then the application crashes.


Reproducible: Always

Steps to Reproduce:
This might be happening since I have removed some categories through the regular process?

Actual Results:  
Error message then crash: "Unknown account id 'A000130' dans le fichier /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp à la ligne 132"

Expected Results:  
Show reports.

OS: Linux (x86_64) release 3.0.0-13-generic
Compiler: gcc

If necessary, I can provide the database files.
Comment 1 Gonzague de Chalain 2011-11-04 21:31:21 UTC
The application is useless for me now without being able to monitor my budget. I would really love a quickfixe. Please.
Comment 2 Alvaro Soliverez 2011-11-04 21:51:05 UTC
Does this happen with any budget report, or only with those you have customized yourself?
Comment 3 Gonzague de Chalain 2011-11-04 22:38:25 UTC
Witj any budget report: default ore customized.
Comment 4 Gonzague de Chalain 2011-11-04 22:39:02 UTC
With any budget report: default ore customized.
(In reply to comment #2)
> Does this happen with any budget report, or only with those you have customized
> yourself?
Comment 5 Alvaro Soliverez 2011-11-04 23:38:33 UTC
Have you tried running the consistency check?
Comment 6 Gonzague de Chalain 2011-11-05 07:03:06 UTC
(In reply to comment #5)
> Have you tried running the consistency check?

Yes, it tells me my data is coherent.
Comment 7 Alvaro Soliverez 2011-11-07 01:07:37 UTC
Can you provide a backtrace?
Comment 8 Gonzague de Chalain 2011-11-07 06:49:45 UTC
Created attachment 65325 [details]
Here is the backtrace.

I hope it helps
Comment 9 Gonzague de Chalain 2011-11-07 06:50:51 UTC
Application: KMyMoney (kmymoney), signal: Aborted
[Current thread is 1 (Thread 0x7ff681598780 (LWP 19374))]

Thread 2 (Thread 0x7ff669882700 (LWP 19376)):
#0  0x00007ff67bf52773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ff6776cef68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6776cf792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff670d98516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff6776f42b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff67ebc0efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ff67bf5e89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff681598780 (LWP 19374)):
[KCrash Handler]
#6  0x00007ff67beb33a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007ff67beb6b0b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007ff67c771d7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ff67c76ff26 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007ff67c76ff53 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ff67c77004e in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x0000000000455599 in main (argc=1, argv=<optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:266
Comment 10 Cristian Oneț 2011-11-07 08:54:20 UTC
Could you try a newer version? I think that this is the same bug as https://bugs.kde.org/show_bug.cgi?id=280172 which has been fixed in 4.6.1.
Comment 11 Gonzague de Chalain 2011-11-07 18:46:01 UTC
Yes, it looks like the same bug as the one you mention.
Unfortunately I haven't been able to test it yet, though: i can't find any package for ubuntu more recent than the one I had installed and that comes by default with ubuntu 11.10.
I'm trying to install it with the bz2 version but cmake is giving me hardtime and I'm not really good at that way: 
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/gouzi/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:53 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!


(In reply to comment #10)
> Could you try a newer version? I think that this is the same bug as
> https://bugs.kde.org/show_bug.cgi?id=280172 which has been fixed in 4.6.1.
Comment 12 Cristian Oneț 2011-11-28 06:15:50 UTC
*** Bug 285911 has been marked as a duplicate of this bug. ***
Comment 13 Cristian Oneț 2011-12-05 22:55:17 UTC
Could you try if the fix for BUG 288279 works for you. It seems to me that it's the same problem.
Comment 14 Cristian Oneț 2011-12-10 09:59:04 UTC
Could you try if the fix for BUG 288279 works for you? It seems to me that it's
the same problem.
Comment 15 Thomas Baumgart 2012-01-03 09:10:54 UTC
Changing state due to missing feedback
Comment 16 Gonzague de Chalain 2012-01-03 21:03:48 UTC
Hi,
Sorry for the long time without feedback.
To answer the question, yes, it seems to be the same issue: so if I disable the corrupted budget, the application doesn't crash any more. But I couldn't find in the fix for BUG 288279 any way to correct the incriminated budget and still haven't found any way to install the latest version of kmymoney (there is no package available and I keep getting the same error when I try to install the binaries; I have even tried to do it on a mandriva virtual machine and also get the same error).
Thanks.


(In reply to comment #15)
> Changing state due to missing feedback