Merge ~vpa1977/ubuntu/+source/openjdk-20:03_security_release_debug into ubuntu/+source/openjdk-20:ubuntu/devel
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | ef884eda32e39c4e1e7100307aff68cf969e7efc | ||||||||
Proposed branch: | ~vpa1977/ubuntu/+source/openjdk-20:03_security_release_debug | ||||||||
Merge into: | ubuntu/+source/openjdk-20:ubuntu/devel | ||||||||
Prerequisite: | ~vpa1977/ubuntu/+source/openjdk-20:02_security_release_update_watch | ||||||||
Diff against target: |
119 lines (+47/-32) 3 files modified
debian/JB-jre.overrides.in (+4/-0) debian/changelog (+2/-0) debian/rules (+41/-32) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Inggs | Pending | ||
Matthias Klose | Pending | ||
git-ubuntu import | Pending | ||
Review via email: mp+442098@code.staging.launchpad.net |
Description of the change
Please do not merge, this merge proposal is a part in the series [1][2][3][4]:
Summary of changes:
- backport openjdk-17 debug symbols/exports fix
PPA: ppa:vpa1977/
Testing:
- it is possible to debug openjdk with and without symbols
- NMT shows allocation locations
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Debug without symbols: ------- ------cut- ------- ------- ------- - gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
-------
gdb java
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from java...
This GDB supports auto-downloading debuginfo from the following URLs: /debuginfod. ubuntu. com> 64-linux- gnu/libthread_ db.so.1" .
<https:/
Enable debuginfod for this session? (y or [n])
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in java)
(gdb) break JNI_CreateJavaVM
Function "JNI_CreateJavaVM" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (JNI_CreateJavaVM) pending.
(gdb) run -cp . infinite
Starting program: /usr/bin/java -cp . infinite
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff7bff6c0 (LWP 7644)]
[Switching to Thread 0x7ffff7bff6c0 (LWP 7644)]
Thread 2 "java" hit Breakpoint 1, 0x00007ffff6f8cdd0 in JNI_CreateJavaVM () jvm/java- 20-openjdk- amd64/lib/ server/ libjvm. so jvm/java- 20-openjdk- amd64/lib/ server/ libjvm. so jvm/java- 20-openjdk- amd64/bin/ ../lib/ libjli. so jvm/java- 20-openjdk- amd64/bin/ ../lib/ libjli. so pthread_ create. c:444 unix/sysv/ linux/x86_ 64/clone3. S:81 ------- ----cut- ------- ------- ------- ------- ------- -
from /usr/lib/
(gdb) where
#0 0x00007ffff6f8cdd0 in JNI_CreateJavaVM ()
from /usr/lib/
#1 0x00007ffff7fb2d93 in JavaMain ()
from /usr/lib/
#2 0x00007ffff7fb709d in ThreadJavaMain ()
from /usr/lib/
#3 0x00007ffff7c8f18a in start_thread (arg=<optimized out>)
at ./nptl/
#4 0x00007ffff7d1dbd0 in clone3 ()
at ../sysdeps/
(gdb) info local
No symbol table info available.
(gdb)
-------