Closed GoogleCodeExporter closed 9 years ago
Could you run it in valgrind?
Original comment by mindless...@gmail.com
on 3 Jul 2012 at 3:27
I'd love to. Unfortunately valgrind isn't supported on that architecture. The
autotools classifies it as mips64el. Is there something more I can give through
GDB?
Original comment by kip.war...@gmail.com
on 3 Jul 2012 at 3:55
[deleted comment]
I'm afraid that aside from some intensive step debugging, without valgrind I
wouldn't know how to determine why/where the stack is being clobbered. Even
what little is left in the backtrace is nothing to go on -- frameCountMax isn't
even a function.
Original comment by mindless...@gmail.com
on 3 Jul 2012 at 5:43
Yes, I figured the stack trace didn't look particularly useful. The file was
compiled with debugging symbols and unstripped. I wonder if there is anything
more I can do to add more debugging information.
Original comment by kip.war...@gmail.com
on 3 Jul 2012 at 5:48
Just commited rc4e51e, see if it fixes it. The parameter parsing code for
--data had a bug.
Original comment by yuriks...@gmail.com
on 3 Jul 2012 at 11:25
Hey Yuriks. Thanks, but I just tried changeset 1001:c4e51eb465ae, but no love.
Same console output before the same crash.
Original comment by kip.war...@gmail.com
on 4 Jul 2012 at 12:21
Turns out it wasn't an actual bug, just confusing code.
I think the only thing to be done then is to put some printf's to narrow down
the site of the crash. By the console messages, it's somewhere between line 252
(JE_loadConfiguration();) and line 262 (init_joysticks();) in opentyr.c.
Or if you want you can drop by on our IRC (#tyrian @ irc.freenode.net).
Original comment by yuriks...@gmail.com
on 6 Jul 2012 at 1:57
[deleted comment]
Hey Yurks. I think I found where the segill is being raised, src/video.c:41 on
the call to SDL_InitSubSystem(SDL_INIT_VIDEO). I know this machine has very
poor graphics capabilities and has no 3d hardware accelerator. I tried stepping
into the function with gdb but it doesn't look like I have debugging symbols
installed for sdl1.2. Or maybe I do, but something needs to be passed to
sdl-config in your makefile?
Original comment by kip.war...@gmail.com
on 9 Jul 2012 at 12:36
This looks to be an SDL bug.
Original comment by mindless...@gmail.com
on 12 Oct 2012 at 12:49
Probably. Sorry for having wasted your time.
Original comment by kip.war...@gmail.com
on 12 Oct 2012 at 12:54
I'm getting the same issue on the X86_64 architecture, so I'm don't think this
is an SDL bug, but a bug caused by some difference between 32-bit and 64-bit.
Original comment by draconis...@lycos.com
on 27 Apr 2013 at 5:20
I do development and testing on x86_64, so I don't think that's it.
Original comment by mindless...@gmail.com
on 28 Apr 2013 at 9:25
Original issue reported on code.google.com by
kip.war...@gmail.com
on 2 Jul 2012 at 9:58