Crash after a couple of seconds
#1
Hi there, first of all thanks for everything, this game was part of my childhood.

i'm using an arm board rk3188 running mali gles graphics, i've succesfully compiled and it works, but after a couple of seconds on any level it crashes.

this is what i see in the console...

$ ./d2x-rebirth

Type ./d2x-rebirth -help' for a list of command-line options.

D2X-Rebirth v0.58.1  Apr  6 2014 02:37:44
This is a MODIFIED version of Descent 2, based on Full Version v1.2.
Copyright © 1994-1996 Parallax Software Corporation
DESCENT is a trademark of Interplay Productions, Inc.
Copyright © 1999 Peter Hawkins, 2002 Bradley Bell, 2005-2011 Christian Beckhaeuser

Using SDL_mixer library
sdl-joystick: found 0 joysticks
Can't open movielib <intro-h.mvl>: File not found
Can't open movielib <other-h.mvl>: File not found
Can't open movie <intro.mve>: (null)
Can't open movie <titles.mve>: (null)
Music descent.hmp could not be loaded: Module format not recognized
Can't open movie <pla.mve>: (null)
Music game01.hmp could not be loaded: Module format not recognized
Bus error

Thanks for your help!

Reply
#2
"Bus error" suggest that this is an alignment issue. How did you compile it for that board?

I got those crashes after a short time when I compiled it initially on the raspberry pi, and traced it down to an unaligned memory access which could be fixed by the already existing code paths which can be activated via the WORDS_NEED_ALIGNMENT macro.

I'd also recommend you to read this thread http://www.dxx-rebirth.com/frm/index.php...,1843.html which might be a similar issue (although no solution has yet been found there.)
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)