Page MenuHome

Compositing : Node Groups do not work correctly
Closed, ResolvedPublic

Description

System Information
Windows 7 x64 GTX580

Blender Version
Broken: 770b109
Worked: c31aae0

Short description of error
Node groups do not work correctly

Exact steps for others to reproduce the error

  1. Open attached blend file
  2. render
  3. wait til it has finished & comped
  4. if it is all white, then it has the bug i am experiencing, if you see the rendered image normally, then the node group worked correctly

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Normal.Mar 27 2015, 11:56 AM

Ugh, yes, getting a white result - and even got a crash just trying to add a viewer node (after going in and out of group - tab key)…

So, here is how I get it crashing:
*Open the file
*Render (you can even interrupt render after a few tiles if you want)
*Go to node editor
*Enable compo nodes
*instant crash (see asan backtrace below).

1=================================================================
2==14381==ERROR: AddressSanitizer: unknown-crash on address 0x62e000138408 at pc 0x4077384 bp 0x7ffcd2fdf6c0 sp 0x7ffcd2fdf6b8
3READ of size 44240 at 0x62e000138408 thread T0
4 #0 0x4077383 in node_preview_sync /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/node.c:1421
5 #1 0x4077715 in BKE_node_preview_sync_tree /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/node.c:1440
6 #2 0x43554d6 in local_sync /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:134
7 #3 0x407ac0c in ntreeLocalSync /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/node.c:2028
8 #4 0x22f8914 in compo_updatejob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:211
9 #5 0x21a4bd4 in wm_jobs_timer /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:563
10 #6 0x21d76b7 in wm_window_timer /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_window.c:1127
11 #7 0x21d795e in wm_window_process_events /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_window.c:1160
12 #8 0x21757b7 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:484
13 #9 0x217350d in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1857
14 #10 0x7fcad7f90b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
15 #11 0x216de2e (/home/i74700deb64/blender/__work__/build_cmake_dbg/bin/blender+0x216de2e)
16
170x62e000142ea8 is located 0 bytes to the right of 43688-byte region [0x62e000138400,0x62e000142ea8)
18allocated by thread T119 here:
19 #0 0x7fcade1bc885 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54885)
20 #1 0x4e8c82a in MEM_lockfree_callocN /home/i74700deb64/blender/__work__/src/intern/guardedalloc/intern/mallocn_lockfree_impl.c:286
21 #2 0x3c3cd67 in PreviewOperation::initExecution() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_PreviewOperation.cpp:72
22 #3 0x3b912cf in ExecutionSystem::execute() /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_ExecutionSystem.cpp:166
23 #4 0x3b8feba in COM_execute /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_compositor.cpp:99
24 #5 0x4356235 in ntreeCompositExecTree /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:232
25 #6 0x22f8d73 in compo_startjob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:252
26 #7 0x21a3768 in do_job_thread /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:328
27 #8 0x4aaf424 in tslot_thread_start /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:251
28 #9 0x7fcadc6a20a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3)
29
30Thread T119 created by T0 here:
31 #0 0x7fcade18bbba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
32 #1 0x4aaf530 in BLI_insert_thread /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:267
33 #2 0x21a3ef2 in WM_jobs_start /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:411
34 #3 0x22f90be in ED_node_composite_job /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:298
35 #4 0x23214ab in node_area_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:558
36 #5 0x2e55ea3 in ED_area_do_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:146
37 #6 0x2185a10 in wm_event_do_notifiers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:364
38 #7 0x21757cf in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:490
39 #8 0x217350d in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1857
40 #9 0x7fcad7f90b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
41
42SUMMARY: AddressSanitizer: unknown-crash /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/node.c:1421 node_preview_sync
43Shadow bytes around the buggy address:
44 0x0c5c8001f030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
45 0x0c5c8001f040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
46 0x0c5c8001f050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
47 0x0c5c8001f060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
48 0x0c5c8001f070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
49=>0x0c5c8001f080: 00[00]00 00 00 00 00 00 00 00 00 00 00 00 00 00
50 0x0c5c8001f090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
51 0x0c5c8001f0a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
52 0x0c5c8001f0b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
53 0x0c5c8001f0c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
54 0x0c5c8001f0d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
55Shadow byte legend (one shadow byte represents 8 application bytes):
56 Addressable: 00
57 Partially addressable: 01 02 03 04 05 06 07
58 Heap left redzone: fa
59 Heap right redzone: fb
60 Freed heap region: fd
61 Stack left redzone: f1
62 Stack mid redzone: f2
63 Stack right redzone: f3
64 Stack partial redzone: f4
65 Stack after return: f5
66 Stack use after scope: f8
67 Global redzone: f9
68 Global init order: f6
69 Poisoned by user: f7
70 Contiguous container OOB:fc
71 ASan internal: fe
72==14381==ABORTING