android java.util.concurrent.TimeoutException #29

Open
opened 2025-04-21 14:44:49 -04:00 by idk · 4 comments
Owner

Opened 23 months ago

Last modified 23 months ago

#2554newdefect

android java.util.concurrent.TimeoutException

Reported by:MeehOwned by:Meeh
Priority:
minor
Milestone:
undecided
Component:
apps/android
Version:
0.9.40
Keywords:

Cc:

Parent Tickets:

Sensitive:
no

Description

Samsung Galaxy Note 10.1 (p4notelte), Android 4.4

java.util.concurrent.TimeoutException:
at java.io.FileInputStream.close (FileInputStream.java:125)
at java.io.FileInputStream.finalize (FileInputStream.java:142)
at java.lang.Daemons$FinalizerDaemon.doFinalize (Daemons.java:187)
at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:170)
at java.lang.Thread.run (Thread.java:841)

Subtickets

Opened [23 months ago](/timeline?from=2019-06-18T19%3A28%3A03Z&precision=second "See timeline at Jun 18, 2019 7:28:03 PM") Last modified [23 months ago](/timeline?from=2019-06-19T12%3A17%3A14Z&precision=second "See timeline at Jun 19, 2019 12:17:14 PM") ## [\#2554](/ticket/2554)[new](/query?status=new)[defect](/query?status=!closed&type=defect) # android java.util.concurrent.TimeoutException Reported by:[Meeh](/query?status=!closed&reporter=meeh)Owned by:[Meeh](/query?status=!closed&owner=meeh) Priority: [minor](/query?status=!closed&priority=minor) Milestone: [undecided](/milestone/undecided "No date set") Component: [apps/android](/query?status=!closed&component=apps%2Fandroid) Version: [0.9.40](/query?status=!closed&version=0.9.40) Keywords: Cc: Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description Samsung Galaxy Note 10.1 (p4notelte), Android 4.4 ``` java.util.concurrent.TimeoutException: at java.io.FileInputStream.close (FileInputStream.java:125) at java.io.FileInputStream.finalize (FileInputStream.java:142) at java.lang.Daemons$FinalizerDaemon.doFinalize (Daemons.java:187) at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:170) at java.lang.Thread.run (Thread.java:841) ``` ### Subtickets
idk added this to the undecided milestone 2025-04-21 14:44:49 -04:00
idk added the #2554apps.androidundecided labels 2025-04-21 14:44:49 -04:00
Author
Owner

comment:4 Changed 23 months ago by zzz

We reviewed similar errors and that same SO post before the .40 release. IIRC it's a 'synthetic' exception, not really thrown. In this case, it's from a FileInputStream? finalizer, so there's a chance that we're leaking the stream, but it may not be us. I've looked through all uses of FileInputStream? in our code and don't see any leak though.

[comment:4](https://trac.i2p2.de/\#comment:4) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-19T12%3A17%3A14Z&precision=second "See timeline at Jun 19, 2019 12:17:14 PM") by zzz We reviewed similar errors and that same SO post before the .40 release. IIRC it's a 'synthetic' exception, not really thrown. In this case, it's from a FileInputStream? finalizer, so there's a chance that we're leaking the stream, but it may not be us. I've looked through all uses of FileInputStream? in our code and don't see any leak though.
Author
Owner
[comment:3](https://trac.i2p2.de/\#comment:3) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-19T00%3A46%3A55Z&precision=second "See timeline at Jun 19, 2019 12:46:55 AM") by idk Might be related to this? [​https://stackoverflow.com/questions/24021609/how-to-handle-java-util-concurrent-timeoutexception-android-os-binderproxy-fin](https://trac.i2p2.de/https://stackoverflow.com/questions/24021609/how-to-handle-java-util-concurrent-timeoutexception-android-os-binderproxy-fin)
Author
Owner

comment:2 Changed 23 months ago by Meeh

that was Xiaomi MI 6X (wayne), Android 9.

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-18T19%3A29%3A42Z&precision=second "See timeline at Jun 18, 2019 7:29:42 PM") by Meeh that was Xiaomi MI 6X (wayne), Android 9.
Author
Owner

comment:1 Changed 23 months ago by Meeh

Google for some reason shows it as two different crashes. But I can't see any difference.

java.util.concurrent.TimeoutException:
at com.android.internal.os.BinderInternal$GcWatcher.finalize (BinderInternal.java:62)
at java.lang.Daemons$FinalizerDaemon.doFinalize (Daemons.java:250)
at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:237)
at java.lang.Daemons$Daemon.run (Daemons.java:103)
at java.lang.Thread.run (Thread.java:764)

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-18T19%3A29%3A23Z&precision=second "See timeline at Jun 18, 2019 7:29:23 PM") by Meeh Google for some reason shows it as two different crashes. But I can't see any difference. ``` java.util.concurrent.TimeoutException: at com.android.internal.os.BinderInternal$GcWatcher.finalize (BinderInternal.java:62) at java.lang.Daemons$FinalizerDaemon.doFinalize (Daemons.java:250) at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:237) at java.lang.Daemons$Daemon.run (Daemons.java:103) at java.lang.Thread.run (Thread.java:764) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.android.base#29
No description provided.