Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#24106] Collada import crashes when several point to the same url

Date:
2010-10-02 19:22
Priority:
4
State:
Closed
Submitted by:
Tillmann Vogt (tirili)
Assigned to:
Nathan Letwory (jesterking)
Category:
Import/Export
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Collada import crashes when several <instance_geometry url= > point to the same url
Detailed description
The attached file crashes blender 2.54beta. It works in blender 2.49b.
Deleting the second <instance_geometry url="#cube-lib"> result in no crash.
So deduce it is because the urls are the same.


<library_visual_scenes>
<visual_scene id="VisualSceneNode" name="untitled">
<node id="empty" name="empty">
<node id="cube_geometry1" name="cube_geometry1">
<translate sid="translate">0.0 0.0 0.0</translate>
<rotate sid="rotateX">1.0 0.0 0.0 0.0</rotate>
<rotate sid="rotateY">0.0 1.0 0.0 0.0</rotate>
<rotate sid="rotateZ">0.0 0.0 1.0 0.0</rotate>
-> <instance_geometry url="#cube-lib">
<bind_material>
<technique_common>
<instance_material symbol="blueG" target="#blue-lib" />
</technique_common>
</bind_material>
</instance_geometry>
</node>
<node id="cube_geometry2" name="cube_geometry2">
<translate sid="translate">0.0 0.0 150.0</translate>
<rotate sid="rotateX">1.0 0.0 0.0 0.0</rotate>
<rotate sid="rotateY">0.0 1.0 0.0 0.0</rotate>
<rotate sid="rotateZ">0.0 0.0 1.0 0.0</rotate>
-> <instance_geometry url="#cube-lib">
<bind_material>
<technique_common>
<instance_material symbol="blueG" target="#blue-lib" />
</technique_common>
</bind_material>
</instance_geometry>
</node>
</node>
</visual_scene>
</library_visual_scenes>

Followup

Message
  • Date: 2010-10-02 21:08
  • Sender: Nathan Letwory
  • Assigning to myself to work on
  • Date: 2010-12-20 13:18
  • Sender: Nathan Letwory
  • Reopening and assigning to Jeroen Bakker.
  • Date: 2010-12-20 21:51
  • Sender: Jeroen Bakker
  • Hi, I can\'t reproduce this here, can you please try again on an
    up-to-date SVN revision?
  • Date: 2010-12-20 21:51
  • Sender: Jeroen Bakker
  • Sorry, cannot reproduce on linux64 anymore. Can someone test this with latest collada build (788) and trunk version.
  • Date: 2010-12-22 01:09
  • Sender: Nathan Letwory
  • Hrm. This now goes ok with a win32 r33832 non-debug. But it fails for a win64 r33832 non-debug build. The problem is that with a debug build of win64 r33832 it goes fine again, so it's a bit hard to debug right now.
  • Date: 2010-12-22 08:35
  • Sender: Jeroen Bakker
  • tested on blender linux64 release build (trunk). Could not reproduce. Will assign back to Nathan.
  • Date: 2011-03-09 15:34
  • Sender: Nathan Letwory
  • My commit for [#26307] at r35416 also fixes this bug - it has the same underlying logic that caused the problem and the commit remedies that. Marking as fixed.

    Thanks for reporting!
 

Attached Files:

Name Date Download
Collada-File.dae 2010-10-02 19:22 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-09 15:34jesterking
close_dateNone2011-03-09 15:34jesterking
StatusReopened2011-03-09 15:34jesterking
assigned_tojbakker2010-12-22 08:35jbakker
status_idClosed2010-12-20 13:18jesterking
close_date2010-10-18 10:212010-12-20 13:18jesterking
priority32010-12-20 13:18jesterking
assigned_tojesterking2010-12-20 13:18jesterking
StatusTodo / Closed2010-12-20 13:18jesterking
StatusClosed2010-12-20 12:56jesterking
ResolutionNew2010-10-18 10:21jesterking
close_date2010-10-18 10:212010-10-18 10:21jesterking
status_idOpen2010-10-18 10:21jesterking
ResolutionNone2010-10-02 21:08jesterking
assigned_tonone2010-10-02 21:08jesterking
File Added12967: Collada-File.dae2010-10-02 19:22tirili