WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
183366
REGRESSION(
r229309
): s_exceptionInstructions allocation change causing crashes in LLInt on WPE
https://bugs.webkit.org/show_bug.cgi?id=183366
Summary
REGRESSION(r229309): s_exceptionInstructions allocation change causing crashe...
Zan Dobersek
Reported
2018-03-06 06:12:01 PST
In
r229309
, changes in the LLInt::Data::s_exceptionInstructions allocation process are causing crashes on WPE, making the testing bot quit early. Not yet sure what exactly is the cause for this, but the s_exceptionInstructions symbol appears in both libWPEWebKit.so and libTestRunnerInjectedBundle.so, and it might be that it clashes because of that duplication.
Attachments
Mini-revert patch
(2.31 KB, patch)
2018-03-06 06:18 PST
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Patch
(2.98 KB, patch)
2018-03-06 06:48 PST
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2018-03-06 06:16:44 PST
(In reply to Zan Dobersek from
comment #0
)
> In
r229309
, changes in the LLInt::Data::s_exceptionInstructions allocation > process are causing crashes on WPE, making the testing bot quit early. > > Not yet sure what exactly is the cause for this, but the > s_exceptionInstructions symbol appears in both libWPEWebKit.so and > libTestRunnerInjectedBundle.so, and it might be that it clashes because of > that duplication.
OK, let's annotate this with JS_EXPORTDATA.
Zan Dobersek
Comment 2
2018-03-06 06:18:42 PST
Created
attachment 335089
[details]
Mini-revert patch
Michael Catanzaro
Comment 3
2018-03-06 06:22:06 PST
(In reply to Yusuke Suzuki from
comment #1
)
> OK, let's annotate this with JS_EXPORTDATA.
WPE doesn't use export macros. (Same for GTK.)
Zan Dobersek
Comment 4
2018-03-06 06:48:41 PST
Created
attachment 335093
[details]
Patch
Zan Dobersek
Comment 5
2018-03-06 06:50:42 PST
(In reply to Zan Dobersek from
comment #4
)
> Created
attachment 335093
[details]
> Patch
This avoids the problem on the WPE port by using a narrowed-down list of libraries that the injected bundle .so should be linked against. As such, it avoids the JavaScriptCore archive being linked into the final .so object, avoiding duplicate symbols. Will also test how the GTK+ port is affected by this change, if at all. But in general, on that port the JSC symbols are all bundled into the libjavascriptcoregtk.so object.
Zan Dobersek
Comment 6
2018-03-06 07:08:04 PST
(In reply to Zan Dobersek from
comment #5
)
> Will also test how the GTK+ port is affected by this change, if at all. But > in general, on that port the JSC symbols are all bundled into the > libjavascriptcoregtk.so object.
No problem with GTK+ with the patch.
Yusuke Suzuki
Comment 7
2018-03-06 09:06:55 PST
(In reply to Michael Catanzaro from
comment #3
)
> (In reply to Yusuke Suzuki from
comment #1
) > > OK, let's annotate this with JS_EXPORTDATA. > > WPE doesn't use export macros. (Same for GTK.)
Oops, thanks!
Zan Dobersek
Comment 8
2018-03-06 09:38:09 PST
Comment on
attachment 335093
[details]
Patch Clearing flags on attachment: 335093 Committed
r229325
: <
https://trac.webkit.org/changeset/229325
>
Zan Dobersek
Comment 9
2018-03-06 09:38:14 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10
2018-03-06 09:39:32 PST
<
rdar://problem/38182758
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug