Bug 283895 - Crash on startup with PostgreSQL database
Summary: Crash on startup with PostgreSQL database
Status: RESOLVED DUPLICATE of bug 252481
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:
Depends on:
Blocks:
 
Reported: 2011-10-13 04:09 UTC by David Miller
Modified: 2012-01-06 12:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Miller 2011-10-13 04:09:38 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Similar to the possible dups, but using a PostgreSQL 9.0 database and drivers from the backport...

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

Thread 2 (Thread 0xb7642b70 (LWP 20517)):
#0  0x0086636b in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x01ebc080 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x01ebc92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0268b304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x01ee52df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00863e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x05fbc73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb78af930 (LWP 20515)):
[KCrash Handler]
#7  0x08485a74 in MyMoneyStorageSql::writeFileInfo (this=0x9524180) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneystoragesql.cpp:2356
#8  0x08487cba in MyMoneyStorageSql::close (this=0x9524180, logoff=true) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneystoragesql.cpp:229
#9  0x084bc6ff in ~MyMoneyStorageSql (this=0x9524180, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneystoragesql.h:141
#10 MyMoneyStorageSql::~MyMoneyStorageSql (this=0x9524180, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneystoragesql.h:142
#11 0x080fd40b in ~KSharedPtr (this=0x94779f0, url=...) at /usr/include/ksharedptr.h:90
#12 KMyMoneyView::openDatabase (this=0x94779f0, url=...) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kmymoneyview.cpp:830
#13 0x080fdca0 in KMyMoneyView::readFile (this=0x94779f0, url=...) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kmymoneyview.cpp:599
#14 0x080ca756 in KMyMoneyApp::slotFileOpenRecent (this=0x9364620, url=...) at /build/buildd/kmymoney-4.5.3/kmymoney/kmymoney.cpp:1503
#15 0x08087bcf in main (argc=112686100, argv=0x9840e38) at /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:247

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

Possible duplicates by query: bug 263983.

Reported using DrKonqi
Comment 1 Fernando Vilas 2011-10-14 02:21:59 UTC
It looks like you already had the database, since the error is coming from "slotFileOpenRecent". What changed between then and now on your system?

What did you mean by "drivers from the backport"?
Comment 2 Cristian Oneț 2012-01-06 12:15:38 UTC

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