[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#587743: gnucash: segfault on open



Greetings,

Micha Lenk wrote:
I've just tried it, but unfortunately updating the glib2.0 backport to
2.24.1-1 didn't solve the problem: Gnucash still segaults. :(

I never got to the bottom of similar. I just moved to 2.2.9 in squeeze after checking with GnuCash mail list:

> Gnucash is bombing out on me.
>
> To be fair my system is mostly from stable, with
> the odd thing from testing for multimedia and X support. I suspect
> there is a library incompatibility. Any ideas which one?
>
> I created a new account. The crash occurs when trying to open a view on
> a book....e.g. clicking on Assets, Current Assets, cash in wallet
>
> [Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f24dbd73790 (LWP 18603)]
> 0x00007f24db123c3e in gnucash_sheet_styles_set_dimensions ()
>    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so
> (gdb)
> (gdb)
> (gdb) bt
> #0  0x00007f24db123c3e in gnucash_sheet_styles_set_dimensions ()
>    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so
> #1  0x00007f24db124738 in gnc_table_init_gui ()
>    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so
[snip]

Most likely you have a saved value of -1 or something else in gconf.
Unclear how that happened, but clearly GnuCash should perform some
testing for widely weird values and have "reasonable defaults" for when
the value is grossly wrong.

> gnucash --version
> gnc.bin-Message: main: binreloc relocation support was disabled at
> configure time.
>
> GnuCash 2.2.6
> Built 2008-08-28 from r17427
>
> Also I have tried Gnucash in testing...that is 2.2.9 and it works
> fine. So I could just upgrade.

Yes, you should.

> If I do upgrade do all users have to be on the same version to open
> "shared" accounts? e.g. Could I use 2.2.9, while my mamager uses 2.2.6
> on the same account we have saved on the server?

Using a mix of 2.2.x versions should be fine.  You should update.

> Ta
>
> Berni

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warlord@MIT.EDU PGP key available


Maybe backporting 2.2.9 really is the way forward?

Berni

Reply to: