Closed
Bug 803885
Opened 13 years ago
Closed 13 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•13 years ago
|
||
Christoph, can you provide the whole call stack for the alloc/free/reuse.
Reporter | ||
Comment 2•13 years ago
|
||
It's already attached.
Updated•13 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc+]
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #681032 -
Flags: review?(rjesup)
Comment 4•13 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•13 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•13 years ago
|
||
Assignee: nobody → ekr
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Updated•13 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
•