Closed Bug 690203 Opened 8 years ago Closed 8 years ago
eventtracer interferes with go
Quit Application on leopard
When the eventtracer tool is enabled goQuitApplication (part of the pageloader bundle) causes the browser to freeze instead of quit cleanly. This is only on leopard test boxes.
I only have 10.6 here, so I can't reproduce this. Can you use Activity Monitor and sample the process when it's hung?
http://pastebin.mozilla.org/1339490 I've been testing this on tools-r3-leopard-001, which is an ateam test box which I can give you access to - since I don't see any smoking gun in the sample process output.
Looks like it's sitting and waiting for the background thread to exit: 1202 mozilla::ShutdownEventTracing() We must exit the event loop differently on Leopard somehow, such that the last event that the background thread sends doesn't get processed.
I reproduced the hang on that same Leopard slave. I pushed a patch to try, I'll test with those builds when they become available: http://hg.mozilla.org/try/pushloghtml?changeset=6d5f900ee3da
Assignee: nobody → ted.mielczarek
I tested the try build on a 10.5 machine, and it worked fine. This patch just makes us signal the event tracer thread during shutdown, so that it doesn't get hung if it fires one last tracer event that never gets serviced.
Attachment #567490 - Flags: review?(benjamin)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.