Comment 0 for bug 1624576

Revision history for this message
ronso0 (ronso0) wrote : Segfault when recording

I'm not sure if this is a real bug since it happens only on a version compiled from source with "ffmpeg=1" flag.

1. In "Recording" tab, set format to mp3 or ogg
2. Start recording
3. Stop recording
... (no matter how much time passes)
4. Start recording again
5. Stop recording
Segfault

In normal log appear these lines after starting the recording:
Debug [Main]: Split size is: 750000000
Debug [Main]: Recordings folder set to "/tmp"
Debug [EngineSideChain 1]: ffmpegencodercore: UpdateMetadata: ! RonsoFX - -
Debug [EngineSideChain 1]: EncoderFfmpegCore::initEncoder: Old Style initialization
Debug [EngineSideChain 1]: EncoderFfmpegCore::initEncoder: Codec MP3
Debug [EngineSideChain 1]: EncoderFfmpegResample::openMixxx: open MIXXX FFmpeg Resampler version
Debug [EngineSideChain 1]: Created sample rate converter for conversion of 44100 Hz format: flt with: 2 (layout: 0 ) channels (BPS 4 )
Debug [EngineSideChain 1]: To 44100 HZ format: s32p with 2 (layout: 0 ) channels (BPS 4 )
Debug [EngineSideChain 1]: openCodec!
[libmp3lame @ 0x7fffc0020a60] channel_layout not specified
Debug [EngineSideChain 1]: Setting record flag to: ON

And this repeatingly until reccording is stopped/mixxx crashes:
Debug [EngineSideChain 1]: Unsupported sample format: s32p
Debug [EngineSideChain 1]: Unsupported sample format: s32p
Debug [EngineSideChain 1]: Unsupported sample format: s32p
...

mixxx rev5919
Linux 3.14.23-rt20 #1 SMP PREEMPT RT Thu Nov 20 17:03:31 CET 2014 x86_64 x86_64 GNU/Linux