On Thu, 22 May 2025 18:22:28 +0200 Jan <bugreporter...@protonmail.ch> wrote:

Excerpt from the GDB session:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to show notification


#8  0x00005555555588a5 in 
usbguardNotifier::Notifier::sendDevicePresenceNotification 
(this=this@entry=0x7fffffffda40, info=...) at src/Notifier.cpp:176

Hello,
might this be a similar issue like in this bug [1].

The source is browsable in [2].
But more interesting would be why n.show() returns false,
e.g. which function is in [3] getting called?

There was also once a similar upstream bug reported,
unfortunately abandoned by the opener. [4]

I am not sure if source code should get automatically downloaded.
But one can also download it manually with `apt source usbguard-notifier`,
and telling gdb to use that directory with `directory 
/path/to/source/usbguard-notifier`.

Kind regards,
Bernhard


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028363

[2] 
https://sources.debian.org/src/usbguard-notifier/0.1.0-3/src/Notifier.cpp/#L176

[3] 
https://sources.debian.org/src/usbguard-notifier/0.1.0-3/src/NotifyWrapper.cpp/#L72

[4] https://github.com/Cropi/usbguard-notifier/issues/64

Reply via email to