nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]

RESOLVED FIXED

Status

()

Core
XPCOM
--
critical
RESOLVED FIXED
15 years ago
14 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

({crash})

Trunk
Sun
Solaris
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Assignee)

Description

15 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

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

Updated

15 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.
Oh, never mind.
Attachment #112731 - Flags: review?(dbaron) → review+

Updated

15 years ago
Severity: normal → critical
(Assignee)

Comment 4

14 years ago
mozilla/xpcom/base/nsStackFrameUnix.cpp 	1.11
Status: NEW → RESOLVED
Last Resolved: 14 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.