[lokisetup] xsu segfaults

Timothee Besset ttimo at idsoftware.com
Mon Jun 10 13:42:44 EDT 2002

Ok I found what's causing the problem, -ldl dynamic instead of static
(like setup.gtk does):

instead of 
gcc -o xsu xsu.o pseudo.o -Wl,-Bstatic -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl  -Wl,-Bdynamic  -L/usr/X11R6/lib -lXi -lXext -lX11 -lm

gcc -o xsu xsu.o pseudo.o -Wl,-Bstatic -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -Wl,-Bdynamic  -L/usr/X11R6/lib -lXi -lXext -lX11 -lm -ldl

I looked at the autoconf stuff to fix this properly .. but autoconf
doesn't like me so I don't really know


On Mon, 10 Jun 2002 18:04:52 +0200
Timothee Besset <ttimo at idsoftware.com> wrote:

> xsu compiled on my baseline box runs fine on the baseline, but crashes
> elsewhere. I have the following backtrace:
> (gdb) bt
> #0  0xbffff01c in ?? ()
> #1  0x080e46d1 in _dlerror_run (operate=0x80e4440 <dlopen_doit>, args=0x0)
>     at dlerror.c:125
> #2  0x080e4431 in __dlopen_check (
>     file=0x8126ad0 "/usr/lib/gtk/themes/engines/libthinice.so", mode=258)
>     at dlopen.c:53
> #3  0x080d2f41 in g_module_open ()
> #4  0x0808f81b in gtk_theme_engine_get ()
> any ideas?
> I'm not sure I have any theme setup on the baseline .. I use thinice on
> the other box. If I run xsu as root on my other box, it runs fine (root
> doesn't have a gtk theme configured either)
> TTimo

More information about the Lokisetup mailing list