Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292575 - media-video/cinelerra-20090210 crash if I open jpeg file
Summary: media-video/cinelerra-20090210 crash if I open jpeg file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 20:04 UTC by Mih Vam
Modified: 2010-01-30 14:39 UTC (History)
1 user (show)

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


Attachments
explicitly set do_fancy_upsampling and do_fancy_downsampling to FALSE (cinelerra-jpeg-7.patch,1.10 KB, patch)
2010-01-23 14:55 UTC, Christopher Byrne
Details | Diff
cinelerra-20090210-r1.ebuild (cinelerra-20090210-r1.ebuild.patch,367 bytes, patch)
2010-01-23 14:58 UTC, Christopher Byrne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mih Vam 2009-11-09 20:04:18 UTC
After updating my system I have the media-video/cinelerra-20090210 crash if i oping some jpeg files in (not all):

gdb info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x9e7e7b90 (LWP 1238)]
0xb7039d11 in jpeg_idct_16x16 (cinfo=0x8c28fcc, compptr=0x8cf57ac, coef_block=0x852e084, output_buf=0x85188c0, output_col=0)
    at jidctint.c:2760
2760    jidctint.c: No such file or directory.
        in jidctint.c
Current language:  auto; currently c
(gdb) bt
#0  0xb7039d11 in jpeg_idct_16x16 (cinfo=0x8c28fcc, compptr=0x8cf57ac, coef_block=0x852e084, output_buf=0x85188c0, output_col=0)
    at jidctint.c:2760
#1  0xb7023f5f in decompress_onepass (cinfo=0x8c28fcc, output_buf=0x8c294a8) at jdcoefct.c:197
#2  0xb7021ecf in jpeg_read_raw_data (cinfo=0x8c28fcc, data=0x8c294a8, max_lines=480) at jdapistd.c:210
#3  0xb8054b81 in decompress_field (engine=0x8c28fb8) at libmjpeg.c:767
#4  0xb8054bec in mjpeg_decompress_loop (engine=0x8c28fb8) at libmjpeg.c:785
#5  0xb6ef515f in start_thread () from /lib/libpthread.so.0
#6  0xb6d70c0e in clone () from /lib/libc.so.6

I've removed old libjpeg with this instructions:

Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libjpeg.so.62

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy & paste for the lazy:
  # rm '/usr/lib64/libjpeg.so.62'


my packages: 

media-video/cinelerra-20090210, media-libs/jpeg-7

Reproducible: Always

Steps to Reproduce:
1.run cinellera
2.select Insert strategy: "Create new resources only"
3.choose File/Load files...
3.open for example this file http://picasaweb.google.com/lh/photo/fs71exxMCsZ4pkI1zwQikQ?feat=directlink

Actual Results:  
media-video/cinelerra-20090210 crash

Expected Results:  
load file in Media

mih@vaio ~/tmp/cinelerra $ uname -a
Linux vaio 2.6.30-gentoo-r6 #1 SMP PREEMPT Thu Oct 8 19:47:49 MSD 2009 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz GenuineIntel GNU/Linux

mih@vaio ~/tmp/cinelerra $ emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 08 Nov 2009 17:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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/udev/rules.d"
CXXFLAGS="-O1 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="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"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/connectical /usr/portage/local/layman/connectical-contrib /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acli alsa berkdb bzip2 cli cracklib crypt cups dri firefox fluxbox fortran gdbm gpm gtk gtk2 hal iconv ipv6 java jpeg jpeg2k mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection sdl session spl sse sse2 ssl sysfs tcpd truetype unicode v4l x86 xorg zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia vesa i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-11-10 01:06:16 UTC
Hmm, your CFLAGS are interesting ...
Comment 2 Mih Vam 2009-11-10 03:30:50 UTC
from here :

http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap2
Comment 3 Mih Vam 2009-11-10 03:35:42 UTC
but everyday I have this:

CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
Comment 4 Daniel Bausch 2009-12-05 22:55:22 UTC
For me cinelerra is crashing when I try to load mjpeg movies. Someone has documented that problem in a forum post and has resolved it by downgrading libjpeg.

http://forums.gentoo.org/viewtopic-t-796362-highlight-cinelerra.html

I suppose these bugs originate in the same problem.
Comment 5 Tom Ghyselinck 2010-01-05 19:21:17 UTC
I am having similar issues with cinelerra: It crashes when a JPEG images is inserted and I zoom in util cinelerra shows the JPEG in the video track.

