yvonneysf / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

std::terminate() while loading lightwave dae through OpenCOLLADAValidator #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Run this with the attached file.
OpenCOLLADAValidator /d/Oscilator.dae

Tested with revision r785, compiled with cmake on linux, 64bit.

Reported as a blender bug.
https://projects.blender.org/tracker/index.php?func=detail&aid=24945&group_id=9&
atid=498

Backtrace from within blender.

#0  0x00007ffff5174595 in raise () from /lib/libc.so.6
#1  0x00007ffff5175a16 in abort () from /lib/libc.so.6
#2  0x00007ffff6b86ded in __gnu_cxx::__verbose_terminate_handler() () from 
/usr/lib/libstdc++.so.6
#3  0x00007ffff6b85006 in ?? () from /usr/lib/libstdc++.so.6
#4  0x00007ffff6b85033 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff6b8598f in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#6  0x0000000001869f34 in COLLADASaxFWL::LibraryImagesLoader::getUniqueId 
(this=0x7fffe80075b8) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/COLLADASaxFWLLibra
ryImagesLoader.cpp:39
#7  0x000000000154fbd6 in COLLADASaxFWL::IFilePartLoader::begin__technique 
(this=0x7fffe80075b8, attributeData=...) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/COLLADASaxFWLIFile
PartLoader.cpp:292
#8  0x00000000018566fd in 
COLLADASaxFWL::LibraryImagesLoader14::begin__technique (this=0x7fffe8022988, 
attributeData=...) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/generated14/COLLAD
ASaxFWLLibraryImagesLoader14.cpp:103
#9  0x00000000014bc71c in 
COLLADASaxFWL14::ColladaParserAutoGen14Private::_begin__technique 
(this=0x7fffe8030898, attributeData=0x7fffe806f4e8) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/include/generated14/CO
LLADASaxFWLColladaParserAutoGen14Private.h:419
#10 0x0000000001547266 in 
GeneratedSaxParser::ParserTemplate<COLLADASaxFWL14::ColladaParserAutoGen14Privat
e, COLLADASaxFWL14::ColladaParserAutoGen14>::elementBegin (this=0x7fffe8030898, 
elementName=0x7fffe802cfdc "technique", attributes=...) at 
/data/src/opencollada-read-only/GeneratedSaxParser/include/GeneratedSaxParserPar
serTemplate.h:2057
#11 0x0000000001908262 in GeneratedSaxParser::LibxmlSaxParser::startElement 
(user_data=0x7fffffffd630, name=0x7fffe802cfdc "technique", 
attrs=0x7fffe8032550) at 
/data/src/opencollada-read-only/GeneratedSaxParser/src/GeneratedSaxParserLibxmlS
axParser.cpp:176
#12 0x00007ffff5708783 in xmlParseStartTag () from /usr/lib/libxml2.so.2
#13 0x00007ffff5713038 in xmlParseElement () from /usr/lib/libxml2.so.2
#14 0x00007ffff5711dda in xmlParseContent () from /usr/lib/libxml2.so.2
#15 0x00007ffff5712f23 in xmlParseElement () from /usr/lib/libxml2.so.2
#16 0x00007ffff5711dda in xmlParseContent () from /usr/lib/libxml2.so.2
#17 0x00007ffff5712f23 in xmlParseElement () from /usr/lib/libxml2.so.2
#18 0x00007ffff5711dda in xmlParseContent () from /usr/lib/libxml2.so.2
#19 0x00007ffff5712f23 in xmlParseElement () from /usr/lib/libxml2.so.2
#20 0x00007ffff5713f4a in xmlParseDocument () from /usr/lib/libxml2.so.2
#21 0x0000000001907eaf in GeneratedSaxParser::LibxmlSaxParser::parseFile 
(this=0x7fffffffd630, fileName=0x7fffe8008c70 "/d/Oscilator.dae") at 
/data/src/opencollada-read-only/GeneratedSaxParser/src/GeneratedSaxParserLibxmlS
axParser.cpp:100
#22 0x00000000013eb6aa in COLLADASaxFWL::VersionParser::createAndLaunchParser 
(this=0x7fffffffd6a0) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/COLLADASaxFWLVersi
onParser.cpp:329
#23 0x00000000013eb0a8 in COLLADASaxFWL::FileLoader::load (this=0x7fffffffd7a0) 
at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/COLLADASaxFWLFileL
oader.cpp:79
#24 0x00000000013cc473 in COLLADASaxFWL::Loader::loadDocument 
(this=0x7fffffffdaa0, fileName=..., writer=0x7fffffffdf60) at 
/data/src/opencollada-read-only/COLLADASaxFrameworkLoader/src/COLLADASaxFWLLoade
r.cpp:216
#25 0x00000000018d99f0 in COLLADAFW::Root::loadDocument (this=0x7fffffffdf00, 
fileName=...) at 
/data/src/opencollada-read-only/COLLADAFramework/src/COLLADAFWRoot.cpp:27
#26 0x00000000011f94f6 in Writer::write (this=0x7fffffffdf60) at 
/data/src/blender/blender/source/blender/collada/DocumentImporter.cpp:145
#27 0x00000000011f7978 in DocumentImporter::import (this=0x7fffffffe4af, 
C=0x26ac8d8, filename=0x7fffffffe4d0 "/d/Oscilator.dae") at 
/data/src/blender/blender/source/blender/collada/DocumentImporter.cpp:967
#28 0x00000000011eab1b in collada_import (C=0x26ac8d8, filepath=0x7fffffffe4d0 
"/d/Oscilator.dae") at 
/data/src/blender/blender/source/blender/collada/collada.cpp:36
#29 0x0000000000b34f94 in wm_collada_import_exec (C=0x26ac8d8, 
op=0x7fffe8014ab8) at 
/data/src/blender/blender/source/blender/windowmanager/intern/wm_operators.c:198
9
#30 0x0000000000b26905 in wm_handler_fileselect_call (C=0x26ac8d8, 
handlers=0x2adac08, handler=0x7fffe800f478, event=0x7fffe80209e8) at 
/data/src/blender/blender/source/blender/windowmanager/intern/wm_event_system.c:
1284
#31 0x0000000000b26ec8 in wm_handlers_do (C=0x26ac8d8, event=0x7fffe80209e8, 
handlers=0x2adac08) at 
/data/src/blender/blender/source/blender/windowmanager/intern/wm_event_system.c:
1422
#32 0x0000000000b27a46 in wm_event_do_handlers (C=0x26ac8d8) at 
/data/src/blender/blender/source/blender/windowmanager/intern/wm_event_system.c:
1681
#33 0x0000000000b21b3a in WM_main (C=0x26ac8d8) at 
/data/src/blender/blender/source/blender/windowmanager/intern/wm.c:342
#34 0x0000000000b2122b in main (argc=1, argv=0x7fffffffe8f8) at 
/data/src/blender/blender/source/creator/creator.c:1195

Original issue reported on code.google.com by ideasma...@gmail.com on 8 Dec 2010 at 7:32

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for reporting this issue.

It has been fixed in r806.

Original comment by opencollada2@googlemail.com on 18 Jan 2011 at 2:55