Closed narendrakumar5a1 closed 4 years ago
We'll need more details.
I am developing an application in which we have video calling module and exam module for video calling I am using JitSi sdk for exam module i am using android librery which contains react native code, When we tried to intigrate both i am getting following excepion.
--------- beginning of crash
05-20 20:02:09.092 28578 28622 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x73656d7265481a in tid 28622 (mqt_js), pid 28578 (t.myapplication)
05-20 20:02:09.103 28578 28624 I org.webrtc.Logging: WebRtcAudioRecordExternal: enableBuiltInAEC(true)
05-20 20:02:09.103 28578 28624 I org.webrtc.Logging: WebRtcAudioEffectsExternal: setAEC(true)
05-20 20:02:09.104 28578 28624 I org.webrtc.Logging: WebRtcAudioRecordExternal: enableBuiltInNS(true)
05-20 20:02:09.104 28578 28624 I org.webrtc.Logging: WebRtcAudioEffectsExternal: setNS(true)
05-20 20:02:09.105 28578 28623 I org.webrtc.Logging: PeerConnectionFactory: onNetworkThreadReady
05-20 20:02:09.105 28578 28624 I org.webrtc.Logging: PeerConnectionFactory: onWorkerThreadReady
05-20 20:02:09.106 28578 28625 I org.webrtc.Logging: PeerConnectionFactory: onSignalingThreadReady
05-20 20:02:09.106 28578 28621 I CameraManagerGlobal: Connecting to camera service
05-20 20:02:09.109 728 15626 V CameraService: addListenerHelper: Add listener 0xefeaed00
05-20 20:02:09.109 28578 28578 E GraphicExt: Can't load libboost_ext_fwk
05-20 20:02:09.109 28578 28578 E GraphicExt: GraphicExtModuleLoader::CreateGraphicExtInstance false
05-20 20:02:09.110 28578 28611 I GPUD : @gpudInitialize: successfully initialized with 1, dbg=0 mmdump_dbg=0
05-20 20:02:09.110 28578 28621 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.105 28578 28578 W pool-3-thread-1: type=1400 audit(0.0:37348): avc: denied { read } for name="u:object_r:mtkcam_prop:s0" dev="tmpfs" ino=316 scontext=u:r:untrusted_app:s0:c163,c257,c512,c768 tcontext=u:object_r:mtkcam_prop:s0 tclass=file permissive=0
05-20 20:02:09.110 28578 28621 W CameraManagerGlobal: ignore the torch status update of camera: 20
05-20 20:02:09.105 28578 28578 W pool-3-thread-1: type=1400 audit(0.0:37351): avc: denied { read } for name="u:object_r:mtkcam_prop:s0" dev="tmpfs" ino=316 scontext=u:r:untrusted_app:s0:c163,c257,c512,c768 tcontext=u:object_r:mtkcam_prop:s0 tclass=file permissive=0
05-20 20:02:09.110 28578 28621 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.111 28578 28621 W CameraManagerGlobal: ignore the torch status update of camera: 21
05-20 20:02:09.111 28578 28621 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.105 28578 28578 W pool-3-thread-1: type=1400 audit(0.0:37352): avc: denied { read } for name="u:object_r:mtkcam_prop:s0" dev="tmpfs" ino=316 scontext=u:r:untrusted_app:s0:c163,c257,c512,c768 tcontext=u:object_r:mtkcam_prop:s0 tclass=file permissive=0
05-20 20:02:09.111 28578 28621 W CameraManagerGlobal: ignore the torch status update of camera: 22
05-20 20:02:09.111 28578 28621 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.111 28578 28621 W CameraManagerGlobal: ignore the torch status update of camera: 61
05-20 20:02:09.109 28578 28578 W pool-3-thread-1: type=1400 audit(0.0:37353): avc: denied { read } for name="u:object_r:mtkcam_prop:s0" dev="tmpfs" ino=316 scontext=u:r:untrusted_app:s0:c163,c257,c512,c768 tcontext=u:object_r:mtkcam_prop:s0 tclass=file permissive=0
05-20 20:02:09.111 28578 28621 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.111 28578 28601 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.112 28578 28601 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.112 28578 28601 W CameraManagerGlobal: ignore the torch status update of camera: 21
05-20 20:02:09.113 28578 28596 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.113 28578 28596 W CameraManagerGlobal: ignore the torch status update of camera: 22
05-20 20:02:09.113 28578 28596 E libc : Access denied finding property "camera.aux.packagelist"
05-20 20:02:09.114 28578 28596 W CameraManagerGlobal: ignore the torch status update of camera: 61
05-20 20:02:09.114 5201 5201 D AudioManager: getStreamVolume isRestricted mode = 0
05-20 20:02:09.114 28578 28578 I t.myapplicatio: Starting a blocking GC NativeAlloc
05-20 20:02:09.115 728 15626 V CameraService: isHiddenPhysicalCamera: for camera ID = 0
05-20 20:02:09.115 728 15626 V CameraService: supportsCameraApi: for camera ID = 0
05-20 20:02:09.115 728 15626 V CameraService: supportsCameraApi: Camera id 0 uses HAL3.2 or newer, supports api1/api2 directly
05-20 20:02:09.120 28578 28621 D CameraMetadataJV: setAppNameAndSensorId com.systemtest.myapplication, sensorId:0
05-20 20:02:09.120 28578 28621 D CameraMetadataJV: setAppNameAndSensorId mIsXiaomCam:false
05-20 20:02:09.122 28578 28611 I GED : [GT]_get_procNameprocess pid(28578)
05-20 20:02:09.122 28578 28611 I GED : [GT]_getprocess name(com.systemtest.myapplication)
05-20 20:02:09.122 28578 28611 I : [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
05-20 20:02:09.123 728 15626 V CameraService: isHiddenPhysicalCamera: for camera ID = 1
05-20 20:02:09.123 728 15626 V CameraService: supportsCameraApi: for camera ID = 1
05-20 20:02:09.123 728 15626 V CameraService: supportsCameraApi: Camera id 1 uses HAL3.2 or newer, supports api1/api2 directly
05-20 20:02:09.124 28578 28621 D CameraMetadataJV: setAppNameAndSensorId com.systemtest.myapplication, sensorId:1
05-20 20:02:09.125 28578 28621 D CameraMetadataJV: setAppNameAndSensorId mIsXiaomCam:false
05-20 20:02:09.143 28578 28621 D com.oney.WebRTCModule.WebRTCModule: Creating video capturer using Camera2 API.
05-20 20:02:09.144 28643 28643 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-20 20:02:09.145 795 795 I /system/bin/tombstoned: received crash request for pid 28622
05-20 20:02:09.145 28578 28611 D Surface : Surface::connect(this=0x76fa362000,api=1)
05-20 20:02:09.145 577 639 I BufferQueueProducer: com.systemtest.myapplication/com.systemtest.myapplication.MainActivity#0 connect(P): api=1 producer=(28578:com.systemtest.myapplication) producerControlledByApp=false
05-20 20:02:09.146 28643 28643 I crash_dump64: performing dump of process 28578 (target tid = 28622)
05-20 20:02:09.146 28578 28611 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000
05-20 20:02:09.147 28578 28611 D Surface : Surface::setBufferCount(this=0x76fa362000,bufferCount=3)
05-20 20:02:09.147 28578 28611 D Surface : Surface::allocateBuffers(this=0x76fa362000)
05-20 20:02:09.157 28643 28643 F DEBUG : **
05-20 20:02:09.157 28643 28643 F DEBUG : Build fingerprint: 'Redmi/begoniain/begoniain:10/QP1A.190711.020/V11.0.2.0.QGGINXM:user/release-keys'
05-20 20:02:09.157 28643 28643 F DEBUG : Revision: '0'
05-20 20:02:09.157 28643 28643 F DEBUG : ABI: 'arm64'
05-20 20:02:09.158 28643 28643 F DEBUG : Timestamp: 2020-05-20 20:02:09+0530
05-20 20:02:09.158 28643 28643 F DEBUG : pid: 28578, tid: 28622, name: mqt_js >>> com.systemtest.myapplication <<<
05-20 20:02:09.158 28643 28643 F DEBUG : uid: 10419
05-20 20:02:09.158 28643 28643 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x73656d7265481a
05-20 20:02:09.158 28643 28643 F DEBUG : x0 0000007519424b00 x1 5273656d7265481a x2 0000000100000000 x3 0000007519424b00
05-20 20:02:09.158 28643 28643 F DEBUG : x4 5273656e7265481a x5 0000007619424b00 x6 0000000000000000 x7 0000000000000001
05-20 20:02:09.158 28643 28643 F DEBUG : x8 0000000100000011 x9 0000000000000000 x10 00000000001400e9 x11 0000000000000000
05-20 20:02:09.158 28643 28643 F DEBUG : x12 ffffffffffffffff x13 000000000000006d x14 00000075190ca1e8 x15 00e8000000000000
05-20 20:02:09.158 28643 28643 F DEBUG : x16 00000076a3ba8640 x17 0000007794873380 x18 000000769e256000 x19 0000007519424b00
05-20 20:02:09.158 28643 28643 F DEBUG : x20 0000000100000000 x21 5273656d7265481a x22 0000000100000010 x23 000000769e927608
05-20 20:02:09.158 28643 28643 F DEBUG : x24 0000007706e80550 x25 0000007706e80568 x26 000000769e929020 x27 0000007798ace370
05-20 20:02:09.158 28643 28643 F DEBUG : x28 000000769e929020 x29 000000769e926ec0
05-20 20:02:09.158 28643 28643 F DEBUG : sp 000000769e926ea0 lr 00000076a3a069f8 pc 00000077948732f8
05-20 20:02:09.162 28578 28578 I t.myapplicatio: Waiting for a blocking GC NativeAlloc
05-20 20:02:09.169 28578 28578 I t.myapplicatio: WaitForGcToComplete blocked NativeAlloc on ClassLinker for 7.013ms
05-20 20:02:09.169 28578 28578 I t.myapplicatio: Starting a blocking GC NativeAlloc
05-20 20:02:09.176 392 392 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
05-20 20:02:09.177 28578 28611 W Gralloc3: mapper 3.x is not supported
05-20 20:02:09.178 28578 28611 E gralloc : Arm Module v1.0
05-20 20:02:09.179 28578 28611 E ion : ioctl c0044901 failed with code -1: Invalid argument
05-20 20:02:09.179 28578 28611 W gralloc : WARNING: internal format modifier bits not mutually exclusive. AFBC basic bit is always set, so extended AFBC support bits must always be checked.
05-20 20:02:09.247 28643 28643 F DEBUG :
05-20 20:02:09.247 28643 28643 F DEBUG : backtrace:
05-20 20:02:09.247 28643 28643 F DEBUG : #00 pc 000000000007e2f8 /apex/com.android.runtime/lib64/bionic/libc.so (memcpy+232) (BuildId: ceedf0f98da575de138b0c631aceca44)
05-20 20:02:09.247 28643 28643 F DEBUG : #01 pc 000000000001d9f4 /data/app/com.systemtest.myapplication-ZJyUdMMdmufwKriQ7FSwdQ==/lib/arm64/libhermes.so (BuildId: 4b19f4737b6909ff04ab456b7c0a237d075c1e67)
05-20 20:02:09.247 28643 28643 F DEBUG : #02 pc 00000000000248a4 /data/app/com.systemtest.myapplication-ZJyUdMMdmufwKriQ7FSwdQ==/lib/arm64/libhermes.so (BuildId: 4b19f4737b6909ff04ab456b7c0a237d075c1e67)
05-20 20:02:09.247 28643 28643 F DEBUG : #03 pc 00000000000247c8 /data/app/com.systemtest.myapplication-ZJyUdMMdmufwKriQ7FSwdQ==/lib/arm64/libhermes.so (facebook::hermes::makeHermesRuntime(hermes::vm::RuntimeConfig const&)+40) (BuildId: 4b19f4737b6909ff04ab456b7c0a237d075c1e67)
05-20 20:02:09.247 28643 28643 F DEBUG : #04 pc 000000000001e054 /data/app/com.systemtest.myapplication-ZJyUdMMdmufwKriQ7FSwdQ==/lib/arm64/libhermes-executor-release.so (facebook::react::HermesExecutorFactory::createJSExecutor(std::ndk1::shared_ptr
Thanks issue is fixed it is because I have another version of react native lib.
Hi, I am using jitsi android SDK in my application, I have one more react-native based android librery(developed by me, we are using mevan local publish), both are working fine individually but when we add both to same application both are crashing.. Can anyone help me on this.