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

Bug#214096: marked as done (libc6: memory error in dlopen?)



Your message dated Sat, 17 Jul 2004 11:58:46 +0900
with message-id <81iscncpax.wl@omega.webmasters.gr.jp>
and subject line Bug#214096: libc6: memory error in 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; 4 Oct 2003 15:29:14 +0000
>From jk@awp.nnov.ru Sat Oct 04 10:29:13 2003
Return-path: <jk@awp.nnov.ru>
Received: from ufp.appl.sci-nnov.ru (gw.ufp.appl.sci-nnov.ru) [194.190.187.220] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A5oLI-0003RM-00; Sat, 04 Oct 2003 10:29:12 -0500
Received: from forward.lab313 ([10.0.1.2])
	by gw.ufp.appl.sci-nnov.ru (8.12.10/8.12.10/Debian-4) with ESMTP id h94FT1wc006914
	for <submit@bugs.debian.org>; Sat, 4 Oct 2003 19:29:01 +0400
Received: from jk by forward.lab313 with local (Exim 3.36 #1 (Debian))
	id 1A5oL6-0005FS-00; Sat, 04 Oct 2003 19:29:00 +0400
MIME-Version: 1.0
Content-Type: text/plain; charset="KOI8-R"
From: Alexander Kogan <alexander@kogan.nnov.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: memory error in dlopen?
X-Mailer: reportbug 2.32
Date: Sat, 04 Oct 2003 19:29:00 +0400
Message-Id: <E1A5oL6-0005FS-00@forward.lab313>
Sender: Alexander Kogan <jk@awp.nnov.ru>
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by gw.ufp.appl.sci-nnov.ru id h94FT1wc006914
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0
	tests=BAYES_10,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_03
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_03 (1.174.2.15-2003-03-30-exp)

Package: libc6
Version: 2.3.2-8
Severity: normal

Hi!

Valgrind says a memory error in dlopen.

Example:
$ cat main.c

#include <dlfcn.h>

int main( int argc, char* argv[] )
{
    void *handle;
    handle =3D dlopen( argv[1], RTLD_LAZY );
    dlclose( handle );
}

Valgrind's output:

$ valgrind --num-callers=3D50 ./a.out /usr/lib/libz.so
=3D=3D18606=3D=3D Memcheck, a.k.a. Valgrind, a memory error detector for =
x86-linux.
=3D=3D18606=3D=3D Copyright (C) 2002-2003, and GNU GPL'd, by Julian Sewar=
d.
=3D=3D18606=3D=3D Using valgrind-20030725, a program supervision framewor=
k for x86-linux.
=3D=3D18606=3D=3D Copyright (C) 2000-2003, and GNU GPL'd, by Julian Sewar=
d.
=3D=3D18606=3D=3D Estimated CPU clock rate is 1004 MHz
=3D=3D18606=3D=3D For more details, rerun with: -v
=3D=3D18606=3D=3D
=3D=3D18606=3D=3D Conditional jump or move depends on uninitialised value=
(s)
=3D=3D18606=3D=3D    at 0x40008ABA: _dl_relocate_object_internal (in /lib=
/ld-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4035BCF0: (within /lib/libc-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4000B115: _dl_catch_error_internal (in /lib/ld-=
2.3.2.so)
=3D=3D18606=3D=3D    by 0x4035BF5B: _dl_open (in /lib/libc-2.3.2.so)
=3D=3D18606=3D=3D    by 0x40252FE7: (within /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4000B115: _dl_catch_error_internal (in /lib/ld-=
2.3.2.so)
=3D=3D18606=3D=3D    by 0x40253455: (within /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x40253033: dlopen (in /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x804840B: main (in /home/jk/tmp/3/a.out)
=3D=3D18606=3D=3D    by 0x4026ADBD: __libc_start_main (in /lib/libc-2.3.2=
.so)
=3D=3D18606=3D=3D    by 0x8048340: (within /home/jk/tmp/3/a.out)
=3D=3D18606=3D=3D
=3D=3D18606=3D=3D Conditional jump or move depends on uninitialised value=
(s)
=3D=3D18606=3D=3D    at 0x40008B05: _dl_relocate_object_internal (in /lib=
/ld-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4035BCF0: (within /lib/libc-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4000B115: _dl_catch_error_internal (in /lib/ld-=
2.3.2.so)
=3D=3D18606=3D=3D    by 0x4035BF5B: _dl_open (in /lib/libc-2.3.2.so)
=3D=3D18606=3D=3D    by 0x40252FE7: (within /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x4000B115: _dl_catch_error_internal (in /lib/ld-=
2.3.2.so)
=3D=3D18606=3D=3D    by 0x40253455: (within /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x40253033: dlopen (in /lib/libdl-2.3.2.so)
=3D=3D18606=3D=3D    by 0x804840B: main (in /home/jk/tmp/3/a.out)
=3D=3D18606=3D=3D    by 0x4026ADBD: __libc_start_main (in /lib/libc-2.3.2=
.so)
=3D=3D18606=3D=3D    by 0x8048340: (within /home/jk/tmp/3/a.out)
=3D=3D18606=3D=3D discard syms in /usr/lib/libz.so.1.1.4 due to munmap()
=3D=3D18606=3D=3D
=3D=3D18606=3D=3D ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 =
from 0)
=3D=3D18606=3D=3D malloc/free: in use at exit: 0 bytes in 0 blocks.
=3D=3D18606=3D=3D malloc/free: 5 allocs, 5 frees, 695 bytes allocated.
=3D=3D18606=3D=3D For a detailed leak analysis,  rerun with: --leak-check=
=3Dyes
=3D=3D18606=3D=3D For counts of detected errors, rerun with: -v


--
Alexander Kogan
Institute of Applied Physics
Russian Academy of Sciences

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux forward 2.4.20-forward #1 SMP =F0=D4=CE =F1=CE=D7 24 16:19:=
36 MSK 2003 i686
Locale: LANG=3Dru_RU.KOI8-R, LC_CTYPE=3Dru_RU.KOI8-R

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routin=
es [gl

-- no debconf information


---------------------------------------
Received: (at 214096-done) by bugs.debian.org; 17 Jul 2004 02:58:49 +0000
>From gotom@debian.or.jp Fri Jul 16 19:58:49 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 1BlfPV-000360-00; Fri, 16 Jul 2004 19:58:49 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 10650DEB80; Sat, 17 Jul 2004 11:58:46 +0900 (JST)
Date: Sat, 17 Jul 2004 11:58:46 +0900
Message-ID: <81iscncpax.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Alexander Kogan <alexander@kogan.nnov.ru>,
	214096-done@bugs.debian.org
Subject: Re: Bug#214096: libc6: memory error in dlopen?
In-Reply-To: <E1A5oL6-0005FS-00@forward.lab313>
References: <E1A5oL6-0005FS-00@forward.lab313>
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: 214096-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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi,

At Sat, 04 Oct 2003 19:29:00 +0400,
Alexander Kogan wrote:
> Valgrind says a memory error in dlopen.

Thanks for your report.  The program you said with 2.3.2.ds1-13 does
not cause memory error with valgrind.  I think it's fixed in
2.3.2.ds1.  I close this bug.

Regards,
-- gotom



Reply to: