Hello to the list,

I'm trying to setup an native NetSurf port for the atari FreeMiNT OS,
during page load (status bar shows proccessing document) an assert fails.

Maybe I'm missing some struct that hast to be initialised?

If you look through the logs, default stylesheet with f79 extension is loaded, this is okay, I recognize that filetype as text/css in the get_filtype function....

error:
render/layout.c:724: layout_minmax_block: Assertion `child->max_width != 2147483647' failed.

Below follows an gdb trace,
after that the verbose log follows. Can anybody help in this?

with kind regards,
m0n0

(gdb) info locals

child = (struct box *) 0x1ca3afc

min = 0

child = (struct box *) 0x1ca27bc

min = 0

max = 0

extra_fixed = 0

extra_frac = 0

wtype = CSS_WIDTH_AUTO

width = 0

wunit = CSS_UNIT_PX

__PRETTY_FUNCTION__ = 0x3471a37

block = (struct box *) 0x3153dfe

(gdb) info stack

#0  .L483 () at render/layout.c:724

#1  0x3155d06 in .LBE718 () at render/layout.c:712

#2  0x3155d06 in .LBE718 () at render/layout.c:712

#3 0x315c140 in layout_document (content=0x1504a34, width=400, height=400)

   at render/layout.c:142

#4  0x3149072 in html_reformat (c=0x1504a34, width=400, height=400)

   at render/html.c:1720

#5  0x310e050 in .L143 () at content/content.c:736

#6  0x3128848 in .LBE42 () at desktop/browser.c:466

#7 0x31148b6 in hlcache_content_callback (c=0x1504a34, msg=CONTENT_MSG_READY,

data={error = 0x48cc0000 <Address 0x48cc0000 out of bounds>, redraw = {

       x = 483354.406, y = 7.01031444e+20, width = -3.99942874e+18,

height = 4.70419734e+20, full_redraw = 72}, object = 0x34d6218,

     object_x = 4.25730616e-37, object_y = 6.03563508e-37,

     object_width = 4.38124193e-37, object_height = 3.82558853e-38},

   pw=0x1a4c5c4) at content/hlcache.c:678

#8  0x310ded2 in .L108 () at content/content.c:1080

#9 0x310effa in content_set_ready (c=0x1504a34) at content/content.c:696

#10 0x314a396 in .L477 () at render/html.c:549

#11 0x314a618 in .L522 () at render/html.c:1219

#12 0x31148b6 in hlcache_content_callback (c=0x1c9f1dc, msg=CONTENT_MSG_DONE,

data={error = 0xf1dc034d <Address 0xf1dc034d out of bounds>, redraw = {

x = -1.26775215e+31, y = -7.71418168e-38, width = 6.33719854e-39,

---Type <return> to continue, or q <return> to quit---

height = -5.27378324e+29, full_redraw = 243}, object = 0x34881d2,

     object_x = 5.87747876e-39, object_y = 4.25942582e-37,

     object_width = 6.05224394e-38, object_height = 7.41827901e-38},

   pw=0x1a4bb74) at content/hlcache.c:678

#13 0x310ded2 in .L108 () at content/content.c:1080

#14 0x310efb4 in content_set_done (c=0x1c9f1dc) at content/content.c:710

#15 0x310f2dc in .L406 () at content/content.c:682

#16 0x3115ff2 in .L213 () at content/llcache.c:1346

#17 0x3117618 in .L492 () at content/llcache.c:279

#18 0x311506a in hlcache_poll () at content/hlcache.c:154

#19 0x312d2ae in .L29 () at desktop/netsurf.c:177

#20 0x310ba12 in .LBE78 () at atari/gui.c:693

#21 0x345ced0 in .L28 ()

#22 0x3440a3a in .L74 ()

---

desktop/netsurf.c netsurf_init 142: version '3.0 (Development)'
desktop/netsurf.c netsurf_init 149: NetSurf on <FreeMiNT>, node <easymint>, release <1.16.3a>, version <2.6>, machine <aranym>
desktop/netsurf.c netsurf_init 151: Using './Choices' for Options file
desktop/options.c options_read 302: failed to open file './Choices'
utils/messages.c messages_load 122: Loading Messages from '/d/root/netsurf/netsurf/!NetSurf/Resources/en/Messages' content/fetchers/fetch_curl.c fetch_curl_register 154: curl_version libcurl/7.20.1 OpenSSL/0.9.8l zlib/1.2.5 utils/useragent.c user_agent_build_string 72: Built user agent "NetSurf/3.0 (FreeMiNT; aranym)" content/fetchers/fetch_curl.c fetch_curl_register 214: cURL linked against openssl content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for dict content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for file content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for ftp content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for ftps content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for http content/fetchers/fetch_curl.c fetch_curl_initialise 246: Initialise cURL fetcher for https content/fetchers/fetch_data.c fetch_data_initialise 63: fetch_data_initialise called for data atari/gui.c gui_init 634: Using '/d/root/netsurf/netsurf/!NetSurf/Resources/Aliases' as Aliases file
atari/gui.c gui_init 638: Enabling core select menu!
atari/gui.c gui_init 643: Using 'file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79' as Default CSS URL
atari/gui.c process_cmdline 581: argc 1, argv 0x30331e8
gui_init Unimplemented!
gui_init2 Unimplemented!
gui_clear_selection Unimplemented!
gui_create_browser_window Unimplemented!
atari/gui.c gui_create_browser_window 123: gw: 0x145eb04, BW: 0x145eb9c, clone (nil), tab: 0 atari/browser_win.c create_normal_browser_window 24: window maxsize is static (400, 400)!!! desktop/browser.c browser_window_go_post 262: bw 0x145eb9c, url http://www.netsurf-browser.org/welcome/
gui_window_stop_throbber Unimplemented!
gui_window_remove_caret Unimplemented!
gui_clear_selection Unimplemented!
desktop/browser.c browser_window_go_post 374: Loading 'http://www.netsurf-browser.org/welcome/'
gui_window_set_status Unimplemented!
content/llcache.c llcache_object_user_new 516: Created user 0x145e594 (0x2c80c18, 0x145e5dc) content/llcache.c llcache_object_retrieve 594: Retrieve http://www.netsurf-browser.org/welcome/ (80000002, (null), (nil)) content/llcache.c llcache_object_retrieve_from_cache 682: Searching cache for http://www.netsurf-browser.org/welcome/ (80000002 (null) (nil)) content/llcache.c llcache_object_new 1033: Created object 0x145e4a4 (http://www.netsurf-browser.org/welcome/) content/llcache.c llcache_object_retrieve_from_cache 745: Not found 0x145e4a4 content/llcache.c llcache_object_fetch 894: Starting fetch for 0x145e4a4
content/llcache.c llcache_object_refetch 996: Refetching 0x145e4a4
content/fetch.c fetch_start 255: fetch 0x145e41c, url 'http://www.netsurf-browser.org/welcome/' content/fetchers/fetch_curl.c fetch_curl_setup 326: fetch 0x145e284, url 'http://www.netsurf-browser.org/welcome/'
content/fetch.c fetch_dispatch_jobs 360: queue_ring 1, fetch_ring 0
content/fetch.c fetch_dispatch_jobs 367: queue_ring: http://www.netsurf-browser.org/welcome/ content/fetch.c fetch_dispatch_job 436: Attempting to start fetch 0x145e41c, fetcher 0x145e284, url http://www.netsurf-browser.org/welcome/
content/fetch.c fetch_dispatch_jobs 394: Fetch ring is now 1 elements.
content/fetch.c fetch_dispatch_jobs 395: Queue ring is now 0 elements.
content/llcache.c llcache_object_retrieve 653: Retrieved 0x145e4a4
content/llcache.c llcache_object_add_user 1122: Adding user 0x145e594 to 0x145e4a4
gui_window_start_throbber Unimplemented!
gui_window_set_url Unimplemented!
atari/gui.c gui_poll 82: gui POLL
atari/gui.c gui_poll 86: scheduler timeout: -1
atari/gui.c gui_poll 104: EvntWindom flags:51, timeout: 100, active: 1
* About to connect() to www.netsurf-browser.org port 80 (#0)
* Trying 87.237.62.181... content/llcache.c llcache_fetch_callback 1607: Fetch event 0 for 0x145e4a4
* connected
* Connected to www.netsurf-browser.org (87.237.62.181) port 80 (#0)
GET /welcome/ HTTP/1.1

User-Agent: NetSurf/3.0 (FreeMiNT; aranym)

Host: www.netsurf-browser.org

Accept: */*

Accept-Encoding: gzip



< HTTP/1.1 200 OK

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Server: Zeus/4.3

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Date: Thu, 19 Aug 2010 22:10:54 GMT

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Etag: "E8pk3/MZD/ly/O4lft8MOg"

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Vary: Accept-Language

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Content-Type: text/html; charset=ISO-8859-1

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Content-Language: en

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Last-Modified: Mon, 24 May 2010 10:34:51 GMT

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Connection: close

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Vary: Accept-Encoding

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
< Content-Encoding: gzip

content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4 content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e4a4
<

content/fetch.c fetch_set_http_code 697: Setting HTTP code to 200
content/fetchers/fetch_curl.c fetch_curl_process_headers 1125: HTTP status code 200 content/llcache.c llcache_fetch_callback 1607: Fetch event 2 for 0x145e4a4
* Expire cleared
* Closing connection #0
content/fetchers/fetch_curl.c fetch_curl_done 772: done http://www.netsurf-browser.org/welcome/ content/fetchers/fetch_curl.c fetch_curl_stop 660: fetch 0x145e284, url 'http://www.netsurf-browser.org/welcome/' content/fetch.c fetch_remove_from_queues 672: Fetch 0x145e41c, fetcher 0x145e284 can be freed content/fetch.c fetch_remove_from_queues 687: Fetch ring is now 0 elements. content/fetch.c fetch_remove_from_queues 688: Queue ring is now 0 elements. content/llcache.c llcache_fetch_callback 1607: Fetch event 3 for 0x145e4a4 content/fetch.c fetch_free 470: Freeing fetch 0x145e41c, fetcher 0x145e284 content/llcache.c llcache_object_notify_users 1236: Notifying users of 0x145e4a4 content/llcache.c llcache_object_notify_users 1275: User 0x145e594 state: 0 Object state: 3 content/content.c content_create 440: url http://www.netsurf-browser.org/welcome/ -> 0x1354a34 content/content.c content_add_user 979: content http://www.netsurf-browser.org/welcome/ (0x1354a34), user 0x2c80928 0x145e5c4
gui_window_set_status Unimplemented!
render/hubbub_binding.c create_namespaces 311: Failed creating namespace xml

gui_window_set_status Unimplemented!
content/content.c content_convert 666: content http://www.netsurf-browser.org/welcome/ (0x1354a34)
render/html.c html_head 577: Node: title
render/html.c html_head 577: Node: style
render/html.c html_head 577: Node: link
content/llcache.c llcache_object_user_new 516: Created user 0x145e32c (0x2c80c18, 0x145a7ac) content/llcache.c llcache_object_retrieve 594: Retrieve file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 (0, http://www.netsurf-browser.org/welcome/, (nil)) content/llcache.c llcache_object_retrieve_from_cache 682: Searching cache for file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 (0 http://www.netsurf-browser.org/welcome/ (nil)) content/llcache.c llcache_object_new 1033: Created object 0x145e21c (file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79) content/llcache.c llcache_object_retrieve_from_cache 745: Not found 0x145e21c content/llcache.c llcache_object_fetch 894: Starting fetch for 0x145e21c
content/llcache.c llcache_object_refetch 996: Refetching 0x145e21c
content/fetch.c fetch_start 255: fetch 0x145e2f4, url 'file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79' content/fetchers/fetch_curl.c fetch_curl_setup 326: fetch 0x1463974, url 'file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79'
content/fetch.c fetch_dispatch_jobs 360: queue_ring 1, fetch_ring 0
content/fetch.c fetch_dispatch_jobs 367: queue_ring: file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 content/fetch.c fetch_dispatch_job 436: Attempting to start fetch 0x145e2f4, fetcher 0x1463974, url file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79
content/fetch.c fetch_dispatch_jobs 394: Fetch ring is now 1 elements.
content/fetch.c fetch_dispatch_jobs 395: Queue ring is now 0 elements.
content/llcache.c llcache_object_retrieve 653: Retrieved 0x145e21c
content/llcache.c llcache_object_add_user 1122: Adding user 0x145e32c to 0x145e21c
content/llcache.c llcache_clean 1444: Attempting cache clean
content/llcache.c llcache_clean 1514: Size: 3664
atari/gui.c gui_poll 82: gui POLL
atari/gui.c gui_poll 86: scheduler timeout: -1
atari/gui.c gui_poll 104: EvntWindom flags:51, timeout: 100, active: 1
content/fetch.c fetch_set_http_code 697: Setting HTTP code to 0
content/fetch.c fetch_set_http_code 697: Setting HTTP code to 0
content/fetchers/fetch_curl.c fetch_curl_process_headers 1125: HTTP status code 0 content/fetchers/fetch_curl.c fetch_curl_process_headers 1163: Obtaining mime type for file /d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e21c atari/filetype.c fetch_filetype 20: unix path /d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e21c content/llcache.c llcache_fetch_callback 1607: Fetch event 1 for 0x145e21c content/llcache.c llcache_fetch_callback 1607: Fetch event 2 for 0x145e21c content/llcache.c llcache_fetch_callback 1607: Fetch event 0 for 0x145e21c
* Expire cleared
* Closing connection #0
content/fetchers/fetch_curl.c fetch_curl_done 772: done file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 content/fetchers/fetch_curl.c fetch_curl_stop 660: fetch 0x1463974, url 'file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79' content/fetch.c fetch_remove_from_queues 672: Fetch 0x145e2f4, fetcher 0x1463974 can be freed content/fetch.c fetch_remove_from_queues 687: Fetch ring is now 0 elements. content/fetch.c fetch_remove_from_queues 688: Queue ring is now 0 elements. content/llcache.c llcache_fetch_callback 1607: Fetch event 3 for 0x145e21c content/fetch.c fetch_free 470: Freeing fetch 0x145e2f4, fetcher 0x1463974 content/llcache.c llcache_object_notify_users 1236: Notifying users of 0x145e21c content/llcache.c llcache_object_notify_users 1275: User 0x145e32c state: 0 Object state: 3 content/content.c content_create 440: url file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 -> 0x14624f4 content/content.c content_add_user 979: content file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 (0x14624f4), user 0x2c80928 0x145d9f4
gui_window_set_status Unimplemented!
content/content.c content_convert 666: content file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79 (0x14624f4) render/html.c html_convert_css_callback 1196: got stylesheet 'file:///d/root/netsurf/netsurf/!NetSurf/Resources/CSS,f79' content/llcache.c llcache_object_user_new 516: Created user 0x14622b4 (0x2c80c18, 0x145a7ac) content/llcache.c llcache_object_retrieve 594: Retrieve http://www.netsurf-browser.org/webimages/favicon.png (8, http://www.netsurf-browser.org/welcome/, (nil)) content/llcache.c llcache_object_retrieve_from_cache 682: Searching cache for http://www.netsurf-browser.org/webimages/favicon.png (8 http://www.netsurf-browser.org/welcome/ (nil)) content/llcache.c llcache_object_new 1033: Created object 0x14621ac (http://www.netsurf-browser.org/webimages/favicon.png) content/llcache.c llcache_object_retrieve_from_cache 745: Not found 0x14621ac content/llcache.c llcache_object_fetch 894: Starting fetch for 0x14621ac
content/llcache.c llcache_object_refetch 996: Refetching 0x14621ac
content/fetch.c fetch_start 255: fetch 0x14620f4, url 'http://www.netsurf-browser.org/webimages/favicon.png' content/fetchers/fetch_curl.c fetch_curl_setup 326: fetch 0x1462374, url 'http://www.netsurf-browser.org/webimages/favicon.png'
content/fetch.c fetch_dispatch_jobs 360: queue_ring 1, fetch_ring 0
content/fetch.c fetch_dispatch_jobs 367: queue_ring: http://www.netsurf-browser.org/webimages/favicon.png content/fetch.c fetch_dispatch_job 436: Attempting to start fetch 0x14620f4, fetcher 0x1462374, url http://www.netsurf-browser.org/webimages/favicon.png
content/fetch.c fetch_dispatch_jobs 394: Fetch ring is now 1 elements.
content/fetch.c fetch_dispatch_jobs 395: Queue ring is now 0 elements.
content/llcache.c llcache_object_retrieve 653: Retrieved 0x14621ac
content/llcache.c llcache_object_add_user 1122: Adding user 0x14622b4 to 0x14621ac
render/html.c html_finish_conversion 518: XML to box
gui_window_set_status Unimplemented!
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_multitask 72: EvntWindom
content/llcache.c llcache_object_user_new 516: Created user 0x1462c2c (0x2c80c18, 0x1462054) content/llcache.c llcache_object_retrieve 594: Retrieve http://www.netsurf-browser.org/netsurf.png (0, http://www.netsurf-browser.org/welcome/, (nil)) content/llcache.c llcache_object_retrieve_from_cache 682: Searching cache for http://www.netsurf-browser.org/netsurf.png (0 http://www.netsurf-browser.org/welcome/ (nil)) content/llcache.c llcache_object_new 1033: Created object 0x146c074 (http://www.netsurf-browser.org/netsurf.png) content/llcache.c llcache_object_retrieve_from_cache 745: Not found 0x146c074 content/llcache.c llcache_object_fetch 894: Starting fetch for 0x146c074
content/llcache.c llcache_object_refetch 996: Refetching 0x146c074
content/fetch.c fetch_start 255: fetch 0x146c20c, url 'http://www.netsurf-browser.org/netsurf.png' content/fetchers/fetch_curl.c fetch_curl_setup 326: fetch 0x1478bcc, url 'http://www.netsurf-browser.org/netsurf.png'
content/fetch.c fetch_dispatch_jobs 360: queue_ring 1, fetch_ring 1
content/fetch.c fetch_dispatch_jobs 367: queue_ring: http://www.netsurf-browser.org/netsurf.png content/fetch.c fetch_dispatch_jobs 376: fetch_ring: http://www.netsurf-browser.org/webimages/favicon.png content/fetch.c fetch_dispatch_job 436: Attempting to start fetch 0x146c20c, fetcher 0x1478bcc, url http://www.netsurf-browser.org/netsurf.png
content/fetch.c fetch_dispatch_jobs 394: Fetch ring is now 2 elements.
content/fetch.c fetch_dispatch_jobs 395: Queue ring is now 0 elements.
content/llcache.c llcache_object_retrieve 653: Retrieved 0x146c074
content/llcache.c llcache_object_add_user 1122: Adding user 0x1462c2c to 0x146c074
atari/gui.c gui_multitask 72: EvntWindom
...
atari/gui.c gui_multitask 72: EvntWindom
atari/gui.c gui_window_get_dimensions 189: get dimensions 0x145eb04 w=400 h=400 content/content.c content__reformat 732: 0x1354a34 http://www.netsurf-browser.org/welcome/ ns.prg: render/layout.c:724: layout_minmax_block: Assertion `child->max_width != 2147483647' failed.


Reply via email to