Page MenuHome

Blender crashes on CleanTracks with 'DELETE_SEGMENTS' and a disabled marker
Closed, ResolvedPublic

Description

System Information
eOS 0.4.1, GTX 980ti

Blender Version
Broken: 2.79.1, c66983c

Short description of error
When the Clean Tracks Operator would delete segments of a track that are disabled Blender crashes.

Exact steps for others to reproduce the error
Open the attached file, hit Clean Tracks and imagine sound of explosion. -> Crash.
(If you try again but hit shift+D before, it works)

Event Timeline

Crash confirmed with 2.79 and master 41b29c6 under ubuntu 16.04.

ronan ducluzeau (zeauro) triaged this task as Confirmed, Medium priority.

Full backtrace:

#0  0x000055555a4e1c95 in BKE_movieclip_update_scopes (clip=0x61e0000b6488, user=0x614000199880, scopes=0x614000199890)
    at /home/dfelinto/src/blender/blender/source/blender/blenkernel/intern/movieclip.c:1324
#1  0x0000555558701f57 in clip_properties_region_draw (C=0x60b0000045b8, ar=0x614000199048)
    at /home/dfelinto/src/blender/blender/source/blender/editors/space_clip/space_clip.c:1491
#2  0x0000555559153107 in ED_region_do_draw (C=0x60b0000045b8, ar=0x614000199048) at /home/dfelinto/src/blender/blender/source/blender/editors/screen/area.c:518
#3  0x00005555582e5278 in wm_method_draw_triple (C=0x60b0000045b8, win=0x6120003538c8) at /home/dfelinto/src/blender/blender/source/blender/windowmanager/intern/wm_draw.c:568
#4  0x00005555582e7883 in wm_draw_update (C=0x60b0000045b8) at /home/dfelinto/src/blender/blender/source/blender/windowmanager/intern/wm_draw.c:954
#5  0x00005555582d6dbb in WM_main (C=0x60b0000045b8) at /home/dfelinto/src/blender/blender/source/blender/windowmanager/intern/wm.c:514
#6  0x00005555582cc8d2 in main (argc=1, argv=0x7fffffffdab8) at /home/dfelinto/src/blender/blender/source/creator/creator.c:527

The issue is that marker pointer is NULL there (after marker = BKE_tracking_marker_get(track, framenr));