Collada import crash #28894

Closed
opened 2011-10-12 19:53:07 +02:00 by Dusan Maliarik · 4 comments

%%%Blender 2.59 (rev.39307) Linux 32-bit

Crashes with attached COLLADA data. Randomly, you have to import it several times to see it.

With the following backtrace:

  • 0 0x08c611e6 in MeshImporter::assign_material_to_geom(COLLADAFW::MaterialBinding, std::map<COLLADAFW::UniqueId, Material*, std::lessCOLLADAFW::UniqueId, std::allocator<std::pair<COLLADAFW::UniqueId const, Material*> > >&, Object*, COLLADAFW::UniqueId const*, MTex**, char*, MTFace*, std::map<Material*, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > >, std::less<Material*>, std::allocator<std::pair<Material* const, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > > > > >&, int) ()
  • 1 0x08c61b29 in MeshImporter::create_mesh_object(COLLADAFW::Node*, COLLADAFW::InstanceBindingBase<(COLLADAFW::COLLADA_TYPE::ClassId)437>, bool, std::map<COLLADAFW::UniqueId, Material, std::lessCOLLADAFW::UniqueId, std::allocator<std::pair<COLLADAFW::UniqueId const, Material*> > >&, std::map<Material*, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > >, std::less<Material*>, std::allocator<std::pair<Material* const, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > > > > >&) ()
  • 2 0x08c39b45 in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) ()
  • 3 0x08c3a28c in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) ()
  • 4 0x08c3a28c in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) ()
  • 5 0x08c3a57f in DocumentImporter::writeLibraryNodes(COLLADAFW::LibraryNodes const*) ()
  • 6 0x09a80fbd in COLLADASaxFWL::PostProcessor::writeLibraryNodes() ()
  • 7 0x09a816f8 in COLLADASaxFWL::PostProcessor::postProcess() ()
  • 8 0x09a77abe in COLLADASaxFWL::Loader::loadDocument(std::basic_string<char, std::char_traits, std::allocator > const&, COLLADAFW::IWriter*) ()
  • 9 0x09dca99a in COLLADAFW::Root::loadDocument(std::basic_string<char, std::char_traits, std::allocator > const&) ()
  • 10 0x08c373d0 in DocumentImporter::import() ()
  • 11 0x08c345e1 in collada_import ()
  • 12 0x08694a4d in ?? ()
  • 13 0x0869fae4 in ?? ()
  • 14 0x086a0622 in WM_operator_call_py ()
  • 15 0x08db422b in ?? ()
  • 16 0x09968545 in PyEval_EvalFrameEx ()
  • 17 0x09969b45 in PyEval_EvalCodeEx ()
    %%%
%%%Blender 2.59 (rev.39307) Linux 32-bit Crashes with attached COLLADA data. Randomly, you have to import it several times to see it. With the following backtrace: - 0 0x08c611e6 in MeshImporter::assign_material_to_geom(COLLADAFW::MaterialBinding, std::map<COLLADAFW::UniqueId, Material*, std::less<COLLADAFW::UniqueId>, std::allocator<std::pair<COLLADAFW::UniqueId const, Material*> > >&, Object*, COLLADAFW::UniqueId const*, MTex**, char*, MTFace*, std::map<Material*, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > >, std::less<Material*>, std::allocator<std::pair<Material* const, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > > > > >&, int) () - 1 0x08c61b29 in MeshImporter::create_mesh_object(COLLADAFW::Node*, COLLADAFW::InstanceBindingBase<(COLLADAFW::COLLADA_TYPE::ClassId)437>*, bool, std::map<COLLADAFW::UniqueId, Material*, std::less<COLLADAFW::UniqueId>, std::allocator<std::pair<COLLADAFW::UniqueId const, Material*> > >&, std::map<Material*, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > >, std::less<Material*>, std::allocator<std::pair<Material* const, std::map<unsigned long, std::vector<MTex*, std::allocator<MTex*> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::vector<MTex*, std::allocator<MTex*> > > > > > > >&) () - 2 0x08c39b45 in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) () - 3 0x08c3a28c in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) () - 4 0x08c3a28c in DocumentImporter::write_node(COLLADAFW::Node*, COLLADAFW::Node*, Scene*, Object*, bool) () - 5 0x08c3a57f in DocumentImporter::writeLibraryNodes(COLLADAFW::LibraryNodes const*) () - 6 0x09a80fbd in COLLADASaxFWL::PostProcessor::writeLibraryNodes() () - 7 0x09a816f8 in COLLADASaxFWL::PostProcessor::postProcess() () - 8 0x09a77abe in COLLADASaxFWL::Loader::loadDocument(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, COLLADAFW::IWriter*) () - 9 0x09dca99a in COLLADAFW::Root::loadDocument(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () - 10 0x08c373d0 in DocumentImporter::import() () - 11 0x08c345e1 in collada_import () - 12 0x08694a4d in ?? () - 13 0x0869fae4 in ?? () - 14 0x086a0622 in WM_operator_call_py () - 15 0x08db422b in ?? () - 16 0x09968545 in PyEval_EvalFrameEx () - 17 0x09969b45 in PyEval_EvalCodeEx () %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Most probably crash caused by invalid write in assign_material_to_gem function. Valgrind backtrace for it is here: http://www.pasteall.org/25520

Not sure how it's supposed to work, so assigning to Nathan.%%%

%%%Most probably crash caused by invalid write in assign_material_to_gem function. Valgrind backtrace for it is here: http://www.pasteall.org/25520 Not sure how it's supposed to work, so assigning to Nathan.%%%

%%%Collada bugs are not being handled well so far,

for this reason they are all being set as 'TODO' and linked from our wiki page.

http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#OpenCollada

This tracker item can still be updated with useful info and closed (removed from the page above) when fixed.%%%

%%%Collada bugs are not being handled well so far, for this reason they are all being set as \'TODO\' and linked from our wiki page. http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#OpenCollada This tracker item can still be updated with useful info and closed (removed from the page above) when fixed.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#28894
No description provided.