Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256250 - media-video/gpac-0.4.4-r1 MP4Box "double free or corruption" crash with podencoder script
Summary: media-video/gpac-0.4.4-r1 MP4Box "double free or corruption" crash with poden...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 22:29 UTC by m.misamore
Modified: 2009-12-19 11:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Crash log (output.log,9.61 KB, text/plain)
2009-01-24 22:29 UTC, m.misamore
Details
Test case using MP4Box on an mpg file (output2.log,4.01 KB, text/plain)
2009-01-24 22:42 UTC, m.misamore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.misamore 2009-01-24 22:29:18 UTC
New bug in gpac as of 0.4.4-r1 (previous versions of gpac from portage were working fine) when encoding flv files with MP4Box for a 5G Video Ipod. Trying to encode results in a big messy crash (output given below). 

Supposedly this is fixed in gpac CVS: see https://bugs.launchpad.net/ubuntu/+source/gpac/+bug/135071 but I haven't been able to successfully build the source from CVS, for reasons that I didn't want to take hours to decipher. The ebuild for 0.4.4-r1 obviously built fine, however.


Reproducible: Always

Steps to Reproduce:
1. Get the podencoder script from http://podencoder.googlecode.com/svn/trunk/podencoder
2. Set the execute bit and run ./podencoder test.flv  where test.flv is your favorite flv file.
3. Watch the fireworks.
Actual Results:  
(Crash log attached)


Expected Results:  
Was expecting the podencoder script to successfully encode the video into an mp4.

Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Fri, 16 Jan 2009 04:30:16 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi aim alsa amd64 apm avi bcmath berkdb bzip2 cdr cli cracklib crypt curl dga dio divx4linux dri dts dvd dvdread encode expat fortran gcj gdbm gif gpm gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog java javascript jpeg libwww live lm_sensors midi mime mmap mmx mng mono mozilla mpeg mudflap multilib ncurses nforce2 nls nptl nptlonly nsplugin nvidia ocaml offensive ogg opengl openmp oscar oss pam pcmcia pcre pdf pdflib perl pmu png pppd python qt3 quicktime readline reflection samba session sndfile sockets spell spl sse sse2 ssl svg symlink sysfs tcltk tcpd tetex theora threads tiff truetype unicode usb v4l vorbis wifi x264 xine xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 m.misamore 2009-01-24 22:29:43 UTC
Created attachment 179601 [details]
Crash log
Comment 2 m.misamore 2009-01-24 22:40:47 UTC
I've just attached the output of an attempt to do something similar with an mpg file.
Comment 3 m.misamore 2009-01-24 22:42:17 UTC
Created attachment 179608 [details]
Test case using MP4Box on an mpg file
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2009-01-26 15:10:22 UTC
Individual program crash with no detrimental effect on system stability, downgrading severity to 'normal'.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-12-19 11:20:49 UTC
Then it's supposedly fixed in 0.4.5 (-r1). 

If you can still reproduce, reopen.