Segmentation fault @ line 480
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
roadrage |
New
|
Low
|
Unassigned |
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[
(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.
Changed in roadrage: | |
importance: | Undecided → Low |
Well, I've fixed some of the compiler warnings, I'll push those.
The problem with the segmentation fault is that mpos.X at least, equates to NULL. Somehow node->getAbsolu tePosition( ) is failing.