nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]

RESOLVED FIXED

Status

()

--
critical
RESOLVED FIXED
16 years ago
15 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

({crash})

Trunk
Sun
Solaris
crash

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Assignee)

Description

16 years ago
I built xpcom w/ tracerefcnt (my build config for solaris is lying around in
some bug) and set XPCOM_MEM_REFCNT_LOG.

I crashed in a call to fprintf. it turns out that fprintf in glibc doesn't use
raw strlen to handle %s, but it does in solaris. this wouldn't be a problem if
you never passed nil to fprintf, but unfortunately info.dli_sname is nil and
causes tracerefcnt to crash.
(Assignee)

Comment 1

16 years ago
Created attachment 112731 [details] [diff] [review]
patch
(Assignee)

Updated

16 years ago
Attachment #112731 - Flags: review?(dbaron)
This compiles on Solaris?  I thought the code from which this was moved was
built on Linux x86 and PPC only.

Updated

16 years ago
Severity: normal → critical
(Assignee)

Comment 4

15 years ago
mozilla/xpcom/base/nsStackFrameUnix.cpp 	1.11
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Crash Signature: [@ write_address_file]
You need to log in before you can comment on or make changes to this bug.