Closed
Bug 803885
Opened 12 years ago
Closed 12 years ago
WebRTC unit-test crash [@TransportTestPeer::SendPacket]
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: posidron, Assigned: ekr)
References
Details
(Keywords: crash, testcase, Whiteboard: [WebRTC], [blocking-webrtc+] [qa-])
Attachments
(2 files)
5.07 KB,
text/plain
|
Details | |
1.23 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
Run: <obj_dir>/media/mtransport/test/sctp_unittest This happens to be a bug in the unit test itself, we need to fix this to run the tests accordingly. alloc: ::TransportTest::ConnectSocket mozalloc.h:200 free: ::TransportTest::~TransportTest sctp_unittest.cpp:291 re-use: ::TransportTestPeer::SendPacket sctp_unittest.cpp:188 This only happens if you run the sctp_unittest as a whole but not when you run each test separately.
Assignee | ||
Comment 1•12 years ago
|
||
Christoph, can you provide the whole call stack for the alloc/free/reuse.
Reporter | ||
Comment 2•12 years ago
|
||
It's already attached.
Updated•12 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc+]
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #681032 -
Flags: review?(rjesup)
Comment 4•12 years ago
|
||
Comment on attachment 681032 [details] [diff] [review] Fix SCTP unit tests Review of attachment 681032 [details] [diff] [review]: ----------------------------------------------------------------- r+ with setting r... ::: media/mtransport/test/sctp_unittest.cpp @@ +85,5 @@ > + l.l_onoff = 1; > + l.l_linger = 0; > + usrsctp_setsockopt(sctp_, SOL_SOCKET, SO_LINGER, &l, > + (socklen_t)sizeof(l)); > + EXPECT_GE(r, 0); you didn't set r.... though it won't fail!
Attachment #681032 -
Flags: review?(rjesup) → review+
Comment 5•12 years ago
|
||
Not a candidate for a crashtest, but the unit test will cover the case for automating the crash piece.
Flags: in-testsuite?
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5a76abc509c7
Assignee: nobody → ekr
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Updated•12 years ago
|
Flags: in-testsuite? → in-testsuite+
Whiteboard: [WebRTC], [blocking-webrtc+] → [WebRTC], [blocking-webrtc+] [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•