Search:

Type: Posts; User: telbij

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,675

    How do you check object's type.

    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...
  2. Replies
    5
    Views
    1,097

    gdb has always done the trick for me. I've done...

    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...
  3. Replies
    5
    Views
    1,097

    Thanks for the response. Any idea why these...

    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...
  4. Replies
    5
    Views
    1,097

    Strange Bus Error

    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 ...
Results 1 to 4 of 4