TtyStream - java.io.IOException: reader closed
Created by: sajid-verveba
TtyStream giving error for reader as closed, where it didn't opened before -
Please check below log -
09-29 14:47:48.011 28468-28468/com.SecUpwN.AIMSICD D/Injector: Injection of AtCommandFragment{42593608 #1 id=0x7f0d007f} took 32ms
09-29 14:47:48.031 28468-28468/com.SecUpwN.AIMSICD I/dalvikvm: Could not find method android.widget.Spinner.getPopupContext, referenced from method android.support.v7.widget.AppCompatSpinner.getPopupContext
09-29 14:47:48.031 28468-28468/com.SecUpwN.AIMSICD W/dalvikvm: VFY: unable to resolve virtual method 18127: Landroid/widget/Spinner;.getPopupContext ()Landroid/content/Context;
09-29 14:47:48.031 28468-28468/com.SecUpwN.AIMSICD D/dalvikvm: VFY: replacing opcode 0x6f at 0x000b
09-29 14:47:48.051 28468-28468/com.SecUpwN.AIMSICD D/dalvikvm: GC_FOR_ALLOC freed 412K, 3% free 17666K/18164K, paused 19ms, total 19ms
09-29 14:47:48.051 28468-28468/com.SecUpwN.AIMSICD I/dalvikvm-heap: Grow heap (frag case) to 17.354MB for 73744-byte allocation
09-29 14:47:48.071 28468-28477/com.SecUpwN.AIMSICD D/dalvikvm: GC_FOR_ALLOC freed 60K, 4% free 17677K/18240K, paused 17ms, total 17ms
09-29 14:47:48.081 28468-28468/com.SecUpwN.AIMSICD E/dalvikvm: Could not find class 'android.widget.ThemedSpinnerAdapter', referenced from method android.support.v7.widget.AppCompatSpinner$DropDownAdapter.<init>
09-29 14:47:48.081 28468-28468/com.SecUpwN.AIMSICD W/dalvikvm: VFY: unable to resolve instanceof 2137 (Landroid/widget/ThemedSpinnerAdapter;) in Landroid/support/v7/widget/AppCompatSpinner$DropDownAdapter;
09-29 14:47:48.081 28468-28468/com.SecUpwN.AIMSICD D/dalvikvm: VFY: replacing opcode 0x20 at 0x0016
09-29 14:47:48.151 28468-28468/com.SecUpwN.AIMSICD D/dalvikvm: GC_FOR_ALLOC freed 35K, 3% free 17734K/18240K, paused 23ms, total 23ms
09-29 14:47:48.181 28468-28468/com.SecUpwN.AIMSICD D/dalvikvm: GC_FOR_ALLOC freed 1K, 3% free 17765K/18272K, paused 22ms, total 22ms
09-29 14:47:48.201 28468-28468/com.SecUpwN.AIMSICD W/AtCommandFragment: length=0; index=3
09-29 14:48:15.881 28468-28468/com.SecUpwN.AIMSICD I/LocationTracker: Last known location (18.512°, 73.77108°) = (0.3230953511291903 rad, 1.2875482387521384 rad)
09-29 14:48:17.371 28468-28492/com.SecUpwN.AIMSICD D/dalvikvm: GC_FOR_ALLOC freed 211K, 2% free 17971K/18312K, paused 12ms, total 12ms
09-29 14:48:17.401 28468-28468/com.SecUpwN.AIMSICD I/RealmHelper: BTS updated: CID=17323 LAC=160
09-29 14:48:17.421 28468-28468/com.SecUpwN.AIMSICD I/RealmHelper: DBi_measure updated bts_id=17323
09-29 14:48:19.031 28468-28468/com.SecUpwN.AIMSICD I/AtCommandFragment: AT Command Detected: AT\r\n
09-29 14:48:19.031 28468-28468/com.SecUpwN.AIMSICD D/AtCommandFragment: ExecuteAT: attempting to send: AT\r\n
09-29 14:48:19.091 28468-28468/com.SecUpwN.AIMSICD D/AtCommandTerminal: mReadProc=Process[pid=29246], mWriteProc=Process[pid=29250]
**09-29 14:48:19.331 28468-29254/com.SecUpwN.AIMSICD E/AtCommandTerminal: Input IOException
java.io.IOException: reader closed
at com.secupwn.aimsicd.utils.atcmd.TtyStream$IoRunnable.run(TtyStream.java:103)
at java.lang.Thread.run(Thread.java:841)**
09-29 14:48:19.611 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Ignored signal sample for CID: 17323 due to device movement. Waiting for 26257 ms.
09-29 14:48:19.611 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Ignored signal sample for CID: 17323 due to device movement. Waiting for 26256 ms.
09-29 14:48:21.851 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Ignored signal sample for CID: 17323 due to device movement. Waiting for 24015 ms.
09-29 14:48:21.851 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Ignored signal sample for CID: 17323 due to device movement. Waiting for 24013 ms.
09-29 14:48:35.991 28468-28468/com.SecUpwN.AIMSICD I/LocationTracker: Last known location (18.512°, 73.77108°) = (0.3230953511291903 rad, 1.2875482387521384 rad)
09-29 14:48:37.361 28468-28468/com.SecUpwN.AIMSICD I/RealmHelper: BTS updated: CID=17323 LAC=160
09-29 14:48:37.371 28468-28468/com.SecUpwN.AIMSICD I/RealmHelper: DBi_measure updated bts_id=17323
09-29 14:49:00.351 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Ignored signal sample for CID: 17323 due to device movement. Waiting for 5632 ms.
09-29 14:49:25.631 28468-28468/com.SecUpwN.AIMSICD I/CellTracker: CheckForNeighborCount()
09-29 14:49:25.641 28468-28468/com.SecUpwN.AIMSICD D/CellTracker: NeighboringCellInfo size: 4
09-29 14:49:25.761 28468-28468/com.SecUpwN.AIMSICD V/RealmHelper: LAC checked - no change on CID:17322 LAC(API): 160 LAC(DBi): 160
09-29 14:49:28.571 28468-28468/com.SecUpwN.AIMSICD I/SignalStrengthTracker: Scheduling signal strength calculation from CID: 17322 @ 24 dBm. Last registration was 117882ms ago.
09-29 14:50:07.991 28468-28468/com.SecUpwN.AIMSICD I/CellTracker: CheckForNeighborCount()
09-29 14:50:08.001 28468-28468/com.SecUpwN.AIMSICD D/CellTracker: NeighboringCellInfo size: 4