Bug 154505 - Segmentation fault in initstate_r () from /lib/tls/libc.so.6
Segmentation fault in initstate_r () from /lib/tls/libc.so.6
Status: CLOSED DUPLICATE of bug 154504
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
: 154506 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-04-12 06:12 EDT by Mateusz Ploskon
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-12 06:51:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mateusz Ploskon 2005-04-12 06:12:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
// following code compiled with 
// gcc -g -O3 -ansi -pedantic -save-temps test.c 
// causes: 
// Program received signal SIGSEGV, Segmentation fault. 
// 0x0040d130 in initstate_r () from /lib/tls/libc.so.6 
int main() 
  char s[255]; 
  sprintf(s, "%s", "ala ma kota"); 
  return 0; 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.compile the description 
2.run a.out 

Additional info:

> gcc -v 
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs 
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux 
Thread model: posix 
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Comment 1 Mateusz Ploskon 2005-04-12 06:17:36 EDT
*** Bug 154506 has been marked as a duplicate of this bug. ***
Comment 2 Mateusz Ploskon 2005-04-12 06:51:43 EDT

*** This bug has been marked as a duplicate of 154504 ***

Note You need to log in before you can comment on or make changes to this bug.