VOGONS

Common searches


SDL parachute failure...

Topic actions

First post, by helpme0n

User metadata

I've got Win XP and an HP pavillion...

Couple months back I downloaded Dosbox and it seemed to work fine..but for some reason now, when I downloaded it now...and open it up. It keeps saying...Fatal Signal: Segmentation Fault (SDL Parachute Deployed)

Anyone know how to bypass that and get 0.61 working...really want to play this certain game...

Reply 5 of 20, by cricalix

User metadata
Rank Newbie
Rank
Newbie

Just downloaded the 0.61 src rpm, compiled. No issues in the compile other than a few warnings. Dependency compilation noted that libGL was required. The rpm built, so it must have found the dependency.

Go to install, complains about libGL. Override with nodeps.

Go to run, and
~/Files/rpm> dosbox
CONFIG: Using default settings. Create a configfile to change them
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

strace run shows:
open("/usr/lib/tls/libGL.so.1", O_RDONLY) = 3

uname({sys="Linux", node="flyingfish.cricalix.net", ...}) = 0
pipe([40, 41]) = 0
gettimeofday({1092036922, 754024}, NULL) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {0x4d822580, [PIPE], SA_RESTORER|SA_RESTART, 0x43273a58}, 8) = 0
rt_sigaction(SIGILL, {0x401606c0, [ILL], SA_RESTORER|SA_RESTART, 0x43273a58}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {SIG_DFL}, {0x401606c0, [ILL], SA_RESTORER|SA_RESTART, 0x43273a58}, 8) = 0
gettimeofday({1092036922, 783280}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x4d822580, [SEGV], SA_RESTORER|SA_RESTART, 0x43273a58}, 8) = 0
write(2, "Fatal signal: ", 14Fatal signal: ) = 14
write(2, "Segmentation Fault", 18Segmentation Fault) = 18
write(2, " (SDL Parachute Deployed)\n", 26 (SDL Parachute Deployed)

Box is a Fedora Core 1 system, nvidia driver loaded for the video card.
rpm -qf /usr/lib/libGL.so.1
XFree86-Mesa-libGL-4.3.0-55

rpm -qa | grep SDL
SDL-devel-1.2.5-9
SDL_mixer-1.2.4-9
SDL_net-devel-1.2.4-8
SDL_net-1.2.4-8
SDL_mixer-devel-1.2.4-9
SDL-1.2.5-9
SDL_image-devel-1.2.3-3
SDL_image-1.2.3-3

Help?

(Runs fine on my 64 bit install of Gentoo though!)

Reply 9 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

CXXFLAGS="-O0 -ggdb3" ./configure --disable-opengl && make clean && make
cd src
gdb dosbox
run

Water flows down the stream
How to ask questions the smart way!

Reply 10 of 20, by cricalix

User metadata
Rank Newbie
Rank
Newbie

Starting program: /data/Files/Build/dosbox/src/dosbox
[Thread debugging using libthread_db enabled]
[New Thread 1073878016 (LWP 7553)]
[New Thread 1084447664 (LWP 7554)]
CONFIG: Using default settings. Create a configfile to change them

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073878016 (LWP 7553)]
0x422ee56c in Arts::StartupManager::startup() () from /usr/lib/libmcop.so.1
(gdb) bt
#0 0x422ee56c in Arts::StartupManager::startup() () from /usr/lib/libmcop.so.1
#1 0x422cd998 in Arts::Dispatcher::Dispatcher(Arts::IOManager*, Arts::Dispatcher::StartServer) () from /usr/lib/libmcop.so.1
#2 0x40c3ab65 in arts_backend_init () from /usr/lib/libartscbackend.so.0
#3 0x410c9776 in arts_init () from /usr/lib/libartsc.so.0
#4 0x4d8271d9 in SDL_FreeWAV () from /usr/lib/libSDL-1.2.so.0
#5 0x4d822e9e in SDL_OpenAudio () from /usr/lib/libSDL-1.2.so.0
#6 0x0809de4d in MIXER_Init(Section*) (sec=0x9b1e020) at mixer.cpp:389
#7 0x080e3e72 in Section::ExecuteInit() (this=0x9b1e020) at setup.h:133
#8 0x080e2097 in Config::Init() (this=0xbffff7f0) at setup.cpp:234
#9 0x080bdc61 in main (argc=1, argv=0xbffff8a4) at sdlmain.cpp:959
(gdb) frame 1
#1 0x422cd998 in Arts::Dispatcher::Dispatcher(Arts::IOManager*, Arts::Dispatcher::StartServer) () from /usr/lib/libmcop.so.1
(gdb) frame 0
#0 0x422ee56c in Arts::StartupManager::startup() () from /usr/lib/libmcop.so.1
(gdb) list
959 control->Init();
960 /* Some extra SDL Functions */
961 if (control->cmdline->FindExist("-fullscreen") || sdl_sec->Get_bool("fullscreen")) {
962 if(!sdl.desktop.fullscreen) { //only switch if not allready in fullscreen
963 SwitchFullScreen();
964 }
965 }
966 MAPPER_Init();
967 /* Start up main machine */
968 control->StartUp();

