#103 crash in subdivisionCreator.cpp

open-accepted
nobody
None
5
2008-12-25
2008-12-12
Anonymous
No

Pixie crashes when I try to render a model I downloaded. It crashes at line 1534 in subdivisionCreator.cpp.

if (vertices[i]->vertex == NULL) vertices[i]->compute();

numVertices is 24, but vertices[1] is NULL. When the vertex parameter is accessed the program crashes.

The file is here (if it runs successfully it may just render black, I stripped a lot of stuff out).

http://www.cs.columbia.edu/~ktegan/download/crash.tgz

If this fix is difficult I would appreciate any work around suggestions. Also if anyone has an answer to my "does Pixie handle multi-segment" motion blur questions that would be good to know as well.

Thanks!

Kevin

Discussion

  • Kevin Egan

    Kevin Egan - 2008-12-14

    I have tracked this down slightly, in CSVertex::sort() the following assert fails (it never gets checked the way I'm compiling):

    line 976, subdivisionCreator, CSVertex::sort()
    assert(exp == 0);

    The CSVertex::sort() function returns an array v where some values have not been initialized.

    Kevin

     
  • Okan Arikan

    Okan Arikan - 2008-12-25
    • status: open --> open-accepted
     
  • Okan Arikan

    Okan Arikan - 2008-12-25

    Yes, I isolated this bug but I need some more time to fix it.

    Thanks Kevin.

    Okan

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks