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.
This compiles on Solaris? I thought the code from which this was moved was built on Linux x86 and PPC only.
Oh, never mind.