← Back to team overview

openjdk team mailing list archive

[Bug 2016739] Re: No debugging symbols found when trying to debug openjdk

 

Seems to be caused by external debug symbols change LP: #2015835


** Also affects: openjdk-17 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: openjdk-lts (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2016739

Title:
  No debugging symbols found when trying to debug openjdk

Status in openjdk-17 package in Ubuntu:
  New
Status in openjdk-20 package in Ubuntu:
  New
Status in openjdk-lts package in Ubuntu:
  New

Bug description:
  When trying to debug openjdk-20 following error occurs:

  -------------------------cut------------------------------------
   gdb /usr/lib/jvm/java-20-openjdk-amd64/bin/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://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-linux-gnu".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  <https://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-20-openjdk-amd64/bin/java...
  Reading symbols from /usr/lib/debug/.build-id/d1/6b7825e5ce53f77f4e4010b488bd3cd430ab41.debug...
  (No debugging symbols found in /usr/lib/debug/.build-id/d1/6b7825e5ce53f77f4e4010b488bd3cd430ab41.debug)

  ---------------------------------------------------------------------

  trying to use .debuginfo symbols:

  ----------------------------cut----------------------------------------------

  bsp@lunar:~$ gdb /usr/lib/jvm/java-20-openjdk-amd64/bin/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://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-linux-gnu".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  <https://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-20-openjdk-amd64/bin/java...

  warning: the debug information found in "/usr/lib/debug//usr/lib/jvm/java-20-openjdk-amd64/bin/java.debuginfo" does not match "/usr/lib/jvm/java-20-openjdk-amd64/bin/java" (CRC mismatch).
  ----------------------------------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2016739/+subscriptions