[Mac] nsStackWalk.cpp should output no function names (instead of incorrect function names)




9 years ago
9 years ago


(Reporter: Jesse Ruderman, Unassigned)


Firefox Tracking Flags

(Not tracked)




9 years ago
Stacks from trace-refcnt and XPCOM_DEBUG_BREAK=stack have to be passed through fix-macosx-stack.pl to be useful to Mozilla developers, but to people who aren't Mozilla developers, they look OK.  This trips up almost everyone who tries to give us stacks (see bug 427657 and bug 459883 for examples).

Since the stack-walking code can't produce useful stacks without being really slow, I think the right fix is to make it not output any function names, and only output the library+offset information.  Or output "Use fix-macosx-stack.pl" in place of each function name ;)
Jesse, I wonder why this only happens on OS X. I've no deep background information why we fail but would be interested to know. Thankfully you already told me about the fix-macosx-stack.pl last Monday and I'm aware of. But why we only fail on OS X and not Linux/Windows? What is the other option when we will be too slow?
You need to log in before you can comment on or make changes to this bug.