[ebuild   R   ] media-libs/jpeg-7  950 kB
[ebuild     U ] media-video/mjpegtools-1.9.0 [1.8.0-r2] USE="X dga dv gtk mmx png quicktime sdl v4l -yv12" 1,678 kB
[ebuild   R   ] media-video/cinelerra-20090210  USE="alsa ieee1394 mmx opengl oss -3dnow (-altivec) -css -esd -static" 0 kB

NOTE: it also crashes with the latest version of mjpegtools

my system is amd64:

--- BEGIN ----------------------------------------------------------------------

uname -a

Linux droopy 2.6.30-gentoo-r5-20091125 #1 SMP Thu Nov 26 21:35:24 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux

--- END ------------------------------------------------------------------------

Portage configuration:

--- BEGIN ----------------------------------------------------------------------

emerge --info

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5-20091125 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-20091125-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 04 Jan 2010 19:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch parallelfetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="nl_BE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="nl en fr"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cleartype cli consolekit cracklib crypt cups cxx dbus dga directfb doc dri dts dv dvd dvdr dvdread eds emboss emerald encode evo exif extraengine fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gnome gnome-keyring gnomecd gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib ipv6 java javascript jpeg junit krb4 lame ldap libnotify lirc lm_sensors mad maildir mikmod mime mmx mng modules mozilla mp3 mp4 mpeg mplayer mpm-prefork msn mudflap multilib mysql mysqli ncurses nis nls nptl nptlonly ogg openal opengl openmp oss pam pcra pcre pdf perl php png ppds pppd python qt3support quicktime radius rdesktop readline reflection samba scanner sdl session sharedext sharedmem simplexml slang smartcard sndfile snmp sockets sox spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcl tcpd tetex theora threads thunar tiff tk tokenizer truetype unicode usb v4l v4l2 vhosts videos vim-syntax vorbis wmf wxwindows x264 xattr xface xine xinerama xml xml2 xmlrpc xmms xorg xosd xpm xsl xulrunner xv xvid xvmc zlib zvbi" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en fr" LIRC_DEVICES="pctv hauppage hauppage_dvb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa nvidia apm v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

--- END ------------------------------------------------------------------------


This is my output when running cinelerra from the console:

--- BEGIN ----------------------------------------------------------------------

