Skip Menu |

This queue is for tickets about the Inline-Java CPAN distribution.

Report information
The Basics
Id: 37591
Status: resolved
Priority: 0/
Queue: Inline-Java

People
Owner: Nobody in particular
Requestors: dazjorz [...] dazjorz.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.52
Fixed in: 0.52_90



Subject: t/10_2_shared_start freezes on Ubuntu Hardy
On my Ubuntu Hardy system, t/10_2_shared_start freezes after test 1/3. I added a few diag's and attached the new file. Output of make test is as follows: # make test make[1]: Entering directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java' make[2]: Entering directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java/PerlNatives' make[2]: Leaving directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java/PerlNatives' make[2]: Entering directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java/PerlInterpreter' make[2]: Leaving directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java/PerlInterpreter' make[1]: Leaving directory `/root/.cpan/build/Inline-Java-0.52-cOjYnQ/Java' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_init.............. Perl version is 5.008008 Inline version is 0.44 Inline::Java version is 0.52 J2SDK version is 1.4.2_18, from /usr/java/j2sdk1.4.2_18/ CLASSPATH is <empty> t/01_init..............ok t/02_primitives........ok t/02_primitives_1_4....ok t/03_objects...........ok t/04_members...........ok t/05_arrays............ok t/06_static............ok t/07_polymorph.........ok t/08_study.............ok t/09_usages............ok t/10_1_shared_alone....ok t/10_2_shared_start....# 1 # 2 # 3 # 2 ok's t/10_2_shared_start....1/3 # (done) # 4 # 5
Subject: 10_2_shared_start.t
package t10 ; use strict ; use Test ; BEGIN { # Leave previous server enough time to die... sleep(1) ; require Inline::Java::Portable ; if ($ENV{PERL_INLINE_JAVA_JNI}){ plan(tests => 0) ; exit ; } elsif (! Inline::Java::Portable::portable("DETACH_OK")){ plan(tests => 0) ; exit ; } else{ plan(tests => 3) ; } } warn "# 1\n"; use Inline Config => DIRECTORY => './_Inline_test' ; warn "# 2\n"; use Inline ( Java => 't/shared.java', SHARED_JVM => 1, PORT => 17891, NAME => 't10', ) ; warn "# 3\n"; my $t = new t10::t10() ; { warn "# 2 ok's\n"; ok($t->{i}++, 5); ok(! Inline::Java::i_am_JVM_owner()); warn "# (done)\n"; } warn "# 4\n"; ok($t->__get_private()->{proto}->ObjectCount(), 1) ; warn "# 5\n";
I'm getting the same results on an ubuntu 9.10 box using OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) On Thu Jul 10 10:50:15 2008, DAZJORZ wrote: Show quoted text
> On my Ubuntu Hardy system, t/10_2_shared_start freezes after test 1/3. I
Subject: Re: [rt.cpan.org #37591] t/10_2_shared_start freezes on Ubuntu Hardy
Date: Thu, 18 Mar 2010 12:46:32 -0400
To: bug-Inline-Java [...] rt.cpan.org
From: Patrick LeBoutillier <patrick.leboutillier [...] gmail.com>
This test script starts a process that is reused by the 2 following tests scripts. Last time I checked, the freeze is due to some versions of Test::Harness (I thnk) that do not allow processes to outlive the test scripts. I should probably regroup these tests in the same file to solve theses issues. Patrick On Thu, Mar 18, 2010 at 12:39 PM, Nathanael Anderson via RT <bug-Inline-Java@rt.cpan.org> wrote: Show quoted text
>       Queue: Inline-Java >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=37591 > > > I'm getting the same results on an ubuntu 9.10 box using > > OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1) > OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) > > On Thu Jul 10 10:50:15 2008, DAZJORZ wrote:
>> On my Ubuntu Hardy system, t/10_2_shared_start freezes after test 1/3. I
> > >
-- ===================== Patrick LeBoutillier Rosemère, Québec, Canada
The same here, for Ubuntu 10.04. However, the newest developer release 0.52_90 doesn't hang and tests pass.
On Mon Aug 30 08:13:57 2010, PWES wrote: Show quoted text
> The same here, for Ubuntu 10.04. However, the newest developer release > 0.52_90 doesn't hang and tests pass.
Thanks for the update! I will close this ticket but if you see new problems, please reopen it.