KDAB / hotspot

The Linux perf GUI for performance analysis.
4.16k stars 257 forks source link

[com.kdab.kddockwidgets] [error] Couldn't find dock widget frequency #575

Closed JoJoDeveloping closed 10 months ago

JoJoDeveloping commented 11 months ago

Describe the bug Hi all, I've been trying to compile hotspot locally (using Arch Linux). I think I have installed all dependency (see bonus bugs below), and the app builds, but it fails to start. Instead, there are a few error messages, and then it immediately segfaults:

]$ ./bin/hotspot 
kf.coreaddons: "Could not find plugin konsolepart"
[2023-12-15 17:18:19.277] [com.kdab.kddockwidgets] [error] Couldn't find dock widget name=frequency
[2023-12-15 17:18:19.277] [com.kdab.kddockwidgets] [error] Couldn't find dock widget frequency
Segmentation fault (core dumped)

I assume that I am missing some dependency. But which?

To Reproduce Steps to reproduce the behavior:

  1. Install Arch Linux
  2. Install the dependencies 2.1 Try to install the dependencies listed here: https://github.com/KDAB/hotspot/blob/master/HACKING.md#arch-linux 2.2 Notice that this command is completely wrong, since the listed packages simply do not exist 2.3 Instead install all dependencies listed here: https://aur.archlinux.org/packages/hotspot
  3. mkdir make_dir; cd make_dir; cmake ../; make
  4. ./bin/hotspot
  5. Observe the segfault

Expected behavior The app should not segfault immediately. I think it is supposed to show a window.

Version Info (please complete the following information):

Additional context

Bonus bug 1: The steps for compiling on Arch Linux specify dependencies that do not exist. See https://github.com/KDAB/hotspot/blob/master/HACKING.md#arch-linux