Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873508 - media-video/makemkv-1.17.1 crashes after upgrade to glibc-2.36
Summary: media-video/makemkv-1.17.1 crashes after upgrade to glibc-2.36
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: James Le Cuirot
URL: https://sourceware.org/git/?p=glibc.g...
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-09-29 17:42 UTC by Christian Apeltauer
Modified: 2022-11-02 21:45 UTC (History)
4 users (show)

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


Attachments
backtrace (gdb.log,8.25 KB, text/x-log)
2022-09-29 17:44 UTC, Christian Apeltauer
Details
emerge --info makemkv (gdb.log,8.25 KB, text/x-log)
2022-09-29 17:45 UTC, Christian Apeltauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2022-09-29 17:42:55 UTC
After upgrading to sys-libs/glibc-2.36-r3 media-video/makemmkv-1.17.1 crashes during start up phase while searching for disc drives. The crashes happens independently of whether a disc is inserted or not.

Reproducible: Always

Steps to Reproduce:
1. Start makemkv
2.
3.
Comment 1 Christian Apeltauer 2022-09-29 17:44:35 UTC
Created attachment 814714 [details]
backtrace
Comment 2 Christian Apeltauer 2022-09-29 17:45:51 UTC
Created attachment 814717 [details]
emerge --info makemkv
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-29 22:54:24 UTC
I think we need to know why the program it pipes to suddenly dies.
Comment 4 James Le Cuirot gentoo-dev 2022-10-01 16:34:52 UTC
I bisected glibc and it's caused by efa7936e4c91b1c260d03614bb26858fbb8a0204:
dlsym: Make RTLD_NEXT prefer default version definition [BZ #14932]

I've posted this information upstream.
Comment 5 Larry the Git Cow gentoo-dev 2022-10-02 20:29:10 UTC
The bug has been referenced in the following commit(s):

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

commit c1fe0f501af09acaf1acbbbfce1e7bf528b90d57
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2022-10-02 20:28:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-10-02 20:28:35 +0000

    media-video/makemkv: Broken with glibc 2.36 so prevent upgraded
    
    Obviously users who have already upgraded cannot downgrade, but at least we can
    help the ones who haven't upgraded yet.
    
    Bug: https://bugs.gentoo.org/873508
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-video/makemkv/makemkv-1.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 devsk 2022-10-06 07:10:50 UTC
Is the makemkv upstream aware of this issue with latest glibc? Where is the ball right now?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-06 09:55:30 UTC
(In reply to devsk from comment #6)
> Is the makemkv upstream aware of this issue with latest glibc? Where is the
> ball right now?

Chewi said "I'll send this information upstream"
Comment 8 James Le Cuirot gentoo-dev 2022-10-06 11:59:37 UTC
Arch users have been complaining about it since early August, but I've only just pointed out what the cause is. Unfortunately, upstream have not said anything about it this whole time.

https://forum.makemkv.com/forum/viewtopic.php?f=3&t=28856
Comment 9 devsk 2022-10-06 20:06:15 UTC
Isn't it a better solution to revert that commit in glibc and release a new glibc-rX ebuild instead of forcing a glibc downgrade?

Every world update I do now is trying to force the glibc downgrade.
Comment 10 James Le Cuirot gentoo-dev 2022-10-06 20:41:16 UTC
No, we're not going to change glibc's behaviour just for this. I think you'll only see a glibc downgrade if MakeMKV has an update pending, which is unlikely since it was last bumped in July. You can avoid the downgrade by passing --exclude=media-video/makemkv to emerge.

Bear in mind that we *may* have to remove MakeMKV from Gentoo soon for a completely different reason anyway, but I don't want to say more about that until we have more information.
Comment 11 devsk 2022-10-07 04:26:25 UTC
Nothing seems to be broken with glibc-2.35 (where that commit is not there, of course).

But yes, if you have other reasons to take makemkv out of portage, it probably does not deserve such a huge favor.
Comment 12 Larry the Git Cow gentoo-dev 2022-10-12 20:23:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e57bd10ca6176ce2eda405817925ba54f087f0a

commit 0e57bd10ca6176ce2eda405817925ba54f087f0a
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2022-10-12 20:23:30 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-10-12 20:23:30 +0000

    media-video/makemkv: Bump to 1.17.2, drop old 1.17.1
    
    Fixes the crash seen against glibc 2.36.
    
    Closes: https://bugs.gentoo.org/873508
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-video/makemkv/Manifest                                         | 4 ++--
 media-video/makemkv/{makemkv-1.17.1.ebuild => makemkv-1.17.2.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)