Cirion Report post Posted April 4, 2005 I have been running the cvs client under gdb just in case and I got a crasher yesterday in free_md2() and after stepping through it this seems to be the cause: in free_md2() the first looping through md2_ptr->numFrames it crashes since numFrames seems to be 0. so either there are md2's with no Frames loaded or it is something else causing this. If numFrames indeed can be 0 then it might be a good idea to add a check before looping or accessing offsetFrames[]. Share this post Link to post Share on other sites
Grum Report post Posted April 4, 2005 if md2_ptr->numFrames == 0, it doesn't go through the loop, so that can't be the problem. I suspect the problem lies elsewhere, and has nothing to do with free_md2. From when was your CVS, and what were you doing when it crashed? Share this post Link to post Share on other sites
Cirion Report post Posted April 4, 2005 of course silly me. then its some kind of memory problem somewhere. At moment I cant recall what i was doing, it wasnt anything special thats for sure. I also got a crash today while being afk from keyboard 30 minutes, the culprit this time was nvidia drivers and i suspect it tried to do screen updates while my linux box was kicked into screensaver mode. I will keep running under gdb and report whatever problems i find. I got the source from cvs a couple of days ago Share this post Link to post Share on other sites
Grum Report post Posted April 4, 2005 I have fixed a couple of problems in the past few days, but that's not saying there exist no other. If you can please, update cvs and keep trying. And thanks for reporting. Share this post Link to post Share on other sites
Leeloo Report post Posted April 4, 2005 I also got a crash today while being afk from keyboard 30 minutes, the culprit this time was nvidia drivers and i suspect it tried to do screen updates while my linux box was kicked into screensaver mode. I'm still wondering why anyone would buy a nVidia card. Especially for a linux machine. Share this post Link to post Share on other sites