Saw this reported, took a quick look but did not get anywhere, just a
quick mail instead of dropping it on the floor

url to trigger is 
http://www.canford.co.uk/Products/74-4843_VOICE-TECHNOLOGIES-VT700B-HEADWORN-MICROPHONE-Black-without-case

basically layout_calculate_descendant_bboxes() in render/layout.c:5003
is asserting because box->height is 0

The full backtrace is:

#0  0x00007ffff34d5a75 in *__GI_raise (sig=<value optimised out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff34d95c0 in *__GI_abort () at abort.c:92
#2  0x00007ffff34ce941 in *__GI___assert_fail (assertion=0x50cd20 "(box->width 
!= 2147483647) && (box->height != (-2147483647 - 1))", 
    file=<value optimised out>, line=5007, function=0x50d3c0 
"layout_calculate_descendant_bboxes") at assert.c:81
#3  0x000000000049c911 in layout_calculate_descendant_bboxes (box=0x10cdb10) at 
render/layout.c:5007
#4  0x000000000049c79b in layout_calculate_descendant_bboxes (box=0x10cd660) at 
render/layout.c:5058
#5  0x000000000049c79b in layout_calculate_descendant_bboxes (box=0x10cd930) at 
render/layout.c:5058
#6  0x000000000049c7ef in layout_calculate_descendant_bboxes (box=0x10cc220) at 
render/layout.c:5071
#7  0x000000000049c79b in layout_calculate_descendant_bboxes (box=0x10cc5e0) at 
render/layout.c:5058
#8  0x000000000049c7ef in layout_calculate_descendant_bboxes (box=0xfa2c40) at 
render/layout.c:5071
#9  0x000000000049c79b in layout_calculate_descendant_bboxes (box=0xfa2e20) at 
render/layout.c:5058
#10 0x000000000049c7ef in layout_calculate_descendant_bboxes (box=0xefac30) at 
render/layout.c:5071
#11 0x00000000004a5855 in layout_document (content=0xac5850, width=<value 
optimised out>, height=572) at render/layout.c:185
#12 0x00000000004902c6 in html_reformat (c=0xac5850, width=979, height=572) at 
render/html.c:1817
#13 0x0000000000432880 in content__reformat (c=0xac5850, background=false, 
width=979, height=572) at content/content.c:361
#14 0x000000000044d08f in browser_window_callback (c=0xcaa1e0, 
event=0x7fffffffd770, pw=<value optimised out>) at desktop/browser.c:811
#15 0x000000000043a249 in hlcache_content_callback (c=<value optimised out>, 
msg=<value optimised out>, data=..., pw=0x2b54) at content/hlcache.c:701
#16 0x0000000000432683 in content_broadcast (c=0xac5850, msg=CONTENT_MSG_READY, 
data=...) at content/content.c:643
#17 0x000000000043340c in content_set_ready (c=0xac5850) at 
content/content.c:307
#18 0x00000000004914d6 in html_finish_conversion (c=0xac5850) at 
render/html.c:696
#19 0x0000000000491672 in html_convert_css_callback (css=0xd44c20, 
event=0x7fffffffd970, pw=<value optimised out>) at render/html.c:1358
#20 0x000000000043a249 in hlcache_content_callback (c=<value optimised out>, 
msg=<value optimised out>, data=..., pw=0x2b54) at content/hlcache.c:701
#21 0x0000000000432683 in content_broadcast (c=0xdce4b0, msg=CONTENT_MSG_DONE, 
data=...) at content/content.c:643
#22 0x000000000043339a in content_set_done (c=0xdce4b0) at content/content.c:321
#23 0x0000000000443806 in nscss_content_done (css=0xdce890, pw=<value optimised 
out>) at css/css.c:529
#24 0x0000000000442f25 in nscss_register_imports (c=0xdce890) at css/css.c:719
#25 0x0000000000443105 in nscss_import_complete (ctx=0xe2fb30) at css/css.c:667
#26 0x0000000000443190 in nscss_import (handle=<value optimised out>, 
event=0x2b54, pw=0x6) at css/css.c:642
#27 0x000000000043a249 in hlcache_content_callback (c=<value optimised out>, 
msg=<value optimised out>, data=..., pw=0x2b54) at content/hlcache.c:701
#28 0x0000000000432683 in content_broadcast (c=0xe54bc0, msg=CONTENT_MSG_DONE, 
data=...) at content/content.c:643
#29 0x000000000043339a in content_set_done (c=0xe54bc0) at content/content.c:321
#30 0x0000000000443806 in nscss_content_done (css=0xe54fa0, pw=<value optimised 
out>) at css/css.c:529
#31 0x0000000000443022 in nscss_convert_css_data (c=0xe54fa0) at css/css.c:334
#32 0x0000000000443564 in nscss_convert (c=0xe54bc0) at css/css.c:301
#33 0x00000000004336e0 in content_convert (llcache=<value optimised out>, 
event=<value optimised out>, pw=<value optimised out>)
    at content/content.c:282
#34 content_llcache_callback (llcache=<value optimised out>, event=<value 
optimised out>, pw=<value optimised out>) at content/content.c:174
#35 0x000000000043b69c in llcache_object_notify_users (object=0xe30750) at 
content/llcache.c:1500
#36 0x000000000043ba30 in llcache_poll () at content/llcache.c:315
#37 0x000000000043a949 in hlcache_poll () at content/hlcache.c:181
#38 0x0000000000453e81 in netsurf_main_loop () at desktop/netsurf.c:183
#39 0x000000000046b894 in main (argc=2, argv=0x7fffffffe078) at gtk/gui.c:495


and parameters to teh assert are:

(gdb) up 3
#3  0x000000000049c911 in layout_calculate_descendant_bboxes (box=0x10cdb10) at 
render/layout.c:5007
5007            assert((box->width != UNKNOWN_WIDTH) && (box->height != AUTO));
(gdb) p box->width
$1 = 2147483647
(gdb) p box->height
$2 = 0

just fyi UNKNOWN_WIDTH is defined to INT_MAX and AUTO is INT_MIN 




-- 
Regards Vincent
http://www.kyllikki.org/

Reply via email to