MantisBT - NetSurf
View Issue Details
0002673NetSurf[All Projects] Generalpublic2019-06-14 23:142019-08-12 09:27
ReporterDaniel Osborn 
Assigned ToDaniel Silverstone 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSVoid LinuxOS Version
Product Version3.8 
Target VersionFixed in Version3.9 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002673: Crashing, Closing when going to some websites.
DescriptionSome websites cause the browser to unexpectedly close. http://slashdot.org/, https://google.com and others.


```
netsurf-gtk: content/fetchers/curl.c:718: fetch_curl_initiate_fetch: Assertion `codem == CURLM_OK || codem == CURLM_CALL_MULTI_PERFORM' failed.
/bin/netsurf: line 7: 26163 Aborted /usr/bin/netsurf-gtk "$@"
```
Steps To ReproduceOpen netsurf, on the main page click the link for http://slashdot.org/. The browser closes without any warning. Or try google.com
TagsNo tags attached.
Attached Files? netsurf.err (23,888) 2019-06-14 23:14
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=596&type=bug

Notes
(0001967)
Daniel Osborn   
2019-06-14 23:17   
BTW, I am running Void Linux
(0001968)
Officially Gorgeous   
2019-06-20 11:27   
?
(0001969)
Vincent Sanders   
2019-06-21 10:50   
Your specific issue may be due to a bug in NetSurf but much more likely to be an issue with the build for Void Linux.

The report indicates an issue using the curl library.

We have seen several issues recently with curl libraries being built with a different version of the openssl library to the one NetSurf uses.

NetSurf https handling *only* works when curl and NetSurf itself are built with openssl of the same version.

The 3.9 release is imminent which has many bug fixes and may solve your issue but I would not be confident in that.
(0001972)
edgard   
2019-06-29 01:43   
I have the exact issue on Alpine Linux.
(0001973)
Michael Forney   
2019-06-29 21:12   
I think this might be the same issue as https://bugs.netsurf-browser.org/mantis/view.php?id=2663, which was fixed in http://git.netsurf-browser.org/netsurf.git/commit/?id=3d80e825e1c77ece19c21ed1cc568049856a44de.

The error was CURLM_RECURSIVE_API_CALL because it was getting called from within a curl callback. See also https://github.com/curl/curl/pull/3837.
(0002027)
lockywolf   
2019-07-30 08:03   
I have this bug too.

Linux delllaptop.lockywolf.net 4.19.62 #1 SMP Sun Jul 28 17:05:43 CDT 2019 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux

Slackware-15.0-current

NetSurf 3.8 (29th August 2018)
(0002028)
lockywolf   
2019-07-30 08:03   
$:curl --version
curl 7.65.3 (x86_64-pc-linux-gnu) libcurl/7.65.3 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) libssh2/1.9.0 nghttp2/1.39.1
Release-Date: 2019-07-19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL TLS-SRP UnixSockets
(0002062)
Ankur   
2019-08-04 03:50   
I haven't been able to use Netsurf at all on OpenBSD for over a month.

$ uname -a
OpenBSD host 6.5 GENERIC.MP#130 amd64
$ curl --version
curl 7.65.3 (x86_64-unknown-openbsd6.5) libcurl/7.65.3 LibreSSL/3.0.0 zlib/1.2.3 nghttp2/1.39.1
Release-Date: 2019-07-19
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps
telnet tftp
Features: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets

$ netsurf-gtk
assertion "codem == CURLM_OK || codem == CURLM_CALL_MULTI_PERFORM" failed: file "content/fetchers/curl.c", line 718, function "fetch_curl_initiate_fetch"
Abort trap
(0002063)
Vincent Sanders   
2019-08-04 08:58   
This is a known issue in version 3.8 when using a recent curl.

The 3.9 version has been released and should address this issue.

Please can anyone reporting this issue include the version of *netsurf* they are using so I can be assured this is not occurring in 3.9
(0002064)
Ankur   
2019-08-04 12:50   
I apologise, I noticed I forgot to report the version of netsurf which is indeed 3.8. As soon as packages are available on OpenBSD for 3.9 I will report back
(0002074)
Ankur   
2019-08-12 02:59   
I can confirm that Netsurf 3.9 on OpenBSD no longer has this issue.
(0002075)
Vincent Sanders   
2019-08-12 09:27   
Thank you for your report.
Glad to see we have managed to resolve it.
I am closing this issue now as resolved.
If you have problems in future with this please feel free to open another issue report.

Issue History
2019-06-14 23:14Daniel OsbornNew Issue
2019-06-14 23:14Daniel OsbornFile Added: netsurf.err
2019-06-14 23:17Daniel OsbornNote Added: 0001967
2019-06-20 11:27Officially GorgeousNote Added: 0001968
2019-06-21 10:50Vincent SandersStatusnew => acknowledged
2019-06-21 10:50Vincent SandersOS => Void Linux
2019-06-21 10:50Vincent SandersPlatform => Linux
2019-06-21 10:50Vincent SandersNote Added: 0001969
2019-06-29 01:43edgardNote Added: 0001972
2019-06-29 21:12Michael ForneyNote Added: 0001973
2019-07-30 08:03lockywolfNote Added: 0002027
2019-07-30 08:03lockywolfNote Added: 0002028
2019-08-04 03:50AnkurNote Added: 0002062
2019-08-04 08:58Vincent SandersNote Added: 0002063
2019-08-04 12:50AnkurNote Added: 0002064
2019-08-12 02:59AnkurNote Added: 0002074
2019-08-12 09:27Vincent SandersAssigned To => Daniel Silverstone
2019-08-12 09:27Vincent SandersStatusacknowledged => resolved
2019-08-12 09:27Vincent SandersResolutionopen => fixed
2019-08-12 09:27Vincent SandersFixed in Version => 3.9
2019-08-12 09:27Vincent SandersNote Added: 0002075