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

Blender 2.6 Bug Tracker: Browse

[#26616] Line of code make Blender crash

Date:
2011-03-25 23:05
Priority:
3
State:
Closed
Submitted by:
Leandro Benedet Garcia (cerberus_1746)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Line of code make Blender crash
Detailed description
This single line of code make Blender Crash:

import bpy
bpy.data.groups.get("Group") #Group is a group name

Followup

Message
  • Date: 2011-03-25 23:57
  • Sender: Sergey Sharybin
  • Can't reproduce crash here. Anyway, not enough info specified: blender version, platform and exact steps to reproduce crash "from scratch".
  • Date: 2011-03-26 01:06
  • Sender: Leandro Benedet Garcia
  • Sorry...

    platform: Ubuntu 10.10 64bits
    Blender 2.56.4 rev: 35787

    I created two cubes, then I created a group with the cubes and I executed this code in console.
  • Date: 2011-03-26 09:39
  • Sender: Campbell Barton
  • Can you upload a blend file where this happens?, I tried doing exactly as suggested with blender r35787.
    valgrind also didnt find any memory errors here.
  • Date: 2011-03-26 16:31
  • Sender: Leandro Benedet Garcia
  • Sorry, by mistake I put the wrong code here :-/

    the code that crashs Blender is:
    import bpy
    bpy.types.Group("Group")

    (I know that code isn't the right but... If blender crashs... It maybe can help.)
  • Date: 2011-03-27 08:57
  • Sender: Campbell Barton
  • fixed r35813. was comparing against the wrong type, now it raises an error.

    to make new groups do:
    bpy.data.groups.new("Group")
 

Attached Files:

Name Date Download
bug.blend 2011-03-26 16:31 Download

Changes:

Field Old Value Date By
summaryLine of code make Blender crash *NEED BLEND FILE*2011-03-27 08:58campbellbarton
status_idOpen2011-03-27 08:57campbellbarton
close_dateNone2011-03-27 08:57campbellbarton
StatusInvestigate2011-03-27 08:57campbellbarton
File Added15541: bug.blend2011-03-26 16:31cerberus_1746
assigned_tonone2011-03-26 09:39campbellbarton
summaryLine of code make Blender crash2011-03-26 09:39campbellbarton
StatusNew2011-03-26 09:39campbellbarton