public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/27908]  New: VMSecureRandom generateSeed infinite loop? (Regression)
@ 2006-06-06  4:11 r_ovidius at eml dot cc
  2006-06-06  4:34 ` [Bug libgcj/27908] " pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: r_ovidius at eml dot cc @ 2006-06-06  4:11 UTC (permalink / raw)
  To: java-prs

gcc version 4.2.0 20060605 (experimental)

I'm trying to run jsch (jcraft.com) with the examples/PortForwardingR.java and
id_dsa identity.  It worked before the most recent classpath import (works in
gcj 20060420), but now it just results in an infinite loop and a pegged cpu.

My guess is that it spins forever in the SecureRandom call to
VMSecureRandom.generateSeed.  This class didn't exist in 20060420 but jsch
worked fine.

I'm not sure if it is classpath or bad code generation in gcj causing the
infinite loop.

This testcase pegs the cpu.  Works fine with Sun's java.
---
import java.security.*;
public class GR {
  public static void main(String[] a) {
    SecureRandom sr = new SecureRandom();
    byte[] ba = sr.getSeed(5);
    System.err.println(ba);
  } 
}


-- 
           Summary: VMSecureRandom generateSeed infinite loop? (Regression)
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: r_ovidius at eml dot cc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27908


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-09-04 18:01 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06  4:11 [Bug libgcj/27908] New: VMSecureRandom generateSeed infinite loop? (Regression) r_ovidius at eml dot cc
2006-06-06  4:34 ` [Bug libgcj/27908] " pinskia at gcc dot gnu dot org
2006-06-06  6:42 ` csm at gnu dot org
2006-06-06 20:07 ` csm at gnu dot org
2006-06-06 20:14 ` csm at gnu dot org
2006-06-06 20:21 ` r_ovidius at eml dot cc
2006-06-06 21:29 ` csm at gnu dot org
2006-06-06 21:30 ` csm at gnu dot org
2006-06-06 21:32 ` [Bug java/27908] " csm at gnu dot org
2006-06-07  0:08 ` csm at gnu dot org
2006-06-07  0:14 ` pinskia at gcc dot gnu dot org
2006-06-07  2:52 ` csm at gnu dot org
2006-06-07  3:16 ` r_ovidius at eml dot cc
2006-06-07  3:23 ` pinskia at gcc dot gnu dot org
2006-06-07  4:49 ` csm at gnu dot org
2006-06-13 12:44 ` aph at gcc dot gnu dot org
2006-06-19 17:38 ` aph at gcc dot gnu dot org
2007-09-04 14:00 ` aph at gcc dot gnu dot org
2007-09-04 17:55 ` aph at gcc dot gnu dot org
2007-09-04 17:58 ` aph at gcc dot gnu dot org
2007-09-04 18:01 ` aph at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).