[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-05-04 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=472453

--- Comment #13 from Yaroslav Sidlovsky  ---
(In reply to ian+bugs.kde.org from comment #12)
> Thought I'd check again after some other KDE updates, but still getting
> similar results:
> Garuda linux 
> 6.6.29-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 27 Apr 2024 18:43:45 + x86_64
> GNU/Linux
> krfb-virtualmonitor 24.02.2
> [any other info required? please ask!]
> 
> ___
> > krfb-virtualmonitor --resolution 1024x768 --name ipad --password ipad 
> > --port 5900 --scale 1
> kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
> new client request
> kf.notifications: No event config could be found for event id
> "UserAcceptsConnection" under notifyrc file for app "krfb-virtualmonitor"
> /usr/include/c++/13.2.1/optional:477: constexpr _Tp&
> std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = PipeWireCursor; _Dp
> = std::_Optional_base]: Assertion
> 'this->_M_is_engaged()' failed.
> fish: Job 1, 'krfb-virtualmonitor --resolutio…' terminated by signal SIGABRT
> (Abort)
> ___
> 
> A concurrently running journalctl -f:
> 
> May 03 16:20:02 Garuda krfb-virtualmonitor[1728159]: Libgcrypt warning:
> missing initialization - please fix the application
> May 03 16:20:02 Garuda system[1]: Started Process Core Dump (PID 1729279/UID
> 0).
> May 03 16:20:02 Garuda systemd-coredump[1729280]: [] Process 1728159
> (krfb-virtualmon) of user 1000 dumped core.
> 
> Stack trace of thread 1728159:
> #0  0x7a63b7aab32c n/a (libc.so.6 + 0x8d32c)
> #1  0x7a63b7a5a6c8 raise (libc.so.6 + 0x3c6c8)
> #2  0x7a63b7a424b8 abort (libc.so.6 + 0x244b8)
> #3  0x7a63b7cd1d42 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6
> + 0xd1d42)
> #4  0x7a63b0578e9c n/a (pw.so + 0x8e9c)
> #5  0x5bed95a59309 n/a (krfb-virtualmonitor + 0x13309)
> #6  0x7a63b8197679 n/a (libQt6Core.so.6 + 0x197679)
> #7  0x7a63b819cdf4 _ZN6QTimer10timerEventEP11QTimerEvent
> (libQt6Core.so.6 + 0x19cdf4)
> #8  0x7a63b81883f6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 +
> 0x1883f6)
> #9  0x7a63b90fbfcb
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
> (libQt6Widgets.so.6 + 0xfbfcb)
> #10 0x7a63b813db38
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
> 0x13db38)
> #11 0x7a63b82ab95d _ZN14QTimerInfoList14activateTimersEv
> (libQt6Core.so.6 + 0x2ab95d)
> #12 0x7a63b8385f8c n/a (libQt6Core.so.6 + 0x385f8c)
> #13 0x7a63b7175199 n/a (libglib-2.0.so.0 + 0x5a199)
> #14 0x7a63b71d43bf n/a (libglib-2.0.so.0 + 0xb93bf)
> #15 0x7a63b7174712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
> #16 0x7a63b8383e64
> _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEvents
> FlagEE (libQt6Core.so.6 + 0x383e64)
> #17 0x7a63b8145cce _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
> (libQt6Core.so.6 + 0x145cce)
> #18 0x7a63b8141738 _ZN16QCoreApplication4execEv (libQt6Core.so.6 +
> 0x141738)
> #19 0x5bed95a4e0ad n/a (krfb-virtualmonitor + 0x80ad)
> #20 0x7a63b7a43cd0 n/a (libc.so.6 + 0x25cd0)
> #21 0x7a63b7a43d8a __libc_start_main (libc.so.6 + 0x25d8a)
> #22 0x5bed95a4ed75 n/a (krfb-virtualmonitor + 0x8d75)
> 
> Stack trace of thread 1728177:
> #0  0x7a63b7b26e86 epoll_wait (libc.so.6 + 0x108e86)
> #1  0x7a63ab6b9cf9 n/a (libspa-support.so + 0x14cf9)
> #2  0x7a63ab6ab58d n/a (libspa-support.so + 0x658d)
> #3  0x7a639bf60162 n/a (libpipewire-0.3.so.0 + 0x1c162)
> #4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
> #5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)
> 
> Stack trace of thread 1728183:
> #0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
> #1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
> #2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
> #3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
> #4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
> #5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)
> 
> Stack trace of thread 1728165:
> #0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
> #1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
> #2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
> #3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
> #4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
> #5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)
> 
> Stack trace of thread 1728184:
> #0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
> #1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
> #2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
> #3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
> #4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
> #5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)
> 
> Stack trace of thread 1728161:
> #0  0x7a63b7b190df __poll (libc.so.6 + 0xfb0df)
> #1  0x7a63b361dce8 n/a (libQt6WaylandClient.so.6 + 0x64ce8)
> #2  0x7a63b82add73 n/a (libQt6Core.so.6 + 0x2add73)
> #3  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=472453

