{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3855","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3855/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3855/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3855/events","html_url":"https://github.com/openframeworks/openFrameworks/issues/3855","id":78435765,"number":3855,"title":"soundPlayerExample and soundPlayerFFTExample crashes with SIGFPE signal","user":{"login":"procedural","id":1072168,"avatar_url":"https://avatars.githubusercontent.com/u/1072168?v=3","gravatar_id":"","url":"https://api.github.com/users/procedural","html_url":"https://github.com/procedural","followers_url":"https://api.github.com/users/procedural/followers","following_url":"https://api.github.com/users/procedural/following{/other_user}","gists_url":"https://api.github.com/users/procedural/gists{/gist_id}","starred_url":"https://api.github.com/users/procedural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/procedural/subscriptions","organizations_url":"https://api.github.com/users/procedural/orgs","repos_url":"https://api.github.com/users/procedural/repos","events_url":"https://api.github.com/users/procedural/events{/privacy}","received_events_url":"https://api.github.com/users/procedural/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/bug","name":"bug","color":"b31d1d"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/core","name":"core","color":"db6a1f"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/critical","name":"critical","color":"ff0000"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/section-sound","name":"section-sound","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/8","html_url":"https://github.com/openframeworks/openFrameworks/milestones/0.9.0","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/8/labels","id":88731,"number":8,"title":"0.9.0","description":"Originally aimed for release on November 10th with initial emscripten support, Apothecary compiled libs and C++11/64-bit support on OSX. Pushed back to January 12, multiwindow support was added. Deadline removed on January 4. Deadline added again on February 8 as May 18.","creator":{"login":"bilderbuchi","id":327442,"avatar_url":"https://avatars.githubusercontent.com/u/327442?v=3","gravatar_id":"","url":"https://api.github.com/users/bilderbuchi","html_url":"https://github.com/bilderbuchi","followers_url":"https://api.github.com/users/bilderbuchi/followers","following_url":"https://api.github.com/users/bilderbuchi/following{/other_user}","gists_url":"https://api.github.com/users/bilderbuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/bilderbuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilderbuchi/subscriptions","organizations_url":"https://api.github.com/users/bilderbuchi/orgs","repos_url":"https://api.github.com/users/bilderbuchi/repos","events_url":"https://api.github.com/users/bilderbuchi/events{/privacy}","received_events_url":"https://api.github.com/users/bilderbuchi/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":221,"state":"open","created_at":"2012-02-25T01:34:28Z","updated_at":"2015-06-26T16:24:19Z","due_on":"2015-05-18T04:00:00Z","closed_at":null},"comments":11,"created_at":"2015-05-20T08:48:22Z","updated_at":"2015-06-26T17:01:29Z","closed_at":"2015-06-26T06:27:28Z","body":"Backtrace for `soundPlayerExample`:\r\n```cpp\r\nProgram received signal SIGFPE, Arithmetic exception.\r\n0x0000000000428f07 in ofOpenALSoundPlayer::load (this=this@entry=0x6762b90, fileName=...,\r\n    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448\r\n448             int numFrames = buffer.size()/channels;\r\n(gdb) bt\r\n#0  0x0000000000428f07 in ofOpenALSoundPlayer::load (this=this@entry=0x6762b90, fileName=...,\r\n    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448\r\n#1  0x0000000000404665 in ofSoundPlayer::load (this=this@entry=0x6752628, fileName=..., stream=stream@entry=false)\r\n    at openFrameworks/sound/ofSoundPlayer.cpp:79\r\n#2  0x0000000000401c59 in ofApp::setup (this=0x6752610) at examples/sound/soundPlayerExample/src/ofApp.cpp:6\r\n#3  0x00000000007f9d1e in ofBaseApp::setup (this=0x0, args=...) at openFrameworks/app/ofBaseApp.h:63\r\n#4  0x00000000007d7684 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs, false>::notify (this=0x6763480,\r\n    sender=<optimized out>, arguments=...) at Poco/Foundation/include/Poco/PriorityDelegate.h:148\r\n#5  0x00000000007d886f in Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate<ofEventArgs> >::notify (\r\n    this=0x22fc10, sender=0x0, arguments=...) at Poco/Foundation/include/Poco/PriorityStrategy.h:62\r\n#6  0x00000000007b6f97 in notify (args=..., pSender=0x0, this=0x674adb8)\r\n    at Poco/Foundation/include/Poco/AbstractEvent.h:246\r\n#7  ofNotifyEvent<ofEvent<ofEventArgs>, ofEventArgs> (event=..., args=...)\r\n    at openFrameworks/events/ofEventUtils.h:172\r\n#8  0x0000000000491902 in ofCoreEvents::notifySetup (this=0x0) at openFrameworks/events/ofEvents.cpp:193\r\n#9  0x0000000000415b7d in ofMainLoop::run (this=0x674ac50, window=..., app=...)\r\n    at openFrameworks/app/ofMainLoop.cpp:110\r\n#10 0x0000000000415bf5 in ofMainLoop::run (this=<optimized out>, app=...)\r\n    at openFrameworks/app/ofMainLoop.cpp:116\r\n#11 0x000000000040312d in ofRunApp (app=...) at openFrameworks/app/ofAppRunner.cpp:120\r\n#12 0x000000000040429c in ofRunApp (OFSA=OFSA@entry=0x6752610) at openFrameworks/app/ofAppRunner.cpp:115\r\n#13 0x00000000004017cd in main () at examples/sound/soundPlayerExample/src/main.cpp:12\r\n```\r\n\r\nBacktrace for `soundPlayerFFTExample`:\r\n```cpp\r\nProgram received signal SIGFPE, Arithmetic exception.\r\n0x0000000000423587 in ofOpenALSoundPlayer::load (this=this@entry=0x6ca31c0, fileName=...,\r\n    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448\r\n448             int numFrames = buffer.size()/channels;\r\n(gdb) bt\r\n#0  0x0000000000423587 in ofOpenALSoundPlayer::load (this=this@entry=0x6ca31c0, fileName=...,\r\n    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448\r\n#1  0x0000000000403bf5 in ofSoundPlayer::load (this=this@entry=0x6ca1438, fileName=..., stream=stream@entry=false)\r\n    at openFrameworks/sound/ofSoundPlayer.cpp:79\r\n#2  0x0000000000401e6c in ofApp::setup (this=0x6ca1420)\r\n    at examples/sound/soundPlayerFFTExample/src/ofApp.cpp:8\r\n#3  0x00000000007f946e in ofBaseApp::setup (this=0x0, args=...) at openFrameworks/app/ofBaseApp.h:63\r\n#4  0x00000000007d6d54 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs, false>::notify (this=0x6cb3510,\r\n    sender=<optimized out>, arguments=...) at Poco/Foundation/include/Poco/PriorityDelegate.h:148\r\n#5  0x00000000007d7f3f in Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate<ofEventArgs> >::notify (\r\n    this=0x22fc10, sender=0x0, arguments=...) at Poco/Foundation/include/Poco/PriorityStrategy.h:62\r\n#6  0x00000000007b6527 in notify (args=..., pSender=0x0, this=0x6c9ada8)\r\n    at Poco/Foundation/include/Poco/AbstractEvent.h:246\r\n#7  ofNotifyEvent<ofEvent<ofEventArgs>, ofEventArgs> (event=..., args=...)\r\n    at openFrameworks/events/ofEventUtils.h:172\r\n#8  0x000000000047f252 in ofCoreEvents::notifySetup (this=0x0) at openFrameworks/events/ofEvents.cpp:193\r\n#9  0x000000000040dc0d in ofMainLoop::run (this=0x6c9ac40, window=..., app=...)\r\n    at openFrameworks/app/ofMainLoop.cpp:110\r\n#10 0x000000000040dc85 in ofMainLoop::run (this=<optimized out>, app=...)\r\n    at openFrameworks/app/ofMainLoop.cpp:116\r\n#11 0x00000000004026bd in ofRunApp (app=...) at openFrameworks/app/ofAppRunner.cpp:120\r\n#12 0x000000000040382c in ofRunApp (OFSA=OFSA@entry=0x6ca1420) at openFrameworks/app/ofAppRunner.cpp:115\r\n#13 0x00000000004017cd in main () at examples/sound/soundPlayerFFTExample/src/main.cpp:12\r\n```"},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/115762705","html_url":"https://github.com/openframeworks/openFrameworks/issues/3855#issuecomment-115762705","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3855","id":115762705,"user":{"login":"tpltnt","id":1172976,"avatar_url":"https://avatars.githubusercontent.com/u/1172976?v=3","gravatar_id":"","url":"https://api.github.com/users/tpltnt","html_url":"https://github.com/tpltnt","followers_url":"https://api.github.com/users/tpltnt/followers","following_url":"https://api.github.com/users/tpltnt/following{/other_user}","gists_url":"https://api.github.com/users/tpltnt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpltnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpltnt/subscriptions","organizations_url":"https://api.github.com/users/tpltnt/orgs","repos_url":"https://api.github.com/users/tpltnt/repos","events_url":"https://api.github.com/users/tpltnt/events{/privacy}","received_events_url":"https://api.github.com/users/tpltnt/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T17:01:29Z","updated_at":"2015-06-26T17:01:29Z","body":"at least in Virtualbox (after running `install_codecs.sh` and rebooting) i also get:\r\n```\r\nHOST_OS=Linux\r\nHOST_ARCH=x86_64\r\nchecking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 \r\n[ error ] ofAppGLFWWindow: 65544: X11: RandR gamma ramp support seems broken\r\n[ error ] ofOpenALSoundPlayer: sfReadFile(): couldn't read \"/home/oftester/openFrameworks/examples/sound/soundPlayerExample/bin/data/sounds/1085.mp3\"\r\nFloating point exception\r\n../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:168: recipe for target 'run' failed\r\nmake: *** [run] Error 136\r\n```"}}