Page MenuHome

Eevee and Freestyle broken with old 2.8 default file
Closed, InvalidPublic


System Information
Operating system: macOS 10.14.02
Graphics card: Intel (2015 Macbook Pro)

Blender Version
Broken: 2.80 1461d0185c040f24ccc03ade36352fd0fd5d7d4f mid 2019-01-05

Short description of error

Opening the default scene, activating Freestyle, and rendering in Eevee segfaults. This is after T58669 and the two recent patches fixing Eevee + Freestyle.

Exact steps for others to reproduce the error

Running a debug build in lldb gives the following backtrace:

* thread #18, stop reason = signal SIGABRT
  * frame #0: 0x00007fff7bea623e libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff7bf5cc1c libsystem_pthread.dylib`pthread_kill + 285
    frame #2: 0x00007fff7be0f1c9 libsystem_c.dylib`abort + 127
    frame #3: 0x000000010124e8c6 blender`id_us_min(id=0x0000000116837208) at library.c:248
    frame #4: 0x000000010126b10c blender`foreach_libblock_remap_callback(user_data=0x000070000d320650, id_self=0x0000000116835808, id_p=0x00000001121b4de8, cb_flag=256) at library_remap.c:248
    frame #5: 0x000000010125a3b5 blender`BKE_library_foreach_ID_link(bmain=0x0000000000000000, id=0x0000000116835808, callback=(blender`foreach_libblock_remap_callback at library_remap.c:167), user_data=0x000070000d320650, flag=0) at library_query.c:433
    frame #6: 0x00000001012692f6 blender`libblock_remap_data(bmain=0x0000000113ce5e08, id=0x0000000116835808, old_id=0x0000000000000000, new_id=0x0000000000000000, remap_flags=0, r_id_remap_data=0x000070000d320650) at library_remap.c:415
    frame #7: 0x0000000101269a43 blender`BKE_libblock_relink_ex(bmain=0x0000000113ce5e08, idv=0x0000000116835808, old_idv=0x0000000000000000, new_idv=0x0000000000000000, us_min_never_null=true) at library_remap.c:610
    frame #8: 0x000000010126a742 blender`BKE_libblock_free_ex(bmain=0x0000000113ce5e08, idv=0x0000000116835808, do_id_user=true, do_ui_user=true) at library_remap.c:920
    frame #9: 0x000000010126a816 blender`BKE_libblock_free(bmain=0x0000000113ce5e08, idv=0x0000000116835808) at library_remap.c:948
    frame #10: 0x00000001008de309 blender`free_all_freestyle_renders at pipeline.c:1349
    frame #11: 0x00000001008ddd82 blender`do_render_composite(re=0x0000000112b8b008) at pipeline.c:1446
    frame #12: 0x00000001008d998f blender`do_render_all_options(re=0x0000000112b8b008) at pipeline.c:1645
    frame #13: 0x00000001008d930e blender`RE_BlenderFrame(re=0x0000000112b8b008, bmain=0x0000000113965808, scene=0x0000000113970608, single_layer=0x0000000000000000, camera_override=0x0000000000000000, frame=1, write_still=false) at pipeline.c:1999
    frame #14: 0x00000001007bb866 blender`render_startjob(rjv=0x000000011200fcc8, stop=0x000000011200f00c, do_update=0x000000011200f00a, progress=0x000000011200f010) at render_internal.c:622
    frame #15: 0x000000010016d8dc blender`do_job_thread(job_v=0x000000011200ef98) at wm_jobs.c:338
    frame #16: 0x0000000101783f31 blender`tslot_thread_start(tslot_p=0x0000000124737218) at threads.c:259
    frame #17: 0x00007fff7bf5a305 libsystem_pthread.dylib`_pthread_body + 126
    frame #18: 0x00007fff7bf5d26f libsystem_pthread.dylib`_pthread_start + 70
    frame #19: 0x00007fff7bf59415 libsystem_pthread.dylib`thread_start + 13

The crash seems to be happing when BKE_libblock_free(re1->freestyle_bmain, freestyle_scene); is called, which calls BKE_libblock_relink_ex(bmain, id, NULL, NULL, true);, and lots of functions with "link" in them.



Event Timeline

Sorry, I was working through the callback and I saw a mention of the scene collection. I tried taking the default scene back to the factory defaults, and now it works. So for some reason, the default scene that was saved when I started using 2.8 causes problems now. I'll reopen if that's incorrect and it is infact an intermittent crash. I've tried several times and it only crashes if I don't load factory defaults first.

Henry Schreiner (henryschreiner) renamed this task from Eevee and Freestyle broken on macOS to Eevee and Freestyle broken on with old 2.8 default file.Jan 5 2019, 7:50 PM
Henry Schreiner (henryschreiner) renamed this task from Eevee and Freestyle broken on with old 2.8 default file to Eevee and Freestyle broken with old 2.8 default file.