Closed Bug 786414 Opened 12 years ago Closed 12 years ago

unable to update sutagent on the panda boards

Categories

(Testing Graveyard :: SUTAgent, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla20

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file, 2 obsolete files)

While trying to update the sutagent on the panda boards (using verify.py), I get a crash (seen via logcat) and this resulted in failure to update sut.  Here is what I see in logcat:

I/WindowManager( 1414): WIN DEATH: Window{413599d0 com.mozilla.SUTAgentAndroid/com.mozilla.SUTAgentAndroid.SUTAgentAndroid paused=false}
W/ActivityManager( 1414): Scheduling restart of crashed service com.mozilla.SUTAgentAndroid/.service.ASMozStub in 5000ms
W/ActivityManager( 1414): Force removing ActivityRecord{414327d0 com.mozilla.SUTAgentAndroid/.SUTAgentAndroid}: app died, no saved state
W/NetworkManagementSocketTagger( 1414): setKernelCountSet(10024, 1) failed with errno -2
D/Zygote  ( 1300): Process 1912 terminated by signal (15)
I/AudioService( 1414):  AudioFocus  requestAudioFocus() from android.media.AudioManager@4138a378
V/tiny_hw ( 1302): out_write(0x1b4f160) opening PCM
D/dalvikvm( 1512): GC_CONCURRENT freed 299K, 6% free 7727K/8135K, paused 1ms+3ms
D/dalvikvm( 1855): GC_EXPLICIT freed 272K, 6% free 6518K/6919K, paused 0ms+6ms
W/InputManagerService( 1414): Got RemoteException sending setActive(false) notification to pid 1912 uid 10044
I/AudioService( 1414):  AudioFocus  requestAudioFocus() from android.media.AudioManager@4138a378
I/AudioService( 1414):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@4138a378
D/dalvikvm( 1855): GC_EXPLICIT freed 21K, 6% free 6504K/6919K, paused 2ms+7ms
I/AudioService( 1414):  AudioFocus  requestAudioFocus() from android.media.AudioManager@4138a378
I/AudioService( 1414):  AudioFocus  requestAudioFocus() from android.media.AudioManager@4138a378
D/AndroidRuntime( 1958): 
D/AndroidRuntime( 1958): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1958): CheckJNI is ON
W/dalvikvm( 1958): Exception Ljava/lang/NullPointerException; thrown while initializing Ljava/lang/System;
W/dalvikvm( 1958): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/lang/ClassLoader$SystemClassLoader;
W/dalvikvm( 1958): WARNING: system class loader is NULL (setting main ctxt)
W/dalvikvm( 1958): Warning: tracked references remain post-initialization
W/dalvikvm( 1958): MAIN reference table (0xb3be80) dump:
W/dalvikvm( 1958):   Last 1 entries (of 1):
E/dalvikvm( 1958): Class lookup Ljava/lang/Daemons; attempted with exception pending
W/dalvikvm( 1958): Pending exception is:
I/dalvikvm( 1958): java.lang.ExceptionInInitializerError:
I/dalvikvm( 1958): 	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:125)
I/dalvikvm( 1958): 	at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1958): Caused by:
I/dalvikvm( 1958): java.lang.ExceptionInInitializerError:
I/dalvikvm( 1958): 	at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:100)
I/dalvikvm( 1958): 	at java.lang.ClassLoader.access$000(ClassLoader.java:65)
I/dalvikvm( 1958): 	at java.lang.ClassLoader$SystemClassLoader.<clinit>(ClassLoader.java:81)
I/dalvikvm( 1958): 	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:125)
I/dalvikvm( 1958): 	at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1958): Caused by:
I/dalvikvm( 1958): java.lang.NullPointerException:
I/dalvikvm( 1958): 	at java.util.Hashtable.put(Hashtable.java:365)
I/dalvikvm( 1958): 	at java.lang.System.initSystemProperties(System.java:286)
I/dalvikvm( 1958): 	at java.lang.System.getProperties(System.java:260)
I/dalvikvm( 1958): 	at java.lang.System.getProperty(System.java:425)
I/dalvikvm( 1958): 	at java.lang.System.getProperty(System.java:406)
I/dalvikvm( 1958): 	at java.lang.System.<clinit>(System.java:90)
I/dalvikvm( 1958): 	at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:100)
I/dalvikvm( 1958): 	at java.lang.ClassLoader.access$000(ClassLoader.java:65)
I/dalvikvm( 1958): 	at java.lang.ClassLoader$SystemClassLoader.<clinit>(ClassLoader.java:81)
I/dalvikvm( 1958): 	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:125)
I/dalvikvm( 1958): 	at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1958): DALVIK THREADS:
I/dalvikvm( 1958): (mutexes: tll=0 tsl=0 tscl=0 ghl=0)
I/dalvikvm( 1958): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 1958):   | group="main" sCount=0 dsCount=0 obj=0x40b7d460 self=0xb3b828
I/dalvikvm( 1958):   | sysTid=1958 nice=0 sched=3/0 cgrp=[fopen-error:2] handle=1075094708
I/dalvikvm( 1958):   | schedstat=( 0 0 0 ) utm=13 stm=1 core=1
I/dalvikvm( 1958):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1958): 
E/dalvikvm( 1958): VM aborting
F/libc    ( 1958): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
D/dalvikvm( 1855): GC_CONCURRENT freed 410K, 8% free 6507K/7047K, paused 1ms+1ms
D/dalvikvm( 1855): GC_CONCURRENT freed 447K, 8% free 6507K/7047K, paused 0ms+1ms
D/dalvikvm( 1855): GC_CONCURRENT freed 465K, 8% free 6507K/7047K, paused 1ms+0ms
I/DEBUG   ( 1297): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1297): Build fingerprint: 'pandaboard/pandaboard/pandaboard:4.0.4/IMM76I/5:eng/test-keys'
I/DEBUG   ( 1297): pid: 1958, tid: 1958  >>> app_process <<<
I/DEBUG   ( 1297): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
I/DEBUG   ( 1297):  r0 00000000  r1 67ea4ebb  r2 a0000000  r3 00000000
I/DEBUG   ( 1297):  r4 409e5c68  r5 0000020c  r6 409e0f44  r7 409c95ec
I/DEBUG   ( 1297):  r8 409c3e6c  r9 00000000  10 0000000c  fp 409e5c68
I/DEBUG   ( 1297):  ip deadd00d  sp be94f168  lr 40961675  pc 4096167c  cpsr 60000130
I/DEBUG   ( 1297):  d0  74726f6261204d56  d1  617453657669746e
I/DEBUG   ( 1297):  d2  0000000600000075  d3  000000080000006c
I/DEBUG   ( 1297):  d4  56dd321856dd31e0  d5  56dd328856dd3250
I/DEBUG   ( 1297):  d6  56dd32f856dd32c0  d7  56dd336856dd3330
I/DEBUG   ( 1297):  d8  ffffffffffffffff  d9  ffffffffffffffff
I/DEBUG   ( 1297):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 1297):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 1297):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 1297):  d16 6e616c2e6176616a  d17 4c7373616c432e67
I/DEBUG   ( 1297):  d18 41cd0eb4ca800000  d19 0000000000000000
I/DEBUG   ( 1297):  d20 0000000000000000  d21 0000000000000000
I/DEBUG   ( 1297):  d22 0000000000000000  d23 0000000000000000
I/DEBUG   ( 1297):  d24 0000000000000000  d25 0000000000000000
I/DEBUG   ( 1297):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   ( 1297):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   ( 1297):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 1297):  scr 60000010
I/DEBUG   ( 1297): 
I/DEBUG   ( 1297):          #00  pc 0005a67c  /system/lib/libdvm.so (dvmAbort)
I/DEBUG   ( 1297):          #01  pc 0008ed04  /system/lib/libdvm.so
I/DEBUG   ( 1297):          #02  pc 000903b6  /system/lib/libdvm.so (_Z18dvmFindSystemClassPKc)
I/DEBUG   ( 1297):          #03  pc 00070204  /system/lib/libdvm.so (_Z19dvmGcStartupClassesv)
I/DEBUG   ( 1297):          #04  pc 0005af1a  /system/lib/libdvm.so (_Z10dvmStartupiPKPKcbP7_JNIEnv)
I/DEBUG   ( 1297): 
I/DEBUG   ( 1297): code around pc:
I/DEBUG   ( 1297): 4096165c 447a4479 ec0ef7c3 f7c32000 6c63ecba  yDzD..... ....cl
I/DEBUG   ( 1297): 4096166c 4798b103 ffc8f7ff 0c0df24d 6cadf6cd  ...G....M......l
I/DEBUG   ( 1297): 4096167c 5000f88c ed36f7c3 0007f924 fffffe6c  ...P..6.$...l...
I/DEBUG   ( 1297): 4096168c fffffe4c 00062818 00062660 000627f6  L....(..`&...'..
I/DEBUG   ( 1297): 4096169c 41f0e92d 460d4604 b0826120 61644608  -..A.F.F a...Fda
I/DEBUG   ( 1297): 
I/DEBUG   ( 1297): code around lr:
I/DEBUG   ( 1297): 40961654 490fd1f9 4a0f2006 447a4479 ec0ef7c3  ...I. .JyDzD....
I/DEBUG   ( 1297): 40961664 f7c32000 6c63ecba 4798b103 ffc8f7ff  . ....cl...G....
I/DEBUG   ( 1297): 40961674 0c0df24d 6cadf6cd 5000f88c ed36f7c3  M......l...P..6.
I/DEBUG   ( 1297): 40961684 0007f924 fffffe6c fffffe4c 00062818  $...l...L....(..
I/DEBUG   ( 1297): 40961694 00062660 000627f6 41f0e92d 460d4604  `&...'..-..A.F.F
I/DEBUG   ( 1297): 
I/DEBUG   ( 1297): memory map around addr deadd00d:
I/DEBUG   ( 1297): be92f000-be950000 [stack]
I/DEBUG   ( 1297): (no map for address)
I/DEBUG   ( 1297): ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1297): 
I/DEBUG   ( 1297): stack:
I/DEBUG   ( 1297):     be94f128  409e0f44  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f12c  4014a5f4  
I/DEBUG   ( 1297):     be94f130  40144164  
I/DEBUG   ( 1297):     be94f134  4013e630  /system/lib/libc.so
I/DEBUG   ( 1297):     be94f138  00000000  
I/DEBUG   ( 1297):     be94f13c  40104c2f  /system/lib/libc.so
I/DEBUG   ( 1297):     be94f140  4013e684  /system/lib/libc.so
I/DEBUG   ( 1297):     be94f144  ffffffff  
I/DEBUG   ( 1297):     be94f148  00000000  
I/DEBUG   ( 1297):     be94f14c  40106167  /system/lib/libc.so
I/DEBUG   ( 1297):     be94f150  409e5c68  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f154  0000020c  
I/DEBUG   ( 1297):     be94f158  409e0f44  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f15c  409c95ec  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f160  df0027ad  
I/DEBUG   ( 1297):     be94f164  00000000  
I/DEBUG   ( 1297): #00 be94f168  6c756e28  
I/DEBUG   ( 1297):     be94f16c  0000296c  
I/DEBUG   ( 1297):     be94f170  00000000  
I/DEBUG   ( 1297):     be94f174  00000000  
I/DEBUG   ( 1297):     be94f178  00000000  
I/DEBUG   ( 1297):     be94f17c  00000000  
I/DEBUG   ( 1297):     be94f180  00000000  
I/DEBUG   ( 1297):     be94f184  00000000  
I/DEBUG   ( 1297):     be94f188  00000000  
I/DEBUG   ( 1297):     be94f18c  00000000  
I/DEBUG   ( 1297):     be94f190  00000000  
I/DEBUG   ( 1297):     be94f194  00000000  
I/DEBUG   ( 1297):     be94f198  00000000  
I/DEBUG   ( 1297):     be94f19c  00000000  
I/DEBUG   ( 1297):     be94f1a0  00000000  
I/DEBUG   ( 1297):     be94f1a4  00000000  
I/DEBUG   ( 1297):     be94f1a8  00000000  
I/DEBUG   ( 1297):     be94f1ac  00000000  
I/DEBUG   ( 1297):     be94f1b0  00000000  
I/DEBUG   ( 1297):     be94f1b4  00000000  
I/DEBUG   ( 1297):     be94f1b8  00000000  
I/DEBUG   ( 1297):     be94f1bc  00000000  
I/DEBUG   ( 1297):     be94f1c0  00000000  
I/DEBUG   ( 1297):     be94f1c4  00000000  
I/DEBUG   ( 1297):     be94f1c8  00000000  
I/DEBUG   ( 1297):     be94f1cc  00000000  
I/DEBUG   ( 1297):     be94f1d0  00000000  
I/DEBUG   ( 1297):     be94f1d4  00000000  
I/DEBUG   ( 1297):     be94f1d8  00000000  
I/DEBUG   ( 1297):     be94f1dc  00000000  
I/DEBUG   ( 1297):     be94f1e0  00000000  
I/DEBUG   ( 1297):     be94f1e4  00000000  
I/DEBUG   ( 1297):     be94f1e8  00000000  
I/DEBUG   ( 1297):     be94f1ec  00000000  
I/DEBUG   ( 1297):     be94f1f0  00000000  
I/DEBUG   ( 1297):     be94f1f4  00000000  
I/DEBUG   ( 1297):     be94f1f8  00000000  
I/DEBUG   ( 1297):     be94f1fc  00000000  
I/DEBUG   ( 1297):     be94f200  00000000  
I/DEBUG   ( 1297):     be94f204  00000000  
I/DEBUG   ( 1297):     be94f208  00000000  
I/DEBUG   ( 1297):     be94f20c  00000000  
I/DEBUG   ( 1297):     be94f210  00000000  
I/DEBUG   ( 1297):     be94f214  00000000  
I/DEBUG   ( 1297):     be94f218  00000000  
I/DEBUG   ( 1297):     be94f21c  00000000  
I/DEBUG   ( 1297):     be94f220  00000000  
I/DEBUG   ( 1297):     be94f224  00000000  
I/DEBUG   ( 1297):     be94f228  00000000  
I/DEBUG   ( 1297):     be94f22c  00000000  
I/DEBUG   ( 1297):     be94f230  00000000  
I/DEBUG   ( 1297):     be94f234  00000000  
I/DEBUG   ( 1297):     be94f238  00000000  
I/DEBUG   ( 1297):     be94f23c  00000000  
I/DEBUG   ( 1297):     be94f240  00000000  
I/DEBUG   ( 1297):     be94f244  00000000  
I/DEBUG   ( 1297):     be94f248  00000000  
I/DEBUG   ( 1297):     be94f24c  00000000  
I/DEBUG   ( 1297):     be94f250  00000000  
I/DEBUG   ( 1297):     be94f254  00000000  
I/DEBUG   ( 1297):     be94f258  00000000  
I/DEBUG   ( 1297):     be94f25c  00000000  
I/DEBUG   ( 1297):     be94f260  00000000  
I/DEBUG   ( 1297):     be94f264  00000000  
I/DEBUG   ( 1297):     be94f268  00000000  
I/DEBUG   ( 1297):     be94f26c  00000000  
I/DEBUG   ( 1297):     be94f270  00000000  
I/DEBUG   ( 1297):     be94f274  00000000  
I/DEBUG   ( 1297):     be94f278  00000000  
I/DEBUG   ( 1297):     be94f27c  00000000  
I/DEBUG   ( 1297):     be94f280  00000000  
I/DEBUG   ( 1297):     be94f284  00000000  
I/DEBUG   ( 1297):     be94f288  00000000  
I/DEBUG   ( 1297):     be94f28c  00000000  
I/DEBUG   ( 1297):     be94f290  00000000  
I/DEBUG   ( 1297):     be94f294  00000000  
I/DEBUG   ( 1297):     be94f298  00000000  
I/DEBUG   ( 1297):     be94f29c  00000000  
I/DEBUG   ( 1297):     be94f2a0  00000000  
I/DEBUG   ( 1297):     be94f2a4  00000000  
I/DEBUG   ( 1297):     be94f2a8  00000000  
I/DEBUG   ( 1297):     be94f2ac  00000000  
I/DEBUG   ( 1297):     be94f2b0  00000000  
I/DEBUG   ( 1297):     be94f2b4  00000000  
I/DEBUG   ( 1297):     be94f2b8  00000000  
I/DEBUG   ( 1297):     be94f2bc  00000000  
I/DEBUG   ( 1297):     be94f2c0  00000000  
I/DEBUG   ( 1297):     be94f2c4  00000000  
I/DEBUG   ( 1297):     be94f2c8  00000000  
I/DEBUG   ( 1297):     be94f2cc  00000000  
I/DEBUG   ( 1297):     be94f2d0  00000000  
I/DEBUG   ( 1297):     be94f2d4  00000000  
I/DEBUG   ( 1297):     be94f2d8  00000000  
I/DEBUG   ( 1297):     be94f2dc  00000000  
I/DEBUG   ( 1297):     be94f2e0  00000000  
I/DEBUG   ( 1297):     be94f2e4  00000000  
I/DEBUG   ( 1297):     be94f2e8  00000000  
I/DEBUG   ( 1297):     be94f2ec  00000000  
I/DEBUG   ( 1297):     be94f2f0  00000000  
I/DEBUG   ( 1297):     be94f2f4  00000000  
I/DEBUG   ( 1297):     be94f2f8  00000000  
I/DEBUG   ( 1297):     be94f2fc  00000000  
I/DEBUG   ( 1297):     be94f300  00000000  
I/DEBUG   ( 1297):     be94f304  00000000  
I/DEBUG   ( 1297):     be94f308  00000000  
I/DEBUG   ( 1297):     be94f30c  00000000  
I/DEBUG   ( 1297):     be94f310  00000000  
I/DEBUG   ( 1297):     be94f314  00000000  
I/DEBUG   ( 1297):     be94f318  00000000  
I/DEBUG   ( 1297):     be94f31c  00000000  
I/DEBUG   ( 1297):     be94f320  00000000  
I/DEBUG   ( 1297):     be94f324  00000000  
I/DEBUG   ( 1297):     be94f328  00000000  
I/DEBUG   ( 1297):     be94f32c  00000000  
I/DEBUG   ( 1297):     be94f330  00000000  
I/DEBUG   ( 1297):     be94f334  00000000  
I/DEBUG   ( 1297):     be94f338  00000000  
I/DEBUG   ( 1297):     be94f33c  00000000  
I/DEBUG   ( 1297):     be94f340  00000000  
I/DEBUG   ( 1297):     be94f344  00000000  
I/DEBUG   ( 1297):     be94f348  00000000  
I/DEBUG   ( 1297):     be94f34c  00000000  
I/DEBUG   ( 1297):     be94f350  00000000  
I/DEBUG   ( 1297):     be94f354  00000000  
I/DEBUG   ( 1297):     be94f358  00000000  
I/DEBUG   ( 1297):     be94f35c  00000000  
I/DEBUG   ( 1297):     be94f360  00000000  
I/DEBUG   ( 1297):     be94f364  00000000  
I/DEBUG   ( 1297):     be94f368  409c95ec  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f36c  67ea4ebb  
I/DEBUG   ( 1297):     be94f370  00000004  
I/DEBUG   ( 1297):     be94f374  409d2320  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f378  00b3b828  [heap]
I/DEBUG   ( 1297):     be94f37c  40995d09  /system/lib/libdvm.so
I/DEBUG   ( 1297): #01 be94f380  00000004  
I/DEBUG   ( 1297):     be94f384  00b3be80  [heap]
I/DEBUG   ( 1297):     be94f388  c0000000  
I/DEBUG   ( 1297):     be94f38c  00000010  
I/DEBUG   ( 1297):     be94f390  409e0f44  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f394  00000000  
I/DEBUG   ( 1297):     be94f398  401435e0  
I/DEBUG   ( 1297):     be94f39c  40143424  
I/DEBUG   ( 1297):     be94f3a0  00bc1328  [heap]
I/DEBUG   ( 1297):     be94f3a4  00bbf328  [heap]
I/DEBUG   ( 1297):     be94f3a8  00000cb1  
I/DEBUG   ( 1297):     be94f3ac  00002cb9  
I/DEBUG   ( 1297):     be94f3b0  409c3e6c  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f3b4  400fd6a5  /system/lib/libc.so
I/DEBUG   ( 1297):     be94f3b8  409c82fa  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f3bc  4097730b  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f3c0  40b7d530  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1297):     be94f3c4  be94f3d8  [stack]
I/DEBUG   ( 1297):     be94f3c8  00000000  
I/DEBUG   ( 1297):     be94f3cc  67ea4ebb  
I/DEBUG   ( 1297):     be94f3d0  409e5c68  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f3d4  00000000  
I/DEBUG   ( 1297):     be94f3d8  00000010  
I/DEBUG   ( 1297):     be94f3dc  00b40120  [heap]
I/DEBUG   ( 1297):     be94f3e0  00000000  
I/DEBUG   ( 1297):     be94f3e4  00002000  
I/DEBUG   ( 1297):     be94f3e8  00000000  
I/DEBUG   ( 1297):     be94f3ec  00b3b828  [heap]
I/DEBUG   ( 1297):     be94f3f0  00b34e58  [heap]
I/DEBUG   ( 1297):     be94f3f4  00b3be84  [heap]
I/DEBUG   ( 1297):     be94f3f8  00b38280  [heap]
I/DEBUG   ( 1297):     be94f3fc  409c3e6c  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f400  409c3e64  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f404  0000000c  
I/DEBUG   ( 1297):     be94f408  409e5c68  /system/lib/libdvm.so
I/DEBUG   ( 1297):     be94f40c  409973bb  /system/lib/libdvm.so
I/BootReceiver( 1414): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
D/dalvikvm( 1855): GC_CONCURRENT freed 408K, 8% free 6507K/7047K, paused 1ms+1ms
I/System  ( 1855): Failed to destroy process 1956
I/System  ( 1855): libcore.io.ErrnoException: kill failed: ESRCH (No such process)
I/System  ( 1855): 	at libcore.io.Posix.kill(Native Method)
I/System  ( 1855): 	at libcore.io.ForwardingOs.kill(ForwardingOs.java:77)
I/System  ( 1855): 	at java.lang.ProcessManager$ProcessImpl.destroy(ProcessManager.java:257)
I/System  ( 1855): 	at com.mozilla.watcher.RedirOutputThread.run(RedirOutputThread.java:109)
D/dalvikvm( 1855): GC_EXPLICIT freed 15K, 8% free 6507K/7047K, paused 1ms+0ms
D/dalvikvm( 1855): GC_EXPLICIT freed 2K, 8% free 6505K/7047K, paused 0ms+1ms
D/dalvikvm( 1414): GC_CONCURRENT freed 908K, 12% free 8861K/9991K, paused 1ms+4ms
Depends on: 787606
there are a few changes rolled into one, but I wanted to get these changes in front of others and posted on a bug.  The goal is to have these checked in and us working on deploying a new sutagent/watcher as well as a panda image before the end of the week.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #667153 - Flags: feedback?(wlachance)
Comment on attachment 667153 [details] [diff] [review]
fix sutagent installApp and watcher uninstall/installApp (0.9)

