hlcache_handle_get_content assert is need ?
by Bernd Roesch
Hi,
A user report when he log in to www.netmail.nl (it use https but the start page work) to get mails
he get this error
content/hlcache.c:257: failed assertion `handle != NULL'
Abort trap - Netsurf
Netsurf is compile with assert check enable, but the function look 0 value safe and return 0, when
no handle is here.
Is it possible to remove the assert and output only a warning message instead ?
Or does then later netsurf crash ?
here is the code of this
struct content *hlcache_handle_get_content(const hlcache_handle *handle)
{
assert(handle != NULL);
if (handle->entry != NULL)
return handle->entry->content;
return NULL;
}
Bye
12 years
Re: hlcache_handle_get return 0 in html_finish _conversion ( was hlcache_handle_get_content assert is need ?)
by Bernd Roesch
Hello
>
> Am Donnerstag, den 01.07.2010, 11:14 +0200 schrieb Bernd Roesch
> <nospamname(a)gmx.de>:
>
>> I notice some things as Failed writing Body message in log, but this
>> happen also on google page and
>> the page work ok.
>
> I looked into the attached file and see:
> * Failed writing body (0 != 5491)
> * Expire cleared
> * Closing connection #2
>
> I just wanted to say that this output was also reported by an freemint
> user. I'm especially interested in the Expire clreared output. I don't
You did not get the errors ?
this messages come when
suppress_curl_debug:0
option is use.
maybe you can test if that link work on your system.
www.arstechnica.com
BTW:
what netsurf build you have do ?
a 3.0 ?
We have a 3.0 build(2.5 we cant compile, because we have a new plotter interface only) with sources
from here and all other libs from trunk
svn://svn.netsurf-browser.org/trunk/netsurf
> really can imagine what this output could mean ;).
>
> Greets,
> Ole
Regards
12 years