MantisBT - Buildsystem
View Issue Details
0002814Buildsystem[All Projects] Generalpublic2021-04-14 16:152021-04-14 17:17
ReporterRyan Carsten Schmidt 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
Platformx86_64OSMac OS X ServerOS Version10.6.8
Fixed in CI build #
Reported in CI build #
Summary0002814: nsgenbind crashed while processing duktape/binding.h
DescriptionHi! I was able to build NetSurf 3.10 (with the gtk3 target) on Mac OS X 10.7 and later, but on 10.6 the build failed because nsgenbind crashed in nsgenbind-ast.c:489:

make[1]: *** [build/Darwin-gtk3/duktape/binding.h] Segmentation fault

I'm not sure whether this is because of some difference between Mac OS X 10.6 and 10.7 or because of a difference in compiler. For the successful builds on 10.7 and later I used the clang that comes with Xcode but for the unsuccessful build on 10.6 I used clang 9 as installed by MacPorts.

I'll attach the crash log and the build log.
Steps To ReproduceCompile NetSurf 3.10 on Mac OS X 10.6 using the clang 9 compiler.
TagsNo tags attached.
Attached Files? nsgenbind_2021-04-14-041733_localhost.crash (2,733) 2021-04-14 16:15
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=701&type=bug
bz2 build.log.bz2 (18,109) 2021-04-14 16:15
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=702&type=bug

Notes
(0002330)
Ryan Carsten Schmidt   
2021-04-14 17:17   
I have now tried to build with MacPorts clang 9 on macOS 10.13.6, and it succeeded.

Is there any way to get more debugging information from nsgenbind to see what it's doing when it crashes?

Issue History
2021-04-14 16:15Ryan Carsten SchmidtNew Issue
2021-04-14 16:15Ryan Carsten SchmidtFile Added: nsgenbind_2021-04-14-041733_localhost.crash
2021-04-14 16:15Ryan Carsten SchmidtFile Added: build.log.bz2
2021-04-14 17:17Ryan Carsten SchmidtNote Added: 0002330