-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
8u301
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
CentOS 7 / Alios
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.1.alios7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
A DESCRIPTION OF THE PROBLEM :
`gdb java` and running arbitrary commands like `r -version` causes crash
```
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.1.alios7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/java/jdk1.8.0_301-amd64/bin/java...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install jdk1.8-1.8.0_301-fcs.x86_64
(gdb) r -version
Starting program: /usr/bin/java -version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff7fe1700 (LWP 22602)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fe1700 (LWP 22602)]
0x00007fffe10002b4 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.22-3.fc23.x86_64
(gdb) bt
#0 0x00007fffe10002b4 in ?? ()
#1 0x0000000000000246 in ?? ()
#2 0x00007fffe1000160 in ?? ()
#3 0x00007ffff73e0b7c in Abstract_VM_Version::_reserve_for_allocation_prefetch ()
from /usr/java/jdk1.8.0_301-amd64/jre/lib/amd64/server/libjvm.so
#4 0x00007ffff7fe0a50 in ?? ()
#5 0x00007ffff6ed5534 in VM_Version::get_processor_features() ()
from /usr/java/jdk1.8.0_301-amd64/jre/lib/amd64/server/libjvm.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
```
FREQUENCY : always
CentOS 7 / Alios
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.1.alios7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
A DESCRIPTION OF THE PROBLEM :
`gdb java` and running arbitrary commands like `r -version` causes crash
```
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.1.alios7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/java/jdk1.8.0_301-amd64/bin/java...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install jdk1.8-1.8.0_301-fcs.x86_64
(gdb) r -version
Starting program: /usr/bin/java -version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff7fe1700 (LWP 22602)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fe1700 (LWP 22602)]
0x00007fffe10002b4 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.22-3.fc23.x86_64
(gdb) bt
#0 0x00007fffe10002b4 in ?? ()
#1 0x0000000000000246 in ?? ()
#2 0x00007fffe1000160 in ?? ()
#3 0x00007ffff73e0b7c in Abstract_VM_Version::_reserve_for_allocation_prefetch ()
from /usr/java/jdk1.8.0_301-amd64/jre/lib/amd64/server/libjvm.so
#4 0x00007ffff7fe0a50 in ?? ()
#5 0x00007ffff6ed5534 in VM_Version::get_processor_features() ()
from /usr/java/jdk1.8.0_301-amd64/jre/lib/amd64/server/libjvm.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
```
FREQUENCY : always