src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp

changeset 4710
9058789475af
parent 4325
d2f8c38e543d
child 4993
746b070f5022
     1.1 --- a/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Tue Mar 05 08:50:59 2013 +0100
     1.2 +++ b/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Tue Mar 05 13:55:56 2013 -0800
     1.3 @@ -410,6 +410,11 @@
     1.4        // to handle_unexpected_exception way down below.
     1.5        thread->disable_stack_red_zone();
     1.6        tty->print_raw_cr("An irrecoverable stack overflow has occurred.");
     1.7 +
     1.8 +      // This is a likely cause, but hard to verify. Let's just print
     1.9 +      // it as a hint.
    1.10 +      tty->print_raw_cr("Please check if any of your loaded .so files has "
    1.11 +                        "enabled executable stack (see man page execstack(8))");
    1.12      } else {
    1.13        // Accessing stack address below sp may cause SEGV if current
    1.14        // thread has MAP_GROWSDOWN stack. This should only happen when

mercurial