Bug 80933 - Use of ostringsteam causes segfault
Use of ostringsteam causes segfault
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: gcc (Show other bugs)
2.1
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-02 10:25 EST by Ken Kleiner
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version: 2.96-118.7.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-14 02:03:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
code which seg faults when compiled and run on rh as 2.1 with updates applied (149 bytes, text/plain)
2003-01-02 10:27 EST, Ken Kleiner
no flags Details

  None (edit)
Description Ken Kleiner 2003-01-02 10:25:08 EST
Description of problem:

It looks to be possibly a bug with ostringstream.  A seg fault occurs
when running compiled code(file attached).  Does not occur on 
Redhat 7.2 systems.  This started happening after the following updates
were applied:

cpp-2.96-116.7.2
gcc-2.96-116.7.2
gcc-c++-2.96-116.7.2
gcc-g77-2.96-116.7.2
gcc-objc-2.96-116.7.2
libstdc++-2.96-116.7.2
libstdc++-devel-2.96-116.7.2

Version-Release number of selected component (if applicable):
cpp-2.96-116.7.2
gcc-2.96-116.7.2
gcc-c++-2.96-116.7.2
gcc-g77-2.96-116.7.2
gcc-objc-2.96-116.7.2
libstdc++-2.96-116.7.2
libstdc++-devel-2.96-116.7.2

How reproducible:

Compile code attached and run it.

Steps to Reproduce:
1.Use ostringsteam in code.
2.Compile code.
3.Run a.out
    
Actual results:

Segmentation fault

Expected results:

return name of calling program to stdout.

Additional info:
Comment 1 Ken Kleiner 2003-01-02 10:27:03 EST
Created attachment 89053 [details]
code which seg faults when compiled and run on rh as 2.1 with updates applied
Comment 2 Tom Honermann 2003-05-13 19:15:40 EDT
Hello.  My name is Tom Honermann.  I too am experiencing this problem.

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