dillo
Hello, I try to port dillo 3.0.2 to Irix: fltk 1.3 compiles fine with gcc 4.7. test/demo runs without errors. dillo compiles also with gcc 4.7, there is only a problem with setenv in dpi/downloads.cc, that can be resolved using putenv. dillo starts correctly, but is not able to display any website or file: paths: Cannot open file '/usr/people/diegel/.dillo/dillorc' paths: Using /usr/local/etc/dillo/dillorc paths: Cannot open file '/usr/people/diegel/.dillo/keysrc' paths: Using /usr/local/etc/dillo/keysrc dillo_dns_init: Here we go! (threaded) Disabling cookies. ** WARNING **: preferred sans-serif font "DejaVu Sans" not found. ** WARNING **: preferred serif font "DejaVu Serif" not found. ** WARNING **: preferred monospace font "DejaVu Sans Mono" not found. ** WARNING **: preferred cursive font "URW Chancery L" not found. ** WARNING **: preferred fantasy font "DejaVu Sans" not found. Nav_open_url: new url='about:splash' Nav_open_url: new url='http://www.dillo.org/' Dns_server [0]: www.dillo.org is 134.102.206.165 Connecting to 134.102.206.165 Nav_open_url: new url='file:/usr/people/diegel/dillo/www.dillo.org/index.html' I also tried with --disable-threaded-dns but same result. Any idea how to debug this problem? Thank you, Jan
Jan wrote:
I try to port dillo 3.0.2 to Irix:
fltk 1.3 compiles fine with gcc 4.7. test/demo runs without errors.
dillo compiles also with gcc 4.7, there is only a problem with setenv in dpi/downloads.cc, that can be resolved using putenv.
dillo starts correctly, but is not able to display any website or file:
dillo paths: Cannot open file '/usr/people/diegel/.dillo/dillorc' paths: Using /usr/local/etc/dillo/dillorc paths: Cannot open file '/usr/people/diegel/.dillo/keysrc' paths: Using /usr/local/etc/dillo/keysrc dillo_dns_init: Here we go! (threaded) Disabling cookies. ** WARNING **: preferred sans-serif font "DejaVu Sans" not found. ** WARNING **: preferred serif font "DejaVu Serif" not found. ** WARNING **: preferred monospace font "DejaVu Sans Mono" not found. ** WARNING **: preferred cursive font "URW Chancery L" not found. ** WARNING **: preferred fantasy font "DejaVu Sans" not found. Nav_open_url: new url='about:splash' Nav_open_url: new url='http://www.dillo.org/' Dns_server [0]: www.dillo.org is 134.102.206.165 Connecting to 134.102.206.165 Nav_open_url: new url='file:/usr/people/diegel/dillo/www.dillo.org/index.html'
I also tried with --disable-threaded-dns but same result.
Any idea how to debug this problem?
Do the dw* programs in dillo's test directory do anything? Given that you aren't getting any repush messages, I'm guessing that they'll be reasonably okay and that it's something to do with IO. I'm not the expert on that code, but in the interest of giving something to try in the meantime, I might start by setting breakpoints on IO_fd_write_cb() and IO_fd_read_cb(), or setting VERBOSE in src/chain.c.
Thanks for your hints. The browser is able to render html. about:splash looks normal and sometimes you can open html files with the open file menu, sometimes you get a 404 error when you try to open a html file, this behavior seems to be random. I set VERBOSE. This is the output when I start dillo, try to surf home (don't work) and open a JPEG in the /tmp directory (works). src/dillo paths: Cannot open file '/usr/people/diegel/.dillo/dillorc' paths: Using /usr/local/etc/dillo/dillorc paths: Cannot open file '/usr/people/diegel/.dillo/keysrc' paths: Using /usr/local/etc/dillo/keysrc dillo_dns_init: Here we go! (not threaded) Disabling cookies. ** WARNING **: preferred sans-serif font "DejaVu Sans" not found. ** WARNING **: preferred serif font "DejaVu Serif" not found. ** WARNING **: preferred monospace font "DejaVu Sans Mono" not found. sorcerer:/mnt/build/dillo-3.0.2> src/dillo paths: Cannot open file '/usr/people/diegel/.dillo/dillorc' paths: Using /usr/local/etc/dillo/dillorc paths: Cannot open file '/usr/people/diegel/.dillo/keysrc' paths: Using /usr/local/etc/dillo/keysrc dillo_dns_init: Here we go! (not threaded) Disabling cookies. ** WARNING **: preferred sans-serif font "DejaVu Sans" not found. ** WARNING **: preferred serif font "DejaVu Serif" not found. ** WARNING **: preferred monospace font "DejaVu Sans Mono" not found. ** WARNING **: preferred cursive font "URW Chancery L" not found. ** WARNING **: preferred fantasy font "DejaVu Sans" not found. Nav_open_url: new url='about:splash' Nav_open_url: new url='http://www.dillo.org/' a_Capi_ccc : OpStart [2B] Info=10250a38 Flags=0 a_Dpi_ccc : OpStart [2B] Info=10250a60 Flags=0 a_IO_ccc : OpStart [2B] Info=10250a88 Flags=0 a_Capi_ccc : OpStart [1B] Info=10250ad8 Flags=0 a_Http_ccc : OpStart [1B] Info=10250b00 Flags=0 a_IO_ccc : OpStart [1B] Info=10250b50 Flags=0 Dns_server [0]: www.dillo.org is 134.102.206.165 Connecting to 134.102.206.165 a_IO_ccc : OpSend [1B] Info=10250b50 Flags=0 a_Capi_ccc : OpSend [1F] Info=10250ad8 Flags=0 a_Capi_ccc : OpSend [2B] Info=10250a38 Flags=0 a_Dpi_ccc : OpSend [2B] Info=10250a60 Flags=0 a_IO_ccc : OpSend [2B] Info=10250a88 Flags=0 a_IO_ccc : OpSend [1B] Info=10250b50 Flags=0 Nav_open_url: new url='file:/tmp/orfanelle.jpg' a_Capi_ccc : OpAbort [1B] Info=10250ad8 Flags=0 a_Http_ccc : OpAbort [1B] Info=10250b00 Flags=0 a_IO_ccc : OpAbort [1B] Info=10250b50 Flags=0 a_Capi_ccc : OpAbort [2B] Info=10250a38 Flags=0 a_Dpi_ccc : OpAbort [2B] Info=10250a60 Flags=0 a_IO_ccc : OpAbort [2B] Info=10250a88 Flags=0 a_Capi_ccc : OpStart [2B] Info=10250bf0 Flags=0 a_Dpi_ccc : OpStart [2B] Info=10250a38 Flags=0 a_IO_ccc : OpStart [2B] Info=10250a60 Flags=0 a_Capi_ccc : OpStart [1B] Info=10250ab0 Flags=0 a_Dpi_ccc : OpStart [1B] Info=10250ad8 Flags=0 ** ERROR **: [Dpi_read_comm_keys] No such file or directory Dpi_blocking_start_dpid: try 1 [dpid]: a_Misc_mksecret: f3f0000d dpid started a_IO_ccc : OpStart [1B] Info=10250b00 Flags=0 a_IO_ccc : OpSend [1B] Info=10250b00 Flags=0 a_Capi_ccc : OpSend [1F] Info=10250ab0 Flags=0 a_Capi_ccc : OpSend [2B] Info=10250bf0 Flags=0 a_Dpi_ccc : OpSend [2B] Info=10250a38 Flags=0 a_IO_ccc : OpSend [2B] Info=10250a60 Flags=0 a_Capi_ccc : OpSend [1F] Info=10250ab0 Flags=0 a_Capi_ccc : OpSend [1B] Info=10250ab0 Flags=0 a_Dpi_ccc : OpSend [1B] Info=10250ad8 Flags=0 a_IO_ccc : OpSend [1B] Info=10250b00 Flags=0 [file dpi]: (v.2) accepting connections... a_IO_ccc : OpSend [2F] Info=10250a60 Flags=0 a_Dpi_ccc : OpSend [2F] Info=10250a38 Flags=0 a_Capi_ccc : OpSend [2F] Info=10250bf0 Flags=0 a_Capi_ccc : OpSend [2F] Info=10250bf0 Flags=0 a_IO_ccc : OpSend [2F] Info=10250a60 Flags=0 a_Dpi_ccc : OpSend [2F] Info=10250a38 Flags=0 a_Capi_ccc : OpSend [2F] Info=10250bf0 Flags=0 a_IO_ccc : OpSend [2F] Info=10250a60 Flags=0 a_Dpi_ccc : OpSend [2F] Info=10250a38 Flags=0 a_Capi_ccc : OpSend [2F] Info=10250bf0 Flags=0 a_IO_ccc : OpEnd [2F] Info=10250a60 Flags=0 a_Dpi_ccc : OpEnd [2F] Info=10250a38 Flags=0 a_Capi_ccc : OpEnd [2F] Info=10250bf0 Flags=0 a_Capi_ccc : OpEnd [1B] Info=10250ab0 Flags=0 a_Dpi_ccc : OpEnd [1B] Info=10250ad8 Flags=0 a_IO_ccc : OpEnd [1B] Info=10250b00 Flags=0 The tests provide some output. The cookies test for esample outputs endless: [cookies dpi]: Disabling cookies. [cookies dpi]: (v.1) accepting connections... [cookies dpi]: cleanup corvid wrote:
Do the dw* programs in dillo's test directory do anything?
Given that you aren't getting any repush messages, I'm guessing that they'll be reasonably okay and that it's something to do with IO.
I'm not the expert on that code, but in the interest of giving something to try in the meantime, I might start by setting breakpoints on IO_fd_write_cb() and IO_fd_read_cb(), or setting VERBOSE in src/chain.c.
_______________________________________________ Dillo-dev mailing list Dillo-dev at dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
-- Jan Diegelmann
Jan wrote:
sometimes you get a 404 error when you try to open a html file, this behavior seems to be random.
Hmm... I wonder whether this would show anything interesting (run 'dpidc stop' before reinstalling DPIs) diff -r 7750054f37e5 dpi/file.c --- a/dpi/file.c Mon Jan 07 21:39:19 2013 +0100 +++ b/dpi/file.c Tue Jan 08 18:42:22 2013 +0000 @@ -671,6 +671,8 @@ struct stat sb; if (stat(filename, &sb) != 0) { + MSG("Couldn't stat %s: %s\n", filename, strerror(errno)); + /* stat failed, prepare a file-not-found error. */ res = ENOENT; } else if (S_ISDIR(sb.st_mode)) {
participants (2)
-
corvid@lavabit.com
-
diegel@work.de