ian+bugs.kde@strataconnect.net changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|FIXED   |---
 Ever confirmed|1   |0

--- Comment #12 from ian+bugs.kde@strataconnect.net ---
Thought I'd check again after some other KDE updates, but still getting similar
results:
Garuda linux 
6.6.29-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 27 Apr 2024 18:43:45 + x86_64
GNU/Linux
krfb-virtualmonitor 24.02.2
[any other info required? please ask!]

___
> krfb-virtualmonitor --resolution 1024x768 --name ipad --password ipad --port 
> 5900 --scale 1
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
new client request
kf.notifications: No event config could be found for event id
"UserAcceptsConnection" under notifyrc file for app "krfb-virtualmonitor"
/usr/include/c++/13.2.1/optional:477: constexpr _Tp&
std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = PipeWireCursor; _Dp =
std::_Optional_base]: Assertion
'this->_M_is_engaged()' failed.
fish: Job 1, 'krfb-virtualmonitor --resolutio…' terminated by signal SIGABRT
(Abort)
___

A concurrently running journalctl -f:

May 03 16:20:02 Garuda krfb-virtualmonitor[1728159]: Libgcrypt warning: missing
initialization - please fix the application
May 03 16:20:02 Garuda system[1]: Started Process Core Dump (PID 1729279/UID
0).
May 03 16:20:02 Garuda systemd-coredump[1729280]: [] Process 1728159
(krfb-virtualmon) of user 1000 dumped core.

Stack trace of thread 1728159:
#0  0x7a63b7aab32c n/a (libc.so.6 + 0x8d32c)
#1  0x7a63b7a5a6c8 raise (libc.so.6 + 0x3c6c8)
#2  0x7a63b7a424b8 abort (libc.so.6 + 0x244b8)
#3  0x7a63b7cd1d42 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6 +
0xd1d42)
#4  0x7a63b0578e9c n/a (pw.so + 0x8e9c)
#5  0x5bed95a59309 n/a (krfb-virtualmonitor + 0x13309)
#6  0x7a63b8197679 n/a (libQt6Core.so.6 + 0x197679)
#7  0x7a63b819cdf4 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 +
0x19cdf4)
#8  0x7a63b81883f6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1883f6)
#9  0x7a63b90fbfcb
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0xfbfcb)
#10 0x7a63b813db38 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
(libQt6Core.so.6 + 0x13db38)
#11 0x7a63b82ab95d _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 +
0x2ab95d)
#12 0x7a63b8385f8c n/a (libQt6Core.so.6 + 0x385f8c)
#13 0x7a63b7175199 n/a (libglib-2.0.so.0 + 0x5a199)
#14 0x7a63b71d43bf n/a (libglib-2.0.so.0 + 0xb93bf)
#15 0x7a63b7174712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
#16 0x7a63b8383e64
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x383e64)
#17 0x7a63b8145cce _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x145cce)
#18 0x7a63b8141738 _ZN16QCoreApplication4execEv (libQt6Core.so.6 +
0x141738)
#19 0x5bed95a4e0ad n/a (krfb-virtualmonitor + 0x80ad)
#20 0x7a63b7a43cd0 n/a (libc.so.6 + 0x25cd0)
#21 0x7a63b7a43d8a __libc_start_main (libc.so.6 + 0x25d8a)
#22 0x5bed95a4ed75 n/a (krfb-virtualmonitor + 0x8d75)

Stack trace of thread 1728177:
#0  0x7a63b7b26e86 epoll_wait (libc.so.6 + 0x108e86)
#1  0x7a63ab6b9cf9 n/a (libspa-support.so + 0x14cf9)
#2  0x7a63ab6ab58d n/a (libspa-support.so + 0x658d)
#3  0x7a639bf60162 n/a (libpipewire-0.3.so.0 + 0x1c162)
#4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
#5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 1728183:
#0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
#1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
#3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
#4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
#5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 1728165:
#0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
#1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
#3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
#4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
#5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 1728184:
#0  0x7a63b7aa5ebe n/a (libc.so.6 + 0x87ebe)
#1  0x7a63b7aa8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2  0x7a63a94863fc n/a (radeonsi_dri.so + 0x863fc)
#3  0x7a63a949ec2c n/a (radeonsi_dri.so + 0x9ec2c)
#4  0x7a63b7aa955a n/a (libc.so.6 + 0x8b55a)
#5  0x7a63b7b26a5c n/a (libc.so.6 + 0x108a5c)

Stack trace of thread 1728161:
#0  0x7a63b7b190df __poll (libc.so.6 + 0xfb0df)
#1  0x7a63b361dce8 n/a (libQt6WaylandClient.so.6 + 0x64ce8)
#2  

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-22 Thread Alexey Min
https://bugs.kde.org/show_bug.cgi?id=472453

Alexey Min  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw
   |ork/krfb/-/commit/6e7a5ba56 |ork/krfb/-/commit/d2f4b34fc
   |966ea1b67400be9ab7c82885abb |bfb75ae76cca7792dd3fb66c163
   |76be|51fc

--- Comment #11 from Alexey Min  ---
Git commit d2f4b34fcbfb75ae76cca7792dd3fb66c16351fc by Alexey Minnekhanov, on
behalf of Yaroslav Sidlovsky.
Committed on 22/04/2024 at 16:46.
Pushed by alexeymin into branch 'release/24.05'.

Fixed crash calling PWFrameBuffer::cursorPosition()

Return default QPoint when `d->cursor` is not set.

M  +6-1framebuffers/pipewire/pw_framebuffer.cpp

https://invent.kde.org/network/krfb/-/commit/d2f4b34fcbfb75ae76cca7792dd3fb66c16351fc

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-22 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=472453

Yaroslav Sidlovsky  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/netw
   ||ork/krfb/-/commit/6e7a5ba56
   ||966ea1b67400be9ab7c82885abb
   ||76be

--- Comment #10 from Yaroslav Sidlovsky  ---
Git commit 6e7a5ba56966ea1b67400be9ab7c82885abb76be by Yaroslav Sidlovsky.
Committed on 22/04/2024 at 14:06.
Pushed by alexeymin into branch 'master'.

Fixed crash calling PWFrameBuffer::cursorPosition()

Return default QPoint when `d->cursor` is not set.

M  +6-1framebuffers/pipewire/pw_framebuffer.cpp

https://invent.kde.org/network/krfb/-/commit/6e7a5ba56966ea1b67400be9ab7c82885abb76be

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-22 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=472453

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #9 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/krfb/-/merge_requests/66

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-21 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=472453

--- Comment #8 from Fabian Arndt  ---
@Yaroslav Sidlovsky - Would you mind to commit the patch on GitLab?
I think it will be missed here.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-20 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=472453

