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.84k stars 532 forks source link

Segfault in pre-compiled streaming_extractor_music binary on OSX #373

Open emiliagogu opened 8 years ago

emiliagogu commented 8 years ago

I have a segmentation fault of streaming_extractor_music for OSX Yosemite 10.10.5

Other precompiled binaries work.

alastair commented 8 years ago

Can you add some more feedback to this report? For example, it would be good to know:

Thanks

emiliagogu commented 8 years ago

Yes, sorry for that:

Thanks

dbogdanov commented 8 years ago

streaming_music_extractor fails on my new machine as well... testing now.

svarlamov commented 8 years ago

The precompiled version for OS X is failing for me on El Capitan as well - so not only a Yosemite issue - however the one that I compiled myself works fine

trostli commented 8 years ago

I can confirm I am having this issue as well with the precompiled version. I am running el capitan. Does not seem to happen with the streaming_music_freesound binary though.

dbogdanov commented 8 years ago

We'll confirm this issue after rebuilding the static extractors for the newest version of Essentia

ptrkstr commented 4 years ago

I've getting: Error: Segmentation fault: 11 Extractor: streaming_extractor_music Version: essentia-extractors-v2.1_beta2 osx Version: 10.15.3 (19D76)

result:

Music extractor version 'music 1.0'
built with Essentia version v2.1_beta2
bash-3.2$ ./streaming_extractor_music song2.wav output.txt
Process step: Read metadata
Segmentation fault: 11

Anyone else experienced this?

drscotthawley commented 9 months ago

I'm getting an error about "libavformat" not being found. This is for the version downloaded from https://essentia.upf.edu/extractors/.

$ ./streaming_extractor_music --help
dyld[39481]: Library not loaded: /usr/local/lib/libavformat.56.dylib
  Referenced from: <03703B23-584C-3CDF-9B90-5EAB4F324112> /Users/shawley/Downloads/essentia-extractors-v2.1_beta2/streaming_extractor_music
  Reason: tried: '/usr/local/lib/libavformat.56.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libavformat.56.dylib' (no such file), '/usr/local/lib/libavformat.56.dylib' (no such file), '/usr/lib/libavformat.56.dylib' (no such file, not in dyld cache)
Abort trap: 6

I also tried building from source but got a number of error: invalid output constraint '=a' in asm messages.

I got the homebrew version to install but can't locate the streaming_extractor_music binary from that.