In implementing a Radiosity renderer I am iterating over a list of objects with the following:
for (Quad* o = scn.obj; o; o=o->next)
Quad is a subclass of GeomObj. Since the scene I am...
Type: Posts; User: telbij
In implementing a Radiosity renderer I am iterating over a list of objects with the following:
for (Quad* o = scn.obj; o; o=o->next)
Quad is a subclass of GeomObj. Since the scene I am...
gdb has always done the trick for me. I've done a fair amount of network and system level C coding, so segfaults are nothing new. Where I think I'm getting stuck is the C++ memory management...
Thanks for the response. Any idea why these functions are running after my code is apparently finished? If I had some sense of what they were trying to do, and what they might be referencing it...
So I'm working on a ray tracer and I'm getting a really strange bus error that shows up like this in gdb:
(gdb) info stack
#0 0xfee424ec in realfree () from /usr/lib/libc.so.1
#1 ...