Opened 15 years ago
Closed 14 years ago
#21741 closed defect (fixed)
sox crashes for MS-ADPCM wave
Reported by: | null.atou@… | Owned by: | davidfavor (David Favor) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | sox |
Description
sox @14.2.0_1 audio converter crashes when convert a source .wav file of ms-adpcm(Microsoft ADPCM) encoding to linear pcm encoding on Snow Leopard(Mac Pro, kernel 32bit). example test by attach file as follows:
% sox msadpcm.wav -s msadpcm2signed.wav zsh: segmentation fault sox msadpcm.wav -s msadpcm2signed.wav
Also crashed when a destination format is aiff.
And, I found sox-14.3.0 binary from SoX homepage, that is not crashed. The difference between macport's and this is an architecture, the former is x86_64, the latter is i386.
Attachments (2)
Change History (7)
Changed 15 years ago by null.atou@…
Attachment: | msadpcm.wav added |
---|
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jm@… |
---|
comment:2 Changed 15 years ago by null.atou@…
I found that the source file 'src/adpcm.c' in the latest version 14.3.0, "/* N.B. Without int casts, crashes on 64-bit arch */". So I make a patch and everything was going well. BTW, is there any chance to update sox version to 14.3.0?
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from jm@… to macports-tickets@… |
---|
Jean-Michel no longer maintains these ports.
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to david@… |
---|
comment:5 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The test case works with version 14.3.1 on 10.6/x86_64.
.wav file, MS-ADPCM encoding