src/os_cpu/linux_x86/vm/os_linux_x86.cpp

changeset 4710
9058789475af
parent 4528
12285410684f
child 4763
9ef47379df20
     1.1 --- a/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Tue Mar 05 08:50:59 2013 +0100
     1.2 +++ b/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Tue Mar 05 13:55:56 2013 -0800
     1.3 @@ -305,6 +305,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