[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:12:52 PST 2007


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





------- Comment #4 from ddkilzer at webkit.org  2007-11-17 11:12 PDT -------
(In reply to comment #3)
> Also I am not opposed to the idea of this being a Haiku bug, since I assume p
> and e are never misaligned on other platforms (otherwise this would already
> have been fixed.) I'd rather not hide Haiku bugs if that is the case. But I'll
> let you guys decide that, as you know more about the GC than I do.

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.

http://trac.webkit.org/projects/webkit/browser/trunk/JavaScriptCore/kjs/collector.cpp#L491

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


-- 
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