[Webkit-unassigned] [Bug 16026] GC: Using != when comparing pointers when marking stack objects can cause segfaults

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 17 11:37:26 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16026





------- Comment #5 from leavengood at gmail.com  2007-11-17 11:37 PDT -------
(In reply to comment #4)
> 
> Ryan, do you have the ASSERT() macro implemented for your Haiku port?  If so,
> do you hit the asserts in markStackObjectsConservatively() when you run? Those
> should be the early-warning signs (on debug builds) if p and e weren't aligned.

That is a good point. I think for some reason I turned off the debug build
option. I will trying turning it on, change the code back to use != and see
what happens.

> Furthermore, if they're not aligned, won't this leak small chunks of memory as
> well?

Yes I was thinking the same thing. Let me test things a bit more and maybe
email some other people in the Haiku community before you guys consider this
patch.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list