Bug 485704 - Haruna is likely to crash at startup after using other vulkan apps
Summary: Haruna is likely to crash at startup after using other vulkan apps
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 1.0.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 22:41 UTC by Antares0982
Modified: 2024-04-17 23:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antares0982 2024-04-17 22:41:50 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Haruna is likely to crash after using other apps (possibly google-chrome)

STEPS TO REPRODUCE
1. Use google-chrome for a while
2. Open haruna, it will not show up

OBSERVED RESULT
Starting haruna using cmdline

```
haruna a.mp4
```

crashes at start up

```
haruna: symbol lookup error: /nix/store/xyakg9mfdkvw2rjaa7nl5d8cb1sf27s7-mpv-with-scripts-0.37.0/lib/libmpv.so.2: undefined symbol: vkCreateXlibSurfaceKHR
```

solution:

```
LD_PRELOAD=/nix/store/3biyl1c3s7cqmdsjcx395vrybi1ha4kp-vulkan-loader-1.3.280.0/lib/libvulkan.so.1 haruna a.mp4
```

If use

```
LD_PRELOAD=/nix/store/9npqlq1q4632gwl65ips413r3s9hhkc4-google-chrome-123.0.6312.105/share/google/chrome/libvulkan.so.1 haruna a.mp4
```

haruna also crashes with same error.

EXPECTED RESULT
Open normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux nixos 6.8.5 (NixOS 24.05pre610435.1042fd8b148a)
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION