Anybody please read my messages (all the replies are from me, telling about what i tried to solve my problem) - Re: Segfault in SDL_SYS_JoystickUpdate() from ./libSDL-1.1.so.0

damn this thing is driving me crazy…

thanks

damn this thing is driving me crazy…

  1. A subject that takes three lines to display is annoying.
  2. Asking for help multiple times does not make anyone jump to help you.
  3. You didn’t change ANYTHING on your system, and it just magically
    started crashing after six months? You didn’t change ANYTHING in six
    months?
  4. Did you try the CVS version of SDL like we already suggested?

–ryan.

damn this thing is driving me crazy…

  1. A subject that takes three lines to display is annoying. 2) Asking
    for help multiple times does not make anyone jump to help you. 3) You
    didn’t change ANYTHING on your system, and it just magically started
    crashing after six months? You didn’t change ANYTHING in six months? 4)
    Did you try the CVS version of SDL like we already suggested?

–ryan.

yah i know it’s annoying but… i dropped outta school and am bored
nearly all the time and that’s why i wanted help ASAP… sorry… of
course i updated my system, but that doesn’t affect a call from UT to
libSDL, does it? It doesn’t seem to be the problem of libSDL (altough the
segfault comes from SDL_SYS_JoystickUpdate() which isn’t called by the
app (SDL_JoystickUpdate() is for apps that use the lib)… i am NOT
using CVS! I installed CVS and then made a link called libSDL-1.1.so.0 to
libSDL-1.2.so.0.53 and got “XF86QueryVidMode: undefined Symbol” - now
that i use 1.1.8 with debug enabled, i found out that the prob is
SDL_SYS_JoystuckUpdate(), which i “disabled” (“commented” it out (#if
0…#endif)) and tried again, segfault… i dunno why but the only thing
that seems to be a possible cause of the crash is UT, altough i don’t
think they change the pointer to the joystick structure… i have no idea
what could be wrong and i guess you know that sux… it’s really weird…
when playing and the next level is loaded, i hear myself spawning and
shooting, but the display doesn’t get updated… then i press and
type quit and see “[SIGSEGV] Segmentation fault.” from UT (after AppExit
requested or whatever it says)… why isn’t the display updated altough
the game runs? that needs a developer who knows how UT works i guess… i
dunno a lot about linux/pthreads and i never heard it’s possible, but
prolly one thread segfaults, and the game, input and sound thread (if those are
extra threads - only UT developers know) run… i simply don’t know any
that’s why i explecitly asked for people reading my message - the more
people read it - the higher the chance that someone knows a solution
is…
sorry, sorry, sorry…
btw: when running ut in gdb, it simply “crashes” (i don’t hear my
spawning sound nor can i quit UT) any ideas?
again, sorry…

-blight, AssholeOn Thu, 17 Jan 2002 01:26:56 +0100, Ryan C. Gordon wrote:

if i sounded like an asshole, sorry…
you guys rock!!! prolly it’s simply because i am depressed… heh… who
cares…
so again:
Thanks for talking to me, sorry for the long message, thanks for the
ports!

Thanks for talking to me, sorry for the long message, thanks for the ports!

So did you try the CVS version of SDL?

–ryan.

Thanks for talking to me, sorry for the long message, thanks for the
ports!

So did you try the CVS version of SDL?

–ryan.

err… sorry for asking, but did u read my long message?
I had a problem with the CVS… it told me “XF86VidModeQuery - undefined
symbol”… any ideas what could be causing that prob? It doesn’t happen
when using version 1.1, but CVS has only 1.2 doesn’t it? (module SDL12)

  • thanks!!!On Thu, 17 Jan 2002 02:33:06 +0100, Ryan C. Gordon wrote:

hmm… i was looking at the source… as far as i could find out,
SDL_SYS_JoystickUpdate() is only called from SDL_JoystickUpdate() which
takes void, but SDL_SYS_JoystickUpdate() takes a joystick struct… then
i took a look at SDL_JoystickInit() - there are two lines increasing the
int for the number of the joysticks, which both have a check wether the
struct is NULL or not in front of them, and SDL_JoystickUpdate() uses
that number as far as i could see… and i guess that the struct pointers
are initialized to NULL… i have absolutely no idea what could be
wrong… do you?

  • thanks!!!

yah i know it’s annoying but… i dropped outta school and am bored
nearly all the time

Go back to school. Problem solved.

MadsOn Thu, 17 Jan 2002, blight wrote:


Mads Bondo Dydensborg. @Mads_Bondo_Dydensbor
Faced with the prospect of rereading this book, I would rather have my brains
ripped out by a plastic fork
- Charles Cooper, ZD net, in review of B at TSOT by Bill Gates.

Since SDL 1.2.2(?) Debian GNU/Linux requires SDL to link to the static
XFree86 libraries.

http://www.libsdl.org/pipermail/sdl/2001-October/039663.htmlOn Thursday 17 January 2002 02:42, blight wrote:

On Thu, 17 Jan 2002 02:33:06 +0100, Ryan C. Gordon wrote:

Thanks for talking to me, sorry for the long message, thanks for the
ports!

So did you try the CVS version of SDL?

–ryan.

err… sorry for asking, but did u read my long message?
I had a problem with the CVS… it told me “XF86VidModeQuery - undefined
symbol”… any ideas what could be causing that prob? It doesn’t happen
when using version 1.1, but CVS has only 1.2 doesn’t it? (module SDL12)


Johannes Schmidt

< http://libufo.sourceforge.net > Your widget set for OpenGL