[KRdp] [Bug 488362] New: Quitting the server from its tray icon sometimes makes it crash

Nate Graham bugzilla_noreply at kde.org
Tue Jun 11 16:24:47 BST 2024


https://bugs.kde.org/show_bug.cgi?id=488362

            Bug ID: 488362
           Summary: Quitting the server from its tray icon sometimes makes
                    it crash
    Classification: Frameworks and Libraries
           Product: KRdp
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: nate at kde.org
                CC: ahiemstra at heimr.nl
  Target Milestone: ---

Unfortunately I was not able to reproduce this issue, but once among the many
times I quit the server from its System Tray icon, it crashed instead of
quitting cleanly.

Backtrace:

#0  0x00007f20016a5919 in __futex_abstimed_wait_common64
    (private=0, futex_word=0x7f1fb8008750, expected=0, op=393, abstime=0x0,
cancel=true)
    at futex-internal.c:57
#1  __futex_abstimed_wait_common
    (futex_word=futex_word at entry=0x7f1fb8008750, expected=expected at entry=0,
clockid=clockid at entry=0, abstime=abstime at entry=0x0, private=private at entry=0,
cancel=cancel at entry=true) at futex-internal.c:87
#2  0x00007f20016a599f in __GI___futex_abstimed_wait_cancelable64
    (futex_word=futex_word at entry=0x7f1fb8008750, expected=expected at entry=0,
clockid=clockid at entry=0, abstime=abstime at entry=0x0, private=private at entry=0) at
futex-internal.c:139
#3  0x00007f20016a82e9 in __pthread_cond_wait_common
    (cond=0x7f1fb8008728, mutex=<optimized out>, clockid=0, abstime=0x0) at
pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7f1fb8008728, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x00007f2001f5c38b in QWaitConditionPrivate::wait (this=0x7f1fb8008700,
deadline=...)
    at
/usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait
    (this=this at entry=0x7f1fdc017b98, mutex=mutex at entry=0x7f1fdc017b78,
deadline=...)
    at
/usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x00007f2001f4f8e1 in QThread::wait (this=<optimized out>, deadline=...)
    at
/usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:775
#8  0x00007f20037db6d8 in PipeWireBaseEncodedStream::refresh
(this=this at entry=0x16d5950)
    at /usr/include/qt6/QtCore/qdeadlinetimer.h:31
#9  0x00007f20037db94e in PipeWireBaseEncodedStream::setActive
    (this=0x16d5950, active=active at entry=false)
    at /home/nate/kde/src/kpipewire/src/pipewirebaseencodedstream.cpp:148
#10 0x00007f2003f2713d in KRdp::AbstractSession::~AbstractSession
    (this=0x180c360, __in_chrg=<optimized out>) at
/usr/include/c++/14/bits/unique_ptr.h:454
#11 0x00007f2003f30479 in KRdp::PortalSession::~PortalSession
    (this=0x180c360, __in_chrg=<optimized out>) at
/home/nate/kde/src/krdp/src/PortalSession.cpp:122
#12 0x0000000000408d09 in
std::default_delete<KRdp::AbstractSession>::operator()
    (this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/14/bits/unique_ptr.h:87
#13 std::unique_ptr<KRdp::AbstractSession,
std::default_delete<KRdp::AbstractSession> >::~unique_ptr
    (this=0x181ec40, __in_chrg=<optimized out>) at
/usr/include/c++/14/bits/unique_ptr.h:398
#14 SessionWrapper::~SessionWrapper (this=0x181ec30, __in_chrg=<optimized out>)
    at /home/nate/kde/src/krdp/server/SessionController.cpp:19
#15 SessionWrapper::~SessionWrapper (this=0x181ec30, __in_chrg=<optimized out>)
    at /home/nate/kde/src/krdp/server/SessionController.cpp:19
#16 0x00000000004084de in std::default_delete<SessionWrapper>::operator()
    (this=<optimized out>, __ptr=<optimized out>) at
/usr/include/c++/14/bits/unique_ptr.h:87
#17 std::unique_ptr<SessionWrapper, std::default_delete<SessionWrapper>
>::~unique_ptr
    (this=0x180bfe8, __in_chrg=<optimized out>) at
/usr/include/c++/14/bits/unique_ptr.h:398
#18 std::destroy_at<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> > >
    (__location=0x180bfe8) at /usr/include/c++/14/bits/stl_construct.h:88
#19 std::_Destroy<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> > >
    (__pointer=0x180bfe8) at /usr/include/c++/14/bits/stl_construct.h:149
#20 std::_Destroy_aux<false>::__destroy<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> >*> (__first=0x180bfe8, __last=0x180bff0)
at /usr/include/c++/14/bits/stl_construct.h:163
#21 std::_Destroy<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> >*>
    (__first=<optimized out>, __last=0x180bff0) at
/usr/include/c++/14/bits/stl_construct.h:196
#22 std::_Destroy<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> >*, std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> > >
    (__first=<optimized out>, __last=0x180bff0) at
/usr/include/c++/14/bits/alloc_traits.h:944
#23 std::vector<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> >,
std::allocator<std::unique_ptr<SessionWrapper,
std::default_delete<SessionWrapper> > > >::~vector
    (this=0x7ffd886eaf90, __in_chrg=<optimized out>) at
/usr/include/c++/14/bits/stl_vector.h:735
#24 SessionController::~SessionController (this=this at entry=0x7ffd886eaf60,
__in_chrg=<optimized out>)
    at /home/nate/kde/src/krdp/server/SessionController.cpp:119
#25 0x0000000000407056 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/nate/kde/src/krdp/server/main.cpp:114

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list