elinks
elinks copied to clipboard
Segfault with libmozjs even though emcascript is disabled
I just got this message - I have EMCAScript.enable set to 0:
ELinks crashed. That shouldn't happen. Please report this incident to
the developers. If you would like to help to debug the problem you just
uncovered, please keep the core you just got and send the developers
the output of 'bt' command entered inside of gdb (which you run as:
gdb elinks core). Thanks a lot for your cooperation!
ELinks 0.18.0rc1 cfc2612db0eac0c2e789d9a5a9a19371b823b1f2
Built on Dec 20 2024 11:40:33
Features:
Standard, IPv6, gzip(1.3.1), bzip2(1.0.8), zstd(1.5.6), gpm(1.20.0),
UTF-8, Periodic Saving, Viewer (Search History, Timer, Marks), gettext
(ELinks), Cascading Style Sheets, Protocol (Authentication, File, FTP,
FTPES(libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 c-ares/1.34.3
libpsl/0.21.5 nghttp2/1.62.1 nghttp3/1.7.0), Gemini, Gopher, HTTP,
SFTP, URI rewrite, User protocols), SSL (OpenSSL 3.3.2 3 Sep 2024),
MIME (Option system, Mailcap, Mimetypes files), LED indicators,
Bookmarks, Cookies, ECMAScript (mozjs JavaScript-C128.4.0), Form
History, Global History, Scripting (Python 3.12.8), Goto URL History
./elinks(dump_backtrace+0x3e) [0x55cd898d4b3e]
./elinks(+0x137ebc) [0x55cd8989febc]
./elinks(+0x137ffb) [0x55cd8989fffb]
/lib64/libc.so.6(+0x3c380) [0x7f53c4e73380]
/usr/lib64/libmozjs-128.so.0(_ZN2JS26HeapObjectPostWriteBarrierEPP8JSObjectS1_S1_+0x4c) [0x7f53c5a482cc]
./elinks(+0xe4597) [0x55cd8984c597]
./elinks(ecmascript_put_interpreter+0x72) [0x55cd89848572]
./elinks(destroy_vs+0xb0) [0x55cd898f6910]
./elinks(destroy_location+0x160) [0x55cd898bf700]
./elinks(destroy_history+0x26) [0x55cd898bf066]
./elinks(+0x15996c) [0x55cd898c196c]
./elinks(delete_window+0x4a) [0x55cd898d1b9a]
./elinks(do_action+0x6b3) [0x55cd898de1d3]
./elinks(send_event+0x17a) [0x55cd898f5e4a]
./elinks(in_term+0x4ce) [0x55cd898c761e]
./elinks(select_loop+0x439) [0x55cd89894809]
./elinks(main+0x3f) [0x55cd897dcfff]
/lib64/libc.so.6(+0x264c0) [0x7f53c4e5d4c0]
/lib64/libc.so.6(__libc_start_main+0x89) [0x7f53c4e5d579]
./elinks(_start+0x25) [0x55cd897dd105]
Redirecting call to abort() to mozalloc_abort
[1] 22948 segmentation fault ./elinks