#21 coherencytest segfaults on some file

open
nobody
None
5
2010-10-10
2010-10-10
No

Here is a session where coherencytest segfaults, with a backtrace. The dae file is attached.

$ gdb collada14coherencytest
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/collada14coherencytest...(no debugging symbols found)...done.
(gdb) run segfault.dae
Starting program: /usr/bin/collada14coherencytest segfault.dae
[Thread debugging using libthread_db enabled]
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}triangles': This element is not expected. Expected is one of ( {http://www.collada.org/2005/11/COLLADASchema}source, {http://www.collada.org/2005/11/COLLADASchema}vertices ).
ERROR: CHECK_schema Error msg=Element '{http://www.collada.org/2005/11/COLLADASchema}visual_scene': Missing child element(s). Expected is one of ( {http://www.collada.org/2005/11/COLLADASchema}asset, {http://www.collada.org/2005/11/COLLADASchema}node ).

Program received signal SIGSEGV, Segmentation fault.
0xb7c2b13a in daeElement::getID() const () from /usr/lib/libcollada14dom.so.2
(gdb) bt
#0 0xb7c2b13a in daeElement::getID() const () from /usr/lib/libcollada14dom.so.2
#1 0x0804ba0b in ?? ()
#2 0x0804bc00 in ?? ()
#3 0x08052524 in ?? ()
#4 0x08053063 in ?? ()
#5 0x08055308 in ?? ()
#6 0xb787ebd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#7 0x0804b191 in ?? ()
(gdb) quit
A debugging session is active.

Inferior 1 [process 6506] will be killed.

Quit anyway? (y or n) y

Discussion

  • example which make coherency test segfault

     
    Attachments