Cinelerra 2.1CV  Gentoo - SVN r1055 (C) 2006 Heroine Virtual Ltd.
External ffmpeg
Compiled on Thu Nov 26 22:43:30 CET 2009

Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
*** glibc detected *** cinelerra: free(): invalid next size (normal): 0x0000000001ed1b80 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fbf10f2e0bd]
/lib/libc.so.6(cfree+0x76)[0x7fbf10f2fa76]
/usr/lib/libquicktimehv-1.6.0.so.1(mjpeg_delete+0x4a)[0x7fbf18e95e2e]
cinelerra(_ZN8FileJPEGD0Ev+0x21)[0x585599]
cinelerra(_ZN4File10close_fileEi+0x3f)[0x576833]
cinelerra(_ZN4FileD1Ev+0x68)[0x577496]
cinelerra(_ZN11CICacheItemD0Ev+0x29)[0x52af89]
cinelerra(_ZN7Garbage14remove_expiredEv+0x5a)[0x5a5526]
cinelerra(_ZN7Garbage13delete_objectEP13GarbageObject+0x2c)[0x5a556a]
cinelerra(_ZN7CICache13delete_oldestEv+0x80)[0x52b6e0]
cinelerra(_ZN7CICache3ageEv+0x55)[0x52b82d]
cinelerra(_ZN7CICache8check_inEP5Asset+0x71)[0x52b98d]
cinelerra(_ZN14ResourceThread8do_videoEP19VResourceThreadItem+0x387)[0x64034b]
cinelerra(_ZN14ResourceThread3runEv+0x89)[0x640513]
/usr/lib/libguicast.so.1(_ZN6Thread10entrypointEPv+0x36)[0x7fbf172953c0]
/lib/libpthread.so.0[0x7fbf1148f087]
/lib/libc.so.6(clone+0x6d)[0x7fbf10f8477d]
======= Memory map: ========
00400000-00784000 r-xp 00000000 fc:00 1476903                            /usr/bin/cinelerra
00984000-00985000 r-xp 00384000 fc:00 1476903                            /usr/bin/cinelerra
00985000-00a01000 rwxp 00385000 fc:00 1476903                            /usr/bin/cinelerra
00a01000-02e30000 rwxp 00000000 00:00 0                                  [heap]
40067000-40069000 rwxp 00000000 00:0d 1995                               /dev/zero
7fbedcec5000-7fbedcec6000 ---p 00000000 00:00 0 
7fbedcec6000-7fbedd6c6000 rwxp 00000000 00:00 0 
7fbee26e0000-7fbee2a9b000 rwxs 00000000 00:07 264699940                  /SYSV00000000 (deleted)
7fbee2a9b000-7fbee5ff4000 rwxp 00000000 00:00 0 
7fbee5ff4000-7fbee5ff5000 ---p 00000000 00:00 0 
7fbee5ff5000-7fbee67f5000 rwxp 00000000 00:00 0 
7fbee67f5000-7fbee67f6000 ---p 00000000 00:00 0 
7fbee67f6000-7fbee6ff6000 rwxp 00000000 00:00 0 
7fbee6ff6000-7fbee6ff7000 ---p 00000000 00:00 0 
7fbee6ff7000-7fbee77f7000 rwxp 00000000 00:00 0 
7fbee77f7000-7fbee77f8000 ---p 00000000 00:00 0 
7fbee77f8000-7fbee7ff8000 rwxp 00000000 00:00 0 
7fbee7ff8000-7fbee7ff9000 ---p 00000000 00:00 0 
7fbee7ff9000-7fbee87f9000 rwxp 00000000 00:00 0 
7fbee87f9000-7fbee87fa000 ---p 00000000 00:00 0 
7fbee87fa000-7fbee8ffa000 rwxp 00000000 00:00 0 
7fbee8ffa000-7fbee8ffb000 ---p 00000000 00:00 0 
7fbee8ffb000-7fbee97fb000 rwxp 00000000 00:00 0 
7fbee97fb000-7fbee97fc000 ---p 00000000 00:00 0 
7fbee97fc000-7fbee9ffc000 rwxp 00000000 00:00 0 
7fbee9ffc000-7fbee9ffd000 ---p 00000000 00:00 0 
7fbee9ffd000-7fbeea7fd000 rwxp 00000000 00:00 0 
7fbeea7fd000-7fbeea7fe000 ---p 00000000 00:00 0 
7fbeea7fe000-7fbeeaffe000 rwxp 00000000 00:00 0 
7fbeeaffe000-7fbeeafff000 ---p 00000000 00:00 0 
7fbeeafff000-7fbeeb7ff000 rwxp 00000000 00:00 0 
7fbeeb7ff000-7fbeeb800000 ---p 00000000 00:00 0 
7fbeeb800000-7fbeec000000 rwxp 00000000 00:00 0 
7fbeec000000-7fbeef607000 rwxp 00000000 00:00 0 
7fbeef607000-7fbef0000000 ---p 00000000 00:00 0 
7fbef06bd000-7fbef06be000 ---p 00000000 00:00 0 
7fbef06be000-7fbef0ebe000 rwxp 00000000 00:00 0 
7fbef0ebe000-7fbef0ebf000 ---p 00000000 00:00 0 
7fbef0ebf000-7fbef16bf000 rwxp 00000000 00:00 0 
7fbef16bf000-7fbef16c0000 ---p 00000000 00:00 0 
7fbef16c0000-7fbef1ec0000 rwxp 00000000 00:00 0 
7fbef1ec0000-7fbef1ec1000 ---p 00000000 00:00 0 
7fbef1ec1000-7fbef26c1000 rwxp 00000000 00:00 0 
7fbef26c1000-7fbef26c2000 ---p 00000000 00:00 0 
7fbef26c2000-7fbef2ec2000 rwxp 00000000 00:00 0 
7fbef2ec2000-7fbef2ec3000 ---p 00000000 00:00 0 
7fbef2ec3000-7fbef36c3000 rwxp 00000000 00:00 0 
7fbef36c3000-7fbef36c4000 ---p 00000000 00:00 0 
7fbef36c4000-7fbef3ec4000 rwxp 00000000 00:00 0 
7fbef3ec4000-7fbef3ec5000 ---p 00000000 00:00 0 
7fbef3ec5000-7fbef46c5000 rwxp 00000000 00:00 0 
7fbef46c5000-7fbef46c6000 ---p 00000000 00:00 0 
7fbef46c6000-7fbef4ec6000 rwxp 00000000 00:00 0 
7fbef4ec6000-7fbef4ec7000 ---p 00000000 00:00 0 
7fbef4ec7000-7fbef56c7000 rwxp 00000000 00:00 0 
7fbef56c7000-7fbef56c8000 ---p 00000000 00:00 0 
7fbef56c8000-7fbef5ec8000 rwxp 00000000 00:00 0 
7fbef5ec8000-7fbef5ec9000 ---p 00000000 00:00 0 
7fbef5ec9000-7fbef66c9000 rwxp 00000000 00:00 0 
7fbef66c9000-7fbef66ca000 ---p 00000000 00:00 0 
7fbef66ca000-7fbef6eca000 rwxp 00000000 00:00 0 
7fbef6eca000-7fbef6ecb000 ---p 00000000 00:00 0 
7fbef6ecb000-7fbef76cb000 rwxp 00000000 00:00 0 
7fbef76cb000-7fbef76cc000 ---p 00000000 00:00 0 
7fbef76cc000-7fbef7ecc000 rwxp 00000000 00:00 0 
7fbef7ecc000-7fbef7ecd000 ---p 00000000 00:00 0 
7fbef7ecd000-7fbef86cd000 rwxp 00000000 00:00 0 
7fbef86cd000-7fbef86ce000 ---p 00000000 00:00 0 
7fbef86ce000-7fbef8ece000 rwxp 00000000 00:00 0 
7fbef8ece000-7fbef8ecf000 ---p 00000000 00:00 0 
7fbef8ecf000-7fbef96cf000 rwxp 00000000 00:00 0 
7fbef96cf000-7fbef96d0000 ---p 00000000 00:00 0 
7fbef96d0000-7fbef9ed0000 rwxp 00000000 00:00 0 
7fbef9ed0000-7fbef9ed1000 ---p 00000000 00:00 0 
7fbef9ed1000-7fbefa6d1000 rwxp 00000000 00:00 0 
7fbefa6d1000-7fbefa6d2000 ---p 00000000 00:00 0 
7fbefa6d2000-7fbefaed2000 rwxp 00000000 00:00 0 
7fbefaed2000-7fbefaed3000 ---p 00000000 00:00 0 
7fbefaed3000-7fbefb6d3000 rwxp 00000000 00:00 0 
7fbefb6d3000-7fbefb6e1000 r-xp 00000000 fc:00 2490739                    /usr/lib64/cinelerra/zoomblur.so
7fbefb6e1000-7fbefb8e1000 ---p 0000e000 fc:00 2490739                    /usr/lib64/cinelerra/zoomblur.so
7fbefb8e1000-7fbefb8e2000 r-xp 0000e000 fc:00 2490739                    /usr/lib64/cinelerra/zoomblur.so
7fbefb8e2000-7fbefb8e4000 rwxp 0000f000 fc:00 2490739                    /usr/lib64/cinelerra/zoomblur.so
7fbefb8e4000-7fbefb8f9000 r-xp 00000000 fc:00 2490737                    /usr/lib64/cinelerra/yuv.so
7fbefb8f9000-7fbefbaf9000 ---p 00015000 fc:00 2490737                    /usr/lib64/cinelerra/yuv.so
7fbefbaf9000-7fbefbafb000 r-xp 00015000 fc:00 2490737                    /usr/lib64/cinelerra/yuv.so
7fbefbafb000-7fbefbafc000 rwxp 00017000 fc:00 2490737                    /usr/lib64/cinelerra/yuv.so
7fbefbafc000-7fbefc182000 rwxp 00000000 00:00 0 
7fbefc182000-7fbefc18b000 r-xp 00000000 fc:00 2490735                    /usr/lib64/cinelerra/wipe.so
7fbefc18b000-7fbefc38b000 ---p 00009000 fc:00 2490735                    /usr/lib64/cinelerra/wipe.so
7fbefc38b000-7fbefc38c000 r-xp 00009000 fc:00 2490735                    /usr/lib64/cinelerra/wipe.so
7fbefc38c000-7fbefc38d000 rwxp 0000a000 fc:00 2490735                    /usr/lib64/cinelerra/wipe.so
7fbefc38d000-7fbefc39c000 r-xp 00000000 fc:00 2490733                    /usr/lib64/cinelerra/whirl.so
7fbefc39c000-7fbefc59c000 ---p 0000f000 fc:00 2490733                    /usr/lib64/cinelerra/whirl.so
7fbefc59c000-7fbefc59d000 r-xp 0000f000 fc:00 2490733                    /usr/lib64/cinelerra/whirl.so
7fbefc59d000-7fbefc59f000 rwxp 00010000 fc:00 2490733                    /usr/lib64/cinelerra/whirl.so
7fbefc59f000-7fbefc5b0000 r-xp 00000000 fc:00 2490731                    /usr/lib64/cinelerra/wave.so
7fbefc5b0000-7fbefc7af000 ---p 00011000 fc:00 2490731                    /usr/lib64/cinelerra/wave.so
7fbefc7af000-7fbefc7b1000 r-xp 00010000 fc:00 2490731                    /usr/lib64/cinelerra/wave.so
7fbefc7b1000-7fbefc7b3000 rwxp 00012000 fc:00 2490731                    /usr/lib64/cinelerra/wave.so
7fbefc7b3000-7fbefc7d1000 r-xp 00000000 fc:00 2490729                    /usr/lib64/cinelerra/videoscope.so
7fbefc7d1000-7fbefc9d1000 ---p 0001e000 fc:00 2490729                    /usr/lib64/cinelerra/videoscope.so
7fbefc9d1000-7fbefc9d3000 r-xp 0001e000 fc:00 2490729                    /usr/lib64/cinelerra/videoscope.so
7fbefc9d3000-7fbefc9d4000 rwxp 00020000 fc:00 2490729                    /usr/lib64/cinelerra/videoscope.so
7fbefc9d4000-7fbefcd18000 rwxp 00000000 00:00 0 
7fbefcd18000-7fbefcd25000 r-xp 00000000 fc:00 2490727                    /usr/lib64/cinelerra/unsharp.so
7fbefcd25000-7fbefcf24000 ---p 0000d000 fc:00 2490727                    /usr/lib64/cinelerra/unsharp.so
7fbefcf24000-7fbefcf25000 r-xp 0000c000 fc:00 2490727                    /usr/lib64/cinelerra/unsharp.so
7fbefcf25000-7fbefcf27000 rwxp 0000d000 fc:00 2490727                    /usr/lib64/cinelerra/unsharp.Aborted

