Bug 499432

Summary: On Wayland, Kdenlive crashes at startup if globalmenu is active
Product: [Applications] kdenlive Reporter: Guido <guido.iodice>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED UPSTREAM    
Severity: crash CC: fritzibaby, guido.iodice, nicolas.fella
Priority: NOR Keywords: triaged
Version First Reported In: 24.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Guido 2025-02-03 00:24:19 UTC
With globalmenu:

kdenlive
ladspa_dsp: error: no config files found
ladspa_dsp: error: no config files found
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  28
  Current serial number in output stream:  28
KCrash: Application 'kdenlive' crashing... crashRecursionCounter = 2
libpng error: Read Error
KCrash: Application Name = kdenlive path = /usr/bin pid = 33987
KCrash: Arguments: /usr/bin/kdenlive 
KCrash: Attempting to start /usr/lib/drkonqi
fish: Job 1, 'kdenlive' has stopped

Without global menu or KDE_NO_GLOBAL_MENU=1 it starts
Comment 1 Guido 2025-02-03 00:42:41 UTC
this happens only on wayland
Comment 2 Nicolas Fella 2025-02-03 21:57:29 UTC
Please follow the bugreport template, in particular please add your software versions and distribution.

Then please follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports to obtain a backtrace for the crash and paste it here

Thanks!
Comment 3 Guido 2025-02-04 11:08:48 UTC
(In reply to Nicolas Fella from comment #2)
> Please follow the bugreport template, in particular please add your software
> versions and distribution.
> 
> Then please follow
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports to obtain a backtrace for the crash and
> paste it here
> 
> Thanks!

Thanks for the attention but I don't have the time to do complicated debugging, I use Wayland sporadically just to see how it runs (not as well as I would like). You can easily reproduce the bug yourself, if it doesn't occur on your machine it may be a problem with my configuration, but I doubt it. In any case thanks for KDENlive, it's great software.
Comment 4 emohr 2025-02-06 18:59:45 UTC
Please try with the current Kdenlive AppImage version 24.12.1 to see if there are any packaging issues https://kdenlive.org/en/download/
Comment 5 Guido 2025-02-06 20:43:08 UTC
I had already tried it, the Appimage uses xcb not wayland and therefore does not give the problem
Comment 6 Jean-Baptiste Mardelle 2025-02-06 20:50:23 UTC
Are you talking about the KDE Plasma widget "Global menu" ? 
I just tested and it works for me (Wayland / KDE Frameworks 6.10)
Comment 7 Guido 2025-02-06 20:53:36 UTC
(In reply to Jean-Baptiste Mardelle from comment #6)
> Are you talking about the KDE Plasma widget "Global menu" ? 
> I just tested and it works for me (Wayland / KDE Frameworks 6.10)

Yes, I mean that widget.

Very strange, I don't think I have any special configurations. Also, I tried it on a different user and it still didn't work
Comment 8 Bug Janitor Service 2025-02-21 03:46:48 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2025-03-08 03:52:26 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 10 Guido 2025-06-26 18:49:59 UTC
The bug is still there in 25.04.2.
If I can help by providing more information, I will gladly do so.

Among them, the problem occurs not only if I activate the global menu in the Plasma panel, but also if I put the AppMenu in the decoration. It seems to search for X even if Wayland is the session. It is the only QT application I know with this problem.
Comment 11 Guido 2025-07-14 18:13:07 UTC
For some strange reason, the problem was VDPAU_DRIVER=va_gl

I have no idea why it only occurs when I add the global menu.