Segmentation fault: 11 when width is lower than ~ 256
Opened this issue · 2 comments
Also if I set the height at all it throws the error for widths up to ~300. It seems to happen when the output size is too small or has antisocial relative dimensions. Not sure what line it's dying on though...
Good to know. I'll take a look at it when I have time. I never really bothered testing low resolution outputs that much because of the way the drawing logic works. The fidelity of the final waveform output is entirely dependent on the resolution of the generated output image, so I became accustomed to generating 1600px width waveforms and then piping them into imagemagik to have it scale it down.
Can you post the command you were using to run waveform that was causing it to crash?
Thanks :)
Also just happened when I did -t 200 -w 1200
, and also with this: ./waveform -i something-low.wav -m -h 600 -w 2000 -o something-low.png
which is definitely of quite high res!
Cheers!
Matt