Skip to content

Remove stream problem #7

@ArtHsu

Description

@ArtHsu

SENDER sends data to RECEIVER by stream.writeData(data), and RECEIVER removes stream by session.removeStream(stream) in onStreamData() after data received. Then here comes a fatal error causing app to crash. It happens with arm-v7 device. Device with arm-v8 has no such problem.
Below is the log:

05-17 15:16:51.066 F/libc (28924): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 29461 (Thread-9830) 05-17 15:16:51.069 F/DEBUG (16449): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 05-17 15:16:51.069 F/DEBUG (16449): Build fingerprint: 'htc/htc_asia_tw/htc_eyetuhl:6.0.1/MMB29M/737793.3:user/release-keys' 05-17 15:16:51.069 F/DEBUG (16449): Revision: '0' 05-17 15:16:51.069 F/DEBUG (16449): ABI: 'arm' 05-17 15:16:51.070 F/DEBUG (16449): pid: 28924, tid: 29461, name: Thread-9830 >>> com.test.carriersdk <<< 05-17 15:16:51.070 F/DEBUG (16449): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 05-17 15:16:51.111 F/DEBUG (16449): r0 00000000 r1 6748e24c r2 00008000 r3 6748e24c 05-17 15:16:51.112 F/DEBUG (16449): r4 9c39f4b8 r5 9c39f8a8 r6 9c39f930 r7 00000078 05-17 15:16:51.112 F/DEBUG (16449): r8 9eb03980 r9 b827cd70 sl 9c2a1000 fp 9c39ed40 05-17 15:16:51.113 F/DEBUG (16449): ip 9ec4d66c sp 9c39e3d0 lr 9eb32e84 pc 9eb42ed0 cpsr 600f0010 05-17 15:16:51.115 F/DEBUG (16449): 05-17 15:16:51.115 F/DEBUG (16449): backtrace: 05-17 15:16:51.116 F/DEBUG (16449): #00 pc 0003eed0 /data/app/com.test.carriersdk-2/lib/arm/libcarrierjni.so (pseudo_tcp_socket_is_closed+12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions