Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373249 - media-libs/mlt-0.7.2 - /usr/bin/melt crashes with free() invalid pointer
Summary: media-libs/mlt-0.7.2 - /usr/bin/melt crashes with free() invalid pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 00:05 UTC by Matt
Modified: 2012-02-25 21:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2011-06-28 00:05:15 UTC
I'm trying to use "melt" (media-libs/mlt-0.7.2) and get the following.  Kdenlive uses melt for rendering the final video file.  I just used this feature (in exactly the same way) successfully about a month ago.  I honestly don't know what has changed.  Yes, I've tried recompiling:

glibc
nvidia-drivers
and the relavent packages from "qdepends mlt".





me@aragorn ~ $ melt
*** glibc detected *** melt: free(): invalid pointer: 0x087ed270 ***
======= Backtrace: =========
/lib/libc.so.6(+0x69259)[0xb765a259]
/lib/libc.so.6(+0x6aa50)[0xb765ba50]
/lib/libc.so.6(cfree+0x61)[0xb765e982]
/lib/libdl.so.2(+0x1051)[0xb75ee051]
/lib/libdl.so.2(dlopen+0x3e)[0xb75edb4a]
//usr/lib/opengl/nvidia/lib/libGL.so.1(+0x7cf49)[0xb4b6bf49]
======= Memory map: ========
08048000-0804e000 r-xp 00000000 08:06 132813     /usr/bin/melt
0804e000-0804f000 r--p 00005000 08:06 132813     /usr/bin/melt
0804f000-08050000 rw-p 00006000 08:06 132813     /usr/bin/melt
08790000-0884a000 rw-p 00000000 00:00 0          [heap]
b3000000-b3021000 rw-p 00000000 00:00 0 
b3021000-b3100000 ---p 00000000 00:00 0 
b31ee000-b31f1000 r-xp 00000000 08:06 800443     /lib/libuuid.so.1.3.0
b31f1000-b31f2000 r--p 00002000 08:06 800443     /lib/libuuid.so.1.3.0
b31f2000-b31f3000 rw-p 00003000 08:06 800443     /lib/libuuid.so.1.3.0
b31f3000-b4a55000 r-xp 00000000 08:06 221417     /usr/lib/libnvidia-glcore.so.275.09.07
b4a55000-b4ab4000 rwxp 01861000 08:06 221417     /usr/lib/libnvidia-glcore.so.275.09.07
b4ab4000-b4ac5000 rwxp 00000000 00:00 0 
b4ac5000-b4ad9000 r-xp 00000000 08:06 162196     /usr/lib/libICE.so.6.3.0
b4ad9000-b4ada000 r--p 00013000 08:06 162196     /usr/lib/libICE.so.6.3.0
b4ada000-b4adb000 rw-p 00014000 08:06 162196     /usr/lib/libICE.so.6.3.0
b4adb000-b4add000 rw-p 00000000 00:00 0 
b4add000-b4ae4000 r-xp 00000000 08:06 162240     /usr/lib/libSM.so.6.0.1
b4ae4000-b4ae5000 r--p 00006000 08:06 162240     /usr/lib/libSM.so.6.0.1
b4ae5000-b4ae6000 rw-p 00007000 08:06 162240     /usr/lib/libSM.so.6.0.1
b4ae6000-b4aed000 r-xp 00000000 08:06 132629     /usr/lib/libfusion-1.4.so.5.0.4
b4aed000-b4aee000 r--p 00006000 08:06 132629     /usr/lib/libfusion-1.4.so.5.0.4
b4aee000-b4aef000 rw-p 00007000 08:06 132629     /usr/lib/libfusion-1.4.so.5.0.4
b4aef000-b4b92000 r-xp 00000000 08:06 237665     /usr/lib/opengl/nvidia/lib/libGL.so.275.09.07
b4b92000-b4bb1000 rwxp 000a2000 08:06 237665     /usr/lib/opengl/nvidia/lib/libGL.so.275.09.07
b4bb1000-b4bc0000 rwxp 00000000 00:00 0 
b4bc0000-b4bc6000 r-xp 00000000 08:06 221272     /usr/lib/libxcb-render.so.0.0.0
b4bc6000-b4bc7000 r--p 00005000 08:06 221272     /usr/lib/libxcb-render.so.0.0.0
b4bc7000-b4bc8000 rw-p 00006000 08:06 221272     /usr/lib/libxcb-render.so.0.0.0
b4bc8000-b4bca000 r-xp 00000000 08:06 221283     /usr/lib/libxcb-shm.so.0.0.0
b4bca000-b4bcb000 r--p 00001000 08:06 221283     /usr/lib/libxcb-shm.so.0.0.0
b4bcb000-b4bcc000 rw-p 00002000 08:06 221283     /usr/lib/libxcb-shm.so.0.0.0                                                        
b4bcc000-b4e4b000 r-xp 00000000 08:06 220169     /usr/lib/qt4/libQtCore.so.4.7.2                                                     
b4e4b000-b4e52000 r--p 0027e000 08:06 220169     /usr/lib/qt4/libQtCore.so.4.7.2                                                     
b4e52000-b4e53000 rw-p 00285000 08:06 220169     /usr/lib/qt4/libQtCore.so.4.7.2
b4e53000-b5871000 r-xp 00000000 08:06 219256     /usr/lib/qt4/libQtGui.so.4.7.2
b5871000-b5891000 r--p 00a1e000 08:06 219256     /usr/lib/qt4/libQtGui.so.4.7.2
b5891000-b5895000 rw-p 00a3e000 08:06 219256     /usr/lib/qt4/libQtGui.so.4.7.2
b5895000-b5897000 rw-p 00000000 00:00 0 
b5897000-b58b8000 r-xp 00000000 08:06 134362     /usr/lib/libpng14.so.14.5.0
b58b8000-b58b9000 r--p 00021000 08:06 134362     /usr/lib/libpng14.so.14.5.0
b58b9000-b58ba000 rw-p 00022000 08:06 134362     /usr/lib/libpng14.so.14.5.0
b58ba000-b58cd000 r-xp 00000000 08:06 132651     /usr/lib/libdirect-1.4.so.5.0.4
b58cd000-b58ce000 r--p 00012000 08:06 132651     /usr/lib/libdirect-1.4.so.5.0.4
b58ce000-b58cf000 rw-p 00013000 08:06 132651     /usr/lib/libdirect-1.4.so.5.0.4
b58cf000-b5956000 r-xp 00000000 08:06 132633     /usr/lib/libdirectfb-1.4.so.5.0.4
b5956000-b5958000 r--p 00086000 08:06 132633     /usr/lib/libdirectfb-1.4.so.5.0.4
b5958000-b595b000 rw-p 00088000 08:06 132633     /usr/lib/libdirectfb-1.4.so.5.0.4
b595b000-b5968000 r-xp 00000000 08:06 160132     /usr/lib/libEGL.so.1.0
b5968000-b5969000 r--p 0000c000 08:06 160132     /usr/lib/libEGL.so.1.0
b5969000-b596a000 rw-p 0000d000 08:06 160132     /usr/lib/libEGL.so.1.0
b596a000-b59d6000 r-xp 00000000 08:06 132977     /usr/lib/libpixman-1.so.0.20.2
b59d6000-b59d7000 ---p 0006c000 08:06 132977     /usr/lib/libpixman-1.so.0.20.2
b59d7000-b59da000 r--p 0006c000 08:06 132977     /usr/lib/libpixman-1.so.0.20.2
b59da000-b59db000 rw-p 0006f000 08:06 132977     /usr/lib/libpixman-1.so.0.20.2
b59db000-b59fd000 r-xp 00000000 08:06 162693     /usr/lib/libexpat.so.1.5.2
b59fd000-b59fe000 ---p 00022000 08:06 162693     /usr/lib/libexpat.so.1.5.2
b59fe000-b5a00000 r--p 00022000 08:06 162693     /usr/lib/libexpat.so.1.5.2
b5a00000-b5a01000 rw-p 00024000 08:06 162693     /usr/lib/libexpat.so.1.5.2
b5a01000-b5a04000 r-xp 00000000 08:06 221567     /usr/lib/libgthread-2.0.so.0.2800.8
b5a04000-b5a05000 r--p 00002000 08:06 221567     /usr/lib/libgthread-2.0.so.0.2800.8
b5a05000-b5a06000 rw-p 00003000 08:06 221567     /usr/lib/libgthread-2.0.so.0.2800.8
b5a06000-b5a08000 r-xp 00000000 08:06 134701     /usr/lib/libgmodule-2.0.so.0.2800.8
b5a08000-b5a09000 r--p 00001000 08:06 134701     /usr/lib/libgmodule-2.0.so.0.2800.8
b5a09000-b5a0a000 rw-p 00002000 08:06 134701     /usr/lib/libgmodule-2.0.so.0.2800.8
b5a0a000-b5a1a000 r-xp 00000000 08:06 458571     /lib/libresolv-2.12.2.so
b5a1a000-b5a1b000 r--p 00010000 08:06 458571     /lib/libresolv-2.12.2.so
b5a1b000-b5a1c000 rw-p 00011000 08:06 458571     /lib/libresolv-2.12.2.so
b5a1c000-b5a1e000 rw-p 00000000 00:00 0 
b5a1e000-b5a9c000 r-xp 00000000 08:06 132797     /usr/lib/libfreetype.so.6.6.2
b5a9c000-b5aa0000 r--p 0007d000 08:06 132797     /usr/lib/libfreetype.so.6.6.2
b5aa0000-b5aa1000 rw-p 00081000 08:06 132797     /usr/lib/libfreetype.so.6.6.2
b5aa1000-b5b9f000 r-xp 00000000 08:06 134699     /usr/lib/libcairo.so.2.11000.2
b5b9f000-b5ba0000 ---p 000fe000 08:06 134699     /usr/lib/libcairo.so.2.11000.2
b5ba0000-b5ba3000 r--p 000fe000 08:06 134699     /usr/lib/libcairo.so.2.11000.2
b5ba3000-b5ba4000 rw-p 00101000 08:06 134699     /usr/lib/libcairo.so.2.11000.2
b5ba4000-b5ba8000 rw-p 00000000 00:00 0 
b5ba8000-b5baa000 r-xp 00000000 08:06 160446     /usr/lib/libXdamage.so.1.1.0
b5baa000-b5bab000 r--p 00001000 08:06 160446     /usr/lib/libXdamage.so.1.1.0
b5bab000-b5bac000 rw-p 00002000 08:06 160446     /usr/lib/libXdamage.so.1.1.0
b5bac000-b5bae000 r-xp 00000000 08:06 134761     /usr/lib/libXcomposite.so.1.0.0
b5bae000-b5baf000 r--p 00001000 08:06 134761     /usr/lib/libXcomposite.so.1.0.0
b5baf000-b5bb0000 rw-p 00002000 08:06 134761     /usr/lib/libXcomposite.so.1.0.0
b5bb0000-b5bb8000 r-xp 00000000 08:06 160981     /usr/lib/libXcursor.so.1.0.2
b5bb8000-b5bb9000 r--p 00007000 08:06 160981     /usr/lib/libXcursor.so.1.0.2
b5bb9000-b5bba000 rw-p 00008000 08:06 160981     /usr/lib/libXcursor.so.1.0.2
b5bba000-b5bc0000 r-xp 00000000 08:06 161564     /usr/lib/libXrandr.so.2.2.0
b5bc0000-b5bc1000 r--p 00005000 08:06 161564     /usr/lib/libXrandr.so.2.2.0
b5bc1000-b5bc2000 rw-p 00006000 08:06 161564     /usr/lib/libXrandr.so.2.2.0Aborted



