Closed Bug 325537 Opened 19 years ago Closed 19 years ago

Shouldn't be building stacktrace stuff in releases

Categories

(Core :: XPCOM, defect)

1.8 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: caillon, Assigned: dougt)

Details

So, we shouldn't be building the code in https://bugzilla.mozilla.org/show_bug.cgi?id=323853 into releases to begin with...  This seems to me that its useful for debug and tools, but not necessarily releases.
Specifically, it seems to me that if neither CRAWL_STACK_ON_SIGSEGV (see nsSigHandlers.cpp) nor NS_BUILD_REFCNT_LOGGING is defined we shouldn't be building nsStackFrameUnix...  (and we should probably not be building the body of nsTraceRefcntImpl::InitTraceLog when NS_BUILD_REFCNT_LOGGING is not defined either).
IMO this is wontfix... we want nsITraceRefcnt to continue working in release builds because it can be useful for extension authors who build debug on top of a release firefox (and see bug 325229).
And FWIW I do have plans to ship the XULRunner symbols with the SDK, so that backtraces are meaningful. And the nsDebug code also calls WalkTheStack when XPCOM_DEBUG_BREAK=stack
what is the savings with it off?
Ah, ok.  I didn't realize that we had an interface for this.  ;)

Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.