Mocp is core dumping

Trying to run mocp ends with:

*** buffer overflow detected ***: terminated
                                            [1]    317011 IOT instruction (core dumped)  mocp

The result of coredumpctl is:

           PID: 317011 (mocp)
           UID: 1000 
           GID: 1001
        Signal: 6 (ABRT)
     Timestamp: Thu 2022-03-24 08:34:12 CET (2min 0s ago)
  Command Line: mocp
    Executable: /usr/bin/mocp
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/vte-spawn-1054674f-670a-4179-b20a-f5a2360bd56b.scope
          Unit: user@1000.service
     User Unit: vte-spawn-1054674f-670a-4179-b20a-f5a2360bd56b.scope
         Slice: user-1000.slice
     Owner UID: 1000 
       Boot ID: fa14125fd5fd459dbf527dc7fbd5a514
    Machine ID: 3ced07dd1d454063a9d13e788a1af883
       Storage: /var/lib/systemd/coredump/core.mocp.1000.fa14125fd5fd459dbf527dc7fbd5a514.317011.1648107252000000.zst (present)
     Disk Size: 1.0M
       Message: Process 317011 (mocp) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id 34c0ea075a5642c584dd6db5b229d5fb28564ebb
                Module libwavpack.so.1 with build-id 1ac2a2b6c0943a3b2b4bde94e6bec88e97b9f54f
                Module libwavpack_decoder.so with build-id e0b161eb2ec2c3c8827993a9d5509e90c77a79c3
                Module libvorbisfile.so.3 with build-id 45d2551167a616d448beb033ba49394831992887
                Module libvorbis_decoder.so with build-id 1191f5924e3098fb3b25f2862cc4c2ca4cb2ab4a
                Module libspeex_decoder.so with build-id e1cf5f54f8c6d3b647ed8364e5033e1598737289
                Module libsndfile.so.1 with build-id 72d5531e74ed3e9afe49e95e449c40cb8984a258
                Module libsndfile_decoder.so with build-id bf9bacac9833150dee52be870947ac5a32dc23eb
                Module libtag.so.1 with build-id a0120d53322aad9f647bf5ed623fd3402023b631
                Module libtag_c.so.0 with build-id 94b1989f0f022a2862fd72ff66f23ddfab7a11b9
                Module libmpcdec.so.6 with build-id 0794d516f1da996f22be7c54da384c6a6365d34e
                Module libmusepack_decoder.so with build-id 2153b4109fa25c2fbc520d861c26dfc50e5edb12
                Module CP1250.so with build-id 56e901c05701c240fd2e31ab565c6b484b4974f7
                Module libmad.so.0 with build-id 9ce3fef26f9bcd9cb386e7147c02875b0e45f79e
                Module libmp3_decoder.so with build-id 848e056dea78cddbb06fcaf718d3b8fa3f9ff841
                Module libmodplug_decoder.so with build-id 566114f1d41e3e39f27988e3fb29b36ba4eecbb9
                Module libFLAC.so.8 with build-id d3c01b1bab8e878ff3928ba64a5817506bad1aa6
                Module libflac_decoder.so with build-id 3dbdf158dde3e0cd4e799f5bdd15b23abaec2653
                Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
                Module libblkid.so.1 with build-id 9e4bb910a2e63ba71cae0e3b89c07fdd45033ff2
                Module libicudata.so.70 with build-id e1dcc2a88cfaafed882d09c90c668af0eed4efed
                Module libexpat.so.1 with build-id a05c64fe82308a309e7653685c94ce71735f8a1a
                Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
                Module libfribidi.so.0 with build-id 79124bad061c2aab4ec89f25d067363d5b781114
                Module libharfbuzz.so.0 with build-id ee57ebbf2c33ad97fd7ee7327cf63f419548e64e
                Module libpangoft2-1.0.so.0 with build-id edad121a4bf12166e3c0e7ab0ec4c2e26c3b0195
                Module libmount.so.1 with build-id 765508fe9812e693ac41fd3d0aedd65d7a78b287
                Module libtiff.so.5 with build-id e8d89a0fb0847641ddb75c5f03fa89d68155a75d
                Module libjpeg.so.8 with build-id 324d9d66f01707241e31af5cc104db3c9122f4c4
                Module libgmodule-2.0.so.0 with build-id 0f0921c3ff98f0afe7fafbb123581acec5f7de29
                Module libgomp.so.1 with build-id 75d4bedf51d8d7bc41d78a1189d780a82c8ebaaf
                Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
                Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
                Module libhogweed.so.6 with build-id 2d70cff7b1841b4d9ca4e8e7726cd4b944c07fdc
                Module libnettle.so.8 with build-id 9a878e513c02007598fcf1e2e286c2203f13536e
                Module libtasn1.so.6 with build-id ee3429ca5e94718aea4fe5249fc859e0cd88e4e9
                Module libp11-kit.so.0 with build-id cc372ea3c28c4d3dfc633b4d2e933c8584d2af16
                Module libicuuc.so.70 with build-id 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
                Module libmvec.so.1 with build-id 760a099552c4783b979e942bf839c2bbc5ff603d
                Module libogg.so.0 with build-id ca0cae30a809f10db1f16e54a23b4e5ff7b2c54c
                Module libpixman-1.so.0 with build-id 341f793dcada3a48a306a793d265a517e3f2e7d6
                Module libxcb-shm.so.0 with build-id fb797f299a446f559a95afcc168227482cc800d1
                Module libxcb-render.so.0 with build-id a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
                Module libXrender.so.1 with build-id 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
                Module libfreetype.so.6 with build-id 26c5f833068ff72660d1975cbc2074c3eb47fad8
                Module libfontconfig.so.1 with build-id 9fdeb38479c4090d673efc2e8cb60176efe65da1
                Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
                Module libffi.so.8 with build-id f90d8b734f6de9b25faedb8cbfab7054dafc0a42
                Module libpango-1.0.so.0 with build-id c2b8d903e7052541c788edb3bc2a3736d2933752
                Module libpangocairo-1.0.so.0 with build-id 30063d7038a0c440744aee22ff7497b48e8b1c9b
                Module libgio-2.0.so.0 with build-id 8418b6a6a164774cde5db9d63d03911bb9823368
                Module libgdk_pixbuf-2.0.so.0 with build-id ca4beb15a30de8d8767f7bca8222038c61b58b36
                Module libcairo-gobject.so.2 with build-id abbf5a8a182ea1b8b7d68540df5c2e25c0bdae0c
                Module libsoxr.so.0 with build-id 9e49936ed807c1e52705b88d5d71706fe11d9ed1
                Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
                Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                Module libXext.so.6 with build-id d70f24beb4fad748d6becffdcc13e51be0a2ebfa
                Module libssh.so.4 with build-id 8490056688e60790230f9d990c439b181236e9b6
                Module libsrt.so.1.4 with build-id ad13eeb20e5ea3f04a0b089de1152ff89a9fa65c
                Module libgnutls.so.30 with build-id 50f3a52ba3db67b822fd5888790238eb548b64aa
                Module libgmp.so.10 with build-id e58d34ab389d1b649c24195c2d145e3ff2e58290
                Module libbluray.so.2 with build-id 3ed75b9f8aa64ee4707bbfcb986bcf289432d673
                Module libmodplug.so.1 with build-id b00dcb12e7d2d5882b4fa414295eba449875dae4
                Module libxml2.so.2 with build-id 34aa03d6fadb52a051964f0e50a977efaea9482e
                Module libxvidcore.so.4 with build-id 43bc390a7842a7ca3a0302e93442ea561d7f013a
                Module libx265.so.199 with build-id 4fd2d7155725df753c6b32274c442349fc05e632
                Module libx264.so.164 with build-id 1ebb8708f2101bd1c95b701142163133e8dac465
                Module libvorbisenc.so.2 with build-id 2b1ce7fcdcc925bc663ebe2c1c008c0dd96e5bd0
                Module libvorbis.so.0 with build-id f4e086347f6c1a66eb73cfe13974a29bd39aabca
                Module libtheoradec.so.1 with build-id 19d321fd5455c7b7611ca9602a804b496124e06f
                Module libtheoraenc.so.1 with build-id cde750f0621140f313e4ef4e5f212e662f24a38b
                Module libSvtAv1Enc.so.0 with build-id e9143f88be53d2aebfa4f9249295869f09e22be4
                Module libspeex.so.1 with build-id 39721dbe21b62978562c2943279f6dffbffe8946
                Module librav1e.so.0 with build-id 2e9e70e2433e4d2955a870f2de730172729fbe4f
                Module libopus.so.0 with build-id 35fafc4024675e9cfe57c7d50c3965eac6bac358
                Module libopenjp2.so.7 with build-id 0a329c12468c33c92ecbc3968f4dc9c79cc5db96
                Module libopencore-amrnb.so.0 with build-id a3d78948c85fa235e66549119b2f130e69af7b70
                Module libmp3lame.so.0 with build-id 48c901805551a3dd58d02502c4cd67f6aa848107
                Module libgsm.so.1 with build-id 1cc6240f7eaedaaac302bc7c0f64ebbeae596f22
                Module libaom.so.3 with build-id 3c057fe8c5fa7033366274352148acb4dbb42728
                Module libcairo.so.2 with build-id 06820af9cf79c2deb207d9533a61caf04e67a8ad
                Module libglib-2.0.so.0 with build-id 0fcc81d3dfd68bddbf63423156549fc66939e8ca
                Module libgobject-2.0.so.0 with build-id 1ab19051c262a2c995e86ea2b0af7e8ab70798f3
                Module librsvg-2.so.2 with build-id bf034c5fe1373578feb48cd2a459fd06197af5ff
                Module libopencore-amrwb.so.0 with build-id 28da8ed3dfca59280e835c46bd40da295dae99e2
                Module libdav1d.so.5 with build-id 82862181dbe48302fde94240f68e17fb6f9a03c7
                Module libwebp.so.7 with build-id 0add7a572705244ed810b7e722cce7da0dcfb62c
                Module libwebpmux.so.3 with build-id 4232d5263a45719ba12f58ed7d8cae3a0fc887de
                Module libvpx.so.7 with build-id 347ca2580a23a6da7347be245c72585415bfa8e2
                Module libswresample.so.3 with build-id d5611c5832017715a8404bd2703a16a1b9933535
                Module libmfx.so.1 with build-id d5b3fccbc5270caa7074598c8f108a2b3f5681e7
                Module libdrm.so.2 with build-id 00816f0a71c7e4e388c10db6245dbb9c031732a9
                Module libX11.so.6 with build-id 5ba5798d193c0065014b8c6252a0678671c8d478
                Module libvdpau.so.1 with build-id fccd021ff13c37ebf7144d184a3250624e086f52
                Module libva-x11.so.2 with build-id 61e734cd9bd8265d76a73698e94b891539801ec1
                Module libva.so.2 with build-id 7636f0d16fc8cb315f9274e487bd226d1236891e
                Module libva-drm.so.2 with build-id 7a02a127b38763e2ec9a2503f0ae4c3d57c20327
                Module libavformat.so.58 with build-id a7731af49d5004c33553da56ea4c81893de6f5bf
                Module libavcodec.so.58 with build-id 5d85767cd5be978f10e4e06efabf0d62de5dbbbd
                Module libavutil.so.56 with build-id f51e23b257f3c51881c1fafc553c3af2202eb105
                Module libffmpeg_decoder.so with build-id e90fdc0929c9d132c13516d7c6f90911006c7a83
                Module libfaad.so.2 with build-id 75e2ecdd670261f35855b77646f78d4e0e52b723
                Module libid3tag.so.0 with build-id d85400f3117db0f000f5b9f95c11a13cfb3f49a1
                Module libaac_decoder.so with build-id 677efd29f4ce98c5ce4c48b253c4914660057233
                Module libbrotlicommon.so.1 with build-id a4ba3f4b4571c8272343b621da812a6e24a202a7
                Module libresolv.so.2 with build-id 46ffdf3d477a170314060c26927470d7399bc900
                Module libkeyutils.so.1 with build-id ac405ddd17be10ce538da3211415ee50c8f8df79
                Module libkrb5support.so.0 with build-id adf65240a4d2aba772d7a0772b4d015469934113
                Module libcom_err.so.2 with build-id 358b783c9b3d12ba8248519ea2e7f3da4c4e0297
                Module libk5crypto.so.3 with build-id eb8220b8f36675aac769450be4cb6bb7f97ec38a
                Module libkrb5.so.3 with build-id 72d26767c5cb1097db75a5f5bff88860233c902b
                Module libunistring.so.2 with build-id 015ac6d6bcb60b7d8bea31a80d1941b06e8636ab
                Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
                Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
                Module librt.so.1 with build-id 4761858b348db8303e872e515aa8d56c046c921c
                Module libdb-5.3.so with build-id 9422fdf20e44ff3d5c58f76ef36be3432c6057c3
                Module libbrotlidec.so.1 with build-id 45defc036e918e0140a72f1fbce6e7692d38241d
                Module libzstd.so.1 with build-id 72f3511cba7db578f6a2647925f35664da6c838b
                Module libgssapi_krb5.so.2 with build-id e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08
                Module libcrypto.so.1.1 with build-id 4c926b672d97886b123e03a008387aecf0786de4
                Module libssl.so.1.1 with build-id 1024424ab33a3767da03f4fdb1fc1b02479f160f
                Module libpsl.so.5 with build-id 0229a201aaf5652186c9fdc192ebe52baf19d7f1
                Module libssh2.so.1 with build-id a4adfe44cc7ebd295b3b783361acc3dcfcea1d50
                Module libidn2.so.0 with build-id 1ce2b50ad9f9821c2c629b521cf5a3c99593d332
                Module libnghttp2.so.14 with build-id f2738fead8e6593084b4fb8756f460aa8cf5535a
                Module libz.so.1 with build-id 0c1459c56513efd5d53eb3868290e9afee6a6a26
                Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                Module liblzma.so.5 with build-id 8b615460aa230708c5183f16bede67aa0437d95e
                Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
                Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
                Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
                Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
                Module libjack.so.0 with build-id cd2c5ca3b195fe16a2cfcda1f5246ea2fc169b5a
                Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
                Module libltdl.so.7 with build-id 04a5ffeff80ecdfcb5f7ff2d889b5a3ecfb88d7c
                Module libcurl.so.4 with build-id b74b0c97ac5b8eb1cd1dea2bcf9289ea085933fe
                Module libsamplerate.so.0 with build-id e7eba744904f8220874bf5883c90c15b887e4deb
                Module libncursesw.so.6 with build-id 1f873ddb2c32ab39d0b7d8646d03680ffe99de7c
                Module libmagic.so.1 with build-id 529737064771391c29145e5e91a72f91ca4a5424
                Module libasound.so.2 with build-id b17fc1317a484842433c772360376623b64ec3d8
                Module mocp with build-id 7b8c3baa9df01555c00959de8bb4f868b1b59b7b
                Stack trace of thread 317011:
                #0  0x00007f3fec38e34c __pthread_kill_implementation (libc.so.6 + 0x8f34c)
                #1  0x00007f3fec3414b8 raise (libc.so.6 + 0x424b8)
                #2  0x00007f3fec32b534 abort (libc.so.6 + 0x2c534)
                #3  0x00007f3fec382397 __libc_message (libc.so.6 + 0x83397)
                #4  0x00007f3fec4212fa __fortify_fail (libc.so.6 + 0x1222fa)
                #5  0x00007f3fec41fc16 __chk_fail (libc.so.6 + 0x120c16)
                #6  0x00007f3fec420d39 __mbsrtowcs_chk (libc.so.6 + 0x121d39)
                #7  0x00005569934f4c64 n/a (mocp + 0x34c64)
                #8  0x00005569934f69d4 strwidth (mocp + 0x369d4)
                #9  0x00005569934eee03 n/a (mocp + 0x2ee03)
                #10 0x000055699350664a n/a (mocp + 0x4664a)
                #11 0x00005569934ee474 windows_init (mocp + 0x2e474)
                #12 0x00005569934e2d87 init_interface (mocp + 0x22d87)
                #13 0x00005569934ced89 main (mocp + 0xed89)
                #14 0x00007f3fec32c310 __libc_start_call_main (libc.so.6 + 0x2d310)
                #15 0x00007f3fec32c3c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
                #16 0x00005569934cf1e5 _start (mocp + 0xf1e5)
                ELF object binary architecture: AMD x86-64
1 Like

The last update of the package is from 2016q, so I guess there’s a mismatch between libraries.

I don’t have time now. Use translator and follow this solution:

I have the same problem

I tried it on linuxmint 20.03 and solus, and it works normal
only in manjaro-gnome gives me that mistake

Huh, nobody knows how to use translator :sweat_smile: Ok, english version:

  1. Clone package and cd into proper directory:
git clone -b packages/moc --single-branch https://github.com/archlinux/svntogit-packages
cd svntogit-packages/trunk
  1. Modify PKGBUILD from this directory in your favourite text editor and:
    2.1 in source add (keep quotes):
"glibc-2.35.patch::https://bugs.archlinux.org/task/74041?getfile=21255"

2.2 in prepare() function add:

patch -p0 -i ../glibc-2.35.patch # FS74041
  1. Build and install package (and omit checking checksums, otherwise will fail):
sudo makepkg -si --skipinteg

If you want to read more about this error, go here.

I think I’ll wait till they fix the package… For the time being, I’m gonna use Rhythmbox :frowning: