[maemo-developers] Possible bug in /usr/lib/libglib-2.0.so.0

From: Detlef Schmicker d.schmicker at physik.de
Date: Thu Sep 20 14:53:00 EEST 2007
Thanks a lot,

that seems to work.

Am I right, that the gtkrc.cache is corrupt in the latest image? I had a
quite clean N800 installation and only added openssh and xterm before
testing!

What is the clean way to deliver a program which needs calling
hildon-theme-cacher. I could not find a trusted source for
hildon-theme-cacher and in I could not find the source code. So it is
not possible to deliver it with my gpl application?!

Thanks a lot

Detlef

Am Donnerstag, den 20.09.2007, 14:25 +0300 schrieb Fernando Herrera:
> 
> Hi, 
> 
> this seems like a corruption of the Gtk Rc Cahce file (that is a custom
> patch in our gtk/glib).
> 
> Can you try to re-create the cache after deleting it:
> 
> $ hildon-theme-cacher /usr/share/themes/default/gtk-2.0/
> 
> and check if it crashes again?
> 
> Salu2
> 
> 
> El jue, 20-09-2007 a las 13:17 +0200, ext Detlef Schmicker escribió:
> > Hello,
> > 
> > I have a strange problem: maetronome.garage.maemo.org
> > 
> > (A port of GTick) crashes with bus error. I tracked down the problem
> > with gdb and strace and the problem is connected to the file 
> > 
> > /usr/share/themes/default/gtk-2.0/gtkrc.cache
> > 
> > If I delete it, the crash does not happen and everything works fine. I
> > attach my output from gdb and strace. In case somebody wants to
> > reproduce, think of LD_PRELOAD !!
> > 
> > I seems that glib crashes during processing of gtkrc.cache
> > 
> > Any tips? Any workarounds?
> > 
> > Thanks a lot
> > 
> > Detlef
> > 
> > 
> > Nokia-N800-26:~# export
> > LD_PRELOAD="/usr/bin/libesd.so.0 /usr/bin/libesddsp.so.0"
> > Nokia-N800-26:~# gdb gtick
> > 
> > .....
> > 
> > Program received signal SIG32, Real-time event 32.
> > 0x41208a90 in pthread_create () from /lib/libpthread.so.0
> > (gdb) c
> > Continuing.
> > 
> > Program received signal SIGBUS, Bus error.
> > 0x41162032 in g_scanner_scope_foreach_symbol ()
> > from /usr/lib/libglib-2.0.so.0
> > (gdb) bt
> > #0  0x41162032 in g_scanner_scope_foreach_symbol ()
> >    from /usr/lib/libglib-2.0.so.0
> > #1  0x411b04d4 in ?? () from /usr/lib/libglib-2.0.so.0
> > Cannot access memory at address 0xc
> > (gdb) 
> > 
> > 
> > 
> > 
> > Nokia-N800-26:~# strace gtick
> > 
> > ....
> > 
> > open("/usr/share/themes/default/gtk-2.0/gtkrc.cache", O_RDONLY|
> > O_LARGEFILE) = 10
> > fstat64(10, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
> > mmap2(NULL, 182448, PROT_READ, MAP_SHARED, 10, 0x4300000) = 0x40274000
> > close(10)                               = 0
> > --- SIGBUS (Bus error) @ 0 (0) ---
> > +++ killed by SIGBUS +++
> > Process 2722 detached
> > Nokia-N800-26:~# 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> 
> 


More information about the maemo-developers mailing list