FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Huge frame times

3 posters

Go down

Huge frame times Empty Huge frame times

Post  matt Tue Nov 25, 2008 5:53 pm

Every now and then I get very huge frame times in sio2->_SIO2window->d_time. Is someone else experiencing this problem, too, and has probably looked into that?

I'm right in front of a deadline and need to see through some other bugs, so I would greatly appreciate any feedback.

Thanks,
Matt

matt

Posts : 155
Join date : 2008-09-30

http://elfrun.net

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  sio2interactive Tue Nov 25, 2008 8:43 pm

Can you send me a piece of code to reproduce this bug so I can debug it...

Tks in advance!

Cheers,
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  matt Wed Nov 26, 2008 3:17 am

I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

http://elfrun.net

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  sio2interactive Wed Nov 26, 2008 4:00 am

Dude that sounds like a leak to be or a bad allocation that push all the other bytes in memory...

try to put some while(1) nested at some "strategic" places and check if it crash...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  sw Wed Nov 26, 2008 5:45 am

matt wrote:I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.

Best,
Matt

maybe because you are in debug and stoped at some line.
pirat
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  matt Wed Nov 26, 2008 6:58 am

sw wrote:maybe because you are in debug and stoped at some line.
pirat

I wish that would be the cause. But I don't break a frame for 500000 seconds or so. ;-)

Matt

matt

Posts : 155
Join date : 2008-09-30

http://elfrun.net

Back to top Go down

Huge frame times Empty Re: Huge frame times

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum