Bug 53 - xsu crash - compilation / build issue
Status: RESOLVED FIXED
Alias: None
Product: Loki Setup
Classification: Unclassified
Component: xsu
Version: unspecified
Hardware: PC Linux
: P2 normal
Assignee: St
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2002-09-06 08:00 EDT by Timothee Besset
Modified: 2002-09-17 19:53:48 EDT
0 users

See Also:


Attachments
xsu_build.patch (749 bytes, patch)
2002-09-06 08:00 EDT, Timothee Besset

Description Timothee Besset 2002-09-06 08:00:07 EDT
I am getting a sigsev on startup with xsu build from the current source

(gdb) bt
#0  0xbfffefac in ?? ()
#1  0x080e46d1 in _dlerror_run (operate=0x80e4440 <dlopen_doit>, args=0x0) at
dlerror.c:125
#2  0x080e4431 in __dlopen_check (file=0x8126ac0
"/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 ()

This only happens with the theme engine. If I run xsu as root (root doesn't have
a theme configured), it starts fine.

The box I am using to compile xsu is a stock Mandrake 7.2 
timo@spoutnik:~/icculus.org/loki_setup$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs
gcc version 2.95.3 19991030 (prerelease)

--

What I'm doing around this is to change the linking of gtk/gdk to dynamic.
Compiling xsu against an updated version of Gtk 1.2 might be the solution
though. Gonna attach my patch. I'd be curious to hear about other distribs /
similar problems.
Comment 1 Timothee Besset 2002-09-06 08:00:50 EDT
Created attachment 2 [details]
xsu_build.patch
Comment 2 St 2002-09-06 13:51:20 EDT
I have a similar patch in my own tree and I will soon sync with icculus.org.
Comment 3 St 2002-09-17 19:53:48 EDT
Patch merged in CVS.