AnsweredAssumed Answered

custom service Crashed in Android 9

Question asked by vinothkumar s on Oct 1, 2019
Latest reply on Oct 9, 2019 by vinothkumar s

Dear NXP,

 

 

I am working on i.MX 6Quad SABRE-SD with Android 9. I developed the custom service to start OBD. But after some time the process closed by tomestone service.

 

 

10-01 07:13:47.883 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForClimateControlData : IClimateControl
10-01 07:13:47.883 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForClimateControl_obdDataHandler : IClimateControl
10-01 07:13:47.886 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForVehicleBatteryData : IVehicleBattery
10-01 07:13:47.886 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForVehicleBatteryData_obdDataHandler : IVehicleBattery
10-01 07:13:47.886 1246 1246 D com.indiev.vehicledata.core.OBDDataHandler: registerForVehicleBatteryData : IVehicleBattery
10-01 07:13:47.888 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForVehicleMotorData : IVehicleMotor
10-01 07:13:47.888 1246 1246 D com.indiev.vehicledata.core.VehicleDataService: registerForVehicleMotorData_obdDataHandler : IVehicleMotor
10-01 07:13:47.888 1246 1246 D com.indiev.vehicledata.core.OBDDataHandler: registerForVehicleMotorData : IVehicleMotor
10-01 07:13:47.860 1246 1246 I Thread-8: type=1400 audit(0.0:105): avc: denied { write } for name="vcan" dev="tmpfs" ino=12330 scontext=u:r:untrusted_app:s0:c44,c256,c512,c768 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
10-01 07:13:47.949 542 542 W System : ClassLoader referenced unknown path:
10-01 07:13:47.983 390 486 D NotificationSQLiteLog: Pruned event entries: 0
10-01 07:13:47.860 267 267 I obd : type=1400 audit(0.0:107): avc: denied { read } for path="socket:[12325]" dev="sockfs" ino=12325 scontext=u:r:usb-update:s0 tcontext=u:r:usb-update:s0 tclass=can_socket permissive=1
10-01 07:13:48.578 250 250 E /vendor/bin/hw/android.hardware.health@2.0-service.imx: /sys/block/mmcblk0/stat: ReadFileToString failed.
10-01 07:13:48.579 277 321 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
10-01 07:13:49.187 267 282 F libc : FORTIFY: memcpy: prevented 255-byte write into 50-byte buffer
10-01 07:13:49.187 267 282 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 282 (obd), pid 267 (obd)
10-01 07:13:49.277 1278 1278 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
10-01 07:13:49.278 288 288 I /system/bin/tombstoned: received crash request for pid 282
10-01 07:13:49.280 1278 1278 I crash_dump32: performing dump of process 267 (target tid = 282)
10-01 07:13:49.283 1278 1278 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-01 07:13:49.283 1278 1278 F DEBUG : Build fingerprint: 'Android/sabresd_6dq/sabresd_6dq:9/2.2.0-ga-rc3/pradeep09271927:userdebug/dev-keys'
10-01 07:13:49.283 1278 1278 F DEBUG : Revision: '0'
10-01 07:13:49.283 1278 1278 F DEBUG : ABI: 'arm'
10-01 07:13:49.283 1278 1278 F DEBUG : pid: 267, tid: 282, name: obd >>> /system/bin/obd <<<
10-01 07:13:49.283 1278 1278 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

 

 

 

Thanks & Regards,

VinothS.

Outcomes