Closed Bug 1471697 Opened 7 years ago Closed 7 years ago

Intermittent PROCESS-CRASH | Main app process exited normally | application crashed [@ RefPtr<mozilla::MediaPipelineReceiveVideo::PipelineListener>::operator->() const] Assertion failure: mRawPtr !

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- wontfix
firefox61 --- wontfix
firefox62 --- wontfix
firefox63 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: bwc)

Details

(Keywords: crash, intermittent-failure)

Crash Data

Attachments

(1 file)

Filed by: apavel [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=185148208&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/VIt65K9xQMum2CwT6YUjJQ/runs/0/artifacts/public/logs/live_backing.log [task 2018-06-27T13:09:23.324Z] 13:09:23 INFO - GECKO(2965) | Assertion failure: mRawPtr != nullptr (You can't dereference a NULL RefPtr with operator->().), at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h:327 [task 2018-06-27T13:10:00.151Z] 13:10:00 INFO - GECKO(2965) | #01: mozilla::MediaPipelineReceiveVideo::OnRtpPacketReceived() [media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp:2362] [task 2018-06-27T13:10:00.152Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.152Z] 13:10:00 INFO - GECKO(2965) | #02: mozilla::MediaPipeline::RtpPacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp:1131] [task 2018-06-27T13:10:00.153Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.154Z] 13:10:00 INFO - GECKO(2965) | #03: mozilla::TransportLayerSrtp::PacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [media/mtransport/sigslot.h:2422] [task 2018-06-27T13:10:00.155Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.157Z] 13:10:00 INFO - GECKO(2965) | #04: mozilla::TransportLayerPacketDumper::PacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [media/mtransport/sigslot.h:2422] [task 2018-06-27T13:10:00.158Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.159Z] 13:10:00 INFO - GECKO(2965) | #05: mozilla::TransportLayerIce::IcePacketReceived(mozilla::NrIceMediaStream*, int, unsigned char const*, int) [media/mtransport/sigslot.h:2422] [task 2018-06-27T13:10:00.160Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.161Z] 13:10:00 INFO - GECKO(2965) | #06: mozilla::NrIceCtx::msg_recvd(void*, nr_ice_peer_ctx_*, nr_ice_media_stream_*, int, unsigned char*, int) [media/mtransport/sigslot.h:2555] [task 2018-06-27T13:10:00.162Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.163Z] 13:10:00 INFO - GECKO(2965) | #07: nr_ice_peer_ctx_deliver_packet_maybe [media/mtransport/third_party/nICEr/src/ice/ice_peer_ctx.c:843] [task 2018-06-27T13:10:00.164Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.165Z] 13:10:00 INFO - GECKO(2965) | #08: nr_ice_ctx_deliver_packet [media/mtransport/third_party/nICEr/src/ice/ice_ctx.c:945] [task 2018-06-27T13:10:00.166Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.168Z] 13:10:00 INFO - GECKO(2965) | #09: nr_ice_socket_readable_cb [media/mtransport/third_party/nICEr/src/ice/ice_socket.c:187] [task 2018-06-27T13:10:00.169Z] 13:10:00 INFO - [task 2018-06-27T13:10:00.170Z] 13:10:00 INFO - GECKO(2965) | #10: mozilla::NrUdpSocketIpc::recv_callback_s(RefPtr<mozilla::nr_udp_message>) [media/mtransport/nr_socket_prsock.cpp:1662] [task 2018-06-27T13:10:08.384Z] 13:10:08 INFO - PROCESS-CRASH | Main app process exited normally | application crashed [@ RefPtr<mozilla::MediaPipelineReceiveVideo::PipelineListener>::operator->() const] [task 2018-06-27T13:10:08.385Z] 13:10:08 INFO - Crash dump filename: /tmp/tmpuqwVKN.mozrunner/minidumps/7a6629bc-8544-b6db-f98b-900cf1dccd20.dmp [task 2018-06-27T13:10:08.386Z] 13:10:08 INFO - Operating system: Linux [task 2018-06-27T13:10:08.386Z] 13:10:08 INFO - 0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64 [task 2018-06-27T13:10:08.387Z] 13:10:08 INFO - CPU: amd64 [task 2018-06-27T13:10:08.387Z] 13:10:08 INFO - family 6 model 62 stepping 4 [task 2018-06-27T13:10:08.388Z] 13:10:08 INFO - 2 CPUs [task 2018-06-27T13:10:08.389Z] 13:10:08 INFO - [task 2018-06-27T13:10:08.389Z] 13:10:08 INFO - GPU: UNKNOWN [task 2018-06-27T13:10:08.390Z] 13:10:08 INFO - [task 2018-06-27T13:10:08.391Z] 13:10:08 INFO - Crash reason: SIGSEGV [task 2018-06-27T13:10:08.391Z] 13:10:08 INFO - Crash address: 0x0 [task 2018-06-27T13:10:08.392Z] 13:10:08 INFO - Process uptime: not available [task 2018-06-27T13:10:08.392Z] 13:10:08 INFO - [task 2018-06-27T13:10:08.394Z] 13:10:08 INFO - Thread 5 (crashed) [task 2018-06-27T13:10:08.394Z] 13:10:08 INFO - 0 libxul.so!RefPtr<mozilla::MediaPipelineReceiveVideo::PipelineListener>::operator->() const [RefPtr.h:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 326 + 0x5] [task 2018-06-27T13:10:08.395Z] 13:10:08 INFO - rax = 0x0000000000000000 rdx = 0x0000000000000000 [task 2018-06-27T13:10:08.396Z] 13:10:08 INFO - rcx = 0x00007f2287e532dd rbx = 0x00007f2270d8caa0 [task 2018-06-27T13:10:08.396Z] 13:10:08 INFO - rsi = 0x00007f2288122770 rdi = 0x00007f2288121540 [task 2018-06-27T13:10:08.396Z] 13:10:08 INFO - rbp = 0x00007f226fefb160 rsp = 0x00007f226fefb160 [task 2018-06-27T13:10:08.397Z] 13:10:08 INFO - r8 = 0x00007f2288122770 r9 = 0x00007f226feff700 [task 2018-06-27T13:10:08.397Z] 13:10:08 INFO - r10 = 0x0000000000000012 r11 = 0x0000000000000000 [task 2018-06-27T13:10:08.397Z] 13:10:08 INFO - r12 = 0x00007f226fefb510 r13 = 0x00007f226fefb1a8 [task 2018-06-27T13:10:08.398Z] 13:10:08 INFO - r14 = 0x00007f225edeed01 r15 = 0x00007f225edeedb0 [task 2018-06-27T13:10:08.398Z] 13:10:08 INFO - rip = 0x00007f2276f4d538 [task 2018-06-27T13:10:08.398Z] 13:10:08 INFO - Found by: given as instruction pointer in context [task 2018-06-27T13:10:08.399Z] 13:10:08 INFO - 1 libxul.so!mozilla::MediaPipelineReceiveVideo::OnRtpPacketReceived() [MediaPipeline.cpp:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 2360 + 0x5] [task 2018-06-27T13:10:08.399Z] 13:10:08 INFO - rbx = 0x00007f2270d8caa0 rbp = 0x00007f226fefb170 [task 2018-06-27T13:10:08.400Z] 13:10:08 INFO - rsp = 0x00007f226fefb170 r12 = 0x00007f226fefb510 [task 2018-06-27T13:10:08.400Z] 13:10:08 INFO - r13 = 0x00007f226fefb1a8 r14 = 0x00007f225edeed01 [task 2018-06-27T13:10:08.401Z] 13:10:08 INFO - r15 = 0x00007f225edeedb0 rip = 0x00007f2276f4d722 [task 2018-06-27T13:10:08.401Z] 13:10:08 INFO - Found by: call frame info [task 2018-06-27T13:10:08.402Z] 13:10:08 INFO - 2 libxul.so!mozilla::MediaPipeline::RtpPacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [MediaPipeline.cpp:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 1129 + 0x9] [task 2018-06-27T13:10:08.402Z] 13:10:08 INFO - rbx = 0x00007f2270d8caa0 rbp = 0x00007f226fefb2c0 [task 2018-06-27T13:10:08.403Z] 13:10:08 INFO - rsp = 0x00007f226fefb180 r12 = 0x00007f226fefb510 [task 2018-06-27T13:10:08.403Z] 13:10:08 INFO - r13 = 0x00007f226fefb1a8 r14 = 0x00007f225edeed01 [task 2018-06-27T13:10:08.404Z] 13:10:08 INFO - r15 = 0x00007f225edeedb0 rip = 0x00007f2276f5095f [task 2018-06-27T13:10:08.404Z] 13:10:08 INFO - Found by: call frame info [task 2018-06-27T13:10:08.405Z] 13:10:08 INFO - 3 libxul.so!mozilla::TransportLayerSrtp::PacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [sigslot.h:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 2420 + 0xc] [task 2018-06-27T13:10:08.405Z] 13:10:08 INFO - rbx = 0x00007f226fefb510 rbp = 0x00007f226fefb490 [task 2018-06-27T13:10:08.405Z] 13:10:08 INFO - rsp = 0x00007f226fefb2d0 r12 = 0x00007f225edeed40 [task 2018-06-27T13:10:08.406Z] 13:10:08 INFO - r13 = 0x00007f226fefb2f0 r14 = 0x00007f225edeedb0 [task 2018-06-27T13:10:08.406Z] 13:10:08 INFO - r15 = 0x00007f225edeedb0 rip = 0x00007f2276fc0714 [task 2018-06-27T13:10:08.406Z] 13:10:08 INFO - Found by: call frame info [task 2018-06-27T13:10:08.407Z] 13:10:08 INFO - 4 libxul.so!mozilla::TransportLayerPacketDumper::PacketReceived(mozilla::TransportLayer*, mozilla::MediaPacket&) [sigslot.h:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 2420 + 0xc] [task 2018-06-27T13:10:08.407Z] 13:10:08 INFO - rbx = 0x00007f226fefb4a8 rbp = 0x00007f226fefb4e0 [task 2018-06-27T13:10:08.408Z] 13:10:08 INFO - rsp = 0x00007f226fefb4a0 r12 = 0x00007f22679b9620 [task 2018-06-27T13:10:08.408Z] 13:10:08 INFO - r13 = 0x00007f226fefb510 r14 = 0x00007f22679b9620 [task 2018-06-27T13:10:08.409Z] 13:10:08 INFO - r15 = 0x00007f22679b95b0 rip = 0x00007f2276f4f35f [task 2018-06-27T13:10:08.409Z] 13:10:08 INFO - Found by: call frame info [task 2018-06-27T13:10:08.409Z] 13:10:08 INFO - 5 libxul.so!mozilla::TransportLayerIce::IcePacketReceived(mozilla::NrIceMediaStream*, int, unsigned char const*, int) [sigslot.h:cfa6f82070a05f1d6e4e76bd50b677663aecb1bd : 2420 + 0xc] [task 2018-06-27T13:10:08.410Z] 13:10:08 INFO - rbx = 0x00007f22694107c0 rbp = 0x00007f226fefb6b0 [task 2018-06-27T13:10:08.410Z] 13:10:08 INFO - rsp = 0x00007f226fefb4f0 r12 = 0x00007f226fefb510 [task 2018-06-27T13:10:08.411Z] 13:10:08 INFO - r13 = 0x00007f226fefb508 r14 = 0x00007f2269410830 [task 2018-06-27T13:10:08.412Z] 13:10:08 INFO - r15 = 0x00007f2269410830 rip = 0x00007f2276fbeff8 [task 2018-06-27T13:10:08.412Z] 13:10:08 INFO - Found by: call frame info
Byron, is this fall out from your mtransport refactor?
Flags: needinfo?(docfaraday)
Possibly. I'll look into it.
No, this bug has been there all along, although my monkeying around with the TransportFlow stuff might have altered the timing enough to make it happen more often.
Flags: needinfo?(docfaraday)
Specifically, the bug is that we are unsetting MediaPipelineReceiveVideo::mListener on main, before STS is done using it.
Comment on attachment 8989240 [details] Bug 1471697: Stop unsetting mListener on main. https://reviewboard.mozilla.org/r/254292/#review261156 Looks good to me.
Attachment #8989240 - Flags: review?(mfroman) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Assignee: nobody → docfaraday
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: