Red Hat Bugzilla – Bug 969259
Crash with MALLOC_CHECK_ in metaflac when adding seekpoints
Last modified: 2013-06-07 23:32:20 EDT
Description of problem:
The following command segfaults with a glibc memory fault backtrace with MALLOC_CHECK_=3, aborts with =2, and just prints out an invalid pointer to free() at =1. Everything is fine at =0.
metaflac --preserve-modtime --add-seekpoint=1s "path/to/flac/file"
Files which I can confirm this occurs with are available (CC-BY-NC 3.0) from:
I used the split flacs from the "All Day" album, but I suspect this with any flac file.
Backtrace from a coredump (-debuginfo isn't fitting through my tiny pipe here)
#0 0x00007fd89af50ad9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007fd89af521e8 in __GI_abort () at abort.c:90
#2 0x00007fd89af90e07 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fd89b098d48 "*** Error in `%s': %s: 0x%s ***\n")
#3 0x00007fd89af9a876 in malloc_printerr (ptr=<optimized out>, str=0x7fd89b096431 "free(): invalid pointer", action=3) at malloc.c:4916
#4 free_check (mem=<optimized out>, caller=<optimized out>) at hooks.c:279
#5 0x000000000040a1d6 in free_options ()
#6 0x00000000004035ef in main ()
Version-Release number of selected component (if applicable):
Thanks for the report, it looks like a serious bug. It should be fixed in flac-1.3.0-2.fc19.
flac-1.3.0-2.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing flac-1.3.0-2.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
flac-1.3.0-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.