Opened 21 months ago

Closed 4 months 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: Sensitive: no

Subtickets

#2091: IllegalStateException in DHSessionKeyBuilder precalc threadclosedzzz

Change History (6)

comment:1 Changed 21 months ago by zzz

Add a subticket #2091.

comment:2 Changed 21 months ago by zzz

see #2091 for stack trace

comment:3 Changed 17 months ago by Meeh

Milestone: 0.9.330.9.34
Owner: changed from str4d to Meeh
Status: newassigned

comment:4 Changed 4 months ago by zzz

Milestone: 0.9.340.9.41

still happening in 0.9.39

comment:5 Changed 4 months 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 4 months ago by zzz

Milestone: 0.9.410.9.40
Resolution: fixed
Status: assignedclosed

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.