RESOLVED FIXED 141672
ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack
https://bugs.webkit.org/show_bug.cgi?id=141672
Summary ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack
Dana Burkart
Reported 2015-02-16 15:42:26 PST
From Geoff: Since JSC::MachineThreads::tryCopyOtherThreadStack reads another thread's stack. We should use one of the ASan annotations to make ASan ignore this function or treat it in a more lax way.
Attachments
Ignore JSC::MachineThreads::tryCopyOtherThreadStack (1.05 KB, patch)
2015-02-16 16:59 PST, Dana Burkart
no flags
Patch with updated fix (3.56 KB, patch)
2015-02-25 16:28 PST, Mark Lam
no flags
Dana Burkart
Comment 1 2015-02-16 15:42:39 PST
Radar WebKit Bug Importer
Comment 2 2015-02-16 15:43:09 PST
Dana Burkart
Comment 3 2015-02-16 15:46:34 PST
Dana Burkart
Comment 4 2015-02-16 16:59:09 PST
Created attachment 246705 [details] Ignore JSC::MachineThreads::tryCopyOtherThreadStack
David Kilzer (:ddkilzer)
Comment 5 2015-02-17 09:23:03 PST
Comment on attachment 246705 [details] Ignore JSC::MachineThreads::tryCopyOtherThreadStack r=me
WebKit Commit Bot
Comment 6 2015-02-17 10:06:36 PST
Comment on attachment 246705 [details] Ignore JSC::MachineThreads::tryCopyOtherThreadStack Clearing flags on attachment: 246705 Committed r180227: <http://trac.webkit.org/changeset/180227>
WebKit Commit Bot
Comment 7 2015-02-17 10:06:40 PST
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 8 2015-02-18 12:40:20 PST
This fixes run-webkit-tests --threaded
Alexey Proskuryakov
Comment 9 2015-02-24 22:01:47 PST
Geoff, did this actually fix the issue? Looking at bug 141990 comment 10, ASan can still crash under this function, because the violation happens in memcpy, not in this function.
Alexey Proskuryakov
Comment 10 2015-02-25 16:27:01 PST
Mark Lam replaced this fix with a different one in <https://trac.webkit.org/r180649>. We now hit this code path on worker tests too, and this fix was ineffective.
Mark Lam
Comment 11 2015-02-25 16:28:50 PST
Created attachment 247361 [details] Patch with updated fix This patch was reviewed and r+'ed offline by Alexey.
Mark Lam
Comment 12 2015-02-25 16:30:28 PST
The fix is landed in r180649: <http://trac.webkit.org/r180649>.
Note You need to log in before you can comment on or make changes to this bug.