[Geany] crash on startup

Nick Treleaven nick.treleaven at xxxxx
Tue Jul 25 17:41:21 UTC 2006


On 25/07/06 17:33:02, Enrico Tröger wrote:
> On Tue, 25 Jul 2006 16:37:21 +0200, "Sascha Heid"
> <saschaheid at gmail.com> wrote:
> > Program received signal SIGABRT, Aborted.
> > [Switching to Thread -1219442496 (LWP 20926)]
> > 0xffffe410 in __kernel_vsyscall ()
> > (gdb) backtrace
> > #0  0xffffe410 in __kernel_vsyscall ()
> > #1  0xb77a0641 in raise () from /lib/libc.so.6
> > #2  0xb77a1c99 in abort () from /lib/libc.so.6
> > #3  0xb77d532b in __fsetlocking () from /lib/libc.so.6
> > #4  0xb77dad20 in malloc_usable_size () from /lib/libc.so.6
> > #5  0xb77dc364 in free () from /lib/libc.so.6
> > #6  0xb79b6831 in g_free () from /usr/lib/libglib-2.0.so.0
> > #7  0x0819ae60 in ?? ()
> > #8  0x00000000 in ?? ()
> Hmm, this is not so informative as I expected. Can you compile Geany
> with debug support?
> The important point is in the line 7,8 or even earlier. The lines in
> the backtrace are only the result of the error.
I don't think the ?? stack frames are because of missing debug symbols.  
It looks like stack corruption, so the backtrace is of no use as the  
problem occurred some time before the segfault.

I'm thinking the segfault may only occur because of something changed  
in GTK 2.10.0 or the corresponding GLib (Sascha: what version of GLib?)

The output of Valgrind may help diagnosing the problem when the  
corruption first occurs:
valgrind --tool=addrcheck --leak-check=no /path/to/geany

I haven't tested Geany with GTK 2.10.0 yet. It's difficult to say  
whether the problem is Geany or GTK 2.10.0 or the Gentoo system...

Regards,
Nick



More information about the Users mailing list