View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000282 | ardour | bugs | public | 2004-02-27 16:09 | 2008-11-20 23:36 |
| Reporter | eldad | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000282: Audio Library import crashes with a certain file | ||||
| Description | Trying to import a certain file into the audio library crashes ardour with a segfault. I have two audiofiles that caused this problem - they weight 15M each. | ||||
| Additional Information | I'm using gcc 3.3.2, libsndfile 1.0.5, ardour beta10.2 | ||||
| Tags | No tags attached. | ||||
|
|
Can you listen to the file in the AudioLibrary window successfully? What sort of file is it? What is its name? |
|
|
No, I can't. Simply trying to import it to the audio library crashes ardour with a segfault. Both of them are WAV files: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz Changing the filename doesn't seem to matter. In fact, I traced down the bug to libsndfile. ardour spits this as it segfaults: R sizeof (header): 4096 headindex: 4094 bytes: 2 The same happens with sndfile-info. How come libsndfile can take down ardour on its way down? |
|
|
Where did you get the files? What programs can successfully open them? |
|
|
I recorded them, in 2001, in windows using soundforge. xmms can play it, and doesn't act strange, BUT when I exit it segfaults (only visible in the console, doesn't crash at all) I'm debugging libsndfile right now (the latest, 1.0.7), seems like a problem with a bad behaving memcpy. |
|
|
Okay, problem solved in a dirty way - you can close this bug, it's a libsndfile bug and not an ardour bug (though, maybe it could be made to handle libsndfile segfault like xmms, not crashing anyway?). The problem is that libsndfile assumes a fixed size of 4096 of the sndfile header, which breaks with my file (soundforge saved lots of cues...) Increasing the header size to 65k fixed it (actually, the header of this file takes 4250 bytes, so it's an overkill) I'll send this report to the libsndfile maintainers. |
|
|
error in libsndfile. to be resolved in libsndfile itself. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-02-27 16:09 | eldad | New Issue | |
| 2004-02-27 18:19 | taybin | Note Added: 0000467 | |
| 2004-02-27 18:19 | taybin | Status | new => feedback |
| 2004-02-27 18:19 | taybin | Description Updated | |
| 2004-02-27 20:51 | eldad | Note Added: 0000472 | |
| 2004-02-27 21:09 | taybin | Note Added: 0000475 | |
| 2004-02-27 22:30 | eldad | Note Added: 0000476 | |
| 2004-02-27 23:34 | eldad | Note Added: 0000477 | |
| 2004-02-29 19:31 | paul | Status | feedback => resolved |
| 2004-02-29 19:31 | paul | Resolution | open => fixed |
| 2004-02-29 19:31 | paul | Assigned To | => paul |
| 2004-02-29 19:31 | paul | Note Added: 0000480 | |
| 2008-11-20 23:36 | seablade | Status | resolved => closed |