Advance Timeline 1 frame past movie sequence of JPG's and crash. PNG's are fine. #44502

Closed
opened 2015-04-24 04:42:21 +02:00 by Joel Godin · 16 comments

System Information
OSX 10.10.3
ATI Radeon HD 2400 XT 128 MB
2.4 GHz Intel Core 2 Duo
4 GB 667 MHz DDR2 SDRAM

Blender Version
Broken: (example: 2.7.4 0287b39) (today's version, was doing this a week ago too)
Worked: Not sure.

Advance timeline from 2 to 3 (there is no 3) and crashes for JPG's but not PNG's.

Exact steps for others to reproduce the error

  1. Open zip file of two JPG's put into folder.
  2. Open .Blend , go to Compositing nodes.
  3. Open Movie clip, navigate to two JPG's
  4. On timeline, Hit |< to go to first frame, then advance to frame two , then frame three, - crash

Does not do this with PNG's.

Attached .blend, two JPG's, crash report.

BatchReducerBug.blend

Archive.zip

Blendercrash.rtf

**System Information** OSX 10.10.3 ATI Radeon HD 2400 XT 128 MB 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM **Blender Version** Broken: (example: 2.7.4 0287b39) (today's version, was doing this a week ago too) Worked: Not sure. Advance timeline from 2 to 3 (there is no 3) and crashes for JPG's but not PNG's. **Exact steps for others to reproduce the error** 1) Open zip file of two JPG's put into folder. 2) Open .Blend , go to Compositing nodes. 3) Open Movie clip, navigate to two JPG's 4) On timeline, Hit |< to go to first frame, then advance to frame two , then frame three, - crash Does not do this with PNG's. Attached .blend, two JPG's, crash report. [BatchReducerBug.blend](https://archive.blender.org/developer/F166425/BatchReducerBug.blend) [Archive.zip](https://archive.blender.org/developer/F166426/Archive.zip) [Blendercrash.rtf](https://archive.blender.org/developer/F166427/Blendercrash.rtf)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @FloridaJo

Added subscriber: @FloridaJo

Added subscribers: @ThomasDinges, @jensverwiebe, @mont29

Added subscribers: @ThomasDinges, @jensverwiebe, @mont29

I cannot reproduce this here on Linux with latest master… Not even in debug build with asan.

Thomas, Jens, can you please try to confirm the issue? I would not expect that kind of bug to be platform-dependent, but who knows?

I cannot reproduce this here on Linux with latest master… Not even in debug build with asan. Thomas, Jens, can you please try to confirm the issue? I would not expect that kind of bug to be platform-dependent, but who knows?
Member

I confirm crash with same report on my MacPro/AMD

Looking into it ....

Jens

I confirm crash with same report on my MacPro/AMD Looking into it .... Jens
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Changing to confirmed and assigning to @jensverwiebe then

Changing to confirmed and assigning to @jensverwiebe then
jens verwiebe was assigned by Julian Eisel 2015-04-24 15:43:47 +02:00
Member

Crashpoint is here:

  • frame #4: 0x0000000101711aca blender`MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::unmanage(this=0x0000628000088938, handle=0x000061800002a660) + 138 at MEM_CacheLimiter.h:166
  frame #5: 0x0000000101710b54 blender`MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage(this=0x000061800002a660) + 36 at MEM_CacheLimiter.h:121
  frame #6: 0x000000010171043d blender`MEM_CacheLimiter_unmanage(handle=0x000061800002a660) + 29 at MEM_CacheLimiterC-Api.cpp:184
  frame #7: 0x000000010142ec0e blender`moviecache_valfree(val=0x000000011b3b4a10) + 62 at moviecache.c:132

blender(7082,0x1118d8300) malloc: *** error for object 0x61800002a660: pointer being freed was not allocated

Jens

Crashpoint is here: * frame #4: 0x0000000101711aca blender`MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::unmanage(this=0x0000628000088938, handle=0x000061800002a660) + 138 at **MEM_CacheLimiter.h:166** ``` frame #5: 0x0000000101710b54 blender`MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage(this=0x000061800002a660) + 36 at MEM_CacheLimiter.h:121 frame #6: 0x000000010171043d blender`MEM_CacheLimiter_unmanage(handle=0x000061800002a660) + 29 at MEM_CacheLimiterC-Api.cpp:184 frame #7: 0x000000010142ec0e blender`moviecache_valfree(val=0x000000011b3b4a10) + 62 at moviecache.c:132 ``` blender(7082,0x1118d8300) malloc: *** error for object 0x61800002a660: pointer being freed was not allocated Jens
Member

2.74 release is working okay with testconditions

