Hello, At the top of debian/rules addding the following:
DEB_BUILD_MAINT_OPTIONS=hardening=-all export DEB_BUILD_MAINT_OPTIONS stops crashes from occurring by disabling the protection mechanisms provided by GCC. This does not truly fix the issue because dosemu itself should be modified to handle cases where GCC's protection mechanisms are used.