--- END ------------------------------------------------------------------------
Comment 6 Christopher Byrne 2010-01-23 14:55:09 UTC
Created attachment 217246 [details, diff]
explicitly set do_fancy_upsampling and do_fancy_downsampling to FALSE

Same idea as bug 293919 and bug 294488: Pair dinfo.raw_data_out = TRUE  with dinfo.do_fancy_upsampling = FALSE and dinfo.raw_data_in = TRUE with dinfo.do_fancy_downsampling = FALSE

Compile tested only, as I don't use this program, but it should work.
Comment 7 Christopher Byrne 2010-01-23 14:58:00 UTC
Created attachment 217247 [details, diff]
cinelerra-20090210-r1.ebuild

Patch to ebuild to apply new patch cinelerra-jpeg-7.patch
Comment 8 Daniel Bausch 2010-01-23 20:47:01 UTC
I can confirm that this patch prevents cinelerra from crashing when loading mjpeg movies, BUT the video display is corrupt. I get a skewed video with additional green lines in every second line and other color errors for mjpeg contained in a mov. Mjpeg contained in an AVI can not be inserted because cinelerra thinks it is 0 secs long. I hope this can be fixed because cinelerra is nearly unusable for non DV work at the moment, while DV is not an option when working with non interlaced material at various resolutions. Other formats with anything but I-frames are problematic for interactive operations.

