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

Blender 2.6 Bug Tracker: Browse

[#24934] Particle single user crash

Date:
2010-11-26 14:32
Priority:
3
State:
Closed
Submitted by:
Campbell Barton (campbellbarton)
Assigned to:
Janne Karhu (jhk)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Particle single user crash
Detailed description
- Default Scene
- Add Particle System
- Change type to hair
- Change the object mode to "Particle Editmode"
- In the particle buttons click on the "F" button to give it a fake user.
- Now click on the "2" button to make it a single uses particle system.
*crash*

noticed this only happens when the particle system is NOT edited.

report from valgrind, blender r33330.

==28509== Invalid read of size 4
==28509== at 0x8BD67D: sub_v3_v3v3 (math_vector_inline.c:147)
==28509== by 0x8C0608: pe_iterate_lengths (particle_edit.c:999)
==28509== by 0x8C18F4: PE_update_object (particle_edit.c:1222)
==28509== by 0x71B602: draw_update_ptcache_edit (drawobject.c:4066)
==28509== by 0x721B61: draw_object (drawobject.c:6031)
==28509== by 0x6F304D: view3d_main_area_draw (view3d_draw.c:2445)
==28509== by 0x8D90EF: ED_region_do_draw (area.c:344)
==28509== by 0x632B4C: wm_method_draw_triple (wm_draw.c:593)
==28509== by 0x633243: wm_draw_update (wm_draw.c:770)
==28509== by 0x631554: WM_main (wm.c:348)
==28509== by 0x630C29: main (creator.c:1194)
==28509== Address 0xad08fb8 is 56 bytes inside a block of size 208 free'd
==28509== at 0x4C242FC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28509== by 0xD0929B: rem_memblock (mallocn.c:714)
==28509== by 0xD08F4C: MEM_freeN (mallocn.c:631)
==28509== by 0xB77402: free_hair (particle.c:389)
==28509== by 0xB9A1E1: particle_system_update (particle_system.c:4061)
==28509== by 0xA75888: deformVerts (MOD_particlesystem.c:190)
==28509== by 0xAA0725: mesh_calc_modifiers (DerivedMesh.c:1812)
==28509== by 0xAA1A9A: mesh_build_data (DerivedMesh.c:2244)
==28509== by 0xAA1CBC: makeDerivedMesh (DerivedMesh.c:2285)
==28509== by 0xB73C62: object_handle_update (object.c:2554)
==28509== by 0xBA7D53: scene_update_tagged_recursive (scene.

Followup

Message
  • Date: 2010-11-26 16:38
  • Sender: Janne Karhu
  • "Fixed" by disabling the buttons in ui when in particle mode, too much can go wrong if you touch settings when in particle mode. Closing the report.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2010-11-26 16:38jhk
close_date2010-11-26 16:382010-11-26 16:38jhk
status_idOpen2010-11-26 16:38jhk