FS#10546 - elinks crashes when typping url

Attached to Project: Arch Linux
Opened by Łukasz Fidosz (Luk4sz) - Saturday, 31 May 2008, 12:21 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 04 June 2008, 01:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Eric Belanger (Snowman)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
elinks crashes when i run it by typping url after the elinks command(elinks www.archlinux.org) or type url in elinks dialog.

Additional info:
* package version(s)
elinks 0.11.4rc1-1
spidermonkey: 1.7.0-1
* config and/or log files etc.
backtrace:
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.11.4rc1 (built on Mar 19 2008 21:33:42)

Features:
Standard, IPv6, gzip, bzip2, Periodic Saving, Timer, Cascading Style Sheets,
Protocol (File, FTP, HTTP, URI rewrite, User protocols), SSL (OpenSSL),
MIME (Option system, Mailcap, Mimetypes files), LED indicators, Bookmarks,
Cookies, ECMAScript, Form History, Global History, Scripting (ECMAScript scripting engine),
Goto URL History, Search History

elinks(dump_backtrace+0x1c)[0x80e067c]
elinks[0x80bdb0d]
elinks[0x80bda14]
[0xb7f66400]
/usr/lib/libjs.so(JS_DefineFunctions+0xd7)[0xb7d2c800]
/usr/lib/libjs.so(JS_InitClass+0x33d)[0xb7d2df1a]
elinks(spidermonkey_get_interpreter+0x1cd)[0x80a605d]
elinks(ecmascript_get_interpreter+0x54)[0x80a5824]
elinks(ecmascript_reset_state+0x5e)[0x80a58be]
elinks(render_document+0x317)[0x8082477]
elinks(render_document_frames+0x192)[0x8082c02]
elinks(draw_formatted+0x5c)[0x80e7d7c]
elinks(doc_loading_callback+0x116)[0x80d52b6]
elinks[0x80b7fe6]
elinks[0x80b8b06]
elinks(add_keepalive_connection+0x159)[0x80b9259]
elinks[0x80cac76]
elinks[0x80cb0a7]
elinks[0x80badd8]
elinks(select_loop+0x1fb)[0x80b510b]

Steps to reproduce:
run elinks command with url: elinks www.archlinux.org or type url in elinks dialog
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 04 June 2008, 01:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in elinks-0.11.4rc1-2
Comment by Greg (dolby) - Saturday, 31 May 2008, 19:39 GMT
Does it happen EVERY time regardless of the url? It doesnt happen here
Comment by tigrmesh (tigrmesh) - Saturday, 31 May 2008, 19:41 GMT
Running gdb elinks core and then typing bt (as suggested) gives "No stack."
Comment by Greg (dolby) - Monday, 02 June 2008, 11:59 GMT
Comment by Loui Chang (louipc) - Monday, 02 June 2008, 17:04 GMT
I can reproduce this. A simple rebuild seems to fix it.
I think it has something to do with linking to spidermonkey.
Comment by David Rosenstrauch (darose) - Monday, 02 June 2008, 19:26 GMT
Upstream bug report suggests that the cause of this is that Arch built our SpiderMonkey package wrong. Can anyone confirm/refute this?
Comment by Eric Belanger (Snowman) - Wednesday, 04 June 2008, 00:15 GMT
elinks just need to be rebuilt against spidermonkey. I'll need to rebuild elinks because of an upcoming gpm soname bump: http://archlinux.org/pipermail/arch-dev-public/2008-June/006402.html
So this bug will be fixed at the same time.

Loading...