Closed Bug 1564960 Opened 1 year ago Closed 1 year ago

Assertion failure: !NS_IsMainThread() (Should not be called on the main thread), at netwerk/system/mac/nsNetworkLinkService.mm:327

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 + fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

I hit this assertion when trying to reproduce https://bugzilla.mozilla.org/show_bug.cgi?id=1564296#c0.

Assertion failure: !NS_IsMainThread() (Should not be called on the main thread), at /Users/changkershaw/work/gecko/netwerk/system/mac/nsNetworkLinkService.mm:327
#01: nsNetworkLinkService::ReachabilityChanged(__SCNetworkReachability const*, unsigned int, void*)[/Users/changkershaw/work/gecko/obj-x86_64-apple-darwin18.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7a7ea0]
#02: reachPerformAndUnlock[/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration +0x83a4]
#03: CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x58083]
#04: __CFRunLoopDoSource0[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x58029]
#05: __CFRunLoopDoSources0[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x3b9eb]
#06: __CFRunLoopRun[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x3afb5]
#07: CFRunLoopRunSpecific[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x3a8be]
#08: RunCurrentEventLoopInMode[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0xa96b]
#09: ReceiveNextEventCommon[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0xa6a5]
#10: _BlockUntilNextEventMatchingListInModeWithFilter[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0xa436]
#11: _DPSNextEvent[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x1a987]

Attachment #9080017 - Attachment description: Bug 1564960 - Remove main thread assertion → Bug 1564960 - Calaulate network id on stream transport thread
Blocks: 1568898
Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15d34f2ad3d9
Calaulate network id on stream transport thread r=michal
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.