Thread: SDL error parachute

  1. #1
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039

    SDL error parachute

    Some of my friends have been complaining that my SDL Program doesn't work. in stderr.txt it says 'SDL Error Parachute Deployed.' I have SDL.dll in the folder in it. I even downloaded my file and it works.

    does it work for you?

    http://www.angelfire.com/linux/xterria/SomeGame.zip

    please help!
    (copy and paste the url into your browser)

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    403
    Xterria, your game works for me (but i have tons of SDL stuff installed) If you want I'll have a look at your source. ([email protected] if you dont want to post it)

    You're code has flaws in it.. like on exit I get stuck and it freezes.
    Try out my sdl framework get it from:
    http://www.conceptofzero.com/code/

  3. #3
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    hey that game is pretty cool. cozman is right, though, there are quite a few bugs with the game. and do you plan on adding an ending? you should, also, make the game a little bit more difficult. it's not fair how the good guy can move so much faster. and the mines shouldn't stay stationary. add more guards. basically add more 'cause it's pretty fun to play actually.

  4. #4
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    thanks for the complements, and i don't even know what the game will be about yet.

    i'm still trying to figure out what's wrong...maybe it's the flags when you initalize the video

  5. #5
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    ok try it again(people who can't get it to work)
    i uploaded it again

  6. #6
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I managed to get the same error in my code...I don't know where it is originating from exactly, but I narrowed it down to this:

    if I use a fscanf in the code, it will generate the error. If I take out all of the fscanf's, the error isn't generated...what's up with it?

  7. #7
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    yeah my game also reads and writes to files. maybe that's the cause?

    aren't there sposed to be experts here?
    help!

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    it's a little less convenient, but using fwrite and fread instead of fprintf and fscanf will fix your code...I figured that out today

  9. #9
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    i just use fopen() and getc()
    still, it doesn't work on other systems

  10. #10
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    hmmm...I don't know if mine works on other computers or not, but I hope it will (:

  11. #11
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    oh well i guess ill have to test it on all my other comps

    why do i have to do this the hard way when theres dozens of stuck up experts here that know the answer

  12. #12
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I wish I knew the answer, because I don't want that stupid error appearing in mine again...(: It took me a couple hours to get rid of it, and it was all guesswork...if I ever figure it out, though, I'll let you know
    Away.

  13. #13
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    can someone please investigate this? SDL_Error_Parachute is depoyed when a file is missing. I have no files missing on my computer! Yet, when i put it on another computer, the file is missing. perhaps it is a dll file that only some versions of windows have? can people try out the game and tell me if it works or not and the version of windows your using? many people are having this problem and i intend to find out what's wrong. thanks!

  14. #14
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    Windows 98

    It runs just fine on my comp, After the level with the houses the program closed and stderr.txt says "Fatal signal: Segmentation Fault (SDL Parachute Deployed)". Other than that it ran just fine.

  15. #15
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    ok thats perfectly normal, as there is no level after JorgunTown in the version thats uploaded..thanks

    someone else please?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL and stdio.h
    By a.mlw.walker in forum C Programming
    Replies: 1
    Last Post: 02-06-2009, 07:45 AM
  2. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  3. SDL and MinGW Studio
    By Vicious in forum Tech Board
    Replies: 0
    Last Post: 07-30-2004, 09:59 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 07:46 AM