me@aragorn ~ $ emerge --info
Portage 2.2.0_alpha41 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.37-tuxonice i686)
=================================================================
System uname: Linux-2.6.37-tuxonice-i686-Intel-R-_Core-TM-2_Duo_CPU_E4600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 27 Jun 2011 12:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo local-repo
Installed sets: 
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/config/kdm /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
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/portage_build_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://blackhole/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi adns ads aiglx alist alsa amr apache2 apm audacious autoipd avahi bash-completion berkdb bluetooth bonjour branding bs2b btrfs bzip2 cairo cdda cdparanoia cdr chardet clamav cli consolekit cracklib crypt css cups curl cxx dbus declarative devil dga directfb disk-partition dri dts dv dvb dvd dvdr eap-sim embedded emboss encode exif extensions faac faad fam fbcon fbcondecor fbsplash ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gdu geoip gif gimp glib gmp gnutls gphoto2 gpm gtk hpet iconv id3tag idn imagemagick insecure-savers ipv6 isc jbig jfs john jpeg jpeg2k kde kerberos kipi ladspa lame laptop lcms ldap libcaca libnotify lm_sensors logrotate lzma lzo mad mbrola md5sum midi mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multimedia ncurses network networkmanager nis nls nptl nptlonly nsplugin ntfs ntlm nvidia offensive ogg openal openexr opengl openmp openntpd optimized-qmake pam pango pcre pdf perl perlsuid phonon plasma plugins png policykit ppds pppd python qt3support qt4 quicktime rar rdp readline samba scanner scsi sdl semantic-desktop session slp smbkrb5passwd smp sox spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads thumbnail tidy tiff timidity toolbar tools truetype udev unicode usb utempter v4l v4l2 vcd vidix vnc vorbis wavpack webkit wifi win32codecs wma wmf x264 x86 xcb xcomposite xfs xine xinerama xml xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m hda-intel hpet" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null rate dsnoop extplug file hooks ladspa lfloat linear meter 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z toshiba_pdrm11 konica_qm150 sipix_blink" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="all" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev i810 intel nv nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1.run mlt
2.
3.
Comment 1 Matt 2011-06-28 00:17:43 UTC
I have been able to "fix" this issue.

I was using a different version of media-plugins/frei0r-plugins found here:

https://bugs.gentoo.org/show_bug.cgi?id=340793

The version 1.3 causes this mlt error.  When I downgrade frei0r-plugins to the portage version of media-plugins/frei0r-plugins-1.1.22-r2, melt works fine.

I don't know what you want to do with this bug now that I've found this out.


M.
Comment 2 Alexis Ballier gentoo-dev 2012-02-25 21:56:03 UTC
seems fine here with mlt-0.7.6 and frei0r-plugins-1.3 from the tree, please reopen with a backtrace if this is still an issue for you