Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834785 - =media-libs/gmmlib-22.0.3 causes crashes in various applications, e.g. vainfo, electron apps
Summary: =media-libs/gmmlib-22.0.3 causes crashes in various applications, e.g. vainfo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-08 12:57 UTC by Hanno Böck
Modified: 2022-03-08 18:38 UTC (History)
3 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 Hanno Böck gentoo-dev 2022-03-08 12:57:51 UTC
I noticed multiple electron apps (slack, signal) reporting crashes. While the applications still started, they were nonfunctional. According to dmesg these crashes happen in libigdgmm.so.12.0.0, which belongs to gmmlib:
[ 6695.004271] signal-desktop[10699]: segfault at 300000200 ip 00007fa4a8c1805f sp 00007ffe245aa220 error 4 in libigdgmm.so.12.0.0[7fa4a8bb2000+74000]

The crashes can also be reproduced by simply running vainfo.

I tried downgrading gmmlib to 22.0.2 and the crashes disappear, thus this is likely an issue within 22.0.3.

My time is currently very limited so I can't debug this further, but opening this bug to make maintainers aware and hopefully other people with this issue will find it.
Comment 1 Karlson2k 2022-03-08 15:50:08 UTC
I think the proper fix would be new subslot for gmmlib.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-08 18:38:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03291e3303596b36a1c1d595450a8ccc7afdce79

commit 03291e3303596b36a1c1d595450a8ccc7afdce79
Author:     Karlson2k (Evgeny Grin) <k2k@narod.ru>
AuthorDate: 2022-03-08 16:04:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-08 18:38:19 +0000

    media-libs/gmmlib: added new subslot
    
    While gmmlib version 2.0.3 has not introduced new so-name, it is
    required to rebuild dependent packages as otherwise they are
    crashing.
    
    Closes: https://bugs.gentoo.org/834634
    Closes: https://bugs.gentoo.org/834785
    Bug: https://bugs.gentoo.org/834734
    Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
    Closes: https://github.com/gentoo/gentoo/pull/24453
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/gmmlib/{gmmlib-22.0.3.ebuild => gmmlib-22.0.3-r1.ebuild} | 5 ++++-
 media-libs/gmmlib/gmmlib-9999.ebuild                                | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)