Bug 498148 - Crashes on launch
Summary: Crashes on launch
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 1.2.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-02 10:51 UTC by Paul Worrall
Modified: 2025-03-12 18:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrace (111.36 KB, text/plain)
2025-01-02 10:51 UTC, Paul Worrall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2025-01-02 10:51:12 UTC
Created attachment 177035 [details]
Backtrace

Haruna segfaults every time I try to launch it. 

KDE crash report tool does not appear,  attached backtrace obtained using gdb.

SYSTEM:
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.9.0
Kernel Version: 6.12.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD CEDAR
Comment 1 george fb 2025-01-02 11:14:07 UTC
Try the flatpak version. Also the latest version 
```
flatpak uninstall org.kde.haruna
flatpak install --user --or-update https://cdn.kde.org/flatpak/kde-runtime-nightly/org.kde.Platform.flatpakref
flatpak install --user --or-update https://cdn.kde.org/flatpak/haruna-nightly/org.kde.haruna.flatpakref
```.
Comment 2 Paul Worrall 2025-01-02 11:42:14 UTC
I uninstalled the Arch package and installed the flatpak following the instructions above.  Also rebooted.
Haruna still segfaults every time.
Comment 3 nethshanperis 2025-01-04 14:00:07 UTC
can confirm haruna crashes for me too (flatpak). a current workaround is to force xwayland.
Comment 4 george fb 2025-01-08 12:46:59 UTC
I tested on EndeavourOS and it runs just fine https://imgur.com/OkHcYHV

Could be a driver issues like this one https://bugs.kde.org/show_bug.cgi?id=458078#c14
Comment 5 nethshanperis 2025-01-08 13:34:51 UTC
(In reply to george fb from comment #4)
> I tested on EndeavourOS and it runs just fine https://imgur.com/OkHcYHV
> 
> Could be a driver issues like this one
> https://bugs.kde.org/show_bug.cgi?id=458078#c14

i disagree. i have the same issue on integrated intel arc graphics (meteor lake). not sure if it segfaults but haruna just refuses to open no matter what on wayland.
Comment 6 george fb 2025-01-08 22:13:15 UTC
I tried on 3 systems and all run fine.

AMD 6600 gpu on openSUSE TW
Nvidia 630 gpu on endeavourOS
Intel 2500K integrated gpu on endeavourOS

All on Wayland.
Comment 7 nethshanperis 2025-01-09 04:52:46 UTC
(In reply to george fb from comment #6)
> I tried on 3 systems and all run fine.
> 
> AMD 6600 gpu on openSUSE TW
> Nvidia 630 gpu on endeavourOS
> Intel 2500K integrated gpu on endeavourOS
> 
> All on Wayland.

have you tried immutable oses like aurora ublue/fedora kinoite? im currently on one and that maybe worth considering.
Comment 8 John Kizer 2025-01-13 20:34:36 UTC
For what it's worth, I cannot reproduce on a Fedora KDE 41 physical device with NVIDIA graphics, or on a KDE Neon VM.
Comment 9 nethshanperis 2025-01-17 08:14:47 UTC
Hello. After digging a little deep i noticed that celluloid, another gtk mpv client, also faces a similar issue. I found this in mesa (https://gitlab.freedesktop.org/mesa/mesa/-/issues/9922) and a more recent github issue on it as well (https://github.com/celluloid-player/celluloid/issues/901). The latter issue mentions that mesa 23.3 fixes it. 

Both these issues point to the same as what i have faced. So it is possible that this might not just be a Haruna only issue but mpv itself. However, after installing mpv through flatpak on wayland, i did not encounter this. Is this an issue with the GNOME and KDE runtimes then?
Comment 10 nethshanperis 2025-01-17 08:30:39 UTC
> a more recent github issue on it as well (https://github.com/celluloid-player/celluloid/issues/901). The latter issue mentions that mesa 23.3 fixes it. 

This was in 2023 my bad.
Comment 11 Paul Worrall 2025-03-12 18:10:54 UTC
Now runs OK:

Haruna 1.3.3 (Arch packaged version)
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.13.0
Kernel Version: 6.13.6-arch1-1 (64-bit)
(Otherwise the same as original report)

Not recorded on original report:
mpv v0.39.0
ffmpeg n7.1
yt-dlp 2025.02.19