View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000974 | OpenMPT | libopenmpt | public | 2017-06-12 03:20 | 2017-10-27 17:24 |
Reporter | funute | Assigned To | manx | ||
Priority | low | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | x64 | OS | Linux | ||
Product Version | OpenMPT 1.26.11.00 / libopenmpt 0.2-beta24 (upgrade first) | ||||
Summary | 0000974: openmpt123 crashes while rendering with libsndfile backend | ||||
Description | When trying to export an .it module that has a long enough song message (the limit is about 421 characters long, give or take a few characters) with openmpt123, it immediately crashes with an error in realloc(). Normal playback through openmpt123 or exporting to a different file format like FLAC works fine. | ||||
Steps To Reproduce |
| ||||
Additional Information | I've attached a minimal test case (test2.it) which has a long enough song message to cause openmpt123 to crash. The log includes verbose output and includes the backtrace and memory map for the crash. The main error: Error in `openmpt123': realloc(): invalid next size: 0x0000000001ca2c30 I set this issue as low priority since it's really easy to work around it (export as FLAC or other file format, or remove song message before exporting). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | r8190 | ||||
This looks like a bug in libsndfile 1.0.28 which openmpt123 uses on Linux to write WAV files. I'll do further investigation and report a proper bug against libsndfile. |
|
This is a libsndfile bug in libsndfile version 1.0.28. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-06-12 03:20 | funute | New Issue | |
2017-06-12 03:20 | funute | File Added: test2.it.gz | |
2017-06-12 03:20 | funute | File Added: log.txt.gz | |
2017-06-12 03:21 | funute | Steps to Reproduce Updated | |
2017-06-12 05:21 | manx | Assigned To | => manx |
2017-06-12 05:21 | manx | Status | new => assigned |
2017-06-12 05:21 | manx | Status | assigned => acknowledged |
2017-06-12 07:14 | manx | Status | acknowledged => confirmed |
2017-06-12 15:50 | manx | Note Added: 0003077 | |
2017-06-14 10:34 | manx | Status | confirmed => closed |
2017-06-14 10:34 | manx | Resolution | open => no change required |
2017-06-14 10:34 | manx | Note Added: 0003083 | |
2017-10-27 17:24 | manx | Summary | .it module with long song message causes crash when exporting to .wav => openmpt123 crashes while rendering with libsndfile backend |