MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.87k stars 536 forks source link

Acousticbrainz music extractor static binary doesn't work on some versions of debian #565

Open alastair opened 7 years ago

alastair commented 7 years ago

Reported here: https://community.metabrainz.org/t/streaming-extractor-music-linux-needs-updating/193548

Copy of discussion:

I ran abzsubmit this morning (which failed), and just traced down some kernel messages to it:

Jan 12 11:24:30 Zia kernel: streaming_extra[12244] vsyscall attempted with vsyscall=none ip:ffffffffff600000 cs:33 sp:7ffda545bf78 ax:ffffffffff600000 si:0 di:7ffda545bfa0
Jan 12 11:24:30 Zia kernel: streaming_extra[12244]: segfault at ffffffffff600000 ip ffffffffff600000 sp 00007ffda545bf78 error 15
Jan 12 11:24:31 Zia kernel: streaming_extra[12259] vsyscall attempted with vsyscall=none ip:ffffffffff600000 cs:33 sp:7ffcc9119348 ax:ffffffffff600000 si:0 di:7ffcc9119370
Jan 12 11:24:31 Zia kernel: streaming_extra[12259]: segfault at ffffffffff600000 ip ffffffffff600000 sp 00007ffcc9119348 error 15

That's streaming_extractor_music apparently still using the old x86_64 vsyscall interface, which Debian has disabled (for security reasons) in it's 4.8 kernel. That leaves the program completely broken. That's currently just in testing/unstable, but will be part of the next stable release due out this spring.

[edit: looking into it further, Debian has reverted the change for Stretch, but will bring it back for Stretch+1. So not as urgent.]

moba commented 6 years ago

The x64 build of essentia-extractor-v2.1_beta2 segfaults consistently for me on Debian buster (the current testing release). The 32bit one works.

Process step: Read metadata
Process step: Compute md5 audio hash and codec
Process step: Replay gain
Process step: Compute audio features
[1]    2595 segmentation fault  streaming_extractor_music  test
Freso commented 5 years ago

This should maybe be added to the "new extractor" (or 2.1?) milestone so you don't forget about it? :)