Page MenuHome

Can't render splash screen demo 2.90 on blender 2.93.1 : crash immediatly
Closed, ArchivedPublic

Description

System Information
Operating system: Linux-5.4.0-79-generic-x86_64-with-glibc2.31 64 Bits
Ubuntu 20.04.2 LTS

Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.102.04

Blender Version
Broken: version:

  • 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: rB1b8d33b18c2f
  • 3.0.0 Alpha, branch: master, commit date: 2021-07-08 03:31, hash: rB7489427e4de7 (might be different issue)

ubuntu snap version: snap list:

blender                  2.93.1                      206       latest/stable  blenderfoundation✓     classic

Worked: none

Short description of error
Splash screen 2.90 can't render : crash after some seconds

Exact steps for others to reproduce the error

  1. Download the splash screen for 2.90 from here.
  2. Render F12

Regards

Gaétan

Event Timeline

I can reproduce a crash in 3.00. I might be misremembering but I thought we already had a report about this @Philipp Oeser (lichtwerk)

==8536==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x1298f0573a80 at pc 0x7ff73285727e bp 0x00ae0ddfe7f0 sp 0x00ae0ddfe7f0
READ of size 4 at 0x1298f0573a80 thread T0
    #0 0x7ff73285727d in ui_but_update_old_active_from_new Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:839
    #1 0x7ff732857c7d in ui_but_update_from_old_block Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:913
    #2 0x7ff732834983 in UI_block_update_from_old Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:1783
    #3 0x7ff7328334f3 in UI_block_end_ex Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:1856
    #4 0x7ff732833ba1 in UI_block_end Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:1938
    #5 0x7ff7319cff2b in ED_region_header_layout Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\screen\area.c:3317
    #6 0x7ff7319cacff in ED_region_do_layout Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\screen\area.c:522
    #7 0x7ff72fb1d023 in wm_draw_window_offscreen Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:677
    #8 0x7ff72fb1ddb4 in wm_draw_window Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:864
    #9 0x7ff72fb186fc in wm_draw_update Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:1065
    #10 0x7ff72fa90fe1 in WM_main Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm.c:653
    #11 0x7ff72e750536 in main Z:\01_git\01_contribution\blender-git\blender\source\creator\creator.c:558
    #12 0x7ff73c056358 in invoke_main d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
    #13 0x7ff73c0562ad in __scrt_common_main_seh d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #14 0x7ff73c05616d in __scrt_common_main d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330
    #15 0x7ff73c0563cd in mainCRTStartup d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16
    #16 0x7fffcadb7033 in BaseThreadInitThunk+0x13 (C:\WINDOWS\System32\KERNEL32.dll+0x180017033)
    #17 0x7fffcc6e2650 in RtlUserThreadStart+0x20 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x180052650)

