2019-06-27 01:53 BST

View Revisions: Issue #382

Summary 0000382: Crash on closing a window while page is loading
Revision 2015-03-07 18:52 by Vincent Sanders
Additional Information Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3614357 on Tue Dec 10 17:34:12 2013
Revision 2014-02-07 16:12 by Michael Drake
Additional Information Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3614357 on Tue Dec 10 17:34:12 2013
Revision 2013-12-11 16:27 by Vincent Sanders
Additional Information Imported from sourceforge bug #3614357 on Tue Dec 10 17:34:12 2013
Revision 2013-06-05 21:11 by Dave Higton
Additional Information kyllikki1 added a note on Wed Jun 5 23:08:06 2013

This appears to be specific to RISC OS

From the log stacktrace:
  ( 652c28) pc: 77b4c lr: 9385c sp: 652c2c js_exec()
  ( 652c5c) pc: 93654 lr: 3aa74 sp: 652c60 ^convert_script_sync_cb()
  ( 652d30) pc: 3a754 lr: 3ad74 sp: 652d34 ^hlcache_migrate_ctx()
  ( 652dd8) pc: 3ab50 lr: 3bd8c sp: 652ddc ^hlcache_llcache_callback()
  ( 652e0c) pc: 3bc10 lr: 3c65c sp: 652e10 ^llcache_object_notify_users()
  ( 652e24) pc: 3c634 lr: 3ae20 sp: 652e28 llcache_poll()
  ( 652e34) pc: 3ae14 lr: 5ded4 sp: 652e38 hlcache_poll()
  ( 652e4c) pc: 5deac lr: b8f64 sp: 652e50 netsurf_main_loop()
  ( 652fe8) pc: b89f4 lr: 4bdd40 sp: 652fec main()

which seems to indicate that closing the window fails to abort the fetch correctly and when the script callback executes the script it goes bang for obvious reasons.

should convert_script_sync_cb() in handling CONTENT_MSG_DONE skip the execution if the parent content has been aborted? certainly I am unable to reproduce this on gtk or framebuffer frontends.

Imported from sourceforge bug #3614357 on Tue Dec 10 17:34:12 2013