Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282561 - media-video/ogmrip-0.13.0 attempts to free invalid pointer
Summary: media-video/ogmrip-0.13.0 attempts to free invalid pointer
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-08-24 12:32 UTC by Matthias Langer
Modified: 2009-09-24 00:01 UTC (History)
1 user (show)

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


Attachments
Full console output and backtrace. (ogmrip-debug-output.txt,12.07 KB, text/plain)
2009-08-24 12:34 UTC, Matthias Langer
Details
ogmrip-0.13.0-no-profile.patch (ogmrip-0.13.0-no-profile.patch,891 bytes, patch)
2009-09-09 18:58 UTC, Olivier Rolland
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Langer 2009-08-24 12:32:15 UTC
Unfortunately 

media-video/ogmrip-0.13.0  USE="aac dts gtk hal libnotify matroska mp3 mp4 nls spell theora vorbis x264 xvid -debug* -doc -ogm -srt"

is completely unusable for me, as when attempting to extract data from a DVD I get:

"
*** glibc detected *** /usr/bin/ogmrip: free(): invalid pointer: 0x00007fe4544ad199 ***
"

A backtrace together with the full console output follows.

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Sun, 23 Aug 2009 21:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
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/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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/portage/repos/gentoo"
PORTDIR_OVERLAY="/var/portage/repos/layman/java-overlay /var/portage/repos/layman/games /var/portage/repos/private"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli cracklib crypt cups dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipv6 isdnlog java java6 jpeg jpeg2k kpathsea lcms libnotify lm_sensors log4j mad matroska mikmod mmap mmx mmxext mono mp3 mp4 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads thunar tiff truetype unicode usb vcd vim-syntax vorbis wavpack x264 xattr xine xinerama xml xorg xulrunner xv xvid zlib" 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" CAMERAS="canon konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthias Langer 2009-08-24 12:34:58 UTC
Created attachment 202149 [details]
Full console output and backtrace.

Here is the full console output together with a backtrace.
Comment 2 Olivier Rolland 2009-08-26 17:53:10 UTC
Until I fix the problem, you can emerge with OGMRip "ogm" in the USE flags.
Comment 3 Matthias Langer 2009-08-26 18:44:56 UTC
Hmm, if ogmrip does not work with USE="-ogm", why is the flag provided at all? Wouldn't it be more reasonable (and user friendly), to do a revbump that unconditionally turns "ogm" on, until this is fixed?
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2009-08-26 23:15:51 UTC
(In reply to comment #3)
> Hmm, if ogmrip does not work with USE="-ogm", why is the flag provided at all?
> Wouldn't it be more reasonable (and user friendly), to do a revbump that
> unconditionally turns "ogm" on, until this is fixed?
> 

No, its more efficient to have users recompile once -- either alternatively as a workaround, or an applied bugfix.
Comment 5 Matthias Langer 2009-08-27 06:59:25 UTC
Well, I might be wrong, but I think that making a revbump with the rather trivial change mentioned above will take an experienced Gentoo developer not more than 15 minutes, while a user that is affected by this problem will loose at least 5 minutes (probably more if he or she isn't smart enough to query bugzilla immediately). Now imagine that 4 users hit this bug before ogmrip is fixed...
Comment 6 Olivier Rolland 2009-09-09 18:58:38 UTC
Created attachment 203618 [details, diff]
ogmrip-0.13.0-no-profile.patch

This patch should fix the issue.
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2009-09-24 00:01:53 UTC
(In reply to comment #6)
> Created an attachment (id=203618) [edit]
> ogmrip-0.13.0-no-profile.patch
> 
> This patch should fix the issue.
> 

Thankee, in CVS