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: 10680
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: 349
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?
User avatar
DosFreak
l33t++
 
Posts: 9935
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: 367
Joined: 2014-2-12 @ 08:35
Location: Unknown...yet. Triangulating inside...

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: 349
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: 7674
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: DOSBox SVN Builds

Postby winterelf » 2018-8-21 @ 09:28

Hi,
I spent the couple of days trying to run fallout 1 on dosbox. i am using the latest raspbian and at first I used the official dosbox. the problem is, no matter what I do, it runs super slow (like 5 minutes to go into the splash screen). This seems to be a known issue in the community when trying to run fallout from rpi, I'm not the first one who is trying to run fallout 1. but running over the posts of other people didn't made it happen, just made me smarter ;)

I download a RetroPie image and install fallout on it. then went to the retropie emulator folder and manually run the dosbox emulator with my fallout 1 game. it worked perfect.......

I decided that I must have this dosbox version on my other image of raspbian, without the RetroPie in it... I had a little clue to the version when I search the conf file, it is named dosbox-svn.conf so I guess this is some custom dosbox SVN version.

does anybody knows what version of dosbox is running on retropie? it seems to be manually compiled, I have no idea how to compile the version on a raspbian image, or even what is this version of dosbox?
winterelf
Newbie
 
Posts: 2
Joined: 2018-8-21 @ 09:23

Re: DOSBox SVN Builds

Postby Qbix » 2018-8-21 @ 09:45

it's probably the SVN version of dosbox, which has much faster ARM cores and detection to actually enable them.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10680
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: DOSBox SVN Builds

Postby winterelf » 2018-8-21 @ 13:52

do u have a link to that version? seems like there is no info on how to compile any dosbox SVN on linux.
i'm not sure how those dosbox SVN works, seems like there are couple of versions of those.
winterelf
Newbie
 
Posts: 2
Joined: 2018-8-21 @ 09:23

Re: DOSBox SVN Builds

Postby Dominus » 2018-8-21 @ 14:08

The file "INSTALL" gives you most info you need to build Dosbox on Linux. It's good to look at that file in open source projects, it's traditionally meant for that in open source projects that can be compiled on linux
User avatar
Dominus
DOSBox Moderator
 
Posts: 7674
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: DOSBox SVN Builds

Postby Ant_222 » 2018-8-31 @ 22:49

Yesterplay80 wrote: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.
FWIW, I too am using the original MinGW on Windows XP with GCC 4.9.3, and it works well. My builds do not crash when closed via the X.
Ant_222
Member
 
Posts: 377
Joined: 2010-7-24 @ 21:29

Re: DOSBox SVN Builds

Postby Qbix » 2018-9-01 @ 09:05

Ant_222 wrote:
Yesterplay80 wrote: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.
FWIW, I too am using the original MinGW on Windows XP with GCC 4.9.3, and it works well. My builds do not crash when closed via the X.


In the past, this was caused the exception handling. As far as I know dosbox used to need the sjlj versions of mingw. (in order to work with exceptions through libraries) Maybe it still does.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10680
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: DOSBox SVN Builds

Postby Ant_222 » 2018-9-01 @ 09:17

Qbix wrote:In the past, this was caused the exception handling. As far as I know dosbox used to need the sjlj versions of mingw. (in order to work with exceptions through libraries) Maybe it still does.
From what little I have seen of the source, DOSBox is mostly C with only occasional C++isms, so conversion to C would only simplify and improve the code.
Ant_222
Member
 
Posts: 377
Joined: 2010-7-24 @ 21:29

Previous

Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 3 guests