Author Topic: game crashing on certain event  (Read 1476 times)

0 Members and 1 Guest are viewing this topic.

Offline fightermedic

  • 29
  • quite a nice guy, no really, i am
game crashing on certain event
hi there, hope you folks can help me with my problem
while playing a certain mission in the yet ureleased newest version of the warzone campain, my game keeps crashing every time a certain event occures in that mission (enemy ships arrive)
running with the debug build i got this log

Code: [Select]
Assert: r1 > 0.0f
File: lighting.cpp
Line: 298

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_12d_INF.exe! WinAssert + 208 bytes
fs2_open_3_6_12d_INF.exe! light_add_point + 70 bytes
fs2_open_3_6_12d_INF.exe! obj_move_all_post + 1390 bytes
fs2_open_3_6_12d_INF.exe! obj_move_all + 355 bytes
fs2_open_3_6_12d_INF.exe! game_simulation_frame + 1059 bytes
fs2_open_3_6_12d_INF.exe! game_frame + 491 bytes
fs2_open_3_6_12d_INF.exe! game_do_frame + 237 bytes
fs2_open_3_6_12d_INF.exe! game_do_state + 379 bytes
fs2_open_3_6_12d_INF.exe! gameseq_process_events + 237 bytes
fs2_open_3_6_12d_INF.exe! game_main + 782 bytes
fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

now i'm not really sure if that has something to do with that certain mission as such (but i suppose so, never had this problem before) or wether something with the whole game is amiss
anybody has any clue what that log is supposed to mean? after all i can't even find a file named "lighting.cpp" within the freespace folder

 :confused: :mad:


>>Fully functional cockpits for Freespace<<
>>Ships created by me<<
Campaigns revised/voice-acted by me:
Lightning Marshal 1-4, The Regulus Campaign, Operation: Savior, Operation: Crucible, Titan Rebellion, Fall of Epsilon Pegasi 1.1Aftermath 2.1,
Pandora's Box 2.2, Deep Blood

Other Campaigns I have participated in:
The Antagonist, Warzone, Phantoms & Echo-Gate

All the stuff I release is free to use or change in any way for everybody who likes to do so; take whatever you need

 

Offline Jeff Vader

  • The Back of the Hero!
  • Moderator
  • 212
  • Bwahaha
Re: game crashing on certain event
after all i can't even find a file named "lighting.cpp" within the freespace folder
That would be because it is one of the files that contains the code from which your fs2_open_3_6_12d_INF.exe was compiled.

Could you post the actual log? That is, a file called "fs2_open.log" from your \freespace2\data\ directory.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: game crashing on certain event
What is happening here is that the code is trying to add a light with a zero or negative radius.

This should never, ever happen.

One thing to check would be if this happens with recent nightly builds.

EDIT: Okay, I put some safeguards into the code so that that assert should not be triggered again. Please test a nightly build revision 7719 or higher.
« Last Edit: September 13, 2011, 03:36:44 pm by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

  

Offline fightermedic

  • 29
  • quite a nice guy, no really, i am
Re: game crashing on certain event
strange error indeed  :banghead:

i will surely test it
edit: it worked  :nod:
thanks very much mr E
i'm impressed by the speed of the response  :yes:
« Last Edit: September 14, 2011, 03:45:47 pm by fightermedic »
>>Fully functional cockpits for Freespace<<
>>Ships created by me<<
Campaigns revised/voice-acted by me:
Lightning Marshal 1-4, The Regulus Campaign, Operation: Savior, Operation: Crucible, Titan Rebellion, Fall of Epsilon Pegasi 1.1Aftermath 2.1,
Pandora's Box 2.2, Deep Blood

Other Campaigns I have participated in:
The Antagonist, Warzone, Phantoms & Echo-Gate

All the stuff I release is free to use or change in any way for everybody who likes to do so; take whatever you need