Bug 432302 - [gcj] Main thread's stack smashed during gc()
Summary: [gcj] Main thread's stack smashed during gc()
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 8
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 173278
TreeView+ depends on / blocked
 
Reported: 2008-02-11 03:35 UTC by Andrew Cagney
Modified: 2008-11-26 11:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-26 11:24:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Cagney 2008-02-11 03:35:02 UTC
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
../../frysk/frysk-sys/frysk/sys/cni/Wait.cxx:528
#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 09:47:04 UTC
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: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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