Pages: 1
Author Topic: after i call game_end game process stuck  (28,965 Views)
Offline (Unknown gender) qwerty

Member
Joined: Jan 2015
Posts: 14
View profile
Posted on: January 18, 2015, 04:15:30 PM
if i create void proj, add game_end to an obj and run, gam retur 0 and process closes
but after next compil gam hides but its process still exists ???
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: January 18, 2015, 11:35:02 PM
Hello qwerty, do you know how to run the game in GDB? That would be extremely useful I fixed bugs before regarding game_end however I have no encountered any for a while. If you can GDB it for me and provide a stack trace that would be extremely useful.

Are you by chance also passing a value to game_end? ENIGMA's game_end works slightly differently than GM's and allows you to specify the return value, you could in fact try game_end(32); or some unique number to check it.
Offline (Unknown gender) qwerty

Member
Joined: Jan 2015
Posts: 14
View profile
Reply #2 Posted on: January 19, 2015, 10:17:21 AM
when i run game first on debug mode and second on run mode, bug losts(for one compilation)
also dbg mode works normaly
so "if u can pass trough the bug its not a bug (c)" :eng101:

but i can run gdb from mingw if you think that its not only a my pc problm

added value, changed only ret num
Offline (Unknown gender) qwerty

Member
Joined: Jan 2015
Posts: 14
View profile
Reply #3 Posted on: January 19, 2015, 11:13:34 AM
gbd tell me No stack
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #4 Posted on: January 19, 2015, 08:30:14 PM
Actually the gdb tells us exactly why it is failing. OpenAL is failing to close a device which is why it's becoming an inferior process. You are on Windows XP, correct? Have you used other OpenAL applications before?
Offline (Unknown gender) qwerty

Member
Joined: Jan 2015
Posts: 14
View profile
Reply #5 Posted on: January 19, 2015, 08:36:57 PM
Y, Y, alot(i mean may be alot), games like unreal2,  blender, etc...
but im dont worry about this bug
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #6 Posted on: January 19, 2015, 10:36:44 PM
What operating system and version are you running this on? It seems like you need to debug your drivers, I really don't see how OpenAL could be failing to close.
Pages: 1