Closed
Bug 566477
Opened 16 years ago
Closed 16 years ago
Missing argument in a call to GCDebugMsg
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: rulohani, Assigned: rulohani)
Details
Attachments
(1 file)
|
611 bytes,
patch
|
pnkfelix
:
review+
lhansen
:
superreview+
|
Details | Diff | Splinter Review |
GCDebugMsg call inside ReportDeletedMemoryWrite() is missing an argument - the address of the object. This appears to be a merge issue.
Attachment #445836 -
Flags: superreview?(lhansen)
Attachment #445836 -
Flags: review?(fklockii)
Updated•16 years ago
|
Attachment #445836 -
Flags: superreview?(lhansen) → superreview+
Comment 1•16 years ago
|
||
Comment on attachment 445836 [details] [diff] [review]
Fix
Looks consistent with other format string uses. r+
Lars: back on Larceny I started always using "%08x" instead of "%x" because some platforms would include leading zeros and others would not if you only used "%x", and it was easier for me if I saw consistent output everywhere. Does that issue arise for us for VMPI_sprintf and GCDebugMsg? Or do we ensure that format string rendering is not platform-dependent?
Attachment #445836 -
Flags: review?(fklockii) → review+
Comment 2•16 years ago
|
||
(In reply to comment #1)
> (From update of attachment 445836 [details] [diff] [review])
> Looks consistent with other format string uses. r+
>
> Lars: back on Larceny I started always using "%08x" instead of "%x" because
> some platforms would include leading zeros and others would not if you only
> used "%x", and it was easier for me if I saw consistent output everywhere.
> Does that issue arise for us for VMPI_sprintf and GCDebugMsg? Or do we ensure
> that format string rendering is not platform-dependent?
We haven't dealt with that, mostly because we're not relying on printf et al except for debugging. But though the C spec says that %p shall have a leading 0x, the Microsoft libraries omit that, for example. (Nevermind the NUL-termination and return value....)
Comment 3•16 years ago
|
||
Ruchi, if you don't have permissions to check this in let me know and I can do it.
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 4•16 years ago
|
||
tamarin-redux changeset: 4705:ca540098145c.
I did not land this in tamarin-redux-argo since it's targeted for 10.2 and is a problem only in DEBUG builds.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Flags: flashplayer-bug+
You need to log in
before you can comment on or make changes to this bug.
Description
•