damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

sl4a + no wireless = sudden death #178

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

What device(s) are you experiencing the problem on?
HTC Dream

What firmware version are you running on the device?
cyanogenmod 6.1.0

What steps will reproduce the problem?
1. start sl4a
2. turn off/lose wireless connection
3. launch any 'hello world' script

What is the expected output? What do you see instead?
sl4a crashes immediately

What version of the product are you using? On what operating system?
latest sl4a release/android 2.2 (froyo)

Please provide any additional information below.
Snip of logcat (not sure it says much tho):

 V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Interpreter discovered: com.googlecode.bshforandroid
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Binary: /system/bin/dalvikvm
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Interpreter discovered: com.googlecode.bshforandroid
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Binary: /system/bin/dalvikvm
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Interpreter discovered: com.googlecode.jrubyforandroid
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Binary: /system/bin/dalvikvm
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Interpreter discovered: com.googlecode.jrubyforandroid
V/sl4a.InterpreterConfiguration$InterpreterListener:127( 2035):
Binary: /system/bin/dalvikvm
D/org.jraf.android.nolock.NoLockService(  656): onLowMemory
D/org.jraf.android.nolock.NoLockService(  656): handleStart
mKeyguardLock != null: reenabling keyguard
D/dalvikvm(  656): GC_EXPLICIT freed 60 objects / 3768 bytes in 103ms
D/dalvikvm( 1353): GC_EXPLICIT freed 6 objects / 216 bytes in 105ms
D/dalvikvm( 1401): GC_EXPLICIT freed 7 objects / 248 bytes in 151ms
W/ActivityManager(  190): Timeout executing service:
ServiceRecord{4406fbf8
com.googlecode.android_scripting/.activity.ScriptingLayerService}
I/ActivityManager(  190): Crashing app skipping ANR:
ProcessRecord{43f54748 2035:com.googlecode.android_scripting/10064}
Executing service
com.googlecode.android_scripting/.activity.ScriptingLayerService
D/dalvikvm(  435): GC_EXPLICIT freed 7 objects / 256 bytes in 116ms
D/dalvikvm(  978): GC_EXPLICIT freed 1039 objects / 47768 bytes in
162ms
I/Process ( 2035): Sending signal. PID: 2035 SIG: 9
I/ActivityManager(  190): Process com.googlecode.android_scripting
(pid 2035) has died.
W/ActivityManager(  190): Service crashed 2 times, stopping:
ServiceRecord{4406fbf8
com.googlecode.android_scripting/.activity.ScriptingLayerService} 

Original issue reported on code.google.com by guy.berl...@gmail.com on 8 Jan 2011 at 2:28

Copied from original issue: damonkohler/android-scripting#502