[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#213384: libc6 2.3.2 causes wine-based programs to segfault on startup



At Wed, 1 Oct 2003 10:48:26 -0400,
Ian Ward wrote:
> 
> On Wed, Oct 01, 2003 at 08:19:16AM +0100, Philip Blundell wrote:
> > On Wed, 2003-10-01 at 05:37, Ian Ward wrote:
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x00000000 in ?? ()
> > > (gdb) bt
> > > #0  0x00000000 in ?? ()
> > > #1  0x401660dd in ?? ()
> > > #2  0x40134e2e in ?? ()
> > > #3  0x40134f48 in ?? ()
> > 
> > Seems that some function in a library, maybe libc6, is calling a NULL
> > function pointer.  It'd be worth trying that again with libc6-dbg
> > installed and LD_LIBRARY_PATH=/usr/lib/debug.
> 
> I get the exact same output.

Weird.  If /usr/lib/debug is used correctly, it should show the
appropriate function name.  It may be stack corruption?

> Loki's installer is available (LGPL) at:
> http://www.lokigames.com/development/setup.php3
> 
> I can't check that the version from source behaves the same way because
> its configure script says my gcc "cannot create executables" (??).  Can
> you get it compiled (and hopefully failing in the same way) on your box?

I downloaded setupdb-1.0.0 and setup-1.5.8.  It was successfully
compiled and executed.  But the log at the last compilation said:

	gcc -o uninstall uninstall.o /home/gotom/setup-1.5.8/../setupdb-1.0.0/x86/libsetupdb.a plugins/libplugins.a /home/gotom/setup-1.5.8/../setupdb-1.0.0/x86/libsetupdb.a -L/usr/local/lib -L/usr/X11R6/lib /usr/lib/libxml.a -lz -static
	/usr/lib/libxml.a(nanohttp.o)(.text+0xcd3): In function `xmlNanoHTTPConnectHost':
	: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

This means "uninstall" is compiled with "-static" even if it uses NSS
code.  NSS code should not be generally used with static link on
glibc.

I think this is not glibc issue, but the application static link
problem.  In glibc 2.3.2.ds1-1, many static linked application were
failed to start on glibc 2.3.2.  Unfortunatelly we can't fix this
problem.  If you have no objection, I'll close this bug.

Regards,
-- gotom




Reply to: