Bug 223721 - webkitgtk2.28.0 jsc crash on start [MIPS64el]
Summary: webkitgtk2.28.0 jsc crash on start [MIPS64el]
Status: RESOLVED DUPLICATE of bug 221198
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 18:39 PDT by zpcheng
Modified: 2022-02-15 07:48 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zpcheng 2021-03-24 18:39:53 PDT
I compiled jsc and libJavaScriptCore.so on UOS Linux [LOONGSON / MIPS64el] platform, but the jsc crash on start, however, the stack trace shown by gdb is too short to make any help:

Program received signal SIGABRT, Aborted.
0x00007ffff4e85d60 in raise () from /lib/mips64el-linux-gnuabi64/libc.so.6
(gdb) info thread
  Id   Target Id                             Frame
* 1    Thread 0x7ffff5a84ce0 (LWP 8298) "jsc" 0x00007ffff4e85d60 in raise ()
(gdb) bt
#0 0x00007ffff4e85d60 in raise () from /lib/mips64el-linux-gnuabi64/libc.so.6
#1 0x00007ffff4e51608 in abort () from /lib/mips64el-linux-gnuabi64/libc.so.6
Backtrace stopped: frame did not save the PC

of course I tried the latest stable release, it crashed also.
and I run TestWTF to check more information:
webkitgtk2.28.0 -- run ok with some failed cases;
webkitgtk2.30.5 -- crash with 2 failed cases (Hasher.cpp:138, 155)
Comment 1 zpcheng 2021-03-25 20:14:40 PDT
in PageBlock.h defines :
constexpr size_t CeilingOnPageSize = 4 * KB;
for MIPS64el, this value shall be adjust to 16 * KB

the assertion check in PageBlock.cpp leads to the crash.
I think a more clear hint message will be appreciated!
Comment 2 Michael Catanzaro 2022-02-15 07:47:51 PST
This was fixed via bug #221198.

I'm not sure why your backtrace is so poor. :( I understand having only two frames makes it basically impossible to debug....

*** This bug has been marked as a duplicate of bug 221198 ***
Comment 3 Michael Catanzaro 2022-02-15 07:48:41 PST
(In reply to Michael Catanzaro from comment #2)
> I'm not sure why your backtrace is so poor. :( I understand having only two
> frames makes it basically impossible to debug....

Bug #233949 should help with that.