Closed Bug 853944 Opened 11 years ago Closed 11 years ago

Datachannel not deleting critical sections on Windows.

Categories

(Core :: WebRTC, defect)

All
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: ehugg, Assigned: jesup)

References

Details

(Whiteboard: [WebRTC] [blocking-webrtc-] [qa-])

Attachments

(2 files)

if WINVER < 600 then the critsec and events created in sctpuserspace.c::InitializeXPConditionVariable are never destructed.

Caught by AppVerif because struct socket* mMasterSocket was being freed with un-deleted locks inside.
Assignee: nobody → ethanhugg
Comment on attachment 728387 [details] [diff] [review]
Datachannel - delete CriticalSection and Events from conditional variables on Windows

Review of attachment 728387 [details] [diff] [review]:
-----------------------------------------------------------------

Jesup, not sure who should review, so I'm putting you down for now.
Attachment #728387 - Flags: review?(rjesup)
Try push in the naive hope that it might fix the oranges from Bug 837035

https://tbpl.mozilla.org/?tree=Try&rev=632de62d79e6
Comment on attachment 728387 [details] [diff] [review]
Datachannel - delete CriticalSection and Events from conditional variables on Windows

review to upstream source (I can't review my own patch... ;-)
Attachment #728387 - Flags: review?(rjesup) → review?(tuexen)
Attached patch Updated patchSplinter Review
I have modified the patch to move the version dependent stuff to
sctp_os_userspace.h.

This patch has been committed upstream as
http://code.google.com/p/sctp-refimpl/source/detail?r=8440

Thanks for the report!

Best regards
Michael
Comment on attachment 728387 [details] [diff] [review]
Datachannel - delete CriticalSection and Events from conditional variables on Windows

Review of attachment 728387 [details] [diff] [review]:
-----------------------------------------------------------------

Please see a minor changed in the attached "updated patch". This has been committed upstream.
Unsurprisingly, this does not fix the problem with pushing Bug 837035 so I'm not going to link the bugs, nor is it urgent enough to push before we get it from upstream imho.
Comment on attachment 728387 [details] [diff] [review]
Datachannel - delete CriticalSection and Events from conditional variables on Windows

Clearing review as this is fixed upstream
Attachment #728387 - Flags: review?(tuexen)
Depends on: 855620
Assignee: ethanhugg → rjesup
Whiteboard: [WebRTC] [blocking-webrtc-]
Fixed by checkin for bug 855620
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Whiteboard: [WebRTC] [blocking-webrtc-] → [WebRTC] [blocking-webrtc-] [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: