SIGSEGV at Android boot - android
I recently installed (with Odin) the latest stock ROM for my SGS2 without wiping data.
After that I put a rooted kernel and started using.
I found out that:
- if I boot the phone, let it get to the lock screen (the first to appear after Samsung logo) and then turn off screen with power button, all goes fine
- if I don't turn screen off, the boot proccess goes wrong and all freeze; I can only force boot it again.
I took logcat of both boots and found these errors in the faulty one.
NB: I cut some parts of the SIGSEGV to remain within 30000 characters limit.
Can anybody help fix the problem?
Thank you!!!
E/UsimServiceTable: isActive for service 51 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 51 fails, max service is 80
E/UsimServiceTable: isActive for service 51 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 51 fails, max service is 80
E/UsimServiceTable: isActive for service 52 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 52 fails, max service is 80
E/UsimServiceTable: isActive for service 52 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 52 fails, max service is 80
E/UsimServiceTable: isActive for service 53 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 53 fails, max service is 80
E/UsimServiceTable: isActive for service 53 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 53 fails, max service is 80
E/UsimServiceTable: isActive for service 54 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 54 fails, max service is 80
E/UsimServiceTable: isActive for service 54 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 54 fails, max service is 80
E/UsimServiceTable: isActive for service 55 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 55 fails, max service is 80
E/UsimServiceTable: isActive for service 55 fails, max service is 40
E/UsimServiceTable: isSSTAvailable for service 55 fails, max service is 80
E/android.os.Debug: !#Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_sys_watchdog
E/Watchdog: WATCHDOG caused by com.android.server.am.ActivityManagerService
E/AndroidRuntime: Error reporting crash
E/AndroidRuntime: android.os.DeadObjectException
E/AndroidRuntime: at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime: at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3305)
E/AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:121)
E/AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
W/Sensors : sensorservice died [0x4c38d570]
E/AndroidRuntime: java.lang.SecurityException: Neither user 10012 nor current process has android.permission.ACCESS_COARSE_LOCATION.
E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime: at com.android.internal.telephony.ITelephony$Stub$Proxy.getCellLocation(ITelephony.java:1261)
E/AndroidRuntime: at android.telephony.TelephonyManager.getCellLocation(TelephonyManager.java:267)
E/AndroidRuntime: at ekv.a(SourceFile:53)
E/AndroidRuntime: at com.google.android.location.os.real.SdkSpecific8.a(SourceFile:62)
E/AndroidRuntime: at ekl.handleMessage(SourceFile:187)
E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime: at eko.run(SourceFile:804)
E/AndroidRuntime: at java.lang.Thread.run(Thread.java:856)
E/BootAnimation: sequence and loop RBG type's are different. seqeunce:7,loop:6
E/BootAnimation: /sys/class/sec/led/led_pattern: open error, fd = -1
E/SECHWC_LOG: int hwc_device_open(const hw_module_t*, char const*, hw_device_t**)::window_set_pos is failed : Bad address
E/SECHWC_LOG: int destroyMem(s3c_mem_t*)::invalied fd(0) fail
E/SECHWC_LOG: int hwc_device_open(const hw_module_t*, char const*, hw_device_t**)::destroyMem() fail
E/SurfaceFlinger: composer device failed to initialize (Invalid argument)
D/SurfaceFlinger: About to give-up screen, flinger = 0x4193cd78
F/libc : Fatal signal 11 (SIGSEGV) at 0x00002900 (code=1), thread 4408 (SurfaceFlinger)
I/SurfaceFlinger: EventThread ready to run.
I/BootAnimation: ret=2, fps:12, interval:83333
E/BootAnimation: sequence and loop RBG type's are different. seqeunce:7,loop:6
I/BootAnimation: createSurface BGRA8888
I/ServiceManager: service 'nfc' died
I/ServiceManager: service 'iphonesubinfo' died
I/ServiceManager: service 'com.orange.authentication.simcard' died
I/ServiceManager: service 'isms' died
I/ServiceManager: service 'phoneext' died
I/ServiceManager: service 'phone' died
I/ServiceManager: service 'sip' died
I/ServiceManager: service 'simphonebook' died
V/AudioPolicyManagerBase: releaseOutput() 2
I/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG : Build fingerprint: 'samsung/GT-I9100P/GT-I9100P:4.1.2/JZO54K/I9100PXXLSK:user/release-keys'
I/DEBUG : pid: 4403, tid: 4408, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00002900
D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 155 unimplemented (abstract) methods
I/DEBUG : r0 41953580 r1 00000001 r2 419442e8 r3 00000000
I/DEBUG : r4 419531c0 r5 00002901 r6 00000001 r7 4193d730
I/DEBUG : r8 4105ecac r9 00000001 sl 4193d72c fp 0000000d
I/DEBUG : ip 401d0168 sp 4105ec60 lr 400c33bf pc 00002900 cpsr 20000030
I/DEBUG : d0 3f00000000000000 d1 00000000437f0000
I/DEBUG : d2 437f00003f000000 d3 437f8000000000ff
I/DEBUG : d4 c0000000437f0000 d5 3f800000bf800000
I/DEBUG : d6 3f8000003f800000 d7 00ffffff3f800000
I/DEBUG : d8 0000000000000000 d9 0000000000000000
I/DEBUG : d10 0000000000000000 d11 0000000000000000
I/DEBUG : d12 0000000000000000 d13 0000000000000000
I/DEBUG : d14 0000000000000000 d15 0000000000000000
I/DEBUG : d16 7fffffffffffffff d17 7fffffffffffffff
I/DEBUG : d18 0000000000000000 d19 3fe0000000000000
I/DEBUG : d20 3fe000000000946f d21 0000000000000000
I/DEBUG : d22 0000000000000000 d23 0000000000000000
I/DEBUG : d24 0000000000000000 d25 0000000000000000
I/DEBUG : d26 0000000000000000 d27 0000000000000000
I/DEBUG : d28 0000000000000000 d29 0000000000000000
I/DEBUG : d30 0000000000000000 d31 0000000000000000
I/DEBUG : scr 60000010
I/DEBUG :
I/DEBUG : backtrace:
I/DEBUG : #00 pc 00002900 <unknown>
I/DEBUG : #01 pc 000203bd /system/lib/libsurfaceflinger.so (android::HWComposer::commit() const+14)
I/DEBUG : #02 pc 0001fd05 /system/lib/libsurfaceflinger.so (android::DisplayHardware::flip(android::Region const&) const+60)
I/DEBUG : #03 pc 00022f8f /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::onScreenReleased()+70)
I/DEBUG : #04 pc 00022fb9 /system/lib/libsurfaceflinger.so
I/DEBUG : #05 pc 00020d4b /system/lib/libsurfaceflinger.so (android::MessageBase::handleMessage(android::Message const&)+12)
I/DEBUG : #06 pc 000149e3 /system/lib/libutils.so (android::Looper::pollInner(int)+426)
I/DEBUG : #07 pc 00014b01 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+104)
I/DEBUG : #08 pc 000210d9 /system/lib/libsurfaceflinger.so (android::MessageQueue::waitMessage()+40)
I/DEBUG : #09 pc 00021991 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::threadLoop()+4)
I/DEBUG : #10 pc 0001104f /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)
I/DEBUG : #11 pc 00010bb5 /system/lib/libutils.so
I/DEBUG : #12 pc 00012e00 /system/lib/libc.so (__thread_entry+48)
I/DEBUG : #13 pc 00012558 /system/lib/libc.so (pthread_create+172)
I/DEBUG :
I/DEBUG : stack:
I/DEBUG : 4105ec20 41944370 [heap]
I/DEBUG : 4105ec24 410942d0 /system/lib/egl/libGLESv1_CM_mali.so (_gles_clear+1148)
I/DEBUG : 4105ec28 00000001
I/DEBUG : 4105ec2c 00000001
I/DEBUG : 4105ec30 00000001
I/DEBUG : 4105ec34 41943a10 [heap]
I/DEBUG : 4105ec38 0000ff00
I/DEBUG : 4105ec3c 00000000
I/DEBUG : 4105ec40 00000000
I/DEBUG : 4105ec44 00000000
I/DEBUG : 4105ec48 00000000
I/DEBUG : 4105ec4c ff000000
I/DEBUG : 4105ec50 00000000
I/DEBUG : 4105ec54 00000000
I/DEBUG : 4105ec58 df0027ad
I/DEBUG : 4105ec5c 00000000
I/DEBUG : #00 4105ec60 41953580 [heap]
I/DEBUG : ........ ........
I/DEBUG : #01 4105ec60 41953580 [heap]
I/DEBUG : 4105ec64 4193db00 [heap]
I/DEBUG : 4105ec68 419442e8 [heap]
I/DEBUG : 4105ec6c 400c2d09 /system/lib/libsurfaceflinger.so (android::DisplayHardware::flip(android::Region const&) const+64)
I/DEBUG : #02 4105ec70 4193db00 [heap]
I/DEBUG : 4105ec74 4105ecac
I/DEBUG : 4105ec78 00000007
I/DEBUG : 4105ec7c 40241d00 /system/lib/libui.so
I/DEBUG : 4105ec80 4193db00 [heap]
I/DEBUG : 4105ec84 4193cd78 [heap]
I/DEBUG : 4105ec88 400c3d3f /system/lib/libsurfaceflinger.so (android::MessageBase::handleMessage(android::Message const&))
I/DEBUG : 4105ec8c 4193d730 [heap]
I/DEBUG : 4105ec90 40193ebe /system/lib/libutils.so
I/DEBUG : 4105ec94 400c5f93 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::onScreenReleased()+74)
I/DEBUG :
I/DEBUG : memory near r0:
[.........................]
I/DEBUG :
I/DEBUG : memory map around fault addr 00002900:
I/DEBUG : (no map below)
I/DEBUG : (no map for address)
I/DEBUG : 4000e000-4000f000 /system/lib/libstdc++.so
I/SamplingProfilerIntegration: Profiling disabled.
I/Zygote : !#beginofpreloadClasses()
I/Zygote : Preloading classes...
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
I/Zygote : !#beginofpreloadResources()
D/dalvikvm: GC_EXPLICIT freed 40K, 80% free 528K/2560K, paused 0ms+0ms, total 3ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 2ms
D/dalvikvm: GC_EXPLICIT freed <1K, 80% free 527K/2560K, paused 10ms+0ms, total 13ms
E/installd: eof
E/installd: failed to read size
I/installd: closing connection
I/Zygote : Preloading resources...
I/Zygote : Number of total Classes to prelaod: 2309
I/Zygote : Classes to load for thread1 0~830
I/Zygote : Classes to load for thread2 831~2308
W/Zygote : Class not found for preloading: android.view.InputQueue$FinishedCallback
I/DEBUG : !#dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 4403
I/dumpstate: begin
D/dalvikvm: GC_FOR_ALLOC freed 83K, 63% free 956K/2560K, paused 14ms, total 14ms
W/Zygote : Class not found for preloading: android.animation.ValueAnimator$2
W/Zygote : Class not found for preloading: android.animation.ValueAnimator$3
W/Zygote : Class not found for preloading: android.animation.ValueAnimator$4
W/Zygote : Class not found for preloading: android.animation.ValueAnimator$5
D/dalvikvm: GC_FOR_ALLOC freed 28K, 44% free 1439K/2560K, paused 14ms, total 14ms
D/dalvikvm: GC_FOR_ALLOC freed 74K, 27% free 1870K/2560K, paused 14ms, total 14ms
W/Zygote : Class not found for preloading: android.view.ViewRootImpl$3
V/BluetoothAudioGateway.cpp: classInitNative
V/BT HSHFP: classInitNative
D/dalvikvm: GC_FOR_ALLOC freed 40K, 10% free 2312K/2560K, paused 18ms, total 18ms
D/dalvikvm: GC_FOR_ALLOC freed 8K, 8% free 2361K/2560K, paused 15ms, total 15ms
D/dalvikvm: GC_FOR_ALLOC freed <1K, 7% free 2982K/3203K, paused 8ms, total 8ms
W/Zygote : Class not found for preloading: android.content.res.Resources$1
D/dalvikvm: GC_FOR_ALLOC freed 15K, 2% free 3659K/3715K, paused 15ms, total 15ms
D/dalvikvm: GC_FOR_ALLOC freed 6K, 2% free 4027K/4099K, paused 15ms, total 15ms
D/dalvikvm: GC_FOR_ALLOC freed 1K, 3% free 5049K/5187K, paused 5ms, total 6ms
I/dalvikvm: threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm: No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
D/dalvikvm: GC_FOR_ALLOC freed 14K, 1% free 6325K/6339K, paused 15ms, total 15ms
D/dalvikvm: GC_FOR_ALLOC freed 30K, 2% free 7019K/7107K, paused 17ms, total 17ms
I/Zygote : ...preloaded 279 resources in 604ms.
I/Zygote : ...preloaded 31 resources in 7ms.
I/Zygote : !#End of preloadResources()
D/TextLayoutCache: Using debug level = 0 - Debug Enabled = 0
W/Zygote : Class not found for preloading: android.widget.EdgeGlow
W/Zygote : Class not found for preloading: android.database.sqlite.SQLiteCompiledSql
W/Zygote : Class not found for preloading: android.database.sqlite.SQLiteDatabase$DatabaseReentrantLock
W/Zygote : Class not found for preloading: android.media.AudioManager$2
I/dalvikvm: threadid=6: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI: register_android_mtp_MtpDevice
I/dalvikvm: threadid=6: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm: threadid=6: recursive native library load attempt (/system/lib/libmedia_jni.so)
W/Zygote : Class not found for preloading: android.media.IRemoteControlClientDispatcher
W/Zygote : Class not found for preloading: android.media.IRemoteControlClientDispatcher$Stub
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 lsof using binary lsof : lsof
W/Zygote : Class not found for preloading: android.widget.TextView$Blink
W/Zygote : Class not found for preloading: android.widget.TextView$EasyEditSpanController
W/Zygote : Class not found for preloading: android.widget.TextView$InputContentType
W/Zygote : Class not found for preloading: android.widget.TextView$InputMethodState
W/Zygote : Class not found for preloading: android.widget.TextView$TextAlign
E/PhonePolicy: Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
D/dalvikvm: GC_FOR_ALLOC freed 308K, 4% free 8526K/8835K, paused 10ms, total 10ms
W/Zygote : Class not found for preloading: android.os.Power
V/BluetoothEventLoop.cpp: classInitNative
V/BluetoothService.cpp: classInitNative
W/Zygote : Class not found for preloading: android.text.TextDirectionHeuristics$CharCount
W/Zygote : Class not found for preloading: android.text.method.WordIterator$1
W/Zygote : Class not found for preloading: android.view.InputHandler
I/Zygote : ...preloaded 831 classes in 1146ms.
I/System : Loaded time zone names for in 312ms (309ms in ICU)
I/System : Loaded time zone names for en_US in 93ms (89ms in ICU)
I/System : Loaded time zone names for it_IT in 101ms (97ms in ICU)
D/dalvikvm: GC_FOR_ALLOC freed 977K, 10% free 9650K/10627K, paused 24ms, total 25ms
I/Zygote : ...preloaded 1478 classes in 1495ms.
I/Zygote : !#EndofpreloadClasses()
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm: GC_EXPLICIT freed 327K, 12% free 9360K/10627K, paused 1ms+2ms, total 21ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm: GC_EXPLICIT freed 21K, 13% free 9339K/10627K, paused 1ms+2ms, total 18ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm: GC_EXPLICIT freed <1K, 13% free 9339K/10627K, paused 1ms+2ms, total 17ms
I/dalvikvm: System server process 4440 has been created
I/Zygote : Accepting command socket connections
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
W/ResourceType: Failure getting entry for 0x7f020003 (t=1 e=3) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020000 (t=1 e=0) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020001 (t=1 e=1) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020001 (t=1 e=1) in package 0 (error -75)
D/dalvikvm: GC_CONCURRENT freed 109K, 13% free 9750K/11143K, paused 12ms+12ms, total 84ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 20ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 7ms
I/sysproc : !#beginofsystem_init1()
W/ResourceType: Failure getting entry for 0x7f020005 (t=1 e=5) in package 0 (error -75)
I/sysproc : Entered system_init()
I/sysproc : ServiceManager: 0x4c24d3c8
D/SensorService: nuSensorService starting...
W/ResourceType: Failure getting entry for 0x7f0201f5 (t=1 e=501) in package 0 (error -75)
I/AKMD2 : open_accelerometer
W/ResourceType: Failure getting entry for 0x7f0201f5 (t=1 e=501) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f0201f4 (t=1 e=500) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020001 (t=1 e=1) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020004 (t=1 e=4) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020007 (t=1 e=7) in package 0 (error -75)
I/PackageParser: com.orange.authentication.simcard.permission: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
W/ResourceType: Failure getting entry for 0x7f02001b (t=1 e=27) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02001b (t=1 e=27) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f040001 (t=3 e=1) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02001d (t=1 e=29) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f040000 (t=3 e=0) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020007 (t=1 e=7) in package 0 (error -75)
D/dalvikvm: GC_CONCURRENT freed 168K, 13% free 10138K/11591K, paused 23ms+3ms, total 60ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 16ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 16ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 17ms
W/ResourceType: Failure getting entry for 0x7f02025f (t=1 e=607) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02032c (t=1 e=812) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02032f (t=1 e=815) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02022c (t=1 e=556) in package 0 (error -75)
D/dalvikvm: GC_CONCURRENT freed 215K, 13% free 10473K/11975K, paused 37ms+2ms, total 55ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 32ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 35ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 23ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 26ms
W/ResourceType: Failure getting entry for 0x7f02022c (t=1 e=556) in package 0 (error -75)
I/SensorService: K3DH Acceleration Sensor
I/SensorService: AK8975 Magnetic field Sensor
I/SensorService: AK8975 Orientation Sensor
I/SensorService: CM3663 Light Sensor
I/SensorService: CM3663 Proximity Sensor
I/SensorService: K3G Gyroscope Sensor
W/ResourceType: Failure getting entry for 0x7f0204f6 (t=1 e=1270) in package 0 (error -75)
I/RemoteDesktopService: RemoteDesktopService started (pid=4440)
W/ResourceType: Failure getting entry for 0x7f0204f6 (t=1 e=1270) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f0204f6 (t=1 e=1270) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f110062 (t=16 e=98) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020000 (t=1 e=0) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f110062 (t=16 e=98) in package 0 (error -75)
D/dalvikvm: GC_FOR_ALLOC freed 259K, 13% free 10749K/12295K, paused 30ms, total 31ms
D/SensorService: nuSensorService thread starting...
W/ResourceType: Failure getting entry for 0x7f02000c (t=1 e=12) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02001a (t=1 e=26) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f0203c1 (t=1 e=961) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f0203c1 (t=1 e=961) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f03003b (t=2 e=59) in package 0 (error -75)
I/PackageParser: com.monotype.android.font.helvneuelt: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
D/dalvikvm: GC_CONCURRENT freed 252K, 13% free 11009K/12551K, paused 11ms+2ms, total 43ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 14ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 14ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
W/ResourceType: Failure getting entry for 0x7f020000 (t=1 e=0) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020000 (t=1 e=0) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020000 (t=1 e=0) in package 0 (error -75)
D/su : su invoked.
W/ResourceType: Failure getting entry for 0x7f020004 (t=1 e=4) in package 0 (error -75)
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 sqlite3 using binary sqlite3 : sqlite3 /data/data/com.android.providers.settings/databases/settings.db pragma user_version; select * from system; select * from secure;
E/su : exec failed with 2: No such file or directory
D/dalvikvm: GC_CONCURRENT freed 241K, 12% free 11274K/12807K, paused 1ms+4ms, total 26ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 2ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 3ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 3ms
W/ResourceType: Failure getting entry for 0x7f020332 (t=1 e=818) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020334 (t=1 e=820) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020334 (t=1 e=820) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020334 (t=1 e=820) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020333 (t=1 e=819) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020333 (t=1 e=819) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020333 (t=1 e=819) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020009 (t=1 e=9) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02001d (t=1 e=29) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020333 (t=1 e=819) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f10004b (t=15 e=75) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02035d (t=1 e=861) in package 0 (error -75)
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 netcfg using binary netcfg : netcfg
W/ResourceType: Failure getting entry for 0x7f020319 (t=1 e=793) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020319 (t=1 e=793) in package 0 (error -75)
D/dalvikvm: GC_CONCURRENT freed 294K, 13% free 11541K/13127K, paused 12ms+3ms, total 53ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 17ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 18ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 18ms
W/ResourceType: Failure getting entry for 0x7f020331 (t=1 e=817) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020328 (t=1 e=808) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020328 (t=1 e=808) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f020328 (t=1 e=808) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f02014e (t=1 e=334) in package 0 (error -75)
D/dalvikvm: GC_CONCURRENT freed 280K, 12% free 11809K/13383K, paused 11ms+3ms, total 45ms
D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 18ms
W/ResourceType: Failure getting entry for 0x7f0e004d (t=13 e=77) in package 0 (error -75)
W/ResourceType: Failure getting entry for 0x7f0e004e (t=13 e=78) in package 0 (error -75)
I/BootTime: Prefetch Time Taken:1050
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 iptables using binary iptables : iptables -L -nvx
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 ip6tables using binary ip6tables : ip6tables -L -nvx
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 iptables using binary iptables : iptables -t nat -L -nvx
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 iptables using binary iptables : iptables -t raw -L -nvx
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 ip6tables using binary ip6tables : ip6tables -t raw -L -nvx
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 wpa_cli using binary wpa_cli : wpa_cli list_networks
E/su : exec failed with 2: No such file or directory
D/VoldCmdListener: asec list
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 cat using binary cat : cat /data/system/packages.xml
D/su : su invoked.
D/su : Allowing shell.
D/su : 2000 /system/bin/dumpstate executing 0 cat using binary cat : cat /proc/4403/maps
I/dumpstate: done
I/ServiceManager: service 'SurfaceFlinger' died
I/ServiceManager: service 'SecTVOutService' died
F/libc : Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 4423 (BootAnimation)
D/BootAnimation: SurfaceFlinger died, exiting...
F/libc : Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4440 (system_server)
I/ServiceManager: service 'sensorservice' died
I/DEBUG : unexpected waitpid response: n=4440, status=00000009
I/DEBUG : ptrace detach from 4440 failed: No such process
I/DEBUG : debuggerd committing suicide to free the zombie!
I/DEBUG : debuggerd: Mar 7 2013 21:50:41
Related
VM Aborting :Fatal signal 6 (SIGABRT) at 0x00001247 (code=-6)
I am using eclipse lollipop version. I am getting this error : VM Aborting Fatal signal 6 (SIGABRT) at 0x00001247 (code=-6) Below I have posted the full stacktrace: StackTrace: 01-30 04:11:43.053: E/dalvikvm(4679): VM aborting 01-30 04:11:43.053: A/libc(4679): Fatal signal 6 (SIGABRT) at 0x00001247 (code=-6), thread 4679 (e.quranmadeeasy) 01-30 04:11:43.541: D/dalvikvm(4749): GC_FOR_ALLOC freed 124K, 6% free 3345K/3528K, paused 2ms, total 2ms 01-30 04:11:43.541: I/dalvikvm-heap(4749): Grow heap (frag case) to 4.395MB for 1127532-byte allocation 01-30 04:11:43.541: D/dalvikvm(4749): GC_FOR_ALLOC freed 0K, 4% free 4446K/4632K, paused 1ms, total 1ms Logcat didn't pointed out the error line.So I didn't know how to solve this error.I tried this Answer.But It doesn't helpful to me.Any help is mostly appreciated.Thank you.
Are you app use native method ? Can you get the DEBUG stack ? It will output on logcat, or you can found it on /data/tombstones. If you found, you can get information like this backtrace: #00 pc 0000d1a0 /system/lib/libc.so (write+12) #01 pc 0001aac1 /system/lib/libc.so (__sflush+48) #02 pc 0001bad7 /system/lib/libc.so (_fwalk+30) #03 pc 0001f0d9 /system/lib/libc.so (__cxa_finalize+132) #04 pc 0001f40b /system/lib/libc.so (exit+6) #05 pc 00016f9d /system/lib/libc.so (__libc_init+40) #06 pc 000040a4 /system/bin/toolbox Then you can found the problem, use addr2line get position on code. More info about addr2line in here : How to use addr2line in Android
Texview contents exceeds the gridview table size and throws fatal exception.I reduce the textview contents in Database and solved this error.
SIGABRT in __ioctl() while waiting for /dev/binder response
Pre-requisites: ARMv7 device, Android platform 4.2.2. Time to time I get SIGABRT upon interaction with a system service (a really buggy one) over a binder. The stack trace is as follows: #00 pc 000170ac /system/lib/libc.so (__ioctl+8) #01 pc 0002aa8d /system/lib/libc.so (ioctl+16) #02 pc 00016ba1 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+132) #03 pc 0001709d /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+44) #04 pc 000172b7 /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+114) #05 pc 00014a3b /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+34) __ioctl resolves to the following assembly code: 000170a4 <__ioctl>: 170a4: e92d0090 push {r4, r7} 170a8: e3a07036 mov r7, #54 ; 0x36 170ac: ef000000 svc 0x00000000 170b0: e8bd0090 pop {r4, r7} 170b4: e1b00000 movs r0, r0 170b8: 512fff1e bxpl lr 170bc: ea0093a6 b 3bf5c The stack dump is triggered by signal 6 (SIGABRT), code -6 (SI_KILL), with a fault address like 0x304, 0x330, 0x33A (it differs time to time and I am not even sure whether it is really an address in any address space rather than an error code or a flag combination). I have no idea what the signal might indicate, i.e. whether it is a driver error (but why is it relayed in such a strange way rather than over the return value?) an unintercepted driver fault (is that even possible without a kernel panic?); a kernel fault (outside the driver call and possibly unrelated to the driver); a broken interrupt vector (then why not SIGSEGV or SIGILL?); a result of SIGQUIT (Dalvik stack trace signal) received in supervisor mode. In the last case, I take my amazement back and proceed to investigation of the blocking call freeze cause (deadlock in the called process?). Possibly, I can build a test application to reproduce this specific precondition but it will take time. I found a number of similar-looking traces and bug reports around the web, indicating that the issue is not device or vendor specific (though possibly platform version specific). The exact service being interacted with does not matter either. P.S. logcat: 03-21 16:21:22.933 772 831 I InputDispatcher: Application is not responding: Window{41000dd8 u0 my.application.package/my.application.package.MyActivity}. It has been 5008.3ms since event, 5005.7ms since wait started. Reason: Waiting because the touched window has not finished processing the input events that were previously delivered to it. 03-21 16:21:22.943 772 831 I WindowManager: Input event dispatching timed out sending to my.application.package/my.application.package.MyActivity 03-21 16:21:23.163 772 831 I Process : Sending signal. PID: 16195 SIG: 3 03-21 16:21:23.163 16195 16200 I dalvikvm: threadid=3: reacting to signal 3 03-21 16:21:23.263 16195 16200 I dalvikvm: Wrote stack traces to '/data/anr/traces.txt' 03-21 16:21:23.273 772 831 E ActivityManager: ANR in my.application.package (my.application.package/my.application.package.MyActivity) 03-21 16:21:23.273 772 831 E ActivityManager: Reason: keyDispatchingTimedOut 03-21 16:21:23.273 772 831 E ActivityManager: Load: 0.0 / 0.0 / 0.0 03-21 16:21:23.273 772 831 E ActivityManager: CPU usage from 18140ms to 0ms ago: -- CPU usage dump, nothing unusual -- 03-21 16:21:23.273 772 831 E ActivityManager: 61% TOTAL: 33% user + 27% kernel + 0% iowait + 0.8% softirq 03-21 16:21:23.273 772 831 E ActivityManager: CPU usage from 5686369ms to 5686369ms ago with 0% awake: 03-21 16:21:23.273 772 831 E ActivityManager: 0% TOTAL: 0% user + 0% kernel 03-21 16:21:23.283 772 831 I Process : Sending signal. PID: 16195 SIG: 6 03-21 16:21:23.283 16195 16195 F libc : Fatal signal 6 (SIGABRT) at 0x00000304 (code=0), thread 16195 (my.application.package) -- and then the stack dump --
Android porting init issue
I have successfully ported android for sabre-sdp board,and it is booting till init process after that it is showing (init:untrackedpid xxxx).I have all the log from booting process to end and also ihave collected logcat logs also . please go through ,if you find any solution help me out. Thanks in advance for your support Logcat LOGS ------------------------------------------------------------------ root#android:/ # logcat --------- beginning of /dev/log/main D/ ( 2351): init_sensors D/ ( 2351): find sensor name mma845x D/ ( 2351): input device 'mma845x' opened, fd = 8 E/installd( 2348): Could not create directories; exiting. I/DEBUG ( 2342): debuggerd: May 13 2013 18:03:14 D/ ( 2351): find sensor name mag3110 D/ ( 2351): input device 'mag3110' opened, fd = 10 D/MagDaemon( 2351): magnetic sensor calibrate daemon start D/MagCalibrated( 2351): fl_calib = 1 D/MagDaemon( 2351): magnetic calibrate daemon set threshold 100.000000 E/keystore( 2349): chdir: /data/misc/keystore: No such file or directory --------- beginning of /dev/log/system I/Vold ( 2340): Vold 2.1 (the revenge) firing up D/Vold ( 2340): Volume udisk state changing -1 (Initializing) -> 0 (No-Media) D/Vold ( 2340): Volume extsd state changing -1 (Initializing) -> 0 (No-Media) I/Netd ( 2341): Netd 1.0 starting D/Vold ( 2340): Volume extsd state changing 0 (No-Media) -> 2 (Pending) D/Vold ( 2340): Volume extsd state changing 2 (Pending) -> 1 (Idle-Unmounted) E/DirectVolume( 2340): Invalid 'PARTN' value E/DirectVolume( 2340): Invalid 'PARTN' value D/MDnsDS ( 2341): MDnsSdListener::Hander starting up D/MDnsDS ( 2341): MDnsSdListener starting to monitor D/MDnsDS ( 2341): Going to poll with pollCount 1 I/mediaserver( 2346): ServiceManager: 0x41992ce0 I/AudioFlinger( 2346): Using default 3000 mSec as standby time. I/CameraService( 2346): CameraService started (pid=2346) I/FslCameraHAL( 2346): Face Back Camera is ov5640_mipi, orient is 0 I/FslCameraHAL( 2346): Face Front Camera is uvc,ov5642_camera,ov5640_camera, orient is 0 D/AndroidRuntime( 2344): D/AndroidRuntime( 2344): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<< D/AndroidRuntime( 2344): CheckJNI is ON I/AndroidRuntime( 2344): JNI options: '-Xjniopts:warnonly' E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/system#framework#core.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/core.jar' I/SurfaceFlinger( 2343): SurfaceFlinger is starting E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/system#framework#core-junit.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/core-junit.jar' I/SurfaceFlinger( 2343): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/system#framework#bouncycastle.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/bouncycastle.jar' E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/system#framework#ext.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/ext.jar' E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/system#framework#framework.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/framework.jar' D/dalvikvm( 2344): Unable to stat classpath element '/system/framework/telephony-common.jar' D/dalvikvm( 2344): Unable to stat classpath element '/system/framework/mms-common.jar' E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/system#framework#android.policy.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/android.policy.jar' W/imx6.gralloc( 2343): 32bpp setting of Framebuffer catched! E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/system#framework#services.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/services.jar' E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory I/dalvikvm( 2344): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/system#framework#apache-xml.jar#classes.dex) D/dalvikvm( 2344): Unable to process classpath element '/system/framework/apache-xml.jar' E/dalvikvm( 2344): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar' E/dalvikvm( 2344): VM aborting F/libc ( 2344): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 2344 (zygote)
Had the same issue. This happens when the data partition didnt get flash properly. Watch out for indications like: dd: writing to ‘/dev/mmcblk0’: No space left on device or [65561.466071] EXT4-fs (mmcblk0p4): bad geometry: block count 1653768 exceeds size of device (1639176 blocks) [65602.323558] EXT4-fs (mmcblk0p4): bad geometry: block count 1653768 exceeds size of device (1639176 blocks) Getting a larger SDCard would be a better idea.
Camera not responding
I am using the built in camera app in android using intents like this: final Button Capture=(Button)findViewById(sankalp.jain.sky.R.id.capture); Capture.setOnClickListener(new View.OnClickListener() { #Override public void onClick(View v) { Uri fileUri; final Intent intent=new Intent(MediaStore.ACTION_IMAGE_CAPTURE); Log.w("intent","for camera");//displayed fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE); // create a file to save the image Log.w("getoutput","getit");//displayed intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the image file name Log.w("hello","hello the 2nd step");//displayed startActivityForResult(intent,CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE); } I have implemented the relevant getOutputMediafile() method and the image gets saved in /mnt/sdcard/Pictures/Samarth/chart.png The sdcard is 40MB and there are only 2 files presently totaling some 100KB. The problem is that the camera works perfectly for some random number of snaps and then randomly hangs and then gives an ANR. Its totally random,restarting the emulator doesnt work and sometimes it does. Here is the logcat output LOGCAT: I/ActivityManager( 70): Displayed sankalp.jain.sky/.Tabinit: +1s364ms W/intent ( 596): for camera D/path ( 596): /mnt/sdcard/Pictures/Samarth W/getoutput( 596): getit W/hello ( 596): hello the 2nd step I/ActivityManager( 70): Starting: Intent { act=android.media.action.IMAGE_CAPT URE cmp=com.android.camera/.Camera (has extras) } from pid 596 D/PhoneWindow( 596): couldn't save which view has focus because the focused vie w com.android.internal.policy.impl.PhoneWindow$DecorView#4056d7e0 has no id. I/WindowManager( 70): Setting rotation to 1, animFlags=1 I/ActivityManager( 70): Config changed: { scale=1.0 imsi=310/260 loc=en_US tou ch=3 keys=2/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=13} V/CameraHolder( 411): open camera 0 D/CameraHardwareStub( 34): initHeapLocked: preview size=320x240 I/StagefrightPlayer( 34): setDataSource('/system/media/audio/ui/camera_click.o gg') I/StagefrightPlayer( 34): setDataSource('/system/media/audio/ui/VideoRecord.og g') D/Camera ( 411): app passed NULL surface D/CameraHardwareStub( 34): initHeapLocked: preview size=320x240 V/camera ( 411): startPreview I/ActivityManager( 70): Displayed com.android.camera/.Camera: +1s198ms W/OrientationEventListener( 411): Cannot detect sensors. Not enabled E/SurfaceFlinger( 70): texture=10, using format 17, which is not supported by the GL V/GLRootView( 411): onSurfaceChanged: 627x470, gl10: com.google.android.gles_jn i.GLImpl#40511140 V/GLRootView( 411): layout content pane 627x470 W/IInputConnectionWrapper( 596): showStatusIcon on inactive InputConnection D/dalvikvm( 70): GC_EXPLICIT freed 130K, 47% free 4929K/9159K, external 3511K/ 4385K, paused 795ms V/camera ( 411): Start autofocus. D/dalvikvm( 411): GC_EXTERNAL_ALLOC freed 34K, 51% free 2932K/5895K, external 2 480K/2565K, paused 697ms V/camera ( 411): mAutoFocusTime = 1622ms V/camera ( 411): doSnap: mFocusState=3 D/CameraHardwareStub( 34): initHeapLocked: preview size=320x240 D/dalvikvm( 596): GC_EXPLICIT freed 209K, 49% free 2870K/5575K, external 3065K/ 3507K, paused 650ms D/SntpClient( 70): request time failed: java.net.SocketException: Address fami ly not supported by protocol I/InputDispatcher( 70): Application is not responding: Window{40751af8 com.and roid.camera/com.android.camera.Camera paused=false}. 5014.6ms since event, 5014 .0ms since wait started I/WindowManager( 70): Input event dispatching timed out sending to com.android .camera/com.android.camera.Camera I/Process ( 70): Sending signal. PID: 411 SIG: 3 I/dalvikvm( 411): threadid=4: reacting to signal 3 I/dalvikvm( 411): Wrote stack traces to '/data/anr/traces.txt' I/Process ( 70): Sending signal. PID: 70 SIG: 3 I/dalvikvm( 70): threadid=4: reacting to signal 3 I/dalvikvm( 70): Wrote stack traces to '/data/anr/traces.txt' I/Process ( 70): Sending signal. PID: 340 SIG: 3 I/dalvikvm( 340): threadid=4: reacting to signal 3 I/dalvikvm( 340): Wrote stack traces to '/data/anr/traces.txt' I/Process ( 70): Sending signal. PID: 115 SIG: 3 I/dalvikvm( 115): threadid=4: reacting to signal 3 I/dalvikvm( 115): Wrote stack traces to '/data/anr/traces.txt' D/dalvikvm( 70): GC_EXPLICIT freed 354K, 45% free 5052K/9159K, external 3511K/ 4385K, paused 157ms E/ActivityManager( 70): ANR in com.android.camera (com.android.camera/.Camera) E/ActivityManager( 70): Reason: keyDispatchingTimedOut E/ActivityManager( 70): Load: 0.12 / 0.23 / 0.25 E/ActivityManager( 70): CPU usage from 42677ms to 0ms ago: E/ActivityManager( 70): 0.3% 70/system_server: 0.1% user + 0.1% kernel / fau lts: 5 minor E/ActivityManager( 70): 0.3% 115/com.android.systemui: 0.2% user + 0% kernel / faults: 4 minor E/ActivityManager( 70): 0.1% 340/com.android.phone: 0% user + 0% kernel / fa ults: 4 minor E/ActivityManager( 70): 0% 34/mediaserver: 0% user + 0% kernel E/ActivityManager( 70): 0% 32/rild: 0% user + 0% kernel E/ActivityManager( 70): 0% 41/adbd: 0% user + 0% kernel E/ActivityManager( 70): 1.1% TOTAL: 0.7% user + 0.4% kernel E/ActivityManager( 70): CPU usage from 1031ms to 1675ms later: E/ActivityManager( 70): 10% 70/system_server: 6.2% user + 4.6% kernel E/ActivityManager( 70): 10% 100/InputDispatcher: 7.8% user + 3.1% kernel E/ActivityManager( 70): 34% TOTAL: 17% user + 17% kernel I/InputDispatcher( 70): Dropping event because the pointer is not down. D/dalvikvm( 115): GC_CONCURRENT freed 365K, 49% free 2977K/5831K, external 2169 K/2674K, paused 9ms+6ms D/SntpClient( 70): request time failed: java.net.SocketException: Address fami ly not supported by protocol W/ProcessStats( 70): Skipping unknown process pid 734 W/ProcessStats( 70): Skipping unknown process pid 735 V/BackupManagerService( 70): Backup requested but nothing pending D/SntpClient( 70): request time failed: java.net.SocketException: Address fami ly not supported by protocol I/EventLogService( 266): Aggregate from 1332336498594 (log), 1332336498594 (dat a) D/dalvikvm( 266): GC_EXPLICIT freed 61K, 55% free 3085K/6727K, external 1625K/2 137K, paused 296ms
I could never figure out the reason myself but due to some problems when I decided to upgrade the emulator to Google API15(from API10) the camera doesn't hang anymore. Upgrading also rectified some weird problems like Force portrait mode in camera Hope that helps someone.
Android app crashes when generating list-view
Frameworks/Tools used for app development: jQuery Mobile 1.0.1 PhoneGap 1.3 Device/s used used for testing: Lenovo Thinkpad (Android 3.1) Sony experia (Android 2.3) Issue: App will always crash when dynamically generating a page (jQuery Mobile) with list-view items (items 60+). This is the case only on Android 3.x, app works fine on Android 2.x. <ul id="mk_activity" data-role="listview"> //the rows are added here dynamically </ul> On Android 3.x crash can be replicated every time the app refreshes the page with dynamically generated list-view. Since the app works fine in Android 2.x and there are no issues when running the app on the browser I'm assuming that the issue has to be with Android 3.x. Please someone shed some light on this issue, thanks in advance. Here are the logs from logcat: 01-30 09:51:02.215: I//system/bin/fsck_msdos(29): Attempting to allocate 2032 KB for FAT 01-30 09:51:02.285: D/dalvikvm(146): GC_FOR_ALLOC freed 516K, 11% free 8127K/9095K, paused 69ms 01-30 09:51:02.445: D/dalvikvm(146): GC_CONCURRENT freed 4K, 5% free 8685K/9095K, paused 4ms+3ms 01-30 09:51:02.695: V/TLINE(146): new: android.text.TextLine#4063cde0 01-30 09:51:03.215: D/dalvikvm(146): GC_CONCURRENT freed 723K, 10% free 8756K/9671K, paused 3ms+97ms 01-30 09:51:03.475: D/dalvikvm(146): GC_FOR_ALLOC freed 350K, 9% free 8862K/9671K, paused 121ms 01-30 09:51:03.475: I/dalvikvm-heap(146): Grow heap (frag case) to 9.097MB for 342236-byte allocation 01-30 09:51:03.555: D/dalvikvm(146): GC_FOR_ALLOC freed <1K, 9% free 9196K/10055K, paused 67ms 01-30 09:51:03.705: D/dalvikvm(146): GC_FOR_ALLOC freed 348K, 9% free 9196K/10055K, paused 62ms 01-30 11:13:50.575: I/DEBUG(3107): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 01-30 11:13:50.575: I/DEBUG(3107): Build fingerprint: 'generic/sdk/generic:3.1/MASTER/123685:eng/test-keys' 01-30 11:13:50.575: I/DEBUG(3107): pid: 3123, tid: 3134 >>> e2o.mobile <<< 01-30 11:13:50.575: I/DEBUG(3107): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0081b000 01-30 11:13:50.575: I/DEBUG(3107): r0 008193a0 r1 0081aff4 r2 0000045c r3 00000000 01-30 11:13:50.575: I/DEBUG(3107): r4 00000000 r5 00000000 r6 00000028 r7 00000000 01-30 11:13:50.575: I/DEBUG(3107): r8 00000000 r9 00000000 10 00000000 fp 00000000 01-30 11:13:50.575: I/DEBUG(3107): ip 0081b000 sp 46ec98d0 lr a828894b pc aff0c998 cpsr 20000010 01-30 11:13:50.585: D/ShaderProgram(3123): couldn't load the vertex shader! 01-30 11:13:50.585: E/libEGL(3123): call to OpenGL ES API with no current context (logged once per thread) 01-30 11:13:50.585: D/ShaderProgram(3123): couldn't load the vertex shader! 01-30 11:13:51.545: I/DEBUG(3107): #00 pc 0000c998 /system/lib/libc.so (memcpy) 01-30 11:13:51.565: I/DEBUG(3107): #01 pc 00088948 /system/lib/libwebcore.so 01-30 11:13:51.565: I/DEBUG(3107): #02 pc 00082654 /system/lib/libwebcore.so 01-30 11:13:51.565: I/DEBUG(3107): #03 pc 00082754 /system/lib/libwebcore.so ... goes on 01-30 11:13:51.686: I/DEBUG(3107): #29 pc 000d284e /system/lib/libwebcore.so 01-30 11:13:51.695: I/DEBUG(3107): #30 pc 00284fd4 /system/lib/libwebcore.so 01-30 11:13:51.695: I/DEBUG(3107): #31 pc 002885cc /system/lib/libwebcore.so 01-30 11:13:51.705: I/DEBUG(3107): libc base address: aff00000 01-30 11:13:51.705: I/DEBUG(3107): code around pc: 01-30 11:13:51.705: I/DEBUG(3107): aff0c978 e0422003 e2522020 3a000008 e3c1c01f 01-30 11:13:51.715: I/DEBUG(3107): aff0c9b8 48b10300 28a000f0 48a00300 e1b0cf02 01-30 11:13:51.725: I/DEBUG(3107): code around lr: 01-30 11:13:51.725: I/DEBUG(3107): a8288928 30089302 99029003 42999b79 682fdbe6 01-30 11:13:51.725: I/DEBUG(3107): a8288938 9879ac5b 6ebc9400 9b049906 1c280042 01-30 11:13:51.725: I/DEBUG(3107): a8288948 980a47a0 4298ab0b f784d001 a85beea8 01-30 11:13:51.725: I/DEBUG(3107): a8288958 ee62f784 bdf0b073 e6f62700 95022500 01-30 11:13:51.725: I/DEBUG(3107): a8288968 9878e70a 9d7a4a0a 98050043 686f682e 01-30 11:13:51.725: I/DEBUG(3107): stack: 01-30 11:13:51.725: I/DEBUG(3107): 46ec9890 00000000 01-30 11:13:51.725: I/DEBUG(3107): 46ec9894 00818b00 [heap] 01-30 11:13:51.725: I/DEBUG(3107): 46ec9898 46ecbb54 01-30 11:13:51.725: I/DEBUG(3107): 46ec989c 00000178 01-30 11:13:51.725: I/DEBUG(3107): 46ec98a0 00000178 01-30 11:13:51.725: I/DEBUG(3107): 46ec98a4 0062a80c [heap] goes on... 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ac8 000000bc 01-30 11:13:51.835: I/DEBUG(3107): 46ec9acc 00000000 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ad0 46ec9af8 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ad4 a8282659 /system/lib/libwebcore.so 01-30 11:13:53.265: D/dalvikvm(3123): GC_CONCURRENT freed 655K, 10% free 8079K/8903K, paused 3ms+4ms 01-30 11:13:56.335: D/dalvikvm(287): GC_EXPLICIT freed 8K, 10% free 6245K/6919K, paused 3ms+155ms 01-30 11:14:00.695: D/dalvikvm(260): GC_EXPLICIT freed 18K, 7% free 6344K/6791K, paused 3ms+173ms 01-30 11:14:02.925: I/BootReceiver(80): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE) 01-30 11:14:03.446: D/dalvikvm(80): GC_CONCURRENT freed 2109K, 49% free 13814K/26823K, paused 8ms+40ms 01-30 11:14:03.985: I/Web Console(3123): QONTEXT starting checkalerts at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:04.056: D/ShareImage:action=(3123): shareimage 01-30 11:14:04.755: I/Web Console(3123): QONTEXT https://pramati.qontext.com/notifications/feeds/network/2010122447649?type=plain&start=0&startIndex=0&count=20&csrf-token=434defd5553d10a02b0c70bdfa7a934d ==TIME:11:14:4 at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:07.595: D/dalvikvm(3123): GC_CONCURRENT freed 474K, 9% free 8135K/8903K, paused 4ms+4ms 01-30 11:14:09.665: D/dalvikvm(146): GC_EXPLICIT freed 18K, 20% free 20228K/25031K, paused 4ms+337ms 01-30 11:14:10.535: I/Web Console(3123): QONTEXT https://pramati.qontext.com/notifications/feeds/network/2010122447649?type=plain&start=20&startIndex=20&count=20&csrf-token=434defd5553d10a02b0c70bdfa7a934d ==TIME:11:14:10 at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:10.967: D/Zygote(33): Process 3123 terminated by signal (11) 01-30 11:14:10.975: I/ActivityManager(80): Process e2o.mobile (pid 3123) has died. 01-30 11:14:10.995: E/InputDispatcher(80): channel '41069718 e2o.mobile/e2o.mobile.Home (server)' ~ Consumer closed input channel or an error occurred. events=0x8 01-30 11:14:10.995: E/InputDispatcher(80): channel '41069718 e2o.mobile/e2o.mobile.Home (server)' ~ Channel is unrecoverably broken and will be disposed! 01-30 11:14:11.005: I/WindowManager(80): WIN DEATH: Window{41069718 e2o.mobile/e2o.mobile.Home paused=false} 01-30 11:14:11.015: I/WindowManager(80): WINDOW DIED Window{41069718 e2o.mobile/e2o.mobile.Home paused=false} 01-30 11:14:11.126: W/InputManagerService(80): Got RemoteException sending setActive(false) notification to pid 3123 uid 10036 The name of my app is e2o.mobile. The app is killed after getting a SIGSEGV. EDIT: on some digging into, it seems that the bug is related to the structure of my row elements of my list. if i print 1000 plain rows with text it doesn't crash. Here is the structure of my row- <li data-theme="c" class="ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-btn-hover-c ui-btn-up-c"> <div class="ui-btn-inner ui-li" aria-hidden="true"> <div class="ui-btn-text"> <a class="f-item ui-link-inherit" href="javascript:void(0);" > <p class="ui-li-heading f_feed_title f_l_indent ui-li-desc">abc</p> <p class="ui-li-desc f_feed_desc f_l_indent">asadasd</p> <div class="f_detail_ctr f_l_indent"> <p class="f_feed_desc f_c_margin ui-li-desc"> <span class="f_qw">1 <span class="f_icon "></span> </span> </p> </div> <img src="82b.jpg" class="ui-li-icon ui-li-thumb f_u_icon"> </a> </div> <span class="ui-icon ui-icon-arrow-r ui-icon-shadow"></span> </div> </li>