2.74 release is working okay with testconditions

Ah, with --debug-memory could reproduce the issue, here is asan report:

P221: #44502

==32423==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030001816d0 at pc 0x4f061c9 bp 0x7ffe22e59390 sp 0x7ffe22e59388
READ of size 8 at 0x6030001816d0 thread T0
    #0 0x4f061c8 in MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage() /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121
    #1 0x4f0546c in MEM_CacheLimiter_unmanage /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:184
    #2 0x49ba729 in moviecache_valfree /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:132
    #3 0x4a1ecf3 in ghash_insert_safe /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:501
    #4 0x4a1ecf3 in BLI_ghash_reinsert /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:693
    #5 0x49bbc49 in do_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:365
    #6 0x49bbf7a in IMB_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:394
    #7 0x3feab87 in imagecache_put /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:162
    #8 0x3fec4ea in image_assign_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:407
    #9 0x400101f in image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3915
    #10 0x40011b7 in BKE_image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3945
    #11 0x2309f81 in draw_nodespace_back_pix /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/drawnode.c:3176
    #12 0x2318a98 in drawnodespace /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_draw.c:1347
    #13 0x23434ae in node_main_area_draw /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:660
    #14 0x2e8b677 in ED_region_do_draw /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:480
    #15 0x2197818 in wm_method_draw_triple /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_draw.c:640
    #16 0x2199ec4 in wm_draw_update /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_draw.c:1047
    #17 0x218b093 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:493
    #18 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865
    #19 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
    #20 0x21836ae (/home/i74700deb64/blender/__work__/build_cmake_dbg/bin/blender+0x21836ae)

0x6030001816d0 is located 16 bytes inside of 24-byte region [0x6030001816c0,0x6030001816d8)
freed by thread #48 here:
    #0 0x7fb6157dc477 in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x55477)
    #1 0x4f0715d in MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::unmanage(MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>*) /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:166
    #2 0x4f061df in MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage() /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121
    #3 0x4f0546c in MEM_CacheLimiter_unmanage /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:184
    #4 0x49ba729 in moviecache_valfree /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:132
    #5 0x4a1dadc in ghash_free_cb /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:574
    #6 0x4a20962 in BLI_ghash_free /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:860
    #7 0x49bc3f4 in IMB_moviecache_free /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:458
    #8 0x3feba43 in image_free_cached_frames /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:261
    #9 0x3ff794b in BKE_image_verify_viewer_views /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:2426
    #10 0x3ce1c66 in ViewerOperation::initImage() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:135
    #11 0x3ce1259 in ViewerOperation::initExecution() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:74
    #12 0x3c342a7 in ExecutionSystem::execute() /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_ExecutionSystem.cpp:168
    #13 0x3c32e7b in COM_execute /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_compositor.cpp:100
    #14 0x44088d4 in ntreeCompositExecTree /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:233
    #15 0x231a063 in compo_startjob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:243
    #16 0x21ba78b in do_job_thread /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:328
    #17 0x4b20763 in tslot_thread_start /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:252
    #18 0x7fb613cc10a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3)

previously allocated by thread #39 here:
    #0 0x7fb6157dbfff in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54fff)
    #1 0x4f05b72 in MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::insert(MEM_CacheLimiterHandleCClass*) /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:156
    #2 0x4f04fcf in MEM_CacheLimiterCClass::insert(void*) /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:123
    #3 0x4f05420 in MEM_CacheLimiter_insert /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:174
    #4 0x49bbdfe in do_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:374
    #5 0x49bbf7a in IMB_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:394
    #6 0x3feab87 in imagecache_put /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:162
    #7 0x3fec4ea in image_assign_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:407
    #8 0x400101f in image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3915
    #9 0x40011b7 in BKE_image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3945
    #10 0x3ce1d03 in ViewerOperation::initImage() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:140
    #11 0x3ce1259 in ViewerOperation::initExecution() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:74
    #12 0x3c342a7 in ExecutionSystem::execute() /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_ExecutionSystem.cpp:168
    #13 0x3c32e7b in COM_execute /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_compositor.cpp:100
    #14 0x44088d4 in ntreeCompositExecTree /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:233
    #15 0x231a063 in compo_startjob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:243
    #16 0x21ba78b in do_job_thread /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:328
    #17 0x4b20763 in tslot_thread_start /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:252
    #18 0x7fb613cc10a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3)

