2024-04-27 19:53 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002864NetSurf[All Projects] Generalpublic2024-01-15 23:28
ReporterRyan Carsten Schmidt 
Assigned To 
SeverityminorReproducibilityhave not tried 
StatusnewResolutionopen 
Platformx86_64OSMac OS XOS Version10.6.8
Product Version3.11 
Target VersionFixed in Version 
Summary0002864: Build failure on Mac O X 10.6: Segmentation fault in nsgenbind
DescriptionNetSurf 3.11 is failing to build in this way on an older version of macOS, Mac OS X 10.6.8:


make[1]: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_www_NetSurf/NetSurf/work/netsurf-all-3.11/netsurf'
mkdir -p build/Darwin-gtk3/duktape
 GENBIND: content/handlers/javascript/duktape/netsurf.bnd
nsgenbind -D -I content/handlers/javascript/WebIDL content/handlers/javascript/duktape/netsurf.bnd build/Darwin-gtk3/duktape
   MKDIR: build/Darwin-gtk3
mkdir -p build/Darwin-gtk3
touch build/Darwin-gtk3/created
GRESORCE: frontends/gtk/res/netsurf.gresource.xml
glib-compile-resources --generate-source --sourcedir frontends/gtk/res --target=build/Darwin-gtk3/netsurf_gresource.c frontends/gtk/res/netsurf.gresource.xml
/usr/bin/perl tools/git-testament.pl /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_www_NetSurf/NetSurf/work/netsurf-all-3.11/netsurf build/Darwin-gtk3/testament.h
GRESORCE: frontends/gtk/res/ui.gresource.xml
glib-compile-resources --generate-source --sourcedir frontends/gtk/res/gtk3 --target=build/Darwin-gtk3/ui_gresource.c frontends/gtk/res/ui.gresource.xml
/usr/bin/perl tools/git-testament.pl /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_www_NetSurf/NetSurf/work/netsurf-all-3.11/netsurf build/Darwin-gtk3/testament.h
TESTMENT: build/Darwin-gtk3/testament.h
mkdir -p build/Darwin-gtk3/duktape
TESTMENT: unchanged
 GENBIND: content/handlers/javascript/duktape/netsurf.bnd
nsgenbind -D -I content/handlers/javascript/WebIDL content/handlers/javascript/duktape/netsurf.bnd build/Darwin-gtk3/duktape
make[1]: *** [build/Darwin-gtk3/duktape/binding.h] Segmentation fault


The full build log and the OS-generated crash log are attached. The relevant part of the build log is above while the relevant part of the crash log is:


Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x000000010008923b memchr + 11
1 libSystem.B.dylib 0x00000001000575d8 __vfprintf + 8108
2 libSystem.B.dylib 0x00000001000988ab vfprintf_l + 111
3 libSystem.B.dylib 0x000000010009882e fprintf + 196
4 nsgenbind 0x000000010000da14 genbind_ast_dump + 100 (nsgenbind-ast.c:489)
5 nsgenbind 0x000000010000dab4 genbind_ast_dump + 260 (nsgenbind-ast.c:480)
6 nsgenbind 0x000000010000d988 genbind_dump_ast + 72 (nsgenbind-ast.c:512)
7 nsgenbind 0x000000010000b9f6 main + 646 (nsgenbind.c:218)
8 nsgenbind 0x0000000100001124 start + 52
Steps To ReproduceBuild NetSurf 3.11 on Mac OS X 10.6.8
Additional InformationI do not see this problem on Mac OS X 10.7 or later.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2024-01-15 23:28 Ryan Carsten Schmidt New Issue
2024-01-15 23:28 Ryan Carsten Schmidt File Added: build.log
2024-01-15 23:28 Ryan Carsten Schmidt File Added: nsgenbind_2024-01-15-225725_localhost.crash
+Issue History