Crashes in startup with new glib/gtk.

Bug #133709 reported by Jeremy Messenger
2
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
High
Maxime DOYEN

Bug Description

I have glib 2.14.0 and gtk 2.11.6 installed in my system (FreeBSD 6.2-STABLE). The HomeBank crashes in the startup. I have HomeBank 0.3.4 installed and build without ofx option. I have removed ~/.homebank and it doesn't help, so here is the backtraces of crash.

http://people.freebsd.org/~mezz/gdb/gdb-homebank.txt

I have tweaked a bit in src/dsp_wallet.c by add a line looks like below before that basename in 1335 line. I don't know if it will help, but at least I tried.

g_printf("filename: %s\n", GLOBALS->filename);
g_printf("oldfilename: %s, exists: %d\n", GLOBALS->oldfilename, GLOBALS->exists_old);

The output looks like this:
============================================
% homebank
filename: (null)
oldfilename: (null), exists: 0

GLib-CRITICAL **: g_path_get_basename: assertion `file_name != NULL' failed
aborting...
[1] 77160 abort (core dumped) homebank
============================================

Revision history for this message
Jeremy Messenger (mezz) wrote :
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Yes, I have encountered this bug when trying to compile the win32 version.
It occurs when the 'lastopenedfiles' file do not exists in $HOME/.homebank directory
On GNU/Linux and MacOS it do not crash, but it does on Win32 and FreeBSD.

I invest on that right now and make a new release at last tomorrow.

Changed in homebank:
assignee: nobody → mdoyen
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Maxime DOYEN (mdoyen) wrote : Re: [Bug 133709] Re: Crashes in startup with new glib/gtk.

Quoting Jeremy Messenger <email address hidden>:

Hi Jeremy,

I have made a new release 3.5 available on my website, please let me know if it
fixes the problem (it should!).

Max.

>
> ** Attachment added: "Add an attach of backtrace in case when it's removed or
> host down."
> http://launchpadlibrarian.net/8897529/gdb-homebank.txt
>
> --
> Crashes in startup with new glib/gtk.
> https://bugs.launchpad.net/bugs/133709
> You received this bug notification because you are the bug contact for
> HomeBank.
>

Revision history for this message
Jeremy Messenger (mezz) wrote :

Yes, it is fixed in 3.5 and I have updated it in our FreeBSD ports tree. Thanks!

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

solved in v3.5

Changed in homebank:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.