Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860804 - dev-libs/mxml-3.3: breaks media-sound/rosegarden-22.06 (crashes on startup)
Summary: dev-libs/mxml-3.3: breaks media-sound/rosegarden-22.06 (crashes on startup)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: PATCH
Depends on: 861035
Blocks:
  Show dependency tree
 
Reported: 2022-07-24 22:07 UTC by Porcupine of the Moon
Modified: 2022-07-26 04:16 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 Porcupine of the Moon 2022-07-24 22:07:38 UTC
media-sound/rosegarden-22.06 crashes on startup after scanning ladspa plugins.

Message:

"GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Das Argument ist ungültig.  Aborting."

In English: "Das Argument ist ungültig" means "Invalid agrument."

When starting rosegarden with the key --nosound, the crash does not occur.

I think this might be the same bug as reported on Fedora.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=2089032

They figured it is related to a bug in "dev-libs/mxml-3.3".

However, according to the dependency graph on gentoo, rosegarden does not seem to depend directly on mxml. Thus, it must be one of the shared libraries:

 * dependency graph for media-sound/rosegarden-22.06
 `--  media-sound/rosegarden-22.06  amd64 
   `--  dev-qt/qtcore-5.15.5-r1  (dev-qt/qtcore) amd64 
   `--  dev-qt/qtgui-5.15.5  (dev-qt/qtgui) amd64 
   `--  dev-qt/qtnetwork-5.15.5  (dev-qt/qtnetwork) amd64 
   `--  dev-qt/qtprintsupport-5.15.5  (dev-qt/qtprintsupport) amd64 
   `--  dev-qt/qtwidgets-5.15.5  (dev-qt/qtwidgets) amd64 
   `--  dev-qt/qtxml-5.15.5  (dev-qt/qtxml) amd64 
   `--  media-libs/alsa-lib-1.2.6.1  (media-libs/alsa-lib) amd64 
   `--  media-libs/dssi-1.1.1-r1  (>=media-libs/dssi-1.0.0) amd64 
   `--  media-libs/ladspa-sdk-1.17-r1  (media-libs/ladspa-sdk) amd64 
   `--  media-libs/liblo-0.31  (media-libs/liblo) ~amd64 
   `--  media-libs/liblrdf-0.6.1-r1  (media-libs/liblrdf) amd64 
   `--  media-libs/libsamplerate-0.2.2  (media-libs/libsamplerate) amd64 
   `--  media-libs/libsndfile-1.1.0-r1  (media-libs/libsndfile) amd64 
   `--  sci-libs/fftw-3.3.10  (sci-libs/fftw) amd64 
   `--  sys-libs/zlib-1.2.12-r2  (sys-libs/zlib) amd64 
   `--  virtual/jack-2  (virtual/jack) amd64 
   `--  x11-libs/libSM-1.2.3-r1  (x11-libs/libSM) amd64 
   `--  app-misc/lirc-0.10.1_p7  (app-misc/lirc) amd64 
   `--  dev-qt/qttest-5.15.5  (dev-qt/qttest) amd64 
   `--  dev-qt/linguist-tools-5.15.5  (dev-qt/linguist-tools) amd64 
   `--  virtual/pkgconfig-2-r1  (virtual/pkgconfig) amd64 
   `--  dev-util/ninja-1.10.2-r1  (>=dev-util/ninja-1.8.2) amd64 
   `--  dev-util/cmake-3.22.4  (>=dev-util/cmake-3.20.5) amd64 
   `--  x11-base/xorg-server-21.1.4  (x11-base/xorg-server) amd64  [xvfb]
   `--  x11-apps/xhost-1.0.8  (x11-apps/xhost) amd64 


Further, a downgrade to "media-sound/rosegarden-21.12" did not solve the issue for me.

But after unmerging media-sound/zynaddsubfx-3.0.6 (depending on dev-libs/mxml-3.3) , which provides the zynaddsubfx-dssi plugin, rosegarden starts without crash, which seems to support the theory from the fedora bug tracker.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 22:13:00 UTC
Please try applying the following patches to mxml via /etc/portage/patches:
1. https://github.com/michaelrsweet/mxml/commit/6785ee4357b24b247e61cbdf1e9332080e3959eb.patch
2. https://github.com/michaelrsweet/mxml/commit/d32818a16ceb352b8889f95ec7ff65575ad2e4f2.patch

Thanks.
Comment 2 Porcupine of the Moon 2022-07-25 09:11:00 UTC
(In reply to Sam James from comment #1)
> Please try applying the following patches to mxml via /etc/portage/patches:
> 1.
> https://github.com/michaelrsweet/mxml/commit/
> 6785ee4357b24b247e61cbdf1e9332080e3959eb.patch
> 2.
> https://github.com/michaelrsweet/mxml/commit/
> d32818a16ceb352b8889f95ec7ff65575ad2e4f2.patch
> 
> Thanks.

Rosegarden does start without crash after applying these two patches to dev-libs/mxml-3.3.
Comment 3 Conrad Kostecki gentoo-dev 2022-07-25 09:38:07 UTC
(In reply to Sam James from comment #1)
> Please try applying the following patches to mxml via /etc/portage/patches:
> 1.
> https://github.com/michaelrsweet/mxml/commit/
> 6785ee4357b24b247e61cbdf1e9332080e3959eb.patch
> 2.
> https://github.com/michaelrsweet/mxml/commit/
> d32818a16ceb352b8889f95ec7ff65575ad2e4f2.patch
> 
> Thanks.

Upstream says: Please let me know whether this fixes the reported issue, then I'll put out a bug fix release (3.3.1).

https://github.com/michaelrsweet/mxml/issues/293
Comment 4 Larry the Git Cow gentoo-dev 2022-07-25 14:07:43 UTC
The bug has been referenced in the following commit(s):

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

commit b14db46f1a2f1408adc645882f2452232eb81f2d
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-25 14:06:53 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-25 14:07:04 +0000

    dev-libs/mxml: add 3.3.1
    
    Bug: https://bugs.gentoo.org/860804
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/mxml/Manifest          |  1 +
 dev-libs/mxml/mxml-3.3.1.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-07-25 18:23:54 UTC
The bug has been closed via the following commit(s):

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

commit db8e8b8a716d4032b5414e2e1530b8525bba7e31
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-25 18:23:25 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-25 18:23:25 +0000

    dev-libs/mxml: amd64 stable
    
    Closes: https://bugs.gentoo.org/860804
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/mxml/mxml-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit c04f002186dd472ad4b66c9b47b541a81750954e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-25 18:22:45 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-25 18:22:45 +0000

    dev-libs/mxml: x86 stable
    
    Bug: https://bugs.gentoo.org/860804
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/mxml/mxml-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)