Segmentation fault when opening VSE files or displaying thumbnails #78867

Closed
opened 2020-07-12 21:57:13 +02:00 by djib · 24 comments

System Information
Operating system: Debian Bullseye
Graphics card: Radeon Vega 56

Blender Version
Broken: Blender 2.83.1 and Blender 2.82 (sub 7)
Worked: Blender 2.79b

Short description of error
When opening .blend VSE files, blender crashes with a segmentation fault.
Blender crashes both when called from the command line blender myfile.blendor when loading the file from blender.
Browsing (Shift-F1) to a folder containing a video also crashes Blender.

Content of the crash log

# Blender 2.82 (sub 7), Unknown revision

# backtrace
blender(BLI_system_backtrace+0x33) [0x563e281a10b3]
blender(+0x13e4dc6) [0x563e25bbbdc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b800) [0x7f532422c800]
/usr/lib/x86_64-linux-gnu/libswscale.so.5(+0x74e6a) [0x7f5324a48e6a]

Exact steps for others to reproduce the error

  • Open blender
  • Browse (Shift-F1) to a folder containing a video
  • Change the display mode to "Thumbnails"
  • Blender crashes
**System Information** Operating system: Debian Bullseye Graphics card: Radeon Vega 56 **Blender Version** Broken: Blender 2.83.1 and Blender 2.82 (sub 7) Worked: Blender 2.79b **Short description of error** When opening .blend VSE files, blender crashes with a segmentation fault. Blender crashes both when called from the command line `blender myfile.blend`or when loading the file from blender. Browsing (Shift-F1) to a folder containing a video also crashes Blender. Content of the crash log ``` # Blender 2.82 (sub 7), Unknown revision # backtrace blender(BLI_system_backtrace+0x33) [0x563e281a10b3] blender(+0x13e4dc6) [0x563e25bbbdc6] /lib/x86_64-linux-gnu/libc.so.6(+0x3b800) [0x7f532422c800] /usr/lib/x86_64-linux-gnu/libswscale.so.5(+0x74e6a) [0x7f5324a48e6a] ``` **Exact steps for others to reproduce the error** - Open blender - Browse (Shift-F1) to a folder containing a video - Change the display mode to "Thumbnails" - Blender crashes
Author

Added subscriber: @me-2

Added subscriber: @me-2

#79282 was marked as duplicate of this issue

#79282 was marked as duplicate of this issue

#79079 was marked as duplicate of this issue

#79079 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Can not reproduce this on windows. Can you check if this happens with portable build? https://builder.blender.org/download/

Also by VSE files you mean video files or .blend files with VSE projects?

Can not reproduce this on windows. Can you check if this happens with portable build? https://builder.blender.org/download/ Also by VSE files you mean video files or .blend files with VSE projects?
Author

Hello,

It doesn't crash with the latest build. Thanks.

By .blend VSE files I mean blender VSE projects.
The crash happens when Blender tries to display a video (avi, mp4…) thumbnail in the file browser. Almost all my VSE projects have a file browser in the layout, which must cause the crash.

In the meantime, it there a way I can disable thumbnails? Or open projects with an empty workspace?

Thanks.

Hello, It doesn't crash with the latest build. Thanks. By .blend VSE files I mean blender VSE projects. The crash happens when Blender tries to display a video (avi, mp4…) thumbnail in the file browser. Almost all my VSE projects have a file browser in the layout, which must cause the crash. In the meantime, it there a way I can disable thumbnails? Or open projects with an empty workspace? Thanks.

You can change filebrowser to not display thumbnails this and save startup file.

I asked to check wih daily build, because crash occured in /usr/lib/x86_64-linux-gnu/libswscale.so.5 so this looks that there may be some problem in your system with this library. I am not sure what could be the issue, perhaps some application has overwritten this file with own that has some features missing? I am really just guessing now. That said, this may be a problem with package created by distro maintainers.

Perhaps you could also try to install via snap store?

