Public bug reported:

Installed with:

```
sudo apt install heaptrack-gui
```
(But the launchpad UI doesn't seem to recognize it)

This is what happens:

```
$ heaptrack_gui
QSocketNotifier: Can only be used with threads started with QThread
Must construct a QGuiApplication first.
QObject::connect: Cannot connect (nullptr)::cursorRectangleChanged() to 
QIBusPlatformInputContext::cursorRectChanged()
Segmentation fault
```

I suppose this is something to do with KDE/QT and XWayland (!?!?) -- the
internet is plagued by this "QSocketNotifier" Can only be used with
threads..." error, so it's not very helpful.

I also tried:

```
$ LIBGL_ALWAYS_SOFTWARE=1 QT_QUICK_BACKEND=software QT_QPA_PLATFORM=xcb 
heaptrack_gui
Segmentation fault
```

Finally, I installed the AppImage from
https://download.kde.org/stable/heaptrack/1.5.0/heaptrack-v1.5.0-x86_64.AppImage.
And that seems to work.

System: Ubuntu 25.10 / XWayland.

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: heaptrack 1.5.0+dfsg1-4ubuntu5
ProcVersionSignature: Ubuntu 6.17.0-7.7-generic 6.17.2
Uname: Linux 6.17.0-7-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec  9 12:14:43 2025
InstallationDate: Installed on 2023-07-05 (888 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
SourcePackage: heaptrack
UpgradeStatus: Upgraded to questing on 2025-10-10 (60 days ago)

** Affects: heaptrack (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug questing wayland-session

** Description changed:

  Installed with:
  
  ```
- sudo apt install heaptrack-ui
+ sudo apt install heaptrack-gui
  ```
  (But the launchpad UI doesn't seem to recognize it)
  
  This is what happens:
  
  ```
  $ heaptrack_gui
  QSocketNotifier: Can only be used with threads started with QThread
  Must construct a QGuiApplication first.
  QObject::connect: Cannot connect (nullptr)::cursorRectangleChanged() to 
QIBusPlatformInputContext::cursorRectChanged()
  Segmentation fault
  ```
  
  I suppose this is something to do with KDE/QT and XWayland (!?!?) -- the
  internet is plagued by this "QSocketNotifier" Can only be used with
  threads..." error, so it's not very helpful.
  
  I also tried:
  
  ```
  $ LIBGL_ALWAYS_SOFTWARE=1 QT_QUICK_BACKEND=software QT_QPA_PLATFORM=xcb 
heaptrack_gui
  Segmentation fault
  ```
  
  Finally, I installed the AppImage from
  
https://download.kde.org/stable/heaptrack/1.5.0/heaptrack-v1.5.0-x86_64.AppImage.
  And that seems to work.
  
- 
  System: Ubuntu 25.10 / XWayland.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: heaptrack 1.5.0+dfsg1-4ubuntu5
  ProcVersionSignature: Ubuntu 6.17.0-7.7-generic 6.17.2
  Uname: Linux 6.17.0-7-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Dec  9 12:14:43 2025
  InstallationDate: Installed on 2023-07-05 (888 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  SourcePackage: heaptrack
  UpgradeStatus: Upgraded to questing on 2025-10-10 (60 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2134463

Title:
  heaptrack-gui (heaptrack_gui) crashes at startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heaptrack/+bug/2134463/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to