Opened 18 months ago

Closed 3 weeks ago

#2077 closed defect (fixed)

Android: Random shut down

Reported by: zzz Owned by: meeh
Priority: minor Milestone: 0.9.40
Component: apps/android Version: 0.9.32
Keywords: Cc:
Parent Tickets:

Subtickets

#2091: IllegalStateException in DHSessionKeyBuilder precalc threaddefectclosedzzz

Change History (6)

comment:1 Changed 18 months ago by zzz

Add a subticket #2091.

comment:2 Changed 18 months ago by zzz

see #2091 for stack trace

comment:3 Changed 14 months ago by meeh

  • Milestone changed from 0.9.33 to 0.9.34
  • Owner changed from str4d to meeh
  • Status changed from new to assigned

comment:4 Changed 3 weeks ago by zzz

  • Milestone changed from 0.9.34 to 0.9.41

still happening in 0.9.39

comment:5 Changed 3 weeks ago by zzz

In 0.9.39:

java.lang.IllegalStateException: 
  at gnu.crypto.prng.BasePRNGStandalone.nextBytes (BasePRNGStandalone.java:127)
  at gnu.crypto.prng.BasePRNGStandalone.nextBytes (BasePRNGStandalone.java:110)
  at net.i2p.util.FortunaRandomSource.nextBytes (FortunaRandomSource.java:174)
  at net.i2p.router.transport.crypto.X25519KeyFactory.precalc (X25519KeyFactory.java:133)
  at net.i2p.router.transport.crypto.X25519KeyFactory.run (X25519KeyFactory.java:93)

comment:6 Changed 3 weeks ago by zzz

  • Milestone changed from 0.9.41 to 0.9.40
  • Resolution set to fixed
  • Status changed from assigned to closed

Thread is interrupted but Android can be slow and it isn't stopped until after PRNG stops. Ignore ISE when this happens.

In c88b4076c5928a0e87d073abc0c0c94a341c921e 0.9.39-12-rc

Note: See TracTickets for help on using tickets.