The thumbnails shown on the UI are nearly good for whatever reason. The only little problem is that for the MOV contained MJPEG cinelerra shows a green bar on the right side of the thumbnail image. The AVI thumbnail is displayed correctly.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-01-30 14:39:49 UTC
(In reply to comment #7)
> Created an attachment (id=217247) [details]
> cinelerra-20090210-r1.ebuild
> 
> Patch to ebuild to apply new patch cinelerra-jpeg-7.patch
> 

Thanks.

*cinelerra-20090210-r1 (30 Jan 2010)

  30 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
  +files/cinelerra-jpeg-7.patch, +cinelerra-20090210-r1.ebuild:
  Fix crash with jpeg >= 7 wrt #292575 by Salah Coronya.

(In reply to comment #8)
> I can confirm that this patch prevents cinelerra from crashing when loading
> mjpeg movies, BUT the video display is corrupt. I get a skewed video with
> additional green lines in every second line and other color errors for mjpeg
> contained in a mov. Mjpeg contained in an AVI can not be inserted because
> cinelerra thinks it is 0 secs long. I hope this can be fixed because cinelerra
> is nearly unusable for non DV work at the moment, while DV is not an option
> when working with non interlaced material at various resolutions. Other formats
> with anything but I-frames are problematic for interactive operations.
> 
> The thumbnails shown on the UI are nearly good for whatever reason. The only
> little problem is that for the MOV contained MJPEG cinelerra shows a green bar
> on the right side of the thumbnail image. The AVI thumbnail is displayed
> correctly.
> 

Can you please open a new bug with details on this, please? Let keep this bug only for the jpeg issue.