Closed Bug 1355501 Opened 9 years ago Closed 9 years ago

mozjs-38 segmentation fault when building with --with-intl-api (default configure option)

Categories

(Core :: JavaScript Engine, defect)

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: guido2022, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/604.1 (KHTML, like Gecko) Version/11.0 Safari/604.1 Epiphany/3.24.1 Steps to reproduce: - build mozjs version 38.2.1.rc0 with default configure option (equivalent to using --with-intl-api); - start gnome-shell (e.g. from gnome-session); - gnome-shell crashes after a few seconds (it happens every time). Actual results: gnome-shell (linked against libmozjs) crashes with segmentation fault in libmozjs. Expected results: gnome-shell should not have crashed due to a bug in the mozjs shared library. It is possible to avoid the bug only by compiling mozjs with the --with-intl-api=build configure option.
The ICU library installed on the system is version 58.2 (--with-system-icu configure option is used).
Comment on attachment 8857001 [details] gnome-shell-debug-intl.txt Short debug information collected from gdb.
The error is caused by http://bugs.icu-project.org/trac/ticket/12827. I think there are only two options to workaround this crash, you either need to disable Intl or use an ICU version which isn't affected by that bug.
Thanks for telling me...
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: