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: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Sep 2005 22:23:24 -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 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 are on the CC list for the bug, or are watching someone who is.