This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/32836] infinite loop (SIGSEGV) in java::lang::Throwable::fillInStackTrace
- From: "artem at bizlink dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2007 11:27:59 -0000
- Subject: [Bug java/32836] infinite loop (SIGSEGV) in java::lang::Throwable::fillInStackTrace
- References: <bug-32836-7398@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from artem at bizlink dot ru 2007-07-20 11:27 -------
To clarify:
this is a buffer overflow, catched by the GCJ SIGSEGV handler.
GCJ then tries to build a strack trace, but stack is obviously broken.
Still, it's not pretty that GCJ goes into an infinite loop via SIGSEGV handler,
and then into stack overflow, so I think it would be good if that infinite loop
condition can be detected somehow (for example, by traversing the intact part
of the stack trace we can easily see that we are already invoked from the
SIGSEGV handler twice or more!).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32836