I am checking out my project on another computer and I am running into some weird errors with gradle. Here is the complete error output from the console:
03-19 08:28:26.377 239-239/? E/vinput-seamless: found seamless mouse device
03-19 08:28:26.706 246-246/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:26.744 246-246/? E/EGL_emulation: Failed to establish connection with the host
03-19 08:28:26.747 246-246/? E/gralloc_vbox86: gralloc: Failed to get host connection
03-19 08:28:26.747 246-246/? E/SurfaceFlinger: hwcomposer module not found
03-19 08:28:26.747 246-246/? E/SurfaceFlinger: ERROR: failed to open framebuffer (I/O error), aborting
--------- beginning of crash
03-19 08:28:26.747 246-246/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 246 (surfaceflinger)
[ 03-19 08:28:26.747 139: 139 W/ ]
debuggerd: handling request: pid=246 uid=1000 gid=1003 tid=246
[ 03-19 08:28:26.749 277: 277 E/ ]
debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
03-19 08:28:26.800 277-277/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-19 08:28:26.800 277-277/? A/DEBUG: Build fingerprint: 'Android/vbox86p/vbox86p:7.1.1/NMF26Q/genymo03202243:userdebug/test-keys'
03-19 08:28:26.800 277-277/? A/DEBUG: Revision: '0'
03-19 08:28:26.800 277-277/? A/DEBUG: ABI: 'x86'
03-19 08:28:26.800 277-277/? A/DEBUG: pid: 246, tid: 246, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
03-19 08:28:26.800 277-277/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
03-19 08:28:26.800 277-277/? A/DEBUG: eax 00000000 ebx 000000f6 ecx 000000f6 edx 00000006
03-19 08:28:26.800 277-277/? A/DEBUG: esi eecf758c edi eecf7534
03-19 08:28:26.800 277-277/? A/DEBUG: xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b
03-19 08:28:26.800 277-277/? A/DEBUG: eip eec23bb9 ebp ff8a07b8 esp ff8a075c flags 00000296
03-19 08:28:26.800 277-277/? A/DEBUG: backtrace:
03-19 08:28:26.800 277-277/? A/DEBUG: #00 pc 00000bb9 [vdso:eec23000] (__kernel_vsyscall+9)
03-19 08:28:26.800 277-277/? A/DEBUG: #01 pc 0007a30c /system/lib/libc.so (tgkill+28)
03-19 08:28:26.800 277-277/? A/DEBUG: #02 pc 00075b55 /system/lib/libc.so (pthread_kill+85)
03-19 08:28:26.800 277-277/? A/DEBUG: #03 pc 0002786a /system/lib/libc.so (raise+42)
03-19 08:28:26.800 277-277/? A/DEBUG: #04 pc 0001ee46 /system/lib/libc.so (abort+86)
03-19 08:28:26.800 277-277/? A/DEBUG: #05 pc 0004fcae /system/lib/libsurfaceflinger.so
03-19 08:28:26.800 277-277/? A/DEBUG: #06 pc 0003e2f8 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+1016)
03-19 08:28:26.800 277-277/? A/DEBUG: #07 pc 00000e87 /system/bin/surfaceflinger
03-19 08:28:26.800 277-277/? A/DEBUG: #08 pc 0001533c /system/lib/libc.so (__libc_init+108)
03-19 08:28:26.800 277-277/? A/DEBUG: #09 pc 00000ccc /system/bin/surfaceflinger
...
03-19 08:28:36.013 598-617/system_process E/BatteryStatsService: no controller energy info supplied
[ 03-19 08:28:36.014 690: 690 D/ ]
HostConnection::get() New Host Connection established 0xdd17da40, tid 690
03-19 08:28:36.081 790-854/com.android.settings E/EGL_emulation: tid 854: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)
03-19 08:28:36.328 770-770/com.android.phone E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:36.445 690-690/com.android.systemui E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:36.457 690-690/com.android.systemui E/CameraManagerGlobal: Camera service is unavailable
03-19 08:28:36.468 690-690/com.android.systemui E/CameraManagerGlobal: Camera service is unavailable
03-19 08:28:36.950 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
03-19 08:28:37.039 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
03-19 08:28:37.048 1129-1129/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:28:37.048 1129-1129/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:28:37.486 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
03-19 08:28:37.546 1063-1180/com.android.launcher3 E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:37.558 770-770/com.android.phone E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
[ 03-19 08:28:37.558 1063: 1180 D/ ]
..
03-19 08:28:41.779 1735-1735/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: receiveMessage: Unable to obtain payload size: Try again
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: doQuery Response to query 'connect' has failed: Try again
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyClient: queryConnect: Query failed: No error message
03-19 08:28:42.241 330-330/? E/EmulatedCamera_GenyDevice: connectDevice: Connection to device 'back' failed
03-19 08:28:42.241 330-330/? E/CameraFlashlight: Could not open camera 0: -19
03-19 08:28:42.241 330-330/? E/CameraFlashlight: connectCameraDevice: initializing camera 0 failed
03-19 08:28:42.241 330-330/? E/CameraFlashlight: findFlashUnits: failed to check if camera 0 has a flash unit. No such device (-19)
03-19 08:28:43.052 1319-1740/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:44.107 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:45.553 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:45.641 1319-1857/com.google.android.gms E/MDM: [172] wuq.run: Couldn't connect to Google API client: krs{statusCode=API_UNAVAILABLE, resolution=null, message=null}
03-19 08:28:45.778 1890-1890/? E/cutils-trace: Error opening trace file: Permission denied (13)
03-19 08:28:46.167 984-1917/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:46.230 1923-1923/? E/cutils-trace: Error opening trace file: Permission denied (13)
03-19 08:28:46.337 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:46.349 1742-1760/com.google.android.gms.unstable E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
03-19 08:28:47.134 1319-1319/com.google.android.gms E/MDM: [1] SitrepChimeraService.a: No Google accounts; deferring server state update.
03-19 08:28:47.777 984-1688/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.checkin.EventLogService} AggregationTaskTag
03-19 08:28:48.580 984-1972/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.clearcut.uploader.QosUploaderService} qos_unmetered_periodic
03-19 08:28:48.587 984-1975/com.google.android.gms.persistent E/NetworkScheduler.ATC: Received callback from client for task that is already complete. ComponentInfo{com.google.android.gms/com.google.android.gms.clearcut.uploader.QosUploaderService} qos_default_periodic
03-19 08:28:48.913 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION intent_firewall: null null
03-19 08:28:48.915 1319-1740/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:48.916 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION apn_db: null null
03-19 08:28:48.917 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION tzdata: null null
03-19 08:28:48.919 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION selinux: null null
03-19 08:28:48.923 1580-1580/com.google.android.configupdater E/ConfigUpdater: Received malformed URL while handling Gservices.CHANGED_ACTION carrier_provisioning_urls: null null
03-19 08:28:49.042 1319-1319/com.google.android.gms E/ChimeraProxyRslvr: Failed to instantiate com.google.android.gms.checkin.CheckinChimeraService$Receiver: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.checkin.CheckinChimeraService$Receiver" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_extracted_libs/x86, /system/priv-app/PrebuiltGmsCore/lib/x86, /system/fake-libs, /system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
03-19 08:28:49.042 1319-1319/com.google.android.gms E/ChimeraRcvrProxy: com.google.android.gms.checkin.CheckinServiceReceiver dropping broadcast com.google.gservices.intent.action.GSERVICES_CHANGED
03-19 08:28:49.128 1319-1740/com.google.android.gms E/ProcessCheckinRequest: CheckinNowTaskTag : Checkin Succeeded: https://android.clients.google.com/checkin (request #1):
03-19 08:28:49.230 1319-1954/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:49.232 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:49.333 1319-1715/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:49.394 984-2011/com.google.android.gms.persistent E/HeterodyneSyncer: expected change count fail
03-19 08:28:49.556 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
03-19 08:28:49.575 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:49.807 1319-1661/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/user_de/0/com.google.android.gms/app_chimera/current_modulesets.pb (No such file or directory)
[ 03-19 08:28:49.817 1742: 1757 D/ ]
HostConnection::get() New Host Connection established 0xe0bb8e40, tid 1757
03-19 08:28:49.830 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.accountsettings
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.259 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.audit
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.439 984-2020/com.google.android.gms.persistent E/GcmPushIntentOperation: Failed to subscribe to GCM: com.google.android.gms.cast
java.io.IOException: TOO_MANY_SUBSCRIBERS
at uzy.b(:com.google.android.gms#11509470:41)
at uzy.a(:com.google.android.gms#11509470:46)
at uzv.b(:com.google.android.gms#11509470:11)
at uzv.a(:com.google.android.gms#11509470:29)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:22)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.a(:com.google.android.gms#11509470:4)
at com.google.android.gms.phenotype.gcmpush.GcmPushIntentOperation.onHandleIntent(:com.google.android.gms#11509470:18)
at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms#11509470:2)
at bwh.run(:com.google.android.gms#11509470:10)
at bwe.run(:com.google.android.gms#11509470:14)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
03-19 08:28:50.963 255-260/? E/Drm: Failed to find drm plugin
03-19 08:28:51.002 984-1809/com.google.android.gms.persistent E/NetworkScheduler.ATC: Provided calling package not found: com.google.android.apps.photos
03-19 08:28:52.273 1319-1954/com.google.android.gms E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
03-19 08:28:52.605 984-984/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
03-19 08:28:52.889 1319-1954/com.google.android.gms E/ProcessCheckinRequest: CheckinNowTaskTag : Checkin Succeeded: https://android.clients.google.com/checkin (request #1):
03-19 08:28:56.659 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:28:56.659 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:01.659 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:01.660 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:06.661 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:06.661 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:11.661 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:11.661 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:16.663 598-651/system_process E/SupplicantWifiScannerImpl: Failed to start scan, freqs={2412}
03-19 08:29:16.663 598-648/system_process E/WifiConnectivityManager: SingleScanListener onFailure: reason: -1 description: Scan failed
03-19 08:29:22.127 2106-2106/com.google.android.gms:car E/CAR.TEL.Service: Failed to bind to InCallService
03-19 08:29:22.393 1508-1508/com.android.vending E/Finsky: [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
03-19 08:29:33.709 598-628/system_process E/PackageInstaller: Commit of session 1175500126 failed: Failed to extract native libraries, res=-113
03-19 08:29:33.723 1508-1508/com.android.vending E/Finsky: [1] com.google.android.finsky.cb.a.n.onReceive(27): Error -507 while installing com.android.vending: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113
03-19 08:29:38.209 2166-2173/com.android.deskclock E/art: Failed sending reply to debugger: Broken pipe
03-19 08:30:01.102 1319-1738/com.google.android.gms E/SQLiteCastStore: End saving paired guest mode devices
03-19 08:30:01.127 244-244/? E/lowmemorykiller: Error writing /proc/1814/oom_score_adj; errno=22
03-19 08:32:15.534 2221-2221/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:32:15.534 2221-2221/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:32:15.761 2236-2236/? E/memtrack: Couldn't load memtrack module (No such file or directory)
03-19 08:32:15.761 2236-2236/? E/android.os.Debug: failed to load memtrack module: -2
03-19 08:32:22.313 255-260/? E/Drm: Failed to find drm plugin
It looks like I am having some dependency issues. So I cleaned and rebuilt the project, still running into the same errors. I know for a fact it was compiling before it was pushed to Git.
Related
Create empty project in unity. Compile it to APK. When try to start : "Unfortunately (app) has stopped"
Device Filter : "FAT (ARMv7 + x86)"
Here is a logcat:
--------- beginning of /dev/log/system
E/VoldConnector( 652): NDC Command {468 asec create smdl2tmp1 45 ext4 [scrubbed] 10005 1} took too long (8857ms)
E/VoldConnector( 652): NDC Command {470 asec finalize smdl2tmp1} took too long (669ms)
--------- beginning of /dev/log/main
E/rsC++ (23278): RS Message thread exiting.
E/Finsky (29234): [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
E/ (23278): appName=com.android.launcher3, acAppName=/system/bin/surfaceflinger
E/ (23278): 0
E/ ( 652): Could not open '/data/data/hotplug/cmd'
E/ ( 652): error : 2, No such file or directory
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30687): Could not find class 'android.telecom.TelecomManager', referenced from method com.google.android.gms.wearable.service.y.a
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30621): Could not find class 'android.app.usage.UsageStatsManager', referenced from method com.google.android.gms.lockbox.LockboxService.a
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [66] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [66] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/CellLocation( 809): create GsmCellLocation
E/CellLocation( 809): create GsmCellLocation
E/CellLocation( 809): create GsmCellLocation
E/cutils-trace(30720): Error opening trace file: No such file or directory (2)
E/memtrack(30720): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug(30720): failed to load memtrack module: -2
E/VoldConnector( 652): NDC Command {482 asec create smdl2tmp1 45 ext4 [scrubbed] 10005 1} took too long (8436ms)
E/VoldConnector( 652): NDC Command {484 asec finalize smdl2tmp1} took too long (2238ms)
E/ ( 652): Could not open '/data/data/hotplug/cmd'
E/ ( 652): error : 2, No such file or directory
E/installd( 154): prepare_ext cache dir /mnt/sdcard/dalvik-cache/ fail: File exists
E/installd( 154): cannot chmod '/mnt/sdcard/dalvik-cache/mnt#asec#com.a.b-1#pkg.apk#classes.dex' : Operation not permitted
E/jdwp (30720): jdwp::setsockopt(SO_SNDTIMEO)
E/jdwp (30720): jdwp::setsockopt(SO_RCVTIMEO)
E/Finsky (29234): [1] com.google.android.finsky.wear.bl.a(3): onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/AuthorizationBluetoothService( 908): Proximity feature is not enabled.
E/dalvikvm(30869): Could not find class 'android.telecom.TelecomManager', referenced from method com.google.android.gms.wearable.service.y.a
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
E/MDM ( 809): [52] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
My problem is when I run my app on API level 23 devices,I have a an issue,when video is playing and I lock the device,after unlocking,it plays sound for 2-3 seconds and then there is no sound,and after a couple of seconds the screen is getting black.
LogCat
09-14 07:56:01.819 1641-1641/system_process E/PowerManagerService-JNI: Couldn't load power module (No such file or directory)
09-14 07:56:01.919 1641-1641/system_process E/art: DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
09-14 07:56:02.800 1641-1641/system_process E/ConsumerIrService: Can't open consumer IR HW Module, error: -2
09-14 07:56:02.921 1641-1706/system_process E/EventHub: could not get driver version for /dev/input/mice, Not a typewriter
09-14 07:56:04.158 1641-1641/system_process E/UsbDeviceManager: failed to write to /sys/class/android_usb/android0/f_rndis/ethaddr
09-14 07:56:04.158 1641-1641/system_process E/UsbDeviceManagerJNI: could not open /dev/usb_accessory
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.password.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.pattern.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.gesture.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.266 1641-1641/system_process E/LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gesture.key: open failed: ENOENT (No such file or directory)
09-14 07:56:04.274 1641-1641/system_process E/WifiService: Invoking mWifiStateMachine.setWifiEnabled
09-14 07:56:04.679 1641-1722/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.684 1641-1722/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.693 1641-2001/system_process E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
09-14 07:56:04.702 1641-1641/system_process E/InputMethodManagerService: Ignoring updateSystemUiLocked due to an invalid token. uid:1000 token:null
09-14 07:56:04.725 1641-1641/system_process E/FlpHardwareProvider: Error hw_get_module 'flp': -2
09-14 07:56:04.725 1641-1641/system_process E/LocationManagerService: FLP HAL not supported
09-14 07:56:04.726 1641-1641/system_process E/ActivityRecognitionHardware: Error hw_get_module: -2
09-14 07:56:04.726 1641-1641/system_process E/LocationManagerService: Hardware Activity-Recognition not supported.
09-14 07:56:04.741 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:04.781 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:04.782 1641-1715/system_process E/WifiStateMachine: Failed to reload STA firmware java.lang.IllegalArgumentException: command '16 softap fwreload wlan0 STA' failed with '501 16 SoftAP command has failed'
09-14 07:56:04.784 1641-1715/system_process E/WifiStateMachine: Unable to change interface settings: java.lang.IllegalStateException: command '18 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 18 Failed to set address (No such device)'
09-14 07:56:04.784 1641-1715/system_process E/WifiMonitor: killSupplicant p2pfalse init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
09-14 07:56:04.902 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.917 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:04.922 1641-1641/system_process E/BluetoothAdapter: Bluetooth binder is null
09-14 07:56:05.328 1641-1717/system_process E/ConnectivityService: Failed to find Messenger in unregisterNetworkFactory
09-14 07:56:06.506 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.533 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.687 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.726 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.737 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.857 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:06.862 1641-1662/system_process E/GpsLocationProvider: no AGPS interface in set_agps_server
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Failed to stop supplicant
09-14 07:56:10.042 1641-1715/system_process E/WifiNative-HAL: Could not start hal
09-14 07:56:10.042 1641-1715/system_process E/WifiStateMachine: Failed to start HAL
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory
09-14 07:56:10.042 1641-1715/system_process E/WifiHW: Wi-Fi will not be enabled
09-14 07:56:10.042 1641-1715/system_process E/WifiStateMachine: Failed to start supplicant!
09-14 07:56:39.975 1641-1674/system_process E/Surface: getSlotFromBufferLocked: unknown buffer: 0xaaf4b0e0
09-14 07:56:39.975 1641-1674/system_process E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
09-14 07:56:39.990 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
09-14 07:56:39.997 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
09-14 07:56:43.721 1641-1715/system_process E/WifiStateMachine: Fail to set up pno, want false now false
These two line are printed every time when I lock or unlock the device.
09-14 07:56:43.721 1641-1715/system_process E/WifiStateMachine: Fail
to set up pno, want false now false 09-14 08:03:36.788
1641-1674/system_process E/Surface: getSlotFromBufferLocked: unknown
buffer: 0xaaf4b0e0
Any help is appreciated,thx.
They have fixed the issue in Android 6.0.1. Just update your Android OS version and it will be ok.
I'm trying to use the JavaMail Android port in my application but my app crashes when I try to send anything. I've followed the guide here and created the Mailclass. Then in my MainActivity I've added
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Mail m = new Mail("mailtosendfrom", "mypassword");
new SendMailTask().execute(m);
}
private class SendMailTask extends AsyncTask<Mail, Void, Void> {
#Override
protected Void doInBackground(Mail... mail) {
Mail m = mail[0];
String[] toArr = {"mailtosendto"};
m.setTo(toArr);
m.setFrom("mailtosendfrom");
m.setSubject("This is an email sent using my Mail JavaMail wrapper from an Android device.");
m.setBody("Email body.");
try {
m.send();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}
AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mypackage" >
<uses-permission android:name="android.permission.INTERNET" />
<application ...>
...
</application>
</manifest>
Now when I start my app it crashes immediately with the following message in logcat:
04-19 18:37:58.540 4547-4547/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
04-19 18:37:58.540 4547-4547/? D/AndroidRuntime﹕ CheckJNI is ON
04-19 18:37:58.570 4547-4547/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
04-19 18:37:58.570 4547-4547/? E/android.os.Debug﹕ failed to load memtrack module: -2
04-19 18:37:58.590 4547-4547/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am
--------- beginning of system
04-19 18:37:58.590 1313-1823/system_process I/ActivityManager﹕ Force stopping com.oskar.ratingapp appid=10046 user=0: from pid 4547
04-19 18:37:58.600 4547-4547/? D/AndroidRuntime﹕ Shutting down VM
04-19 18:37:58.600 4547-4550/? I/art﹕ Debugger is no longer active
04-19 18:37:58.600 4547-4556/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
04-19 18:37:58.600 4547-4556/? I/AndroidRuntime﹕ NOTE: attach of thread 'Binder_1' failed
04-19 18:37:58.990 4559-4559/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
04-19 18:37:58.990 4559-4559/? D/AndroidRuntime﹕ CheckJNI is ON
04-19 18:37:59.030 4559-4559/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
04-19 18:37:59.030 4559-4559/? E/android.os.Debug﹕ failed to load memtrack module: -2
04-19 18:37:59.050 4559-4559/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am
04-19 18:37:59.060 1313-1804/system_process I/ActivityManager﹕ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.oskar.ratingapp/.MainActivity} from uid 0 on display 0
04-19 18:37:59.070 4559-4559/? D/AndroidRuntime﹕ Shutting down VM
04-19 18:37:59.080 1313-1330/system_process I/ActivityManager﹕ Start proc com.oskar.ratingapp for activity com.oskar.ratingapp/.MainActivity: pid=4569 uid=10046 gids={50046, 9997, 3003} abi=x86_64
04-19 18:37:59.080 4559-4561/? I/art﹕ Debugger is no longer active
04-19 18:37:59.080 4569-4569/? E/libprocessgroup﹕ failed to make and chown /acct/uid_10046: Read-only file system
04-19 18:37:59.080 4569-4569/? W/Zygote﹕ createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
04-19 18:37:59.080 4569-4569/? I/art﹕ Not late-enabling -Xcheck:jni (already on)
04-19 18:37:59.330 4569-4585/? D/OpenGLRenderer﹕ Render dirty regions requested: true
04-19 18:37:59.350 4569-4569/? D/﹕ HostConnection::get() New Host Connection established 0x7fb32fc8f280, tid 4569
04-19 18:37:59.370 4569-4569/? D/Atlas﹕ Validating map...
04-19 18:37:59.430 4569-4585/? D/﹕ HostConnection::get() New Host Connection established 0x7fb32fc8ff40, tid 4585
04-19 18:37:59.440 4569-4585/? I/OpenGLRenderer﹕ Initialized EGL, version 1.4
04-19 18:37:59.460 4569-4585/? D/OpenGLRenderer﹕ Enabling debug mode 0
04-19 18:37:59.480 4569-4585/? W/EGL_emulation﹕ eglSurfaceAttrib not implemented
04-19 18:37:59.480 4569-4585/? W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb32fc8ef00, error=EGL_SUCCESS
--------- beginning of crash
04-19 18:37:59.610 4569-4584/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x750000013f in tid 4584 (AsyncTask #1)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-19 18:37:59.730 957-957/? I/DEBUG﹕ Build fingerprint: 'generic_x86_64/sdk_phone_x86_64/generic_x86_64:5.0/LRX09D/1504858:eng/test-keys'
04-19 18:37:59.730 957-957/? I/DEBUG﹕ Revision: '0'
04-19 18:37:59.730 957-957/? I/DEBUG﹕ ABI: 'x86_64'
04-19 18:37:59.730 957-957/? I/DEBUG﹕ pid: 4569, tid: 4584, name: AsyncTask #1 >>> com.oskar.ratingapp <<<
04-19 18:37:59.730 957-957/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x750000013f
04-19 18:37:59.730 957-957/? I/DEBUG﹕ rax 0000000000000000 rbx 000000750000008f rcx 0000000000000081 rdx 0000000000000001
04-19 18:37:59.730 957-957/? I/DEBUG﹕ rsi 000000000000001e rdi 00007fb33a7a72b0
04-19 18:37:59.730 957-957/? I/DEBUG﹕ r8 000000000000014a r9 0000000000000000 r10 00007fb33e64fe2c r11 00007fb3410b12c0
04-19 18:37:59.730 957-957/? I/DEBUG﹕ r12 00007fb32fc91380 r13 0000000000000001 r14 00007fb32fccf268 r15 00007fb32fccf380
04-19 18:37:59.730 957-957/? I/DEBUG﹕ cs 0000000000000033 ss 000000000000002b
04-19 18:37:59.730 957-957/? I/DEBUG﹕ rip 00007fb3411144d6 rbp 0000000000000000 rsp 00007fb32fbfeb30 eflags 0000000000010202
04-19 18:37:59.730 957-957/? I/DEBUG﹕ backtrace:
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #00 pc 00000000000e34d6 /system/lib64/libcrypto.so (ENGINE_init+38)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #01 pc 00000000000eb435 /system/lib64/libcrypto.so (EVP_MD_CTX_copy_ex+37)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #02 pc 00000000000f8582 /system/lib64/libcrypto.so (HMAC_CTX_copy+66)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #03 pc 00000000000f7e32 /system/lib64/libcrypto.so
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #04 pc 00000000000f698a /system/lib64/libcrypto.so (EVP_PKEY_CTX_dup+234)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #05 pc 00000000000eb52b /system/lib64/libcrypto.so (EVP_MD_CTX_copy_ex+283)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #06 pc 000000000004a9b3 /system/lib64/libssl.so (tls1_mac+195)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #07 pc 0000000000032456 /system/lib64/libssl.so
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #08 pc 000000000003207e /system/lib64/libssl.so (ssl3_write_bytes+302)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #09 pc 00000000000261d0 /system/lib64/libssl.so (ssl3_do_write+32)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #10 pc 0000000000028ef1 /system/lib64/libssl.so (ssl3_connect+2353)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #11 pc 00000000000207d7 /system/lib64/libssl.so (ssl23_connect+3463)
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #12 pc 00000000000186a2 /system/lib64/libjavacrypto.so
04-19 18:37:59.730 957-957/? I/DEBUG﹕ #13 pc 0000000000409ef1 /data/dalvik-cache/x86_64/system#framework#boot.oat
04-19 18:37:59.800 957-957/? I/DEBUG﹕ Tombstone written to: /data/tombstones/tombstone_01
04-19 18:37:59.840 1313-1399/system_process W/InputDispatcher﹕ channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
04-19 18:37:59.840 1313-1399/system_process E/InputDispatcher﹕ channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-19 18:37:59.840 963-963/? I/Zygote﹕ Process 4569 exited due to signal (11)
04-19 18:37:59.940 1313-4593/system_process W/ActivityManager﹕ Force finishing activity com.oskar.ratingapp/.MainActivity
04-19 18:37:59.950 1313-1822/system_process I/WindowState﹕ WIN DEATH: Window{27028e74 u0 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity}
04-19 18:37:59.950 1313-1822/system_process W/InputDispatcher﹕ Attempted to unregister already unregistered input channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)'
04-19 18:37:59.950 1313-4593/system_process E/ActivityManager﹕ Invalid thumbnail dimensions: 360x360
04-19 18:37:59.950 1313-4593/system_process W/ActivityManager﹕ Exception thrown during pause
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:479)
at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:701)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:852)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2754)
at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2611)
at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2448)
at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11507)
at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11404)
at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12083)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:11599)
at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
04-19 18:37:59.950 946-946/? E/lowmemorykiller﹕ Error opening /proc/4569/oom_score_adj; errno=2
04-19 18:37:59.960 1313-1329/system_process I/ActivityManager﹕ Process com.oskar.ratingapp (pid 4569) has died
04-19 18:38:00.000 1313-2329/system_process I/OpenGLRenderer﹕ Initialized EGL, version 1.4
04-19 18:38:00.010 1903-1968/com.android.launcher W/EGL_emulation﹕ eglSurfaceAttrib not implemented
04-19 18:38:00.010 1903-1968/com.android.launcher W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb32dde2980, error=EGL_SUCCESS
04-19 18:38:00.010 1313-2329/system_process W/EGL_emulation﹕ eglSurfaceAttrib not implemented
04-19 18:38:00.010 1313-2329/system_process W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb328cf1780, error=EGL_SUCCESS
04-19 18:38:03.090 1313-1426/system_process D/TaskPersister﹕ removeObsoleteFile: deleting file=44_task.xml
04-19 18:38:03.200 1313-1414/system_process W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client
04-19 18:38:03.220 1313-1463/system_process W/InputMethodManagerService﹕ Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#12273a0d attribute=null, token = android.os.BinderProxy#133a0350
04-19 18:38:03.740 1903-1968/com.android.launcher W/OpenGLRenderer﹕ Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
complete shot in the dark. This has worked for me however.
try this
ExecutorService es = Executors.newCachedThreadPool();
es.execute(new Runnable() {
#Override
public void run() {
//Run Mail Here
}
});
es.shutdown();
//This part is so that you know when the ES has finished so that you can persay say success.
try {
boolean finshed = es.awaitTermination(1, TimeUnit.MINUTES);
} catch (InterruptedException e) {
e.printStackTrace();
}
I had an issue with AsyncTasks earlier. Hope it helps!
The code is not the problem, the emulator is.
I just tried this on a device instead of the emulator and it works flawlessly.
I have cross-compiled Valgrind for android target eabi x86 with NDK R10b.
When launching my app per steps as for example here valgrind crashes.
Log
10-29 11:16:07.468: D/AndroidRuntime(2240): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-29 11:16:07.469: D/AndroidRuntime(2240): CheckJNI is ON
10-29 11:16:07.486: E/memtrack(2240): Couldn't load memtrack module (No such file or directory)
10-29 11:16:07.486: E/android.os.Debug(2240): failed to load memtrack module: -2
10-29 11:16:07.500: D/AndroidRuntime(2240): Calling main entry com.android.commands.am.Am
10-29 11:16:07.502: I/ActivityManager(1236): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=...} from uid 0 on display 0
10-29 11:16:07.518: D/AndroidRuntime(2240): Shutting down VM
10-29 11:16:07.519: I/art(2240): Debugger is no longer active
10-29 11:16:07.522: E/libprocessgroup(2250): failed to make and chown /acct/uid_10053: Read-only file system
10-29 11:16:07.522: W/Zygote(2250): createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
10-29 11:16:07.523: I/art(2250): Not late-enabling -Xcheck:jni (already on)
10-29 11:16:07.524: E/art(2240): Thread attaching while runtime is shutting down: Binder_1
10-29 11:16:07.524: I/AndroidRuntime(2240): NOTE: attach of thread 'Binder_1' failed
10-29 11:16:09.746: D/AndroidRuntime(2264): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-29 11:16:09.848: D/AndroidRuntime(2264): CheckJNI is ON
10-29 11:16:10.278: I/art(2264): Counter: 1
10-29 11:16:10.318: I/start-valgrind.sh(2263): No [stack] line found in /proc/self/maps!
10-29 11:16:10.321: A/libc(2264): No [stack] line found in /proc/self/maps!
10-29 11:16:10.341: A/libc(2264): Fatal signal 6 (SIGABRT), code -6 in tid 2264 (...)
10-29 11:16:10.580: I/DEBUG(948): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-29 11:16:10.580: I/DEBUG(948): Build fingerprint: 'generic_x86/sdk_phone_x86/generic_x86:5.0/LRX09D/1504858:eng/test-keys'
10-29 11:16:10.580: I/DEBUG(948): Revision: '0'
10-29 11:16:10.580: I/DEBUG(948): ABI: 'x86'
10-29 11:16:10.580: I/DEBUG(948): pid: 2264, tid: 2264, name: ... >>> /data/local/Inst/bin/valgrind <<<
10-29 11:16:10.580: I/DEBUG(948): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
10-29 11:16:10.581: I/DEBUG(948): Abort message: 'No [stack] line found in /proc/self/maps!'
10-29 11:16:10.581: I/DEBUG(948): eax 00000000 ebx 000008d8 ecx 00000006 edx 00000000
10-29 11:16:10.581: I/DEBUG(948): esi 00000000 edi 00000000
10-29 11:16:10.581: I/DEBUG(948): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
10-29 11:16:10.581: I/DEBUG(948): eip 3806dd52 ebp 00000000 esp 628cfe40 flags 00200202
10-29 11:16:10.581: I/DEBUG(948): backtrace:
10-29 11:16:10.581: I/DEBUG(948): #00 pc 0006dd52 /data/local/Inst/lib/valgrind/memcheck-x86-linux
10-29 11:16:10.583: W/NativeCrashListener(1236): Couldn't find ProcessRecord for pid 2264
10-29 11:16:10.597: I/DEBUG(948): Tombstone written to: /data/tombstones/tombstone_09
10-29 11:16:10.597: I/BootReceiver(1236): Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
10-29 11:16:10.637: I/start-valgrind.sh(2263): start-valgrind.sh terminated by exit(1)
10-29 11:16:10.638: I/Zygote(954): Process 2250 exited cleanly (1)
10-29 11:16:10.639: W/Zygote(954): Error reading pid from wrapped process, child may have died
10-29 11:16:10.639: W/Zygote(954): java.io.EOFException
10-29 11:16:10.639: W/Zygote(954): at libcore.io.Streams.readFully(Streams.java:83)
10-29 11:16:10.639: W/Zygote(954): at java.io.DataInputStream.readInt(DataInputStream.java:103)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteConnection.handleParentProc(ZygoteConnection.java:974)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:276)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:784)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:690)
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: returned from zygote!
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: done updating battery stats
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: building log message
10-29 11:16:10.639: I/ActivityManager(1236): Start proc ... for activity ...: pid=2250 uid=10053 gids={50053, 9997, 3003, 1028, 1015} abi=x86
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: starting to update pids map
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3130ms so far, now at startProcess: done updating pids map
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3130ms so far, now at startProcess: done starting proc!
10-29 11:16:17.520: W/ActivityManager(1236): Launch timeout has expired, giving up wake lock!
10-29 11:16:20.650: W/ActivityManager(1236): Process ProcessRecord{1daddf3b 2250:.../u0a53} failed to attach
10-29 11:16:20.650: I/ActivityManager(1236): Killing 2250:.../u0a53 (adj -100): start timeout
this also happens to me on ARM emulator for Android 5/L
I am using ubuntu 14
manual valgrind launch such as /data/local/Inst/bin/valgrind /data/local/sample-bin works without a problem
this was working fine with the same Valgrind compilation on emulator API 18 (ARM)
I've tried remounting the file system in write-allowed mode using
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
and
mount -o ro,remount /system
and
adb root && adb remount
-- none does the trick
Has anyone have any ideas what might be the problem here ?
I had a similar error from the emulator's Widget Preview app:
E/libprocessgroup﹕ failed to make and chown /acct/uid_10052: Read-only file system
After various web searches and experiments, I discovered that the emulator's /sdcard was indeed set to read-only. (You can test this by trying to touch or push a file in adb shell, or using Android Device Manager to explore the file system.)
The bug and workaround that worked are described in Issue 78434.
Workaround
Go to your ADV folder in .android folder and find your AVD's config.ini file, e.g. ~/.android/avd/Nexus5_v19.avd/config.ini.
Open it with a text editor. If you're on Windows, use a text editor that can handle Unix newlines.
Change hw.sdCard=no to hw.sdCard=yes.
Save that, re-launch the emulator, and test that /sdcard is writeable.
Okay, I've encountered this same problem and the above solution didn't work for me. I figured it out as it occurred exactly after I added Firebase Storage to my app.
Checked the build.gradle(Module:app), found Firebase different versions conflict, changed all of them to the same version, Sync Project and now it works :) Hope this help for future reference.
Code:
path = "httplive://<host>/moviets/index.m3u8";
// Create a new media player and set the listeners
mMediaPlayer = new MediaPlayer();
mMediaPlayer.setDataSource(path);
mMediaPlayer.setOnErrorListener(this);
mMediaPlayer.setDisplay(holder);
mMediaPlayer.prepare(); // Crashes here. prepareAsync() does not help either
mMediaPlayer.setOnBufferingUpdateListener(this);
mMediaPlayer.setOnCompletionListener(this);
mMediaPlayer.setOnPreparedListener(this);
mMediaPlayer.setOnVideoSizeChangedListener(this);
mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
mMediaPlayer.start();
Stack trace:
ERROR/MediaPlayer(1349): error (100, 0)
ERROR/MediaPlayerDemo(1349): error: Prepare failed.: status=0x64
ERROR/MediaPlayerDemo(1349): java.io.IOException: Prepare failed.: status=0x64
ERROR/MediaPlayerDemo(1349): at android.media.MediaPlayer.prepare(Native Method)
ERROR/MediaPlayerDemo(1349): at com.example.Example.VideoPlayerActivity.playVideo(VideoPlayerActivity.java:81)
ERROR/MediaPlayerDemo(1349): at com.example.Example.VideoPlayerActivity.surfaceCreated(VideoPlayerActivity.java:138)
ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView.updateWindow(SurfaceView.java:565)
ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView.access$000(SurfaceView.java:84)
ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:173)
ERROR/MediaPlayerDemo(1349): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590)
ERROR/MediaPlayerDemo(1349): at android.view.ViewRoot.performTraversals(ViewRoot.java:1325)
ERROR/MediaPlayerDemo(1349): at android.view.ViewRoot.handleMessage(ViewRoot.java:1944)
ERROR/MediaPlayerDemo(1349): at android.os.Handler.dispatchMessage(Handler.java:99)
ERROR/MediaPlayerDemo(1349): at android.os.Looper.loop(Looper.java:126)
ERROR/MediaPlayerDemo(1349): at android.app.ActivityThread.main(ActivityThread.java:3997)
ERROR/MediaPlayerDemo(1349): at java.lang.reflect.Method.invokeNative(Native Method)
ERROR/MediaPlayerDemo(1349): at java.lang.reflect.Method.invoke(Method.java:491)
ERROR/MediaPlayerDemo(1349): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
ERROR/MediaPlayerDemo(1349): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
ERROR/MediaPlayerDemo(1349): at dalvik.system.NativeStart.main(Native Method)
DEBUG/MediaPlayerDemo(1349): surfaceChanged called
Logcat:
DEBUG/MediaPlayerDemo(1349): surfaceCreated called
INFO/System.out(1349): the path is httplive://192.168.0.196/moviets/index.m3u8
INFO/StagefrightPlayer(1312): setDataSource('httplive://192.168.0.196/moviets/index.m3u8')
INFO/LiveSession(1312): onConnect 'http://192.168.0.196/moviets/index.m3u8'
INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/index.m3u8 #0
INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/index.m3u8 #0
INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file5.ts #0
INFO/avc_utils(1312): found AVC codec config (320 x 240, Baseline-profile level 3.0)
INFO/ESQueue(1312): found something resembling an AAC syncword at offset 1017
INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file6.ts #0
INFO/ESQueue(1312): found AAC codec config (48000 Hz, 7 channels)
INFO/ESQueue(1312): [ 06-26 17:37:17.397 1312:0x550 F/ESQueue ]
INFO/ESQueue(1312): frameworks/base/media/libstagefright/mpeg2ts/ESQueue.cpp:255 Should not be here.
INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
INFO/DEBUG(31): Build fingerprint: 'generic/sdk/generic:3.0/HONEYCOMB/104254:eng/test-keys'
INFO/DEBUG(31): pid: 1312, tid: 1360 >>> /system/bin/mediaserver <<<
INFO/DEBUG(31): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
INFO/DEBUG(31): r0 deadbaad r1 0000000c r2 00000027 r3 00000000
INFO/DEBUG(31): r4 00000080 r5 aff46658 r6 00000007 r7 00000000
INFO/DEBUG(31): r8 a2b72589 r9 00012a6c 10 00100000 fp 00000001
INFO/DEBUG(31): ip ffffffff sp 4060f488 lr aff193e9 pc aff15f58 cpsr 00000030
INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file7.ts #0
INFO/DEBUG(31): #00 pc 00015f58 /system/lib/libc.so
INFO/DEBUG(31): #01 pc 00001466 /system/lib/liblog.so (__android_log_assert)
INFO/DEBUG(31): libc base address: aff00000
What stumps me is the line "found AAC codec config", while the video file contains mp3 encoding. Is that normal or my Android client is wrongly detecting mp3 as aac? FYI, other videos with aac encoding are playing okay on the client
Any clue?
This seems like a bug in Honeycomb emulator where Android wrongly detects mp3 stream as aac. FFmpeg, on the other hand, detects the mp3 stream correctly, as below
ffmpeg -i file6.ts
Stream #0.1[0x101]: Audio: mp3, 48000 Hz, 2 channels, s16, 192 kb/s
Unfortunately, Android thinks it is AAC
INFO/avc_utils(1312): found AVC codec config (320 x 240, Baseline-profile level 3.0)
INFO/ESQueue(1312): found something resembling an AAC syncword at offset 1017
INFO/NuHTTPDataSource(1312): connect to <ip>:<port>/moviets/file6.ts #0
INFO/ESQueue(1312): found AAC codec config (48000 Hz, 7 channels)
INFO/ESQueue(1312): [ 06-26 17:37:17.397 1312:0x550 F/ESQueue ]
INFO/ESQueue(1312): frameworks/base/media/libstagefright/mpeg2ts/ESQueue.cpp:255 \
Should not be here.
The workaround is to use AAC encoding. If you are using ffmpeg, use the -acodec libfaac option. This works for our project because we have the liberty of choosing the source video formats. This might not necessarily be your case though.