Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43914 - segfault emerging cinelerra 1.1.9
Summary: segfault emerging cinelerra 1.1.9
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 14:15 UTC by matt
Modified: 2004-08-11 23:47 UTC (History)
0 users

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 2004-03-06 14:15:22 UTC
get the following error when emerging cinelerra 1.1.9

.....

g++ -c `cat i686/c_flags`  zoompanel.C -o i686/zoompanel.o
g++ -o i686/cinelerra `cat i686/objs`
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000008126420
strip i686/cinelerra
../guicast/i686/bootstrap i686/cinelerra data/mode_*.png
make[2]: *** [i686/cinelerra] Segmentation fault
make[2]: *** Deleting file `i686/cinelerra'
make[2]: Leaving directory `/var/tmp/portage/cinelerra-1.1.9/work/cinelerra-1.1.9/cinelerra'
make[2]: Entering directory `/var/tmp/portage/cinel

.....



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




mycomputer cinelerra # emerge info 
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 
2.6.4-rc1-mm1) 
================================================================= 
System uname: 2.6.4-rc1-mm1 i686 Intel(R) Pentium(R) 4 CPU 1600MHz 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa arts avi berkdb cdr crypt cups dga dvd dvdr emacs encode esd 
foomaticdb gif gnome gphoto2 gtk gtk2 imagemagick imlib java joystick jpeg 
junit kde mmx mozilla mpeg mysql nls opengl pam pda perl pic png postgres 
python qt quicktime readline samba scanner sdl ssl tcpd truetype unicode usb 
wxwindows x86 xmms xv zlib"
Comment 1 Eric Brown 2004-03-06 21:32:56 UTC
it emerges fine for me... have you reproduced the error?
Comment 2 Eric Brown 2004-03-06 21:41:04 UTC
i got some advice, take a look at my emerge info and see if making changes to your system helps: (maybe gcc 3.3.3 or something.. also, it depends on nasm.. maybe make sure you have a recent version of that..)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.0-gentoo-r1)
=================================================================
System uname: 2.6.0-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://gentoo.noved.org/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa avi berkdb cdr cjk crypt doc encode flash foomaticdb gdbm gif gphoto2 gpm gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xv zlib"
Comment 3 Luca Barbato gentoo-dev 2004-03-07 10:12:59 UTC
cinelerra is marked -*
it is supposed to not work.

looks like either cinelerra i way borken or you gcc isn't in perfect shape
Comment 4 matt 2004-03-07 23:25:47 UTC
OK, so I don't know what happened but somehow gcc-hardened was emerged during an update world and that messed up everything.  (Lots of other stuff wouldn't compile either).  I unmerged gcc-hardened (I never intentionally installed it, so that is a little bothersome....), and cinelerra installed ok.  But now it segfaults immediately after showing the splash screen.  ie

bash-2.05b$ cinelerra
Cinelerra 1.1.9 Sat Mar  6 23:57:48 UTC 2004 (C)2003 Heroine Virtual Ltd.

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.
Aborted

Hmmmmm, I wonder what "Aborted" means....

 Luca Barbato- Is this what "it is supposed to not work" means?  If not what do you mean because I know it can work on gentoo, I installed it on my other machine (a duron 800) from the 1.1.9 tarball and it works fine (well fine for cinelerra considering the program crashes quite frequently).  I even made a couple svcds with it.  Anyone have any hints?  Obviously I'd like to use it on a P4 1.7 Ghz instead of the duron (rendering a 5 minute svcd takes ~1hr), but currently I can't.

Comment 5 Luca Barbato gentoo-dev 2004-03-08 10:45:51 UTC
could you contact me on irc next day?

I'd like to get the thing at least work as should and if you managed to built it by hand and get a working build I guess I could investigate a bit.
Comment 6 Luca Barbato gentoo-dev 2004-08-11 23:46:28 UTC
Discovered that they put the image data in the wrong place and strip removes it, adding a restrict on strip fixed the issue
Comment 7 Luca Barbato gentoo-dev 2004-08-11 23:47:02 UTC
Closing