bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/2015] New: Segfault in setlocale() call makes programs unu


From: skunk at iskunk dot org
Subject: [Bug binutils/2015] New: Segfault in setlocale() call makes programs unusable
Date: 9 Dec 2005 17:29:22 -0000

Building on AIX 4.3. Programs segfault instantly, even with --help. Debugger 
shows a crash inside setlocale(): 
 
---- 
address@hidden:~/tmp/binutils-2.16.1> dbx /tmp/BINUTILS/bin/readelf 
Type 'help' for help. 
reading symbolic information ... 
(dbx) run --help 
 
Segmentation fault in _ptrgl at 0xd016ff90 
0xd016ff90 (_ptrgl)    800b0000        lwz   r0,0x0(r11) 
(dbx) up 
setlocale(??, ??) at 0xd018e4f8 
(dbx) up 
main(argc = 2, argv = 0x2ff22aac), line 12137 in "readelf.c" 
(dbx) up 
__start() at 0x100001d8 
 
Recompiled with --disable-nls; no improvement. Commented out the "#define 
HAVE_SETLOCALE 1" line in each config.h file; programs run normally. 
 
Unless there is a problem with how setlocale() is being invoked, it would 
appear that this system library routine is broken on AIX 4.3.

-- 
           Summary: Segfault in setlocale() call makes programs unusable
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: skunk at iskunk dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: powerpc-ibm-aix4.3.3.0
  GCC host triplet: powerpc-ibm-aix4.3.3.0
GCC target triplet: powerpc-ibm-aix4.3.3.0


http://sourceware.org/bugzilla/show_bug.cgi?id=2015

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]