NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.64k stars 338 forks source link

(bug): Natron Crash on render under Ubuntu 22.04 #958

Open DavidKmrs opened 6 months ago

DavidKmrs commented 6 months ago

Make sure to follow our issue report guidelines

Natron version

Natron 2.5.0

Operating system

Ubuntu 22.04

System specs

No response

Did you install Natron using the official installer?

Custom installation path

No response

What were you trying to do?

Hi,

When I want to export my project Natron crash everytime.

I tried Flatpak Version and and portable version from Natron's website. And have the same problem.

Here is the return from terminal.

I have another PC which is running under Xbuntu and the export is working fine, but it is old and I prefer use my recent PC.

Thanks for your help

What did you expect to happen? What happened instead?

david@david-ThinkStation-P360-Tower:~$ flatpak run fr.natron.Natron
Natron Version 2.5
(C) 2018-2022 The Natron developers
(C) 2013-2018 INRIA and Alexandre Gauthier-Foichat
>>>Use the --help or -h option to print usage.<<<
Qt: Session management error: Could not open network socket
Info: init.py script not loaded (this is not an error)
Info: initGui.py script not loaded (this is not an error)
libpng warning: iCCP: known incorrect sRGB profile
Loading project: /home/david/Kymris/clip-full-album/test.ntp.autosave
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  116
  Current serial number in output stream:  116
david@david-ThinkStation-P360-Tower:~$

Step-by-step reproduction instructions

  1. Start natron
  2. Open attached project
  3. Hit on render with write image
  4. Crash to desktop

Additional details

Crash dump

rodlie commented 6 months ago

Are you running Wayland? What graphics card and driver are you using?

Looks like an issue with Qt4 and OpenGL.


I run Natron on Ubuntu 22.04 myself and it works fine here, both the 2.5.0 release binary and RB-2.5 from source. I use X11 and Intel gfx.

DavidKmrs commented 6 months ago

Hi rodlie, thanks for your reply.

I made another test this morning, I start my ubuntu's sessions from X.org and it seem to work.

I will make another test with other graphical server.

The result of :

lspci -vnn | grep -A 12 '\[030[02]\]' | grep -Ei "vga|3d|display|kernel"

is

0000:00:02.0 VGA compatible controller [0300]: Intel Corporation AlderLake-S GT1 [8086:4680] (rev 0c) (prog-if 00 [VGA controller])
    Kernel driver in use: i915
    Kernel modules: i915

Edit : After working on my project all this morning, I have the same problem :

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  113
  Current serial number in output stream:  113
Caught segmentation fault (SIGSEGV) from thread Main(0x314db40), faulty address is 0x7f7e120b1b15 from 0
Backtrace:
[Frame 1]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x7c5) [0x7f7e120b1b15]
[Frame 2]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x7c5) [0x7f7e120b1b15]
[Frame 3]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtGui.so.4(+0x2d7226) [0x7f7e120d7226]
[Frame 4]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libglib-2.0.so.0(g_main_context_dispatch+0x24b) [0x7f7e113113cb]
[Frame 5]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libglib-2.0.so.0(+0x53648) [0x7f7e11311648]
[Frame 6]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7f7e113116ef]
[Frame 7]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x75) [0x7f7e119a8845]
[Frame 8]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtGui.so.4(+0x2d7397) [0x7f7e120d7397]
[Frame 9]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7f7e1197c94f]
[Frame 10]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x156) [0x7f7e1197cc36]
[Frame 11]: /home/david/Logiciels/Natron-2.5.0-Linux-x86_64-no-installer/bin/../lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x8a) [0x7f7e1198182a]
[Frame 12]: ./Natron() [0x5a7cad]
[Frame 13]: ./Natron() [0x97f385]
[Frame 14]: ./Natron() [0x591f50]
[Frame 15]: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f7e11029d90]
terminate called without an active exception

Wayland or X11 is the same issue.

I precise if it's important, the export seems to work correctly (range from 0 to 1500), but my entire project is 58560 frames.

Thx for your help