On Sat, 16 Jul 2011 13:53:22 -0000, wibbled on for an age:
> Ensure buttons update (stop button activates) when new URL starts to load
Stopping a page from loading whilst in the "Fetching, Processing"
stage seems to consistently cause NetSurf to crash in box_coords()
Last three crash lines from stack trace:
8.Files:Projects/netsurf_svn/netsurf> a2l NetSurf-Cairo 9ed58
render/box.c:308
8.Files:Projects/netsurf_svn/netsurf> a2l NetSurf-Cairo b11e4
render/html.c:1520
8.Files:Projects/netsurf_svn/netsurf> a2l NetSurf-Cairo 54274
content/hlcache.c:701
Crash log for task "NetSurf-Cairo"
Generated by GrimReaper 53.2
Crash occured in module NetSurf-Cairo at address 0x6F7ADAEC
Type of crash: DSI (Data Storage Interrupt) exception
Register dump:
GPR (General Purpose Registers):
0: 00000000 5A18DF10 00000000 00000000 5A18DF54 5A18DF58 00000007 00000006
8: 00000041 00000000 5A18E05C 5A18DF10 5A18E05C 5A09BBD4 00000000 00000000
16: 5A324000 6F720C9C 00000000 16F56886 01E60000 00340014 01E60000 00000014
24: 00000000 57EA1302 00000000 00000000 00000000 00000000 24002024 5A18DF10
FPR (Floating Point Registers, NaN = Not a Number):
0: nan 2.55862e+119 6.65288e-313 3.33768e-308
4: 1.00133e-307 1.66883e-308 1.00133e-307 1.00133e-307
8: 1.00133e-307 1.00133e-307 1.00133e-307 1.00133e-307
12: 1.00133e-307 7.97482e+125 0 0
16: 0 0 0 0
20: 1.26481e-321 4.34638e-311 0 0
24: 0 0 0 -3.63611e+92
28: 0 0 0 -2.10414e+193
FPSCR (Floating Point Status and Control Register): 0x82002000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x24002022
Instruction Pointer (ip) : 0x6F7ADAEC
Xtended Exception (xer) : 0x20000002
Count (ctr) : 0x6F7BFF00
Link (lr) : 0x6F7ADB5C
DSI Status (dsisr) : 0x00000000
Data Address (dar) : 0x000000D0
680x0 emulated registers:
DATA: 00000080 000000AA 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 5AA9B110 00000000 00000000 00000000 00000000 00000000 5A18E380
FPU0: 0 0 0 0
FPU4: 0 0 0 0
Symbol info:
Instruction pointer 0x6F7ADAEC belongs to module "NetSurf-Cairo" (PowerPC)
Symbol: box_coords + 0x7C in section 10 offset 0x0009ED58
Stack trace:
box_coords()+0x7C (section 10 @ 0x9ed58)
html_object_callback()+0x1BC (section 10 @ 0xb11e4)
hlcache_content_callback()+0x8C (section 10 @ 0x54274)
content_broadcast()+0xC4 (section 10 @ 0x47844)
content_set_done()+0x78 (section 10 @ 0x46c64)
nsjpeg_convert()+0x470 (section 10 @ 0x9b194)
content_convert()+0x134 (section 10 @ 0x46ae0)
content_llcache_callback()+0x168 (section 10 @ 0x4665c)
llcache_object_notify_users()+0x2EC (section 10 @ 0x56804)
llcache_poll()+0x30 (section 10 @ 0x544c4)
hlcache_poll()+0x18 (section 10 @ 0x52f48)
netsurf_main_loop()+0x30 (section 10 @ 0x7f684)
main()+0x14C (section 10 @ 0x12054)
native kernel module newlib.library.kmod+0x00001f4c
native kernel module newlib.library.kmod+0x00002be0
native kernel module newlib.library.kmod+0x00002d5c
_start()+0x170 (section 10 @ 0x170)
native kernel module dos.library.kmod+0x0001b524
native kernel module kernel+0x00036290
native kernel module kernel+0x00036310
PPC disassembly:
6f7adae4: 901f0008 stw r0,8(r31)
6f7adae8: 813f0008 lwz r9,8(r31)
*6f7adaec: 800900d0 lwz r0,208(r9)
6f7adaf0: 2f800000 cmpwi cr7,r0,0
6f7adaf4: 419effe8 beq+ cr7,0x6F7ADADC