This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1377] seg fault inside getwc() when using LD_PRELOADed code
- From: "manuelarriaga at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Sep 2005 22:34:55 -0000
- Subject: [Bug libc/1377] seg fault inside getwc() when using LD_PRELOADed code
- References: <20050923220934.1377.manuelarriaga@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From manuelarriaga at gmail dot com 2005-09-23 22:34 -------
Subject: Re: seg fault inside getwc() when using LD_PRELOADed code
Thank you for your email. Is there a way to automatically bind to the
most recent version available on the system? (Or is there a function
which will provide me with the name of the most recent version found
given a symbol name?)
Manuel
On 23 Sep 2005 22:23:24 -0000, jakub at redhat dot com
<sourceware-bugzilla@sourceware.org> wrote:
>
> ------- Additional Comments From jakub at redhat dot com 2005-09-23 22:23 -------
> If you look carefully, you'll see that on several arches, including i?86-linux,
> there are several fopen functions:
> readelf -Ws /lib/libc.so.6 | grep \ fopen@
> 1210: 0046678b 140 FUNC GLOBAL DEFAULT 11 fopen@GLIBC_2.0
> 1882: 003bd512 50 FUNC GLOBAL DEFAULT 11 fopen@@GLIBC_2.1
> 6849: 0046678b 140 FUNC GLOBAL DEFAULT 11 fopen@GLIBC_2.0
> 7521: 003bd512 50 FUNC GLOBAL DEFAULT 11 fopen@@GLIBC_2.1
> When you use dlsym and not dlvsym, you bind to the oldest one, backwards
> compatible fopen which doesn't support wide char stdio.
>
> --
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |INVALID
>
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=1377
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> You are on the CC list for the bug, or are watching someone who is.
>
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1377
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.