On Tue, Nov 15, 2005 at 02:20:52AM -0800, Steve Langasek wrote:
> Hi Michael,
> 
> On Tue, Nov 15, 2005 at 08:28:25AM +0000, Michael Koch wrote:
> > Starting with binutils 2.16.1cvs20050902-1 the program c++filt hangs
> > when starting up eclipse when using gcj as Java runtme. Gcj calls c++filt
> > internally when exceptions are thrown to be able to write a stacktrace
> > (to a log file). Downgroading to an older binutils version makes it work
> > again. A workaround that helps starting up eclipse and probablz other
> > Java applications when using gcj is running the following in another
> > terminal:
> 
> You reported this bug against 2.16.1cvs20050902-1 -- does it also affect the
> 2.16.1cvs20051109-1 version now in unstable?

Yes it happens with 2.16.1cvs20051109-1 too.

> If so, can you by chance offer a sample environment that's something smaller
> than "start eclipse" as a means of reproducing this bug?  c++filt should by
> all rights be a very simple program, and I'd be surprised if c++filt was
> actually hanging for any reason that wasn't a bug in the caller (i.e., gcj).

Sorry.

I wrote a small Java programm (attached) that shows the problem too.

To reproduce the problem do this:

gcj-4.0 -C BinutilsTest.java
gij-4.0 Binutils

gij-4.0 will hangs when trying to print the stack trace.
Any other free or non-free VM does this fine. GCJ uses the external
programs c++filt and addr2line to implement this task (no other does
this). I guess this is a binutils bug becuase when downgrading to an
older binutils (2.16.1-3).


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to