poliva / radare-installer

Application to easily download and install radare2 on android devices
16 stars 11 forks source link

Download gives ERROR: download could not complete... #18

Open amworsley opened 9 years ago

amworsley commented 9 years ago

Installs ok - but then the download gives ERROR: download could not complete...

It looks like it is getting a truncated tar file as strace gives me this -

.... [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"java.io.EOFException\0", 21}], 3) = 33 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat java.util.zip.InflaterInputStream.read(InflaterInputStream.java:169)\0", 73}], 3) = 85 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat java.util.zip.GZIPInputStream.read(GZIPInputStream.java:163)\0", 65}], 3) = 77 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat java.io.InputStream.read(InputStream.java:162)\0", 51}], 3) = 63 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat org.radare.installer.MainActivity.unTarGz(MainActivity.java:373)\0", 69}], 3) = 81 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat org.radare.installer.MainActivity$3$1.run(MainActivity.java:246)\0", 69}], 3) = 81 [pid 24753] writev(3, [{"\5", 1}, {"System.err\0", 11}, {"\tat java.lang.Thread.run(Thread.java:841)\0", 42}], 3) = 54 [pid 24753] futex(0x5292dec8, FUTEX_WAKE_PRIVATE, 1) = 1 [pid 24756] <... futex resumed> ) = 0 [pid 24756] futex(0x5292deb8, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...> [pid 24753] futex(0x5292deb8, FUTEX_WAKE_PRIVATE, 1) = 1 ...

Also leaks file descriptors.

Does report very useful error message or details.

Andrew