This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1377] seg fault inside getwc() when using LD_PRELOADed code


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]