octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55395] Java tests messes up the stack limits,


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55395] Java tests messes up the stack limits, causes failure of sparse/bicgstab.m
Date: Sat, 5 Jan 2019 20:36:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #11, bug #55395 (project octave):

Currently testing for this bug with Octave 4.4.1:


>> version
ans = 4.4.1
>> version -hgid
ans = 1f46d371968c
>> version -java
ans = Java 11.0.1+13-Debian-3 with Oracle Corporation OpenJDK 64-Bit Server VM
mixed mode, sharing


I do get stopped on a breakpoint set at
'JavaThread::create_stack_guard_pages', three times in the interpreter thread
if I keep continuing execution, plus multiple times in several other spawned
threads. Here is the top of the call stack of the first instance in the
interpreter thread when loading Java the first time:


#0  0x00007fa35ab87f90 in JavaThread::create_stack_guard_pages()
(this=0x7fa354653000)
    at ./src/hotspot/os/linux/os_linux.inline.hpp:47
#1  0x00007fa35ab883d3 in Threads::create_vm(JavaVMInitArgs*, bool*)
    (address@hidden,
address@hidden)
    at ./src/hotspot/share/runtime/thread.cpp:3703
#2  0x00007fa35a733441 in JNI_CreateJavaVM_inner
(address@hidden, penv=0x7fa370a9a6e0, 
    address@hidden, address@hidden <jvm>) at
./src/hotspot/share/prims/jni.cpp:3945
#3  0x00007fa35a733441 in JNI_CreateJavaVM(JavaVM**, void**, void*)
    (address@hidden <jvm>, address@hidden,
address@hidden)
    at ./src/hotspot/share/prims/jni.cpp:4036
#4  0x00007fa394ecdea8 in initialize_jvm() () at
../libinterp/octave-value/ov-java.cc:230
#5  0x00007fa394ece5ab in initialize_java() () at
../libinterp/octave-value/ov-java.cc:1876


The stack space in /proc/N/maps remains 140 kB on my system:


$ grep -C2 stack /proc/$(pgrep octave-gui)/maps
7fa395aff000-7fa395b00000 rw-p 00027000 fe:01 6824752                   
/usr/lib/x86_64-linux-gnu/ld-2.28.so
7fa395b00000-7fa395b01000 rw-p 00000000 00:00 0 
7ffce506c000-7ffce508e000 rw-p 00000000 00:00 0                         
[stack]
7ffce5130000-7ffce5133000 r--p 00000000 00:00 0                         
[vvar]
7ffce5133000-7ffce5135000 r-xp 00000000 00:00 0                         
[vdso]


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55395>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]