Thread #48 created by T0 here:
    #0 0x7fb6157aabba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
    #1 0x4b2086f in BLI_insert_thread /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:268
    #2 0x21baf15 in WM_jobs_start /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:411
    #3 0x231a4bc in ED_node_composite_job /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:296
    #4 0x2342b86 in node_area_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:556
    #5 0x2e87f17 in ED_area_do_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:149
    #6 0x219ca3c in wm_event_do_notifiers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:364
    #7 0x218b087 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:490
    #8 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865
    #9 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)

Thread #39 created by T0 here:
    #0 0x7fb6157aabba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
    #1 0x4b2086f in BLI_insert_thread /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:268
    #2 0x21baf15 in WM_jobs_start /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:411
    #3 0x231a4bc in ED_node_composite_job /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:296
    #4 0x2342b86 in node_area_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:556
    #5 0x2e87f17 in ED_area_do_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:149
    #6 0x219ca3c in wm_event_do_notifiers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:364
    #7 0x218b087 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:490
    #8 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865
    #9 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)

SUMMARY: AddressSanitizer: heap-use-after-free /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121 MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage()
Shadow bytes around the buggy address:
  0x0c0680028280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0680028290: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c06800282a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c06800282b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c06800282c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c06800282d0: fa fa 00 00 00 fa fa fa fd fd[fd]fa fa fa fa fa
  0x0c06800282e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c06800282f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0680028300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0680028310: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0680028320: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Contiguous container OOB:fc
  ASan internal:           fe
==32423==ABORTING

