Bug 1609714 - (gdb) terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
Summary: (gdb) terminate called after throwing an instance of 'gdb_exception_RETURN_MA...
Keywords:
Status: CLOSED DUPLICATE of bug 1609504
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Durigan Junior
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-30 08:47 UTC by Severin Gehwolf
Modified: 2018-07-30 17:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-30 17:47:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Severin Gehwolf 2018-07-30 08:47:16 UTC
Description of problem:
GDB in rawhide fails with gdb_exception_RETURN_MASK_ERROR when debugging OpenJDK

Version-Release number of selected component (if applicable):
gdb-8.1.90.20180727-37.fc29.x86_64

How reproducible:
100%

Steps to Reproduce:
$ mock -r fedora-rawhide-x86_64 --init
$ mock -r fedora-rawhide-x86_64 --install java-1.8.0-openjdk gdb
(install debuginfo files for java-1.8.0-openjdk packages)
$ mock -r fedora-rawhide-x86_64 --shell
<mock-chroot> sh-4.4# cat gdb_bt.txt 
handle SIGSEGV pass nostop noprint
handle SIGILL pass nostop noprint
set breakpoint pending on
break javaCalls.cpp:58
commands 1
backtrace
quit
end
run -version
<mock-chroot> sh-4.4# gdb -x gdb_bt.txt /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc29.x86_64/jre/bin/java

Actual results:
GNU gdb (GDB) Fedora 8.1.90.20180727-37.fc29
Copyright (C) 2018 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc29.x86_64/jre/bin/java...Reading symbols from /usr/lib/debug/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc29.x86_64/jre/bin/java-1.8.0.181-7.b13.fc29.x86_64.debug...done.
done.
terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
Aborted (core dumped)

Expected results:
Showing backtrace of javaCalls call.

Additional info:
Last worked with 8.1.90.20180724-36.fc29. Originally discovered via koshei:
https://koji.fedoraproject.org/koji/taskinfo?taskID=28691471

Comment 1 Jan Kratochvil 2018-07-30 17:47:15 UTC

*** This bug has been marked as a duplicate of bug 1609504 ***


Note You need to log in before you can comment on or make changes to this bug.