Autore Topic: Fatal error nel thread di ricezione  (Letto 503 volte)

Offline davix10

  • Utente normale
  • ***
  • Post: 159
  • Respect: 0
    • Mostra profilo
  • Dispositivo Android:
    Lg G4
  • Play Store ID:
    davix10
  • Sistema operativo:
    Windows 10
Fatal error nel thread di ricezione
« il: 19 Gennaio 2016, 09:07:08 CET »
0
Ciao a tutti, ho un problema riguardante il mio thread di ricezione del bluetooth. Il thread aspetta una connessione bluetooth (perchè uso il dispositivo come server) e, dopo aver accettato la connessione, aspetta dei dati nel buffer di ricezione. Dopodichè questi dati vengono convertiti e plottati su di un grafico.
Il mio problema è che su alcuni dispositivi ricevo un fatal error e l'app crasha dopo un paio di secondi.

Codice (Java): [Seleziona]
public void run() {
            bb = ByteBuffer.allocate(2);
            String prova1 = "sync\n";
            byte[] send = prova1.getBytes();
            try {
                bt.getOutputStream().write(send);
            } catch (IOException e) {
                e.printStackTrace();
            }

            while (bt.isConnected() && ascolto == true) {

                try {
                    int byteDaLeggere = 8320;
                    byteLetti = 0;
                    int n = 0;
                    while (byteDaLeggere > 0) {
                        try {
                            n = bt.getInputStream().read(buffer, byteLetti, byteDaLeggere);
                            Log.d("buffer", String.valueOf(n));
                            Thread.sleep(1);
                        } catch (Exception e) {
                        }
                        byteLetti += n;
                        byteDaLeggere -= n;

                    }

                    start1 = (short) (buffer[0] | (buffer[1] & 0xFF) << 8);
                    start2 = (short) (buffer[2] | (buffer[3] & 0xFF) << 8);
                    if (start1 == -1 && start2 == 0) {
                        contaCh1 = 0;
                        contaCh2 = 0;
                        for (int aa = 0; aa < 32; aa++) {
                            for (int ii = 4 + (260 * aa); ii < 260 * (aa + 1); ii += 2) {
                                if (ii % 4 == 0) {
                                    bb.clear();
                                    bb.order(ByteOrder.BIG_ENDIAN);
                                    bb.put(buffer[ii]);
                                    bb.put(buffer[ii + 1]);
                                    Ch1 = bb.getShort(0);
                                    listaCH1[contaCh1] = (short) (Ch1 + (65536 / 2));
                                    // Salvataggio su file
                                    if (play == true)
                                        salvataggioCH1.add((short) (Ch1 + (65536 / 2)));
                                    contaCh1++;
                                } else {
                                    bb.clear();
                                    bb.order(ByteOrder.BIG_ENDIAN);
                                    bb.put(buffer[ii]);
                                    bb.put(buffer[ii + 1]);
                                    Ch2 = bb.getShort(0);
                                    listaCH2[contaCh2] = (short) (Ch2 + (65536 / 2));
                                    // Salvataggio su file
                                    if (play == true)
                                        salvataggioCH2.add((short) (Ch2 + (65536 / 2)));
                                    contaCh2++;
                                }
                            }
                        }
                        contaCh1 = 0;
                        contaCh2 = 0;
                        finito = false;
                        runOnUiThread(new Runnable() {
                            @Override
                            public void run() {
                                setData(listaCH1.length);
                                setData2(listaCH2.length);
                                finito = true;
                            }
                        });
                        while (finito == false) {
                        }
                        finito = false;
                        Thread.sleep(1);
                        Log.d("pacchetto", "piazzato");
                    } else {
                        Log.d("pacchetto", "perso");
                    }
                } catch (InterruptedException e) {
                    e.printStackTrace();
                    Log.d("str", "catch");
                }
            }
            Log.d("str", "esci");
        }



Grazie in anticipo! :)