You can change filebrowser to not display thumbnails this and save startup file. I asked to check wih daily build, because crash occured in `/usr/lib/x86_64-linux-gnu/libswscale.so.5` so this looks that there may be some problem in your system with this library. I am not sure what could be the issue, perhaps some application has overwritten this file with own that has some features missing? I am really just guessing now. That said, this may be a problem with package created by distro maintainers. Perhaps you could also try to install via snap store?
Author

Hello,

Changing the startup file doesn't help when loading existing projects does it? Or maybe I'm missing something.

I tried reinstalling libswscale just in case but it didn't help. Upgrading to the latest version in Debian Sid didn't help either.

Hello, Changing the startup file doesn't help when loading existing projects does it? Or maybe I'm missing something. I tried reinstalling libswscale just in case but it didn't help. Upgrading to the latest version in Debian Sid didn't help either.

Added subscriber: @Sergey

Added subscriber: @Sergey

In #78867#979071, @me-2 wrote:
Changing the startup file doesn't help when loading existing projects does it? Or maybe I'm missing something.

That is true, it won't help there.

@Sergey any idea what is the issue here?

> In #78867#979071, @me-2 wrote: > Changing the startup file doesn't help when loading existing projects does it? Or maybe I'm missing something. That is true, it won't help there. @Sergey any idea what is the issue here?

Official Blender version do not use any system libraries other than X11 and OpenGL. They definitely do not use system-wide FFmpeg libraries (libswscale.so is part of FFmpeg).

We can only fix issues which we can reproduce with official builds from blender.org websites, and we do need exact files to reproduce the issue.

So:

  • Make sure issue happens with builds from blender.org / builder.blender.org
  • If the crash does happen with those builds, give an example of video file which makes thumbnails to crash
  • If some specific .blend file is needed for the crash, attach it as well
Official Blender version do not use any system libraries other than X11 and OpenGL. They definitely do not use system-wide FFmpeg libraries (`libswscale.so` is part of FFmpeg). We can only fix issues which we can reproduce with official builds from blender.org websites, and we do need exact files to reproduce the issue. So: - Make sure issue happens with builds from blender.org / builder.blender.org - If the crash does happen with those builds, give an example of video file which makes thumbnails to crash - If some specific .blend file is needed for the crash, attach it as well

Added subscriber: @CGx

Added subscriber: @CGx

Exact same problem in my machine. system-info.txt

System Information
Operating system: Arch Linux
Graphics card: RTX 2070 Super

Exact same problem in my machine. [system-info.txt](https://archive.blender.org/developer/F8698524/system-info.txt) System Information Operating system: Arch Linux Graphics card: RTX 2070 Super

Please test with official builds from blender.org/builder.blender.org.
If the issue happens with the official builds, follow the bug report guidelines.

If the issue does not happen with the official builds, contact maintainer of Blender package in your Linux distribution.

Please test with official builds from blender.org/builder.blender.org. If the issue happens with the official builds, follow the bug report guidelines. If the issue does not happen with the official builds, contact maintainer of Blender package in your Linux distribution.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Richard Antalik self-assigned this 2020-07-17 01:41:00 +02:00

I will close this report as this did not happen with official build

I will close this report as this did not happen with official build
Note: could be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964802

This issue was referenced by 53b98de260

This issue was referenced by 53b98de26030574ae2ecdaac5e33b37acb5444e2

This issue was referenced by 6778ef4dcc

This issue was referenced by 6778ef4dcc6e8d92e3b2ec9b9ecaf1e54e5bf7b5

Added subscriber: @OrakMoya

Added subscriber: @OrakMoya

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'

In #78867#980007, @Sergey wrote:
Please test with official builds from blender.org/builder.blender.org.
If the issue happens with the official builds, follow the bug report guidelines.

If the issue does not happen with the official builds, contact maintainer of Blender package in your Linux distribution.

The official builds work fine.
I am using them for the time being.

Thank you very much for your help!

> In #78867#980007, @Sergey wrote: > Please test with official builds from blender.org/builder.blender.org. > If the issue happens with the official builds, follow the bug report guidelines. > > If the issue does not happen with the official builds, contact maintainer of Blender package in your Linux distribution. The official builds work fine. I am using them for the time being. Thank you very much for your help!

Added subscriber: @zegkljan

Added subscriber: @zegkljan
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#78867
No description provided.