MantisBT - NetSurf
View Issue Details
0002643NetSurf[All Projects] Generalpublic2019-05-05 03:112019-05-06 13:39
Reporterjdkap 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusacknowledgedResolutionopen 
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 pagehttps://moodle2.uni-potsdam.de/
Summary0002643: Segfault when linked against ld-musl-i386.so.1
Descriptionwhile trying to visit my university's moodle page netsurf crashes every time
Steps To Reproduceopen netsurf and navigate to moodle2.uni-potsdam.de
Additional Informationnetsurf -v and gdb output (stock binary from archives) attached

gdb shows a free() error in context of ld-musl-i386.so.1

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 03:11
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=580&type=bug
log netsurf_valgrind.log (113,101) 2019-05-05 03:37
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=581&type=bug
txt netsurf_debian_log.txt (24,446) 2019-05-05 19:34
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=582&type=bug

Notes
(0001901)
jdkap   
2019-05-05 19: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 ld-musl-i386.so.1 exclusive (/lib/i386-linux-gnu/ld-2.24.so 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
(0001902)
Vincent Sanders   
2019-05-06 13: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 03:11jdkapNew Issue
2019-05-05 03:11jdkapFile Added: netsurf_log.txt
2019-05-05 03:37jdkapFile Added: netsurf_valgrind.log
2019-05-05 19:34jdkapFile Added: netsurf_debian_log.txt
2019-05-05 19:34jdkapNote Added: 0001901
2019-05-06 13:39Vincent SandersStatusnew => acknowledged
2019-05-06 13:39Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=2076#r2076
2019-05-06 13:39Vincent SandersNote Added: 0001902