Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906130 - x11-wm/xpra-4.3.4 frequently crashes with dev-libs/glib-2.76.2
Summary: x11-wm/xpra-4.3.4 frequently crashes with dev-libs/glib-2.76.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major with 1 vote (vote)
Assignee: Benda Xu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 901805
  Show dependency tree
 
Reported: 2023-05-11 09:20 UTC by Manuel Mommertz
Modified: 2023-09-13 03:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Mommertz 2023-05-11 09:20:08 UTC
Closing and sometimes opening windows in xpra leads to a segfault in libgobject:

xpra: segfault at 8ea ip 00007fda2a10544d sp 00007ffd5d0be288 error 4 in libgobject-2.0.so.0.7600.2[7fda2a0db000+33000] likely on CPU 4 (core 2, socket 0)

Problem appears since stabilization of glib-2.76. I suspect a relation to change in memory management as tracked in bug #901805.

See also bug at xpra project: https://github.com/Xpra-org/xpra/issues/3822

Reproducible: Sometimes

Steps to Reproduce:
1. start xpra-server
2. connect to it
3. open/close windows
Actual Results:  
Often this leads to an segfault, resulting in server-crash.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-13 05:02:49 UTC
Thanks, I've commented on the upstream issue at https://github.com/Xpra-org/xpra/issues/3822#issuecomment-1546528426 with a hint on how to reproduce.
Comment 2 James Le Cuirot gentoo-dev 2023-05-14 09:39:53 UTC
I've now disabled x265 after upstream suggested it. Is that enough to fix this? I used to use this daily, but I've stopped now.
Comment 3 Manuel Mommertz 2023-05-15 06:19:17 UTC
(In reply to James Le Cuirot from comment #2)
> I've now disabled x265 after upstream suggested it. Is that enough to fix
> this? I used to use this daily, but I've stopped now.

No, this does not change it. But as I read totaam's response, he just responded to the uninitialized reads, without meaning to connect this to the issue here.

Nonetheless, if upstream does not consider x265 stable, it is a good idea to disable it by default, I think.

Thanks for your support, James!
Comment 4 Larry the Git Cow gentoo-dev 2023-05-23 20:26:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d42e5ed3c698a6bb9c987c84ebf0b647cb4c399

commit 5d42e5ed3c698a6bb9c987c84ebf0b647cb4c399
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-05-23 20:25:17 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-05-23 20:26:01 +0000

    x11-wm/xpra: Bump to 4.4.5, drop old 4.4.4
    
    Bug: https://bugs.gentoo.org/906130
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 x11-wm/xpra/Manifest                                 | 2 +-
 x11-wm/xpra/{xpra-4.4.4.ebuild => xpra-4.4.5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 5 Manuel Mommertz 2023-05-24 07:17:53 UTC
Just for the record: 4.4.5 fixes the crashes for me.

Thank you to all the people involved, making the OS-community such a nice place to be. :)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-13 03:29:58 UTC
Thus closing.