[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52061] Memory issue whenever Java JVM is used
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #52061] Memory issue whenever Java JVM is used |
Date: |
Sun, 8 Oct 2017 20:38:56 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 |
Follow-up Comment #19, bug #52061 (project octave):
I resurected some old (Core 2 duo) laptop and it also does NOT
crash. So it looks like the newish CPUs are causing the problem.
On i7 I compiled a minimal version
../configure JAVA_HOME=/usr/lib/jvm/java-9 CFLAGS="-ggdb3 -O0 -pipe"
CXXFLAGS="-ggdb3 -O0 -pipe" FFLAGS="-ggdb3 -O0 -pipe"
--enable-address-sanitizer-flags --without-qt --without-fltk --without-opengl
--without-osmesa --disable-docs
so I do not need top bother with LD_PRELOAD=libasan.so
(which seems to be changing things a little).
Then running under gdb I get:
octave:1> __java_init__
Program received signal SIGSEGV, Segmentation fault.
0x00007fffbbdcf4f3 in ?? ()
Missing separate debuginfos,
<...deleted...>
(gdb) bt
#0 0x00007fffbbdcf4f3 in ?? ()
#1 0x0000000000000246 in ?? ()
#2 0x00007fffbbdcf280 in ?? ()
#3 0x00007fffd5e8cee0 in Abstract_VM_Version::_vm_major_version ()
from
/usr/lib/jvm/java-9-openjdk-9.0.0.181-1.fc27.x86_64/lib/server/libjvm.so
#4 0x00007fffffffa000 in ?? ()
#5 0x00007fffd5954728 in VM_Version::get_processor_features ()
at
/usr/src/debug/java-9-openjdk-9.0.0.181-1.fc27.x86_64/openjdk/hotspot/src/cpu/x86/vm/vm_version_x86.cpp:530
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
vm_version_x86.cpp:530 is:
get_cpu_info_stub(&_cpuid_info);
The file is attached.
Dmitri.
--
(file #42098)
_______________________________________________________
Additional Item Attachment:
File name: vm_version_x86.cpp Size:46 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52061>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/