Bug 432302 - [gcj] Main thread's stack smashed during gc()
[gcj] Main thread's stack smashed during gc()
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
Depends On:
Blocks: 173278
  Show dependency treegraph
Reported: 2008-02-10 22:35 EST by Andrew Cagney
Modified: 2008-11-26 06:24 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-11-26 06:24:38 EST
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 Andrew Cagney 2008-02-10 22:35:02 EST
I can repo this on my laptop; am trying to repo it on a toronto machine.

Under load (agressive garbage collection, finalization, and with a shortage of
file descriptors), the main thread's stack is corrupted vis:

#0  0x0810a362 in log (logger=0xbfcb85e0, pid=0xfffffff6, status=0xffffffff,
err=0xa) at ../../frysk/frysk-sys/frysk/sys/cni/Wait.cxx:87
#1  0x0810ad18 in frysk::sys::Wait::wait (waitPid=0xd8da0,
waitBuilder=0x4104fe8, signalBuilder=0x8208570, 
    millisecondTimeout=0xbfcb862004104828, ignoreECHILD=0x0) at
#2  0x02df4240 in java::lang::reflect::Method::invoke (this=0x51ba0,
obj=0xd8da0, args=0x2bfd8)
    at ../../../libjava/java/lang/reflect/natMethod.cc:187

frame #2 should be either a test or tear-down routine.

The bogus call to wait leading to an NPE.

$ gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Comment 3 Bug Zapper 2008-11-26 04:47:04 EST
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

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