[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-06-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=500577

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|6.4 |6.4.0

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-06-03 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=500577

David Redondo  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/xdg-desktop-portal-kde/- |ma/xdg-desktop-portal-kde/-
   |/commit/13a19d1db5562d45477 |/commit/011d08c340bab468eec
   |c6fa2cb53c3f40d7c60ed   |6aa347ae138e40c6332cf

--- Comment #8 from David Redondo  ---
Git commit 011d08c340bab468eec6aa347ae138e40c6332cf by David Redondo.
Committed on 03/06/2025 at 10:10.
Pushed by davidre into branch 'Plasma/6.4'.

screencast: Guard against session closing while creating stream

Starting a stream runs an event loop during which the session can
be closed. For now use a QPointer to guard against that until
we make it not use an event loop anymore.
FIXED-IN:6.4


(cherry picked from commit 13a19d1db5562d45477c6fa2cb53c3f40d7c60ed)

Co-authored-by: David Redondo 

M  +5-0src/screencast.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/011d08c340bab468eec6aa347ae138e40c6332cf

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-06-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=500577

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/396

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-06-03 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=500577

David Redondo  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/xdg-desktop-portal-kde/-
   ||/commit/13a19d1db5562d45477
   ||c6fa2cb53c3f40d7c60ed
   Version Fixed In||6.4
 Status|ASSIGNED|RESOLVED

--- Comment #7 from David Redondo  ---
Git commit 13a19d1db5562d45477c6fa2cb53c3f40d7c60ed by David Redondo.
Committed on 03/06/2025 at 09:34.
Pushed by davidre into branch 'master'.

screencast: Guard against session closing while creating stream

Starting a stream runs an event loop during which the session can
be closed. For now use a QPointer to guard against that until
we make it not use an event loop anymore.
FIXED-IN:6.4

M  +5-0src/screencast.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/13a19d1db5562d45477c6fa2cb53c3f40d7c60ed

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=500577

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-23 Thread postix
https://bugs.kde.org/show_bug.cgi?id=500577

--- Comment #5 from postix  ---
^ some additional note: The window preview in OBS was frozen, when/after the
crashed happened, thus I had to remove and add it again.

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-23 Thread postix
https://bugs.kde.org/show_bug.cgi?id=500577

postix  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #4 from postix  ---
Can confirm on 

Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.7-301.fc42.x86_64 (64-bit)
Graphics Platform: Wayland

Crash happened for me after I've added a Firefox 138 Wayland window for
capturing in OBS Studio 31.0.3

Here's my stacktrace:

```
(gdb) bt
#0  __pthread_kill_implementation (threadid=,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x7fb39ac811e3 in __pthread_kill_internal (threadid=,
signo=11) at pthread_kill.c:89
#2  0x7fb39ac27afe in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x7fb39de25ef1 in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kf6-kcrash-6.14.0-1.fc42.x86_64/src/kcrash.cpp:605
#4  0x7fb39ac27c30 in  () at /lib64/libc.so.6
#5  0x in ??? ()
#6  0x7fb39b353809 in QObjectPrivate::connectImpl
(sender=sender@entry=0x55b10fabf0e0, signal_index=,
receiver=receiver@entry=0x55b10f9f81c0, slot=slot@entry=0x7ffeb00fcad0,
slotObjRaw=slotObjRaw@entry=0x55b10fbd4ab0, type=,
types=, senderMetaObject=) at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:5332
#7  0x7fb39b353b10 in QObject::connectImpl
(sender=sender@entry=0x55b10fabf0e0, signal=signal@entry=0x7ffeb00fcaf0,
receiver=receiver@entry=0x55b10f9f81c0, slot=slot@entry=0x7ffeb00fcad0,
slotObjRaw=0x55b10fbd4ab0, type=Qt::AutoConnection, types=0x0,
senderMetaObject=) at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:5244
#8  0x55b0e10ad70e in QObject::connect
(type=Qt::AutoConnection, sender=0x55b10fabf0e0, signal=(void
(ScreencastingStream::*)(class ScreencastingStream * const)) 0x55b0e10318f0
, context=0x55b10f9f81c0, slot=@0x7ffeb00fcad0:
(void (ScreenCastSession::*)(class ScreenCastSession * const)) 0x55b0e10a96c0
)
at /usr/include/qt6/QtCore/qobject.h:272
#9  ScreenCastSession::setStreams (this=0x55b10f9f81c0, streams=) at
/usr/src/debug/xdg-desktop-portal-kde-6.3.5-1.fc42.x86_64/src/session.cpp:309
#10 0x55b0e10a5950 in ScreenCastPortal::Start
(this=, handle=, session_handle=, app_id=..., parent_window=, options=,
results=...)
at
/usr/src/debug/xdg-desktop-portal-kde-6.3.5-1.fc42.x86_64/src/screencast.cpp:335
#11 0x55b0e1033565 in ScreenCastPortal::qt_static_metacall
(_o=_o@entry=0x55b10f5eb610, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=2, _a=_a@entry=0x7ffeb00fd0d8)
at
/usr/src/debug/xdg-desktop-portal-kde-6.3.5-1.fc42.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:147
#12 0x55b0e10374e7 in ScreenCastPortal::qt_metacall (this=0x55b10f5eb610,
_c=, _id=2, _a=0x7ffeb00fd0d8)
at
/usr/src/debug/xdg-desktop-portal-kde-6.3.5-1.fc42.x86_64/redhat-linux-build/src/xdg-desktop-portal-kde_autogen/EWIEGA46WW/moc_screencast.cpp:212
#13 0x7fb39b95b9f6 in QDBusConnectionPrivate::deliverCall
(this=this@entry=0x7fb380001690, object=object@entry=0x55b10f5eb610, msg=...,
metaTypes=, slotIdx=6)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusintegrator.cpp:1007
#14 0x7fb39b95f8cd in QDBusConnectionPrivate::activateCall
(this=this@entry=0x7fb380001690, object=0x55b10f5eb610, flags=...,
flags@entry=..., msg=...)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusintegrator.cpp:916
#15 0x7fb39b960600 in QDBusConnectionPrivate::activateObject
(this=0x7fb380001690, node=..., msg=..., pathStartPos=)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusintegrator.cpp:1484
#16 0x7fb39b9637ca in QDBusActivateObjectEvent::placeMetaCall
(this=0x7fb380033100) at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusintegrator.cpp:1604
#17 0x7fb39b350fec in QObject::event (this=, e=) at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qobject.cpp:1431
#18 0x7fb39c43d7af in QApplicationPrivate::notify_helper (this=, receiver=0x55b10f5f1fa0, e=0x7fb380033100)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3301
#19 0x7fb39b2f5fa8 in QCoreApplication::notifyInternal2
(receiver=0x55b10f5f1fa0, event=0x7fb380033100)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#20 0x7fb39b2f620d in QCoreApplication::sendEvent (receiver=, event=)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1546
#21 0x7fb39b2f9cd6 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55b10f1fc7c0)
at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1879
#22 

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-22 Thread Julian Pollak
https://bugs.kde.org/show_bug.cgi?id=500577

--- Comment #3 from Julian Pollak  ---
As in #504099, this only happens to me on teams.microsoft.com in Chromium 136
(but there might be more versions affected). Other sites, like
jitbit.com/screensharing/ work perfectly fine with the same browser and same OS
setup.

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-19 Thread Julian Pollak
https://bugs.kde.org/show_bug.cgi?id=500577

--- Comment #2 from Julian Pollak  ---
*** Bug 504099 has been marked as a duplicate of this bug. ***

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-15 Thread comio
https://bugs.kde.org/show_bug.cgi?id=500577

comio  changed:

   What|Removed |Added

 CC||luigi.mantellini+kde@gmail.
   ||com

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-05-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=500577

Nate Graham  changed:

   What|Removed |Added

 CC||bugs.kde.org.distress617@pa
   ||ssmail.net

--- Comment #1 from Nate Graham  ---
*** Bug 504099 has been marked as a duplicate of this bug. ***

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-02-24 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=500577

Harald Sitter  changed:

   What|Removed |Added

 CC||[email protected]
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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

[xdg-desktop-portal-kde] [Bug 500577] xdg-desktop-portal-kde crashes in ScreenCastSession::setStreams()

2025-02-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=500577

Nate Graham  changed:

   What|Removed |Added

Summary|Crash in|xdg-desktop-portal-kde
   |xdg-desktop-portal-kde  |crashes in
   ||ScreenCastSession::setStrea
   ||ms()
 CC||[email protected]

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