On Tue, 14 Jun 2011 21:33:32 +0100, Michael Drake wrote:
> I've done a first pass at core iframes in r12474. They should just
> work, without front end maintainers needing to do anything special.
Hooray! Looking good so far.
> If anyone sees any issues not listed above let me know.
>
> Also, if you have any real-world examples of sites with
> (i)frame(set)s,
> please send me the URLs.
Eurogamer (http://www.eurogamer.net) uses iframes for the adverts on
the right-hand side of the page. I just tried it here, and it crashes
:(
Line offsets for the last three entries in the stack trace (attached):
6.Files:Projects/netsurf_svn/netsurf> a2l netsurf-cairo a1928
render/box.c:308
6.Files:Projects/netsurf_svn/netsurf> a2l netsurf-cairo b458c
render/html.c:1762
6.Files:Projects/netsurf_svn/netsurf> a2l netsurf-cairo 6f658
desktop/browser.c:973
Chris
Crash log for task "NetSurf-Cairo"
Generated by GrimReaper 53.2
Crash occured in module NetSurf-Cairo at address 0x6F8D96BC
Type of crash: DSI (Data Storage Interrupt) exception
Register dump:
GPR (General Purpose Registers):
0: 00000000 592F6C60 00000000 00000000 592F6C98 592F6C9C 00000007 00000006
8: 00000001 00000000 592F6D7C 592F6C60 592F6D7C 59370BCC 00000000 00000000
16: 577D1680 6F84991C 00000000 16F56866 01E60000 00340014 01E60000 00000014
24: 00000000 57730542 00000000 00000000 00000000 000005C3 24002024 592F6C60
FPR (Floating Point Registers, NaN = Not a Number):
0: nan 4.05825e+121 4.05806e+121 1.39069e-309
4: 1.39069e-309 1.39069e-309 1.39069e-309 1.39069e-309
8: 1.39069e-309 1.39069e-309 4.5036e+15 4.5036e+15
12: 0 1.60571e+112 0 0
16: 0 0 0 0
20: 0 4.34638e-311 0 0
24: 0 0 0 -2.97403e+284
28: 0 0 0 -2.22187e+193
FPSCR (Floating Point Status and Control Register): 0x82000000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x24002022
Instruction Pointer (ip) : 0x6F8D96BC
Xtended Exception (xer) : 0x00000004
Count (ctr) : 0x6F8ED218
Link (lr) : 0x6F8D972C
DSI Status (dsisr) : 0x00000000
Data Address (dar) : 0x000000D0
680x0 emulated registers:
DATA: 00000080 000000AA 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 576B6BB0 00000000 00000000 00000000 00000000 00000000 592F8380
FPU0: 0 0 0 0
FPU4: 0 0 0 0
Symbol info:
Instruction pointer 0x6F8D96BC belongs to module "NetSurf-Cairo" (PowerPC)
Symbol: box_coords + 0x7C in section 9 offset 0x000A1928
Stack trace:
box_coords()+0x7C (section 9 @ 0xa1928)
html_redraw_a_box()+0x34 (section 9 @ 0xb458c)
browser_window_update()+0x138 (section 9 @ 0x6f658)
browser_window_callback()+0x6D0 (section 9 @ 0x6ee50)
hlcache_content_callback()+0x8C (section 9 @ 0x53488)
content_broadcast()+0xC4 (section 9 @ 0x46970)
content__reformat()+0x188 (section 9 @ 0x45fbc)
content_reformat()+0x3C (section 9 @ 0x45e1c)
browser_window_reformat()+0xC8 (section 9 @ 0x703c8)
layout_line()+0xC3C (section 9 @ 0xccc18)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_float()+0x15C (section 9 @ 0xcf340)
layout_line()+0x1300 (section 9 @ 0xcd2dc)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_float()+0x15C (section 9 @ 0xcf340)
layout_line()+0x1300 (section 9 @ 0xcd2dc)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_float()+0x15C (section 9 @ 0xcf340)
layout_line()+0x1300 (section 9 @ 0xcd2dc)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_float()+0x15C (section 9 @ 0xcf340)
layout_line()+0x1300 (section 9 @ 0xcd2dc)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_float()+0x15C (section 9 @ 0xcf340)
layout_line()+0x1300 (section 9 @ 0xcd2dc)
layout_inline_container()+0x208 (section 9 @ 0xcb964)
layout_block_context()+0xBB8 (section 9 @ 0xc7468)
layout_document()+0x114 (section 9 @ 0xc6728)
html_reformat()+0x44 (section 9 @ 0xb43bc)
content__reformat()+0x158 (section 9 @ 0x45f8c)
html_object_callback()+0x638 (section 9 @ 0xb4090)
hlcache_content_callback()+0x8C (section 9 @ 0x53488)
content_broadcast()+0xC4 (section 9 @ 0x46970)
content_set_done()+0x78 (section 9 @ 0x45dc8)
nsjpeg_convert()+0x470 (section 9 @ 0x9de20)
content_convert()+0x134 (section 9 @ 0x45c44)
content_llcache_callback()+0x168 (section 9 @ 0x457c0)
llcache_object_notify_users()+0x2EC (section 9 @ 0x55a18)
llcache_poll()+0x30 (section 9 @ 0x536d8)
hlcache_poll()+0x18 (section 9 @ 0x5214c)
netsurf_main_loop()+0x30 (section 9 @ 0x7d1c4)
main()+0x150 (section 9 @ 0x11cd8)
native kernel module newlib.library.kmod+0x00001f4c
native kernel module newlib.library.kmod+0x00002be0
native kernel module newlib.library.kmod+0x00002d5c
_start()+0x170 (section 9 @ 0x170)
native kernel module dos.library.kmod+0x0001b524
native kernel module kernel+0x00036290
native kernel module kernel+0x00036310
PPC disassembly:
6f8d96b4: 901f0008 stw r0,8(r31)
6f8d96b8: 813f0008 lwz r9,8(r31)
*6f8d96bc: 800900d0 lwz r0,208(r9)
6f8d96c0: 2f800000 cmpwi cr7,r0,0
6f8d96c4: 419effe8 beq+ cr7,0x6F8D96AC