0x1298f0573a80 is located 0 bytes to the right of 1024-byte region [0x1298f0573680,0x1298f0573a80)
allocated by thread T0 here:
    #0 0x7fff7b26ceb3 in _asan_wrap_GlobalSize+0x4a1e9 (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\clang_rt.asan_dbg_dynamic-x86_64.dll+0x18004ceb3)
    #1 0x7ff73bdf678e in MEM_lockfree_callocN Z:\01_git\01_contribution\blender-git\blender\intern\guardedalloc\intern\mallocn_lockfree_impl.c:236
    #2 0x7ff732860806 in ui_but_alloc Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:3937
    #3 0x7ff732860a5e in ui_def_but Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:4037
    #4 0x7ff732839cf3 in uiDefBut Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:4714
    #5 0x7ff73288710f in uiItemL_ Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface_layout.c:3139
    #6 0x7ff732875ac6 in uiItemL Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface_layout.c:3179
    #7 0x7ff73168f2f4 in rna_uiItemL Z:\01_git\01_contribution\blender-git\blender\source\blender\makesrna\intern\rna_ui_api.c:425
    #8 0x7ff73169cbb5 in UILayout_label_call Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\source\blender\makesrna\intern\rna_ui_gen.c:2288
    #9 0x7ff73101bff8 in RNA_function_call Z:\01_git\01_contribution\blender-git\blender\source\blender\makesrna\intern\rna_access.c:7580
    #10 0x7ff731930d22 in pyrna_func_call Z:\01_git\01_contribution\blender-git\blender\source\blender\python\intern\bpy_rna.c:6360
    #11 0x7fff7a4064d6 in PyErr_SyntaxLocationEx+0x282cdb (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x1802864d6)
    #12 0x7fff7a6bcbb9 in PyErr_SyntaxLocationEx+0x5393be (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x18053cbb9)
    #13 0x7fff7a6bd1d1 in PyErr_SyntaxLocationEx+0x5399d6 (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x18053d1d1)
    #14 0x7fff7a6b85bb in PyErr_SyntaxLocationEx+0x534dc0 (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x1805385bb)
    #15 0x7fff7a407866 in PyErr_SyntaxLocationEx+0x28406b (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x180287866)
    #16 0x7fff7a40448b in PyErr_SyntaxLocationEx+0x280c90 (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x18028448b)
    #17 0x7fff7a403e79 in PyErr_SyntaxLocationEx+0x28067e (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x180283e79)
    #18 0x7fff7a404c82 in PyErr_SyntaxLocationEx+0x281487 (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x180284c82)
    #19 0x7fff7a403347 in PyErr_SyntaxLocationEx+0x27fb4c (Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\python39_d.dll+0x180283347)
    #20 0x7ff731936096 in bpy_class_call Z:\01_git\01_contribution\blender-git\blender\source\blender\python\intern\bpy_rna.c:8571
    #21 0x7ff73168a891 in header_draw Z:\01_git\01_contribution\blender-git\blender\source\blender\makesrna\intern\rna_ui.c:746
    #22 0x7ff7319cfd09 in ED_region_header_layout Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\screen\area.c:3288
    #23 0x7ff7319cacff in ED_region_do_layout Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\screen\area.c:522
    #24 0x7ff72fb1d023 in wm_draw_window_offscreen Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:677
    #25 0x7ff72fb1ddb4 in wm_draw_window Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:864
    #26 0x7ff72fb186fc in wm_draw_update Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm_draw.c:1065
    #27 0x7ff72fa90fe1 in WM_main Z:\01_git\01_contribution\blender-git\blender\source\blender\windowmanager\intern\wm.c:653
    #28 0x7ff72e750536 in main Z:\01_git\01_contribution\blender-git\blender\source\creator\creator.c:558

SUMMARY: AddressSanitizer: heap-buffer-overflow Z:\01_git\01_contribution\blender-git\blender\source\blender\editors\interface\interface.c:839 in ui_but_update_old_active_from_new
Shadow bytes around the buggy address:
  0x04ba03aae700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x04ba03aae710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x04ba03aae720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x04ba03aae730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x04ba03aae740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x04ba03aae750:[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x04ba03aae760: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x04ba03aae770: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x04ba03aae780: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x04ba03aae790: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x04ba03aae7a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
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
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
Robert Guetzkow (rjg) triaged this task as High priority.Jul 12 2021, 9:11 PM

I might have been too quick to confirm, as I cannot reproduce the crash in 2.93.1. The heap-buffer-overflow above seems to be a different/new issue.

Robert Guetzkow (rjg) lowered the priority of this task from High to Normal.Jul 12 2021, 10:04 PM
Robert Guetzkow (rjg) updated the task description. (Show Details)

Cannot even reproduce in 3.0.

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.33.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31
 version: 3.0.0 Alpha, branch: master (modified), commit date: 2021-07-12 20:14, hash: `rB7b6c77aa8480`

Hi,

i think it is a out of memory problem (oom linux). (no crash txt file found in /tmp, but a system log instead)

How many memory is needed to render this demo?

I have 16 GO sys ram, and 8 go on gtx 1080.

Is there a way for blender to show a message error instead of letting operating system kill it?

Regards,

Gaétan

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Jul 15 2021, 1:06 PM

Blender eats 5GB opening that scene, then on rendering, tops at ~10GB, my 970m (which only has 6 GB) wants ~1GB during rendering

Is there a way for blender to show a message error instead of letting operating system kill it?

regarding that, there is this general policy:

Thanks for the report. It appears this crashes because Blender ran out of memory.
While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.

i think it is a out of memory problem

Could you verify this?

so i confirm it is a memory out problem. When launching blender some memory was already eaten so there was not enough for splash screen.

after freeing a part, it renders.

Regards
Gaétan

Philipp Oeser (lichtwerk) closed this task as Archived.Jul 19 2021, 1:09 PM

Thx again getting back.

So respecting the mentioned policy regarding out of memory errors, will have to close this report.