So I'm working on a ray tracer and I'm getting a really strange bus error that shows up like this in gdb:
Code:
(gdb) info stack
#0 0xfee424ec in realfree () from /usr/lib/libc.so.1
#1 0xfee42cb8 in cleanfree () from /usr/lib/libc.so.1
#2 0xfee41dec in _malloc_unlocked () from /usr/lib/libc.so.1
This seems to occur somewhere near the end of the program, but well past any portion I have written. In fact, there are no local variables or context available in any of these frames. I'm working on going back and checking to make sure I'm deleting all my allocated memory, but does anyone have any specific advice about debugging this more precisely?
BTW, I'm compiling using g++ 3.3 on Solaris.