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

Bug#187385: marked as done (Wine/Mono app crashes with SIGSEGV on dlopen())



Your message dated Sun, 26 Sep 2004 16:00:08 +0900
with message-id <813c15o6pz.wl@omega.webmasters.gr.jp>
and subject line Bug#187385: Wine/Mono app crashes with SIGSEGV on dlopen()
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Apr 2003 23:47:55 +0000
>From pigolkine@gmx.de Wed Apr 02 17:47:55 2003
Return-path: <pigolkine@gmx.de>
Received: from mail.gmx.de (mail.gmx.net) [213.165.64.20] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 190rxS-00087J-00; Wed, 02 Apr 2003 17:47:54 -0600
Received: (qmail 16310 invoked by uid 65534); 2 Apr 2003 23:47:22 -0000
Received: from p5088FF9E.dip.t-dialin.net (EHLO alexhome) (80.136.255.158)
  by mail.gmx.net (mp012-rz3) with SMTP; 03 Apr 2003 01:47:22 +0200
Message-ID: <005a01c2f972$0ed39350$46d6fea9@alexhome>
From: "Alexandre Pigolkine" <pigolkine@gmx.de>
To: <submit@bugs.debian.org>
Subject: Wine/Mono app crashes with SIGSEGV on dlopen()
Date: Thu, 3 Apr 2003 01:46:18 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.0 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01,USER_AGENT_OE
	version=2.44
X-Spam-Level: 

Package: libc6
Version:  2.3.1-16

Kernel: 2.4.18-bf2.4
Debian GNU/Linux 3.0 with packages from Debian Sid (unstable)

When I run Wine application which embeds the Mono JIT engine
it crashes at startup. GDB backtrace is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1286)]
0x40009587 in _dl_catch_error_internal () from /lib/ld-linux.so.2
(gdb) where
#0  0x40009587 in _dl_catch_error_internal () from /lib/ld-linux.so.2
#1  0x4032d27d in dlerror () from /lib/libdl.so.2
#2  0x4032ceb7 in dlopen () from /lib/libdl.so.2
#3  0x40106940 in wine_dlopen (filename=0x805e8f0
    "/usr/local/lib/wine/kernel32.dll.so", flag=2,
    error=0x40742bf0 "?'\003@\230\205\002@??\001@@\035\001@\b",
    errorsize=256) at port.c:517
 #4  0x4010635e in dlopen_dll (name=0x40742d08 "kernel32.dll",
     error=0x40742bf0 "?'\003@\230\205\002@??\001@@\035\001@\b",
     errorsize=256, test_only=0) at loader.c:152
 #5  0x4010684a in wine_dll_load (filename=0x40742d08 "kernel32.dll",
     error=0x40742bf0 "?'\003@\230\205\002@??\001@@\035\001@\b",
     errorsize=256) at loader.c:387

 Crash happens after the first call to the __libc_dl_error_tsd
(libpthread.so.0) on the thread 1 . Before this, code in
_dl_catch_error_internal
calls startup_error_tsd( ld_linux.so.2) on thread 0 and function works
fine. If I check memory content in the debugger just before expected
SIGSEGV, application doesn't crash immediately, but some different error
happens later.

The same problem was reproduced on different computers.

I think that the behaviour is simular to the one described in
NVidia readme and this will help to resolve the problem:

 ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4349/README.txt

 Q: Some OpenGL applications (like Quake3 Arena) crash when I
    start them on Red Hat Linux 9.0.
A: Some versions of the glibc package shipped by Red Hat that support
    TLS do not properly handle using dlopen() to access shared libraries
    which utilize some TLS models.  This problem is exhibited, for example,
    when Quake3 Area dlopen()'s NVIDIA's libGL library.  Please obtain
    at least glibc-2.3.2-11.9 which is available as an update from Red Hat.

 Alexandre Pigolkine


---------------------------------------
Received: (at 187385-done) by bugs.debian.org; 26 Sep 2004 07:00:09 +0000
>From gotom@debian.or.jp Sun Sep 26 00:00:09 2004
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CBT0z-0006D2-00; Sun, 26 Sep 2004 00:00:09 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 66416DEB80; Sun, 26 Sep 2004 16:00:08 +0900 (JST)
Date: Sun, 26 Sep 2004 16:00:08 +0900
Message-ID: <813c15o6pz.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: <pigolkine@gmx.de>, 187385-done@bugs.debian.org
Subject: Re: Bug#187385: Wine/Mono app crashes with SIGSEGV on dlopen()
In-Reply-To: <804r5dpue7.wl@oris.opensource.jp>
References: <80adf7pnwh.wl@oris.opensource.jp>
	<000901c2fa7e$7ec15d20$0d00a8c0@kamikaze>
	<804r5dpue7.wl@oris.opensource.jp>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 187385-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.5 required=4.0 tests=BAYES_10,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

At Sat, 05 Apr 2003 11:09:36 +0900,
GOTO Masanori wrote:
> At Fri, 4 Apr 2003 09:47:51 +0200,
> Alexandre Pigolkine wrote:
> > After update to glib 2.3.2-1, I've got a different problem.
> > I think it is connected to the __errno_location and __h_errno_location.
> > 
> > http://www.winehq.com/index.php?issue=155#Threading%20Problems%20with%20
> > glibc%202.3
> > 
> > Unfortunately, this happens before Wine calls dlopen(). So, I cannot
> > really 
> > confirm resolution of the problem now. 
> 
> Hmm... It means that glibc 2.3.2-1 forces wine to be unusable.
> However it's fine that wine may be use the new implementation.
> We will close #187385 if we can confirm the fix.

This problem should be fixed in 2.3.2.ds1-*.   I close this bug.

Regards,
-- gotom



Reply to: