Bug 121775
Summary: | Gcc is not restoring the global pointer after a memcpy call causing segv. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Michael Chynoweth <michael.w.chynoweth> | ||||||||||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | medium | ||||||||||||||
Version: | 2.1 | CC: | msimons | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | ia64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2007-10-19 19:22:45 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Michael Chynoweth
2004-04-27 18:16:45 UTC
Created attachment 99721 [details]
Test case for this bug.
This attachment comes with the readme on the bug and directions how to
reproduce.
I tested this with the gcc-c++-2.96-128.7.2 compiler and it reproduces in the same manner. Thanks, Mike Created attachment 99834 [details]
Makefile for testcase
Created attachment 99835 [details]
Test case
Created attachment 99836 [details]
Sample run
This shows a run of the program, and inspection of
the assembly to show the problem block.
Created attachment 99837 [details]
Description of the problem
The attachment Mike C, created is really a zip file with msdos text format files inside... I've reattached the file pieces as plain unix text files. The test.cc file is about as small, touching the big "r1" data structure in almost any way makes the problem vanish. This bug is filed against RHEL2.1, which is in maintenance phase. During the maintenance phase, only security errata and select mission critical bug fixes will be released for enterprise products. Since this bug does not meet that criteria, it is now being closed. For more information of the RHEL errata support policy, please visit: http://www.redhat.com/security/updates/errata/ If you feel this bug is indeed mission critical, please contact your support representative. You may be asked to provide detailed information on how this bug is affecting you. |