Skip to content

soundPlayerExample and soundPlayerFFTExample crashes with SIGFPE signal #3855

@ghost

Description

Backtrace for soundPlayerExample:

Program received signal SIGFPE, Arithmetic exception.
0x0000000000428f07 in ofOpenALSoundPlayer::load (this=this@entry=0x6762b90, fileName=...,
    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448
448             int numFrames = buffer.size()/channels;
(gdb) bt
#0  0x0000000000428f07 in ofOpenALSoundPlayer::load (this=this@entry=0x6762b90, fileName=...,
    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448
#1  0x0000000000404665 in ofSoundPlayer::load (this=this@entry=0x6752628, fileName=..., stream=stream@entry=false)
    at openFrameworks/sound/ofSoundPlayer.cpp:79
#2  0x0000000000401c59 in ofApp::setup (this=0x6752610) at examples/sound/soundPlayerExample/src/ofApp.cpp:6
#3  0x00000000007f9d1e in ofBaseApp::setup (this=0x0, args=...) at openFrameworks/app/ofBaseApp.h:63
#4  0x00000000007d7684 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs, false>::notify (this=0x6763480,
    sender=<optimized out>, arguments=...) at Poco/Foundation/include/Poco/PriorityDelegate.h:148
#5  0x00000000007d886f in Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate<ofEventArgs> >::notify (
    this=0x22fc10, sender=0x0, arguments=...) at Poco/Foundation/include/Poco/PriorityStrategy.h:62
#6  0x00000000007b6f97 in notify (args=..., pSender=0x0, this=0x674adb8)
    at Poco/Foundation/include/Poco/AbstractEvent.h:246
#7  ofNotifyEvent<ofEvent<ofEventArgs>, ofEventArgs> (event=..., args=...)
    at openFrameworks/events/ofEventUtils.h:172
#8  0x0000000000491902 in ofCoreEvents::notifySetup (this=0x0) at openFrameworks/events/ofEvents.cpp:193
#9  0x0000000000415b7d in ofMainLoop::run (this=0x674ac50, window=..., app=...)
    at openFrameworks/app/ofMainLoop.cpp:110
#10 0x0000000000415bf5 in ofMainLoop::run (this=<optimized out>, app=...)
    at openFrameworks/app/ofMainLoop.cpp:116
#11 0x000000000040312d in ofRunApp (app=...) at openFrameworks/app/ofAppRunner.cpp:120
#12 0x000000000040429c in ofRunApp (OFSA=OFSA@entry=0x6752610) at openFrameworks/app/ofAppRunner.cpp:115
#13 0x00000000004017cd in main () at examples/sound/soundPlayerExample/src/main.cpp:12

Backtrace for soundPlayerFFTExample:

Program received signal SIGFPE, Arithmetic exception.
0x0000000000423587 in ofOpenALSoundPlayer::load (this=this@entry=0x6ca31c0, fileName=...,
    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448
448             int numFrames = buffer.size()/channels;
(gdb) bt
#0  0x0000000000423587 in ofOpenALSoundPlayer::load (this=this@entry=0x6ca31c0, fileName=...,
    is_stream=is_stream@entry=false) at openFrameworks/sound/ofOpenALSoundPlayer.cpp:448
#1  0x0000000000403bf5 in ofSoundPlayer::load (this=this@entry=0x6ca1438, fileName=..., stream=stream@entry=false)
    at openFrameworks/sound/ofSoundPlayer.cpp:79
#2  0x0000000000401e6c in ofApp::setup (this=0x6ca1420)
    at examples/sound/soundPlayerFFTExample/src/ofApp.cpp:8
#3  0x00000000007f946e in ofBaseApp::setup (this=0x0, args=...) at openFrameworks/app/ofBaseApp.h:63
#4  0x00000000007d6d54 in Poco::PriorityDelegate<ofBaseApp, ofEventArgs, false>::notify (this=0x6cb3510,
    sender=<optimized out>, arguments=...) at Poco/Foundation/include/Poco/PriorityDelegate.h:148
#5  0x00000000007d7f3f in Poco::PriorityStrategy<ofEventArgs, Poco::AbstractPriorityDelegate<ofEventArgs> >::notify (
    this=0x22fc10, sender=0x0, arguments=...) at Poco/Foundation/include/Poco/PriorityStrategy.h:62
#6  0x00000000007b6527 in notify (args=..., pSender=0x0, this=0x6c9ada8)
    at Poco/Foundation/include/Poco/AbstractEvent.h:246
#7  ofNotifyEvent<ofEvent<ofEventArgs>, ofEventArgs> (event=..., args=...)
    at openFrameworks/events/ofEventUtils.h:172
#8  0x000000000047f252 in ofCoreEvents::notifySetup (this=0x0) at openFrameworks/events/ofEvents.cpp:193
#9  0x000000000040dc0d in ofMainLoop::run (this=0x6c9ac40, window=..., app=...)
    at openFrameworks/app/ofMainLoop.cpp:110
#10 0x000000000040dc85 in ofMainLoop::run (this=<optimized out>, app=...)
    at openFrameworks/app/ofMainLoop.cpp:116
#11 0x00000000004026bd in ofRunApp (app=...) at openFrameworks/app/ofAppRunner.cpp:120
#12 0x000000000040382c in ofRunApp (OFSA=OFSA@entry=0x6ca1420) at openFrameworks/app/ofAppRunner.cpp:115
#13 0x00000000004017cd in main () at examples/sound/soundPlayerFFTExample/src/main.cpp:12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions