This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/32836] infinite loop (SIGSEGV) in java::lang::Throwable::fillInStackTrace



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]