Debian Bug report logs - #532538
openjdk-6-dbg: The java binaries should not have the debugging symbols stripped.

version graph

Package: openjdk-6-dbg; Maintainer for openjdk-6-dbg is OpenJDK Team <openjdk@lists.launchpad.net>; Source for openjdk-6-dbg is src:openjdk-6.

Reported by: Erik Lattimore <elatt@hotmail.com>

Date: Tue, 9 Jun 2009 22:36:01 UTC

Severity: important

Found in version 6b11-9.1+lenny2

Fixed in version 6b17-1

Done: Matthias Klose <doko@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#532538; Package openjdk-6-dbg. (Tue, 09 Jun 2009 22:36:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Erik Lattimore <elatt@hotmail.com>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Tue, 09 Jun 2009 22:36:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Erik Lattimore <elatt@hotmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openjdk-6-dbg: The java binaries should not have the debugging symbols stripped.
Date: Tue, 09 Jun 2009 18:32:50 -0400
Package: openjdk-6-dbg
Version: 6b11-9.1+lenny2
Severity: important

Useful tools such as jinfo don't work correctly when the debugging
symbols are stripped:
  $ jinfo 1473
         Attaching to process ID 1473, please wait...
         sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffse
         (libjvm.so, libjvm_g.so, gamma_g)
                 at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
                 at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
                 at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
                 at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
                 at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:568)
                 at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
                 at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
                 at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
                 at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 at java.lang.reflect.Method.invoke(Method.java:616)
                 at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
                 at sun.tools.jinfo.JInfo.main(JInfo.java:71)
         Debugger attached successfully.
         jinfo requires a java VM process/core!

Installing the -dbg package doesn't help because the jinfo program
doesn't know how to use it.


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (1000, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages openjdk-6-dbg depends on:
ii  dpkg                     1.14.25         Debian package management system
ii  openjdk-6-jre-headless   6b11-9.1+lenny2 OpenJDK Java runtime, using Hotspo

Versions of packages openjdk-6-dbg recommends:
ii  openjdk-6-jre            6b11-9.1+lenny2 OpenJDK Java runtime, using Hotspo

Versions of packages openjdk-6-dbg suggests:
ii  openjdk-6-jdk            6b11-9.1+lenny2 OpenJDK Development Kit (JDK)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#532538; Package openjdk-6-dbg. (Mon, 23 Nov 2009 22:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Erik Lattimore <elatt@permabit.com>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Mon, 23 Nov 2009 22:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 532538@bugs.debian.org (full text, mbox):

From: Erik Lattimore <elatt@permabit.com>
To: 532538@bugs.debian.org
Date: Mon, 23 Nov 2009 17:28:43 -0500
A little more digging into this issue, it seems that running strip --strip-unneeded on libjvm.so is too aggressive and removes all the symbols in that binary.  --strip-debug seems to retain the necessary symbols yet still maintain a reasonable filesize.  jinfo and jmap are very useful tools for debugging java issues and I think it's broken to ship a jre package that breaks their functionality (i.e. the sun java packages do not have this issue).
--Erik




Reply sent to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility. (Sun, 10 Jan 2010 11:42:19 GMT) Full text and rfc822 format available.

Notification sent to Erik Lattimore <elatt@hotmail.com>:
Bug acknowledged by developer. (Sun, 10 Jan 2010 11:42:19 GMT) Full text and rfc822 format available.

Message #15 received at 532538-done@bugs.debian.org (full text, mbox):

From: Matthias Klose <doko@ubuntu.com>
To: 532538-done@bugs.debian.org
Subject: Re: openjdk-6-dbg: The java binaries should not have the debugging symbols stripped
Date: Sun, 10 Jan 2010 12:41:20 +0100
Version: 6b17-1

fixed in 6b17-1




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 08 Feb 2010 07:31:30 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 11:20:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.