[Bug 772] New: JamVM + jtreg LocalOnlyTest sends SIGQUIT to all processes on exit

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Aug 10 04:48:35 PDT 2011


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=772

           Summary: JamVM + jtreg  LocalOnlyTest sends SIGQUIT to all
                    processes on exit
           Product: IcedTea
           Version: unspecified
          Platform: all
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: JamVM
        AssignedTo: xerxes at zafena.se
        ReportedBy: xerxes at zafena.se
                CC: unassigned at icedtea.classpath.org


Created an attachment (id=557)
 --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=557)
jamvm_jmm_GetLongAttribute_201_PID.patch

Problem:
When JamVM are used to run check-jdk then a SIGQUIT are sent to all processes
when the openjdk/jdk/test/sun/management/jmxremote/bootstrap/LocalOnlyTest.java
test exit.

Output from the test are:
jmm_GetLongAttribute: Unknown attribute 201
name = -1 at hp
vmid = -1

The problematic part of the test code are:
        VirtualMachine vm = VirtualMachine.attach(vmid);

Here vmid are set to "-1" instead of the JVM PID while performing the test
using JamVM.

The attached patch fixes this bug by patching JamVM to implement the
jmm_GetLongAttribute: Unknown attribute 201 and return its PID when requested.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the distro-pkg-dev mailing list