Comment 5 for bug 982549

Revision history for this message
eross (drarem) wrote : Re: [Bug 982549] Re: Segmentation fault @ line 480

the gameloop is within the same class, perhaps on the first pass (class
constructor) it sees a NULL value?

On Sun, Apr 15, 2012 at 5:06 PM, Michael Rawson
<email address hidden>wrote:

> Awesome. I'm on it.
>
> --
> You received this bug notification because you are a member of BrainDead
> Studios Software, which is the registrant for roadrage.
> https://bugs.launchpad.net/bugs/982549
>
> Title:
> Segmentation fault @ line 480
>
> Status in Road Rage:
> New
>
> Bug description:
> Compiling with and without debug flags:
>
> load audio()
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000404324 in vscreen::Occlude (this=0x0, mpos=..., length=15)
> at rr.cpp:480
> 480 if ((abs(mpos.X -
> mapfile[bt].node->getPosition().X) >= length) || (abs(mpos.Z -
> mapfile[bt].node->getPosition().Z) >= length)) {
>
> (gdb) bt
> #0 0x0000000000404324 in vscreen::Occlude (this=0x0, mpos=..., length=15)
> at rr.cpp:480
> #1 0x0000000000406a1a in vscreen::gameloop (this=0x0) at rr.cpp:961
> #2 0x0000000000401f7e in main () at rr.cpp:1038
> (gdb)
>
>
> Not trying to bring you down with these bugs, just trying to make the
> software better. :)
>
> Looking at the source now and looking at some of the compiler
> warnings.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/roadrage/+bug/982549/+subscriptions
>