--- Comment #7 from Yaroslav Sidlovsky  ---
Created attachment 168711
  --> https://bugs.kde.org/attachment.cgi?id=168711=edit
krfb-fix-crash.patch

Simple fix for this crash, works for me.
d->cursor is std::optional and it can be unset in time of calling
PWFrameBuffer::cursorPosition().

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-04-19 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=472453

Fabian Arndt  changed:

   What|Removed |Added

 CC||fabian.ar...@root-core.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-31 Thread Karel Matějovský
https://bugs.kde.org/show_bug.cgi?id=472453

Karel Matějovský  changed:

   What|Removed |Added

 CC||kodzghl...@gmail.com

--- Comment #6 from Karel Matějovský  ---
I can confirm that this is still happening even on my system. The result
matches the mentioned observations

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=472453

ian+bugs.kde@strataconnect.net changed:

   What|Removed |Added

 CC||ian+bugs.kde.org@strataconn
   ||ect.net

--- Comment #5 from ian+bugs.kde@strataconnect.net ---
[Copied from https://bugs.kde.org/show_bug.cgi?id=470996]
Now that it doesn't crash "automatically" any more.

I'm using remote ripple on an ipad to test the vnc connection (image quality
normal, encoding I tried Raw and ZRLE so far)

> krfb-virtualmonitor --resolution 1024x768 --name [name] --password [password] 
> --port 5900 --scale 1


I can see the new "display" in the display configuration (with the correct
dimensions and everything - win!)
I try to connect with the ipad and I"m prompted for the password as expected.
As soon as I complete authentication, krfb-virtualmonitor crashes:

Output:
=
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
new client request
kf.notifications: No event config could be found for event id
"UserAcceptsConnection" under notifyrc file for app "krfb-virtualmonitor"
/usr/include/c++/13.2.1/optional:477: constexpr _Tp&
std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = PipeWireCursor; _Dp =
std::_Optional_base]: Assertion
'this->_M_is_engaged()' failed.
fish: Job 1, 'krfb-virtualmonitor --resolutio…' terminated by signal SIGABRT
(Abort)
==
and the ipad returns that the connection was shut down "gracefully"

Happy to do additional tests to assist with debugging (I'll need detailed
instructions/commandlines)
System details:
Garuda Linux (updated about 20 min ago)
Kernel 6.8.2-AMD-znver3
krfb-virtualmonitor 24.02.1
plasmashell 6.0.3

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-30 Thread Antti Savolainen
https://bugs.kde.org/show_bug.cgi?id=472453

Antti Savolainen  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-30 Thread Antti Savolainen
https://bugs.kde.org/show_bug.cgi?id=472453

Antti Savolainen  changed:

   What|Removed |Added

 CC||antti.s...@gmail.com

--- Comment #4 from Antti Savolainen  ---
Created attachment 167942
  --> https://bugs.kde.org/attachment.cgi?id=167942=edit
backtrace

Can confirm this. Krfb-virtualmonitor no longer crashes when opening it nor
does it crash plasmashell but this persists.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-12 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=472453

Nicolas Fella  changed:

   What|Removed |Added

 CC||jpwhit...@kde.org

--- Comment #3 from Nicolas Fella  ---
*** Bug 483355 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-12 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=472453

Nicolas Fella  changed:

   What|Removed |Added

 CC||al...@zenfolie.org

--- Comment #2 from Nicolas Fella  ---
*** Bug 482767 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[krfb] [Bug 472453] krfb asserts in PWFrameBuffer::cursorPosition

2024-03-12 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=472453

Nicolas Fella  changed:

   What|Removed |Added

Summary|krfb-virtualmonitor asserts |krfb asserts in
   |when a client connects  |PWFrameBuffer::cursorPositi
   ||on
 CC||nicolas.fe...@gmx.de

-- 
You are receiving this mail because:
You are watching all bug changes.