Reply 11 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

interresting it looks like the sound system of sdl crashes.

try this:
export DOSBOX_MIXER_NOSOUND=TRUE
./dosbox

Water flows down the stream
How to ask questions the smart way!

Reply 12 of 20, by cricalix

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:
interresting it looks like the sound system of sdl crashes. […]
Show full quote

interresting it looks like the sound system of sdl crashes.

try this:
export DOSBOX_MIXER_NOSOUND=TRUE
./dosbox

CONFIG: Using default settings. Create a configfile to change them
MIXER:No Sound Mode Selected.
ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:none
MODEM:Can't open listen port:Couldn't bind to local port

and it runs. So *hrum*. The Gentoo box is running SDL 1.2.7, while the Fedora box is 2 - 4 revisions behind depending on what part of SDL is being discussed. Though, with RedHat, you can never tell due to the level of backport patching they do.

Reply 13 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the crash seems to be in arts. Maybe you can specify a different output method for sdl (sdl responds to defines as well)

Water flows down the stream
How to ask questions the smart way!

Reply 15 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

http://frida.fri.utc.sk/~sam/devel/links-sdl/sdl-env-vars

the one you used seemed to be correct. Be sure to unset that DOSBOX_MIXER variable then as that one disables dosbox sound output. I suggested that as the crash was in sdl it's audio appartment.

Water flows down the stream
How to ask questions the smart way!

Reply 16 of 20, by cricalix

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

http://frida.fri.utc.sk/~sam/devel/links-sdl/sdl-env-vars

the one you used seemed to be correct. Be sure to unset that DOSBOX_MIXER variable then as that one disables dosbox sound output. I suggested that as the crash was in sdl it's audio appartment.

Yeah, I did unset it 😀 Need to poke a bit harder I think, probably when I'm not at work. Thanks for now Qbix.

Reply 17 of 20, by cricalix

User metadata
Rank Newbie
Rank
Newbie

Well, I ended up wiping the laptop, and installing Gentoo 😀 I've got matching library versions for libsdl and sdl-net on both machines. The 32 bit box ran dosbox once, and every time since then has been a segmentation fault that caused SDL to go splat.

I think, however, that I may have found a partial solution (machine is compiling other stuff atm, and a bit lagged) -
$> artsshell terminate
$> SDL_AUDIODRIVER='alsa' SDL_DSP_NOSELECT='true' dosbox

Laptop has an onboard i810 audio chipset, and it may well have issues with using select() against it. Sound stutters a slight bit once in a while, and I can tell that this P4 1.7 doesn't have the grunt of my Amd64-3000 😀, but it works. Worth adding to the caveats or something in the distro perhaps?

I'll try later without terminating arts, and seeing if the noselect method works, but the docs don't mention it working with arts.

Reply 18 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hmm so switching to alsa solved to problem.

Terminating arts is only needed when you soundcard can't play more that one stream at the time. (I think)

Buggy stuff then. Feel free to "bug" the sdl people about it. Dosbox is doing little wrong here.

Water flows down the stream
How to ask questions the smart way!

Reply 19 of 20, by Guest

User metadata

I'm sorry. Maybe I'm just extra dense but I just downloaded this for the first time and most of what was said in this forum went so far over my head I didn't even feel the breeze. I'm getting this error and would like to fix it. Like I said... sorry for being dense but could someone help me out? I'm running a Athalon XP 1.7G.