Most of this looks ok. The main thing that makes me nervous is this:

+        try {
+            Thread.sleep(2000);
+            }
+        catch (InterruptedException e)
+            {
+            Log.i("Watcher", "Exception while sleeping for 2 seconds");
+            }
+

What is this sleep supposed to do? I generally don't like depending on timing for these sorts of things. If we need to wait for something to happen, is there no way we can check for it explicitly?
Attachment #667153 - Flags: feedback?(wlachance) → feedback-
The problem I found here was that we would hang here.  If I put a log.i() statement there it passes or adding this thread.sleep.  If I leave it alone 4/5 times it will hang at that spot.  I really don't know what it is waiting on, but I do know we need to resolve this sooner than later.  I am open to suggestions and trial/error.
remove a lot of unnecessary code.  Tested on panda and tegra platforms.
Attachment #667153 - Attachment is obsolete: true
Attachment #668044 - Flags: review?(wlachance)
Attachment #668044 - Flags: review?(wlachance) → review?(ctalbert)
Comment on attachment 668044 [details] [diff] [review]
fix sutagent installApp and watcher uninstall/installApp (1.0)

I might change this patch a bit, will be updating in the near future.
Attachment #668044 - Flags: review?(ctalbert)
we need to get this reviewed and checked in.
Attachment #668044 - Attachment is obsolete: true
Attachment #685631 - Flags: review?(wlachance)
Comment on attachment 685631 [details] [diff] [review]
fix sutagent installApp and watcher uninstall/installApp (2.0)

Looks pretty much ok. I fear that we are not really fixing the root problem(s) here but the simplifications do seem to make sense.
Attachment #685631 - Flags: review?(wlachance) → review+
https://hg.mozilla.org/mozilla-central/rev/eaf6805d27d6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: