MantisBT - NetSurf
View Issue Details
0002643NetSurf[All Projects] Generalpublic2019-05-05 04:112019-05-06 14:39
Assigned To 
PlatformLinux 32-bit (Virtualbox VM 5.1.OSAlpine LinuxOS Version3.9.3 x86
Product Version3.8 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002643: Segfault when linked against
Descriptionwhile trying to visit my university's moodle page netsurf crashes every time
Steps To Reproduceopen netsurf and navigate to
Additional Informationnetsurf -v and gdb output (stock binary from archives) attached

gdb shows a free() error in context of

When I have the time to do it I'll compile netsurf with debug symbols enabled, as well as try to reproduce this bug on real hardware, different architectures and different Linux distros.
TagsNo tags attached.
Attached Filestxt netsurf_log.txt (27,942) 2019-05-05 04:11
log netsurf_valgrind.log (113,101) 2019-05-05 04:37
txt netsurf_debian_log.txt (24,446) 2019-05-05 20:34

2019-05-05 20:34   
I reproduced the bug after building netsurf 3.8 from source on Debian 9.5.0 Stretch,
hence it does not seem to be exclusive (/lib/i386-linux-gnu/ is used in Debian)

Linux 32-bit, Kernel 4.9.0-7-rt-686-pae
Dell Latitude D430
Intel Core 2 Duo U7600 @ 1.2 GHz, 2GB RAM
Vincent Sanders   
2019-05-06 14:39   
I cannot reproduce this in the current development build.

However from the backtrace/valgrind logs you provided there is a suggestion that your build has libcurl compiled with a different version of openssl to the version used in netsurf.

Because we use libcurl openssl API the two versions *cannot* be different or odd crashes happen when getting prompted for ssl exceptions like on the website you link

Issue History
2019-05-05 04:11jdkapNew Issue
2019-05-05 04:11jdkapFile Added: netsurf_log.txt
2019-05-05 04:37jdkapFile Added: netsurf_valgrind.log
2019-05-05 20:34jdkapFile Added: netsurf_debian_log.txt
2019-05-05 20:34jdkapNote Added: 0001901
2019-05-06 14:39Vincent SandersStatusnew => acknowledged
2019-05-06 14:39Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=2076#r2076
2019-05-06 14:39Vincent SandersNote Added: 0001902