Hey guys, this is probably not worth your time, but i thought i'd mention it anyway:
tried to build dosbox with debhelper version 9 (instead of 7 as normal).
The compile hit errors:
sdlmain.cpp: In function 'void show_warning(const char*)':
sdlmain.cpp:1653:16: error: format not a string literal and no format arguments [-Werror=format-security]
It seems version 9 adds some warnings as errors by default.
There is one mingw version out there that produces a crashing dosbox.
Try a different (older/newer) version.
At least that is what I think there is. Was mentioned on irc and maybe here on the forum as well.