Post unito: 19 Gennaio 2016, 09:07:23 CET
Questo è l'errore che ottengo:
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 3619638175 50011782 1169 ) utm=358 stm=3 core=2
01-19 09:11:39.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #5 threadid=13 (pcf=0)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 945227951 246683817 2366 ) utm=61 stm=33 core=0
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 4364109631 55539076 1227 ) utm=433 stm=3 core=1
01-19 09:11:40.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #6 threadid=13 (pcf=0)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 946181023 246746890 2376 ) utm=61 stm=33 core=3
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 5113739523 57947205 1293 ) utm=508 stm=3 core=1
01-19 09:11:41.296 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #7 threadid=13 (pcf=0)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 947245555 246746890 2386 ) utm=61 stm=33 core=0
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 5864460724 63010535 1352 ) utm=583 stm=3 core=1
01-19 09:11:42.046 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #8 threadid=13 (pcf=0)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 950352481 252980380 2398 ) utm=61 stm=34 core=0
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 6598121401 71531837 1418 ) utm=657 stm=3 core=1
01-19 09:11:42.796 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #9 threadid=13 (pcf=0)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 951194095 253115849 2408 ) utm=61 stm=34 core=3
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:43.546 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:43.556 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 7345924058 73723763 1475 ) utm=732 stm=3 core=1
01-19 09:11:43.556 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue W/dalvikvm: threadid=1: spin on suspend #10 threadid=13 (pcf=0)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 952319510 265828193 2420 ) utm=61 stm=34 core=0
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 8103130261 76518758 1540 ) utm=807 stm=3 core=1
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue E/dalvikvm: Fatal spin-on-suspend, dumping threads
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: DALVIK THREADS:
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: (mutexes: tll=1 tsl=1 tscl=0 ghl=1)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "main" prio=5 tid=1 RUNNABLE
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41742ea0 self=0x41731308
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7057 nice=-11 sched=0/0 cgrp=apps handle=1074434388
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 952970292 265828193 2420 ) utm=61 stm=34 core=0
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~75)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.StringBuilder.<init>(StringBuilder.java:54)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.setData2(MainActivity.java:1201)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity.access$300(MainActivity.java:82)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread$1.run(MainActivity.java:755)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.handleCallback(Handler.java:733)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:95)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.os.Looper.loop(Looper.java:157)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5377)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "hwuiTask2" prio=5 tid=11 NATIVE
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bf1a28 self=0x78627c48
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8119 nice=0 sched=0/0 cgrp=apps handle=2019712984
01-19 09:11:44.306 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 4034426 4428648 55 ) utm=0 stm=0 core=0
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 0000e749  /system/lib/libhwui.so
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0000e9ed  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 000518f1  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000e58f  /system/lib/libutils.so
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Thread-1819" prio=5 tid=13 RUNNABLE JIT
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42bff5e0 self=0x7989d758
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=8100 nice=0 sched=0/0 cgrp=apps handle=2039077808
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=R schedstat=( 8113131511 76518758 1540 ) utm=808 stm=3 core=1
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at com.example.torch.provabluetoothdue.MainActivity$ReadThread.run(MainActivity.java:~761)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "hwuiTask1" prio=5 tid=12 NATIVE
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x42483758 self=0x798159b0
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7120 nice=0 sched=0/0 cgrp=apps handle=2039862424
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 6927500 5536771 84 ) utm=0 stm=0 core=0
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 0000e749  /system/lib/libhwui.so
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0000e9ed  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 000518f1  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000e58f  /system/lib/libutils.so
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Binder_2" prio=5 tid=10 NATIVE
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x4242c410 self=0x7559d980
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7069 nice=0 sched=0/0 cgrp=apps handle=1968822072
01-19 09:11:44.316 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 1839790 3594845 22 ) utm=0 stm=0 core=2
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 0002074c  /system/lib/libc.so (__ioctl+8)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0002cfb3  /system/lib/libc.so (ioctl+14)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0001d3ed  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 0001daf7  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0001db8d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 000219e9  /system/lib/libbinder.so
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000ea5d  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 000518f1  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 0000e58f  /system/lib/libutils.so
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #09  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #10  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Binder_1" prio=5 tid=9 NATIVE
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="main" sCount=1 dsCount=0 obj=0x4242ac88 self=0x7559cda0
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7068 nice=0 sched=0/0 cgrp=apps handle=1968819032
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 3711299 1798075 30 ) utm=0 stm=0 core=0
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 0002074c  /system/lib/libc.so (__ioctl+8)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0002cfb3  /system/lib/libc.so (ioctl+14)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0001d3ed  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 0001daf7  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0001db8d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 000219e9  /system/lib/libbinder.so
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000ea5d  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 000518f1  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 0000e58f  /system/lib/libutils.so
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #09  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #10  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "FinalizerWatchdogDaemon" daemon prio=5 tid=8 SUSPENDED
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42427210 self=0x7559c2b0
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7067 nice=0 sched=0/0 cgrp=apps handle=1968817928
01-19 09:11:44.326 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 268540 742709 8 ) utm=0 stm=0 core=1
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 00056f97  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 00057559  /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 000566b9  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0005671f  /system/lib/libdvm.so (dvmThreadSleep(unsigned long long, unsigned int)+62)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 0002a060  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 00031510  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #09  pc 0002eba8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #10  pc 00063e75  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #11  pc 00063e99  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #12  pc 00058b6b  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #13  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #14  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.VMThread.sleep(Native Method)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Thread.sleep(Thread.java:1013)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Thread.sleep(Thread.java:995)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:248)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:258)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:212)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Thread.run(Thread.java:841)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "FinalizerDaemon" daemon prio=5 tid=7 WAIT
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42427060 self=0x74d3d588
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7066 nice=0 sched=0/0 cgrp=apps handle=1960040928
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 1639896 281094 13 ) utm=0 stm=0 core=1
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Object.wait(Native Method)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   - waiting on <0x417377d8> (a java.lang.ref.ReferenceQueue)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Object.wait(Object.java:401)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Thread.run(Thread.java:841)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42426ef8 self=0x74d3cce0
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7065 nice=0 sched=0/0 cgrp=apps handle=1960038712
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 591199 464217 10 ) utm=0 stm=0 core=3
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Object.wait(Native Method)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   - waiting on <0x41737700>
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Object.wait(Object.java:364)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:130)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at java.lang.Thread.run(Thread.java:841)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Compiler" daemon prio=5 tid=5 VMWAIT
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42426e08 self=0x721b9458
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7064 nice=0 sched=0/0 cgrp=apps handle=1914409488
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 41841362 26844737 277 ) utm=3 stm=1 core=0
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 00077b1f  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0005824d  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "JDWP" daemon prio=5 tid=4 SUSPENDED
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42426d20 self=0x74d419c0
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7063 nice=0 sched=0/0 cgrp=apps handle=1960056696
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 11350057 24560052 100 ) utm=0 stm=1 core=1
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 00056f97  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 00057559  /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 00067677  /system/lib/libdvm.so (dvmJdwpProcessRequest(JdwpState*, JdwpReqHeader const*, unsigned char const*, int, ExpandBuf*)+50)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 00064f95  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #07  pc 000678d5  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #08  pc 0005824d  /system/lib/libdvm.so
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #09  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #10  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "Signal Catcher" daemon prio=5 tid=3 VMWAIT
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42426c28 self=0x721b0010
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7062 nice=0 sched=0/0 cgrp=apps handle=1960036240
01-19 09:11:44.336 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 93490 0 1 ) utm=0 stm=0 core=2
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021334  /system/lib/libc.so (__rt_sigtimedwait+12)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 00013515  /system/lib/libc.so (sigwait+24)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 00055833  /system/lib/libdvm.so
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 0005824d  /system/lib/libdvm.so
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "GC" daemon prio=5 tid=2 VMWAIT
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | group="system" sCount=1 dsCount=0 obj=0x42426b48 self=0x72531fc8
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | sysTid=7061 nice=0 sched=0/0 cgrp=apps handle=1918041704
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 70530022 167070771 5363 ) utm=0 stm=7 core=0
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #00  pc 00021ac8  /system/lib/libc.so (__futex_syscall3+8)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #01  pc 0000f08c  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #02  pc 0000f0ec  /system/lib/libc.so (__pthread_cond_timedwait+64)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #03  pc 000761ab  /system/lib/libdvm.so
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #04  pc 0005824d  /system/lib/libdvm.so
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #05  pc 0000d298  /system/lib/libc.so (__thread_entry+72)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   #06  pc 0000d430  /system/lib/libc.so (pthread_create+240)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:     at dalvik.system.NativeStart.run(Native Method)
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: NATIVE THREADS:
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm: "GL updater" sysTid=7115 nice=-10 sched=0/0 cgrp=apps
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue I/dalvikvm:   | state=S schedstat=( 514793 701929 17 ) utm=0 stm=0 core=2
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue E/dalvikvm: threadid=1: stuck on threadid=13, giving up
01-19 09:11:44.346 7057-7057/com.example.torch.provabluetoothdue D/dalvikvm: threadid=1: sending two SIGSTKFLTs to threadid=13 (tid=8100) to cause debuggerd dump
01-19 09:11:44.346 7057-8100/com.example.torch.provabluetoothdue A/libc: Fatal signal 16 (SIGSTKFLT) at 0x00001b91 (code=-6), thread 8100 (Thread-1819)[/code]