Re: Dillo crash on HTTPS connection (to MS web site)

James C <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <CACZ9Q6hEh7bf0Nns4WEBBB3TZwJtvYbqYnJFEUFLh59J_AbPOA@mail.gmail.com>
Hello John,

I'm a bit better off, but not necessarily a lot.  Unless someone takes
this off me and instantly solves it, please presume that it's a long
journey.

I do not reproduce the problem.  It may depend on the set of
certificates on your machine, or something painful like that.

I propose to attempt to give you a cookbook for driving gdb.  You
could try going
  which dillo
  gdb <full path to dillo> <url that you had before>
    - should get a (gdb) prompt
  run
    - should give a message about your abourt
    - should get a (gdb) prompt
  print ERR_peek_last_error()
    - should show a number and a prompt
  print /x ERR_peek_last_error()
    - should show the same number in hex, and a prompt
  bt 10
    - should get a stack trace
  quit
    - should get a shell prompt

The numbers should be the same, modulo base, and may tell us something
about the nature of the problem, after we do some decoding.

Regards,
James.

On 24/02/2016, John Found <[email protected]> wrote:
>
> I am not sure how to proceed, because my C/C++ programming skills are close
> to zero.
> But can make some debug effort if someone instructs me what to do. :)
>
> In short, Dillo crashes when I try to connect to the site of MS. It works ok
> on other
> https web sites, for example on https://google.com
>
> Dillo is compiled and run on 64bit ELF executable with SSL enabled.
>
> Here is what I have in the console:
>
> $dillo
> "https://msdn.microsoft.com/en-us/library/windows/desktop/ms645616(v=vs.85).aspx"
> ** ERROR **: prefsparser: Syntax error in dillorc: name="(null)"
> value="(null)"
> paths: Cannot open file '/home/johnfound/.dillo/keysrc': No such file or
> directory
> paths: Using /usr/local/etc/dillo/keysrc
> paths: Cannot open file '/home/johnfound/.dillo/domainrc': No such file or
> directory
> paths: Using /usr/local/etc/dillo/domainrc
> Domain: Default accept.
> dillo_dns_init: Here we go! (threaded)
> Disabling cookies.
> paths: Cannot open file '/home/johnfound/.dillo/hsts_preload': No such file
> or directory
> paths: Using /usr/local/etc/dillo/hsts_preload
> ** WARNING **: preferred cursive font "URW Chancery L" not found.
> Nav_open_url: new
> url='https://msdn.microsoft.com/en-us/library/windows/desktop/ms645616(v=vs.85).aspx'
> Dns_server [0]: msdn.microsoft.com is 157.56.148.19
> Connecting to 157.56.148.19:443
> msdn.microsoft.com: TLSv1.2, cipher DES-CBC3-SHA
> sha256 2048-bit RSA: /CN=msdn.microsoft.com
> sha256 4096-bit RSA: /C=US/ST=Washington/L=Redmond/O=Microsoft
> Corporation/OU=Microsoft IT/CN=Microsoft IT SSL SHA2
> ** WARNING **: In 2015, browsers have begun to deprecate SHA1 certificates.
> sha1 2048-bit RSA: /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust
> Root
> root: /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust Root
> NumPendingStyleSheets=1
> NumPendingStyleSheets=2
> Dns_server [1]: i-msdn.sec.s-msft.com is 2.16.221.31
> Dns_server [0]: assets.onestore.ms is 104.69.121.36
> Dns_server [0]: m.webtrends.com is 63.251.85.33
> i-msdn.sec.s-msft.com: TLSv1.2, cipher ECDHE-RSA-AES256-GCM-SHA384
> ** WARNING **: In 2015, browsers have begun to deprecate SHA1 certificates.
> sha1 2048-bit RSA: /C=US/ST=WA/L=Redmond/O=Microsoft Corporation/OU=STO
> Operations/CN=*.sec.s-msft.com
> ** WARNING **: In 2015, browsers have begun to deprecate SHA1 certificates.
> sha1 2048-bit RSA: /C=NL/L=Amsterdam/O=Verizon Enterprise
> Solutions/OU=Cybertrust/CN=Verizon Akamai SureServer CA G14-SHA1
> ** WARNING **: In 2015, browsers have begun to deprecate SHA1 certificates.
> sha1 2048-bit RSA: /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust
> Root
> root: /C=US/O=GTE Corporation/OU=GTE CyberTrust Solutions, Inc./CN=GTE
> CyberTrust Global Root
> assets.onestore.ms: TLSv1.2, cipher ECDHE-RSA-AES256-GCM-SHA384
> sha256 2048-bit RSA: /C=US/ST=WA/L=Redmond/O=Microsoft
> Corporation/OU=Microsoft Corporation/CN=*.onestore.ms
> sha256 4096-bit RSA: /C=US/ST=Washington/L=Redmond/O=Microsoft
> Corporation/OU=Microsoft IT/CN=Microsoft IT SSL SHA2
> ** WARNING **: In 2015, browsers have begun to deprecate SHA1 certificates.
> sha1 2048-bit RSA: /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust
> Root
> root: /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust Root
>>>>> a_Nav_repush <<<<
> Reusing fd 8 for
> https://assets.onestore.ms/cdnfiles/onestorerolling-1602-03000/shell/v3/images/logo/microsoft.png
> Nav_open_url: new
> url='https://msdn.microsoft.com/en-us/library/windows/desktop/ms645616(v=vs.85).aspx'
> ABORT 1B
> ABORT 1B
> IO_write, closing with pending data not sent: "GET
> /cdnfiles/onestorerolling-1602-03000/shell/v3/images/logo/microsoft.png
> HTTP/1.1\x0D..."
> a_Nav_expect_done: repush!
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> ** WARNING **: Ignoring unsafe author style that might reveal browsing
> history
> dillo: tls.c:1177: a_Tls_handshake: Assertion `!ERR_get_error()' failed.
> Aborted (core dumped)
>
>
> --
> http://fresh.flatassembler.net
> http://asm32.info
> John Found <[email protected]>
>
> _______________________________________________
> Dillo-dev mailing list
> [email protected]
> http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.