Ah, with `--debug-memory` could reproduce the issue, here is asan report: [P221: #44502](https://archive.blender.org/developer/P221.txt) ``` ==32423==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030001816d0 at pc 0x4f061c9 bp 0x7ffe22e59390 sp 0x7ffe22e59388 READ of size 8 at 0x6030001816d0 thread T0 #0 0x4f061c8 in MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage() /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121 #1 0x4f0546c in MEM_CacheLimiter_unmanage /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:184 #2 0x49ba729 in moviecache_valfree /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:132 #3 0x4a1ecf3 in ghash_insert_safe /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:501 #4 0x4a1ecf3 in BLI_ghash_reinsert /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:693 #5 0x49bbc49 in do_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:365 #6 0x49bbf7a in IMB_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:394 #7 0x3feab87 in imagecache_put /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:162 #8 0x3fec4ea in image_assign_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:407 #9 0x400101f in image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3915 #10 0x40011b7 in BKE_image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3945 #11 0x2309f81 in draw_nodespace_back_pix /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/drawnode.c:3176 #12 0x2318a98 in drawnodespace /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_draw.c:1347 #13 0x23434ae in node_main_area_draw /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:660 #14 0x2e8b677 in ED_region_do_draw /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:480 #15 0x2197818 in wm_method_draw_triple /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_draw.c:640 #16 0x2199ec4 in wm_draw_update /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_draw.c:1047 #17 0x218b093 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:493 #18 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865 #19 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44) #20 0x21836ae (/home/i74700deb64/blender/__work__/build_cmake_dbg/bin/blender+0x21836ae) 0x6030001816d0 is located 16 bytes inside of 24-byte region [0x6030001816c0,0x6030001816d8) freed by thread #48 here: #0 0x7fb6157dc477 in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x55477) #1 0x4f0715d in MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::unmanage(MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>*) /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:166 #2 0x4f061df in MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage() /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121 #3 0x4f0546c in MEM_CacheLimiter_unmanage /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:184 #4 0x49ba729 in moviecache_valfree /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:132 #5 0x4a1dadc in ghash_free_cb /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:574 #6 0x4a20962 in BLI_ghash_free /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/BLI_ghash.c:860 #7 0x49bc3f4 in IMB_moviecache_free /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:458 #8 0x3feba43 in image_free_cached_frames /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:261 #9 0x3ff794b in BKE_image_verify_viewer_views /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:2426 #10 0x3ce1c66 in ViewerOperation::initImage() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:135 #11 0x3ce1259 in ViewerOperation::initExecution() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:74 #12 0x3c342a7 in ExecutionSystem::execute() /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_ExecutionSystem.cpp:168 #13 0x3c32e7b in COM_execute /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_compositor.cpp:100 #14 0x44088d4 in ntreeCompositExecTree /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:233 #15 0x231a063 in compo_startjob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:243 #16 0x21ba78b in do_job_thread /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:328 #17 0x4b20763 in tslot_thread_start /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:252 #18 0x7fb613cc10a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3) previously allocated by thread #39 here: #0 0x7fb6157dbfff in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54fff) #1 0x4f05b72 in MEM_CacheLimiter<MEM_CacheLimiterHandleCClass>::insert(MEM_CacheLimiterHandleCClass*) /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:156 #2 0x4f04fcf in MEM_CacheLimiterCClass::insert(void*) /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:123 #3 0x4f05420 in MEM_CacheLimiter_insert /home/i74700deb64/blender/__work__/src/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp:174 #4 0x49bbdfe in do_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:374 #5 0x49bbf7a in IMB_moviecache_put /home/i74700deb64/blender/__work__/src/source/blender/imbuf/intern/moviecache.c:394 #6 0x3feab87 in imagecache_put /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:162 #7 0x3fec4ea in image_assign_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:407 #8 0x400101f in image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3915 #9 0x40011b7 in BKE_image_acquire_ibuf /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/image.c:3945 #10 0x3ce1d03 in ViewerOperation::initImage() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:140 #11 0x3ce1259 in ViewerOperation::initExecution() /home/i74700deb64/blender/__work__/src/source/blender/compositor/operations/COM_ViewerOperation.cpp:74 #12 0x3c342a7 in ExecutionSystem::execute() /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_ExecutionSystem.cpp:168 #13 0x3c32e7b in COM_execute /home/i74700deb64/blender/__work__/src/source/blender/compositor/intern/COM_compositor.cpp:100 #14 0x44088d4 in ntreeCompositExecTree /home/i74700deb64/blender/__work__/src/source/blender/nodes/composite/node_composite_tree.c:233 #15 0x231a063 in compo_startjob /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:243 #16 0x21ba78b in do_job_thread /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:328 #17 0x4b20763 in tslot_thread_start /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:252 #18 0x7fb613cc10a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3) Thread #48 created by T0 here: #0 0x7fb6157aabba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba) #1 0x4b2086f in BLI_insert_thread /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:268 #2 0x21baf15 in WM_jobs_start /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:411 #3 0x231a4bc in ED_node_composite_job /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:296 #4 0x2342b86 in node_area_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:556 #5 0x2e87f17 in ED_area_do_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:149 #6 0x219ca3c in wm_event_do_notifiers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:364 #7 0x218b087 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:490 #8 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865 #9 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44) Thread #39 created by T0 here: #0 0x7fb6157aabba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba) #1 0x4b2086f in BLI_insert_thread /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/threads.c:268 #2 0x21baf15 in WM_jobs_start /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_jobs.c:411 #3 0x231a4bc in ED_node_composite_job /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/node_edit.c:296 #4 0x2342b86 in node_area_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/space_node/space_node.c:556 #5 0x2e87f17 in ED_area_do_refresh /home/i74700deb64/blender/__work__/src/source/blender/editors/screen/area.c:149 #6 0x219ca3c in wm_event_do_notifiers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:364 #7 0x218b087 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:490 #8 0x2188dc5 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:1865 #9 0x7fb60f5afb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44) SUMMARY: AddressSanitizer: heap-use-after-free /home/i74700deb64/blender/__work__/src/intern/memutil/MEM_CacheLimiter.h:121 MEM_CacheLimiterHandle<MEM_CacheLimiterHandleCClass>::unmanage() Shadow bytes around the buggy address: 0x0c0680028280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0680028290: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c06800282a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c06800282b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c06800282c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c06800282d0: fa fa 00 00 00 fa fa fa fd fd[fd]fa fa fa fa fa 0x0c06800282e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c06800282f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0680028300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0680028310: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0680028320: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Contiguous container OOB:fc ASan internal: fe ==32423==ABORTING ```
jens verwiebe was unassigned by Bastien Montagne 2015-04-26 10:51:02 +02:00
Dalai Felinto was assigned by Bastien Montagne 2015-04-26 10:51:02 +02:00

Tried to bisect that, but with limited success… crash first appears in 4c2306d21a, and does not exists before d5f1b9c222, so it’s clearly related to multiview somehow. Crash is not reproducible when multiview is enabled.

Dalai, think this one is for you?

Tried to bisect that, but with limited success… crash first appears in 4c2306d21a, and does not exists before d5f1b9c222, so it’s clearly related to multiview somehow. Crash is not reproducible when multiview is enabled. Dalai, think this one is for you?
Author

Is it possible it has to do with the Alpha channel since it works okay with PNG, but not JPG?

Is it possible it has to do with the Alpha channel since it works okay with PNG, but not JPG?

@mont29 do you still have this issue? Some fixes went in that may have fixed that.

@mont29 do you still have this issue? Some fixes went in that may have fixed that.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Added subscriber: @dfelinto

Added subscriber: @dfelinto

@dfelinto No, impossible to reproduce anymore, think we can consider this as fixed as well. :)

@dfelinto No, impossible to reproduce anymore, think we can consider this as fixed as well. :)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#44502
No description provided.