DOSBox SVN Builds

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

Re: r4059 crashes when closed

Postby Qbix » 2017-10-13 @ 08:37

Yesterplay80 wrote:My latest builds of DOSBox SVN r4059 crash whenever I close them via the "X" in the title bar. Closing it by entering "exit" in the DOSBox windows works, however. I tried it on several PCs, it happended all the time. Can anyone confirm this error?


did you switch compiler/libraries ? It sounds like the sjlj exception thing. (see dosfreaks compilation guides)
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10375
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: r4059 crashes when closed

Postby Yesterplay80 » 2017-10-13 @ 08:50

Qbix wrote:did you switch compiler/libraries ? It sounds like the sjlj exception thing. (see dosfreaks compilation guides)

No, I still use MinGW + MSYS, there wasn't an update for those neither.
My full-featured DOSBox SVN builds (without debugger) for Windows: Vanilla DOSBox and DOSBox ECE (Enhanced Community Edition)
User avatar
Yesterplay80
Member
 
Posts: 252
Joined: 2016-2-23 @ 11:02
Location: Germany

Re: DOSBox SVN Builds

Postby DosFreak » 2017-10-13 @ 09:31

Can you check how you build differs from my guide?
https://www.vogons.org/viewtopic.php?f= ... de#p609435

I'm no longer updating the mingw guide and have switched to mingw64 but the mingw guide was producing working builds without the issue (I always close dosbox with the X) using both static and dynamic.

I've verified posix,win32,dwarf,sjlj with the mingw-w64 build using DOSBox 10-10-2017

When the issue did occur I was thinking it was my using the provided SDL and sdl_net dlls instead of compiling my own but I haven't gone back to using the provided SDL files to verify and I won't since it doesn't make any sense to do so.

To verify it's not the latest SVN can you try compiling an older SVN ver?
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"Who's got time to read all the way down to the bottom of an email?"
User avatar
DosFreak
l33t++
 
Posts: 9473
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: DOSBox SVN Builds

Postby gandhig » 2017-10-13 @ 09:53

Crash is related to SDL. Precompiled SDL.dll with r4059 doesn't have this problem. GDB shows exception thrown on account of GFX_Events() function in sdlmain.cpp while using SDL.dll compiled locally in old MinGW/msys environment from SDL 1.2.15 sources.
User avatar
gandhig
Member
 
Posts: 329
Joined: 2014-2-12 @ 08:35

Re: DOSBox SVN Builds

Postby Yesterplay80 » 2017-10-13 @ 10:05

DosFreak wrote:To verify it's not the latest SVN can you try compiling an older SVN ver?

I just compiled the last working revision I compiled before (r4055) and now it has the same error. 8-O

I'm a bit baffled, because I can't remember updateing or changing anything. I'll set up a fresh MinGW ennvironment as try again.
My full-featured DOSBox SVN builds (without debugger) for Windows: Vanilla DOSBox and DOSBox ECE (Enhanced Community Edition)
User avatar
Yesterplay80
Member
 
Posts: 252
Joined: 2016-2-23 @ 11:02
Location: Germany

Re: DOSBox SVN Builds

Postby Dominus » 2017-10-13 @ 10:18

Mix-matching dlls compiled with a different gcc version can be problematic as well. So pay attention to the SDL.dll.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7283
Joined: 2002-10-03 @ 09:54
Location: Vienna


Previous

Return to DOSBox Development

Who is online

Users browsing this forum: Baidu [Spider], Google Feedfetcher and 2 guests