Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoder segfaults on 20-bit wav #12

Open
macosforgebot opened this issue Jul 10, 2012 · 0 comments
Open

encoder segfaults on 20-bit wav #12

macosforgebot opened this issue Jul 10, 2012 · 0 comments

Comments

@macosforgebot
Copy link

justin.ruggles@… originally submitted this as ticket:13

  • Version: 1.0

When sending a 20-bit wav file to alacconvert, it segfaults. This happens in different places for mono and stereo.

mono:

#⁠0  ALACEncoder::EncodeMono (this=0x6134b0, bitstream=0x7fffffffdf20, 
    inputBuffer=<value optimized out>, stride=<value optimized out>, 
    channelIndex=<value optimized out>, numSamples=4096) at ALACEncoder.cpp:992
#⁠1  0x0000000000408aa1 in ALACEncoder::Encode (this=0x6134b0, 
    theInputFormat=..., theOutputFormat=..., theReadBuffer=0x60f490 "\004", 
    theWriteBuffer=<value optimized out>, ioNumBytes=0x7fffffffe054)
    at ALACEncoder.cpp:1056
#⁠2  0x000000000040147c in EncodeALAC (inputFile=<value optimized out>, 
    outputFile=0x60f250, theInputFormat=..., theOutputFormat=..., 
    inputDataSize=<value optimized out>) at main.cpp:491
#⁠3  0x0000000000402a69 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:160

stereo:

#⁠0  ALACEncoder::EncodeStereoEscape (this=0x6174b0, bitstream=0x7fffffffdf20, 
    inputBuffer=<value optimized out>, stride=<value optimized out>, 
    numSamples=4096) at ALACEncoder.cpp:764
#⁠1  0x0000000000407ecc in ALACEncoder::EncodeStereo (this=0x6174b0, 
    bitstream=0x7fffffffdf20, inputBuffer=<value optimized out>, 
    stride=<value optimized out>, channelIndex=<value optimized out>, 
    numSamples=<value optimized out>) at ALACEncoder.cpp:533
#⁠2  0x0000000000408a54 in ALACEncoder::Encode (this=0x6174b0, 
    theInputFormat=..., theOutputFormat=..., 
    theReadBuffer=0x60f490  <incomplete sequence \375>, 
    theWriteBuffer=<value optimized out>, ioNumBytes=0x7fffffffe054)
    at ALACEncoder.cpp:1044
#⁠3  0x000000000040147c in EncodeALAC (inputFile=<value optimized out>, 
    outputFile=0x60f250, theInputFormat=..., theOutputFormat=..., 
    inputDataSize=<value optimized out>) at main.cpp:491
#⁠4  0x0000000000402a69 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant