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

Blender 2.6 Bug Tracker: Browse

[#26195] Rendering to New Window with dupli objects on particles causes crash

Date:
2011-02-23 16:36
Priority:
3
State:
Closed
Submitted by:
Jason van Gumster (thefallenweeble)
Assigned to:
Ton Roosendaal (ton)
Category:
Animation system
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Rendering to New Window with dupli objects on particles causes crash
Detailed description
Originally reported on BlenderCookie by David Koblesky

See attached .blend file to replicate:

1. Open test.blend
2. Run animation (Alt+A) to arbitrary point in the timeline (generating particles with dupli objects)
3. Render a frame from the animation

These steps should crash Blender (as of r35096)... gdb backtrace is below. Do note that if you change render display from New Window to either Fullscreen or Image Editor, the crash does not occur.

GDB backtrace:

(gdb) bt
#0 0x0000000000e067b0 in madd_v3_v3fl (r=0x7fffffffd650, a=0x0,
f=2.24411814e-08) at source/blender/blenlib/intern/math_vector_inline.c:224
#1 0x0000000000e07d6f in calc_latt_deform (ob=0x42d1b38, co=0x7fffffffd650,
weight=1) at source/blender/blenkernel/intern/lattice.c:437
#2 0x0000000000e6244a in psys_get_particle_state (sim=0x7fffffffd530, p=0,
state=0x7fffffffd650, always=0)
at source/blender/blenkernel/intern/particle.c:4303
#3 0x0000000000ee9459 in new_particle_duplilist (lb=0x4072628, id=0x42c6668,
scene=0x42c6668, par=0x43030e8, par_space_mat=0x0, psys=0x4303608,
level=1, animated=0) at source/blender/blenkernel/intern/anim.c:1376
#4 0x0000000000ee9ed6 in object_duplilist_recursive (id=0x42c6668,
scene=0x42c6668, ob=0x43030e8, duplilist=0x4072628, par_space_mat=0x0,
level=0, animated=0) at source/blender/blenkernel/intern/anim.c:1547
#5 0x0000000000eea148 in object_duplilist (sce=0x42c6668, ob=0x43030e8)
at source/blender/blenkernel/intern/anim.c:1586
#6 0x0000000000956a5a in draw_dupli_objects_color (scene=0x42c6668,
ar=0x429e0b8, v3d=0x429e5d8, base=0x42c6dd8, color=20)
at source/blender/editors/space_view3d/view3d_draw.c:1495
#7 0x0000000000956efd in draw_dupli_objects (scene=0x42c6668, ar=0x429e0b8,
v3d=0x429e5d8, base=0x42c6dd8)
at source/blender/editors/space_view3d/view3d_draw.c:1592
#8 0x0000000000959594 in view3d_main_area_draw (C=0x1fc4108, ar=0x429e0b8)
at source/blender/editors/space_view3d/view3d_draw.c:2425
#9 0x0000000000b5d986 in ED_region_do_draw (C=0x1fc4108, ar=0x429e0b8)
at source/blender/editors/screen/area.c:340
#10 0x00000000008e4a55 in wm_method_draw_triple (C=0x1fc4108, win=0x46b20d8)
at source/blender/windowmanager/intern/wm_draw.c:592
#11 0x00000000008e515d in wm_draw_update (C=0x1fc4108)
at source/blender/windowmanager/intern/wm_draw.c:771
#12 0x00000000008cdbac in WM_main (C=0x1fc4108)
at source/blender/windowmanager/intern/wm.c:348
#13 0x00000000008cafa2 in main (argc=1, argv=0x7fffffffe128)
at source/creator/creator.c:1284

Followup

Message
  • Date: 2011-02-24 12:22
  • Sender: Ton Roosendaal
  • Interesting threading conflict... we now get to the point things probably aren't solvable nicely anymore... apart from blocking drawing altogether on render - which I hoped was possible to prevent.

    Needs time to investigate a bit deeper. Will come back to it.
  • Date: 2011-03-25 18:12
  • Sender: Ton Roosendaal
  • Fix is in svn now!

    It does mean 3d window is not drawing in the initialize stage for rendering now.
 

Attached Files:

Name Date Download
test.blend 2011-02-23 16:36 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-25 18:12ton
close_dateNone2011-03-25 18:12ton
StatusInvestigate2011-03-25 18:12ton
CategoryNone2011-02-24 12:22ton
assigned_tonone2011-02-24 08:04campbellbarton
StatusNew2011-02-24 08:04campbellbarton
File Added15125: test.blend2011-02-23 16:36thefallenweeble