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

Bug#571102: marked as done (libc6: dlclose crashes on amd64)



Your message dated Sun, 21 Mar 2010 15:50:53 +0100
with message-id <20100321145053.GA11903@hall.aurel32.net>
and subject line Re: Bug#571102: libc6: dlclose crashes on amd64
has caused the Debian Bug report #571102,
regarding libc6: dlclose crashes on amd64
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
571102: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571102
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.7-18lenny2
Severity: normal


repeatedly opening and closing a dynamic libarry on amd64 with
dlopen/dlclose leads to a Segmentation fault on dlclose and wrecks the
stack. Perhaps the internal counter gets confused.

This only occurs on amd64 not on x86.

Example-code is attached.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                      1:4.3.2-1.1 GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc                   2.7-18lenny2 GNU C Library: Documentation
ii  locales                     2.7-18lenny2 GNU C Library: National Language (

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: rsync postfix openbsd-inetd nis cupsys cron atd autofs



--- End Message ---
--- Begin Message ---
On Sat, Feb 27, 2010 at 01:20:43AM +0100, Aurelien Jarno wrote:
> On Tue, Feb 23, 2010 at 02:54:14PM +0100, M G Berberich wrote:
> > Package: libc6
> > Version: 2.7-18lenny2
> > Severity: normal
> > 
> > 
> > repeatedly opening and closing a dynamic libarry on amd64 with
> > dlopen/dlclose leads to a Segmentation fault on dlclose and wrecks the
> > stack. Perhaps the internal counter gets confused.
> > 
> > This only occurs on amd64 not on x86.
> > 
> > Example-code is attached.
> > 
> 
> In your example code, you are try to close an already closed handle, 
> that's what causing the segfault. You can open the same library 
> multiple time, but then only close each handle once.
> 
> Also opening the same library multiple time may return you the same
> handle, but it is not something guaranteed. You should use a different
> handle for each call to dlopen.
> 

As explained in my previous mail, there is no bug. Closing it.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: