PDA

View Full Version : Cinelerra Crashes While Rendering - malloc(): memory corruption



utyagi
27th February 2006, 09:03 PM
Rendering crashes intermittently (about 50% of times) on Sun V20z (dual AMD opteron) with 2.6.15-1.1830_FC4smp. The same Cinelerra RPM version 1.2.2 and kernel combination works fine everytime on Pentium 4 HP workstation. I also tried using LD_ASSUME_KERNEL=2.4.19 but still geting killed, though less frequently.
Any leads on thie please ??

Thanks,
Umesh

Here is the long crash output (sorry for the long size, but I wanted to give complete output) -

Cinelerra 1.2.2 Sun Jan 9 14:45:34 EST 2005 (C)2005 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.
*** glibc detected *** /usr/bin/cinelerra: malloc(): memory corruption: 0xb74fe608 ***
======= Backtrace: =========
/lib/libc.so.6[0x45c0ea]
/lib/libc.so.6(malloc+0x74)[0x45d492]
/usr/bin/cinelerra[0x825a661]
/usr/bin/cinelerra(mpeg2enc+0x19bf)[0x825c55b]
/usr/bin/cinelerra(_ZN13FileMPEGVideo3runEv+0x70)[0x81787ac]
/usr/lib/libguicast.so.1(_ZN6Thread10entrypointEPv+0x44)[0x182bbc]
/lib/libpthread.so.0[0x640b80]
/lib/libc.so.6(__clone+0x5e)[0x4c29ce]
======= Memory map: ========
00111000-00113000 rwxp 00111000 00:00 0
00113000-0019c000 r-xp 00000000 08:15 12024653 /usr/lib/libguicast.so.1.0.0
0019c000-001a5000 rwxp 00088000 08:15 12024653 /usr/lib/libguicast.so.1.0.0
001a5000-001a8000 rwxp 001a5000 00:00 0
001a8000-001bf000 r-xp 00000000 08:15 12028744 /usr/lib/libIex.so.2.0.2
001bf000-001c1000 rwxp 00017000 08:15 12028744 /usr/lib/libIex.so.2.0.2
001c1000-001c8000 rwxp 001c1000 00:00 0
001c8000-001fa000 r-xp 0119a000 08:15 12023388 /usr/lib/locale/locale-archive
001fa000-001fb000 r-xp 01228000 08:15 12023388 /usr/lib/locale/locale-archive
001fb000-00202000 r-xp 00000000 08:15 12505617 /usr/lib/cinelerra/1080to480.so
00202000-00203000 rwxp 00007000 08:15 12505617 /usr/lib/cinelerra/1080to480.so
00203000-00209000 r-xp 00000000 08:15 12505618 /usr/lib/cinelerra/720to480.so
00209000-0020a000 rwxp 00006000 08:15 12505618 /usr/lib/cinelerra/720to480.so
0020a000-0020b000 rwxp 0020a000 00:00 0
0020c000-002b0000 r-xp 00000000 08:15 12020656 /usr/lib/libquicktimehv-1.6.0.so.1.0.0
002b0000-002b4000 rwxp 000a4000 08:15 12020656 /usr/lib/libquicktimehv-1.6.0.so.1.0.0
002b4000-002bc000 r-xp 00000000 08:15 12505620 /usr/lib/cinelerra/bandslide.so
002bc000-002bd000 rwxp 00008000 08:15 12505620 /usr/lib/cinelerra/bandslide.so
002bd000-002c5000 r-xp 00000000 08:15 12506045 /usr/lib/cinelerra/bandwipe.so
002c5000-002c6000 rwxp 00008000 08:15 12506045 /usr/lib/cinelerra/bandwipe.so
002c6000-002d4000 r-xp 00000000 08:15 12506048 /usr/lib/cinelerra/blur.so
002d4000-002d6000 rwxp 0000d000 08:15 12506048 /usr/lib/cinelerra/blur.so
002d6000-002dd000 r-xp 00000000 08:15 12506051 /usr/lib/cinelerra/cdripper.so
002dd000-002de000 rwxp 00006000 08:15 12506051 /usr/lib/cinelerra/cdripper.so
002de000-002e0000 r-xp 00000000 08:15 12506055 /usr/lib/cinelerra/crossfade.so
002e0000-002e1000 rwxp 00002000 08:15 12506055 /usr/lib/cinelerra/crossfade.so
002e1000-002e3000 r-xp 00000000 08:15 12506134 /usr/lib/cinelerra/invertaudio.so
002e3000-002e4000 rwxp 00002000 08:15 12506134 /usr/lib/cinelerra/invertaudio.so
002e4000-002ed000 r-xp 00000000 08:15 12015554 /usr/lib/libesd.so.0.2.36
002ed000-002ee000 rwxp 00009000 08:15 12015554 /usr/lib/libesd.so.0.2.36
002f0000-00311000 r-xp 00000000 08:15 12015553 /usr/lib/libaudiofile.so.0.0.2
00311000-00314000 rwxp 00020000 08:15 12015553 /usr/lib/libaudiofile.so.0.0.2
00317000-0031f000 r-xp 00000000 08:15 12506047 /usr/lib/cinelerra/bluedottheme.so
0031f000-00387000 rwxp 00007000 08:15 12506047 /usr/lib/cinelerra/bluedottheme.so
00387000-00395000 r-xp 00000000 08:15 12506054 /usr/lib/cinelerra/compressor.so
00395000-00397000 rwxp 0000d000 08:15 12506054 /usr/lib/cinelerra/compressor.so
00397000-003a0000 r-xp 00000000 08:15 12506056 /usr/lib/cinelerra/decimate.so
003a0000-003a1000 rwxp 00008000 08:15 12506056 /usr/lib/cinelerra/decimate.so
003a2000-003c5000 r-xp 00000000 08:15 12017163 /usr/lib/libpng12.so.0.1.2.8
003c5000-003c6000 rwxp 00023000 08:15 12017163 /usr/lib/libpng12.so.0.1.2.8
003c6000-003d2000 r-xp 00000000 08:15 12506057 /usr/lib/cinelerra/deinterlace.so
003d2000-003d3000 rwxp 0000b000 08:15 12506057 /usr/lib/cinelerra/deinterlace.so
003d3000-003d9000 r-xp 00000000 08:15 12506058 /usr/lib/cinelerra/delayaudio.so
003d9000-003da000 rwxp 00006000 08:15 12506058 /usr/lib/cinelerra/delayaudio.so
003da000-003f4000 r-xp 00000000 08:15 3240958 /lib/ld-2.3.5.so
003f4000-003f5000 r-xp 00019000 08:15 3240958 /lib/ld-2.3.5.so
003f5000-003f6000 rwxp 0001a000 08:15 3240958 /lib/ld-2.3.5.so
003f8000-0051b000 r-xp 00000000 08:15 3240959 /lib/libc-2.3.5.so
0051b000-0051d000 r-xp 00123000 08:15 3240959 /lib/libc-2.3.5.so
0051d000-0051f000 rwxp 00125000 08:15 3240959 /lib/libc-2.3.5.so
0051f000-00521000 rwxp 0051f000 00:00 0
00523000-00546000 r-xp 00000000 08:15 3241006 /lib/libm-2.3.5.so
00546000-00547000 r-xp 00022000 08:15 3241006 /lib/libm-2.3.5.so
00547000-00548000 rwxp 00023000 08:15 3241006 /lib/libm-2.3.5.so
0054a000-0054c000 r-xp 00000000 08:15 3241017 /lib/libdl-2.3.5.so
0054c000-0054d000 r-xp 00001000 08:15 3241017 /lib/libdl-2.3.5.so
0054d000-0054e000 rwxp 00002000 08:15 3241017 /lib/libdl-2.3.5.so
00550000-00562000 r-xp 00000000 08:15 12015358 /usr/lib/libz.so.1.2.2.2
00562000-00563000 rwxp 00011000 08:15 12015358 /usr/lib/libz.so.1.2.2.2
00565000-00635000 r-xp 00000000 08:15 12015383 /usr/X11R6/lib/libX11.so.6.2
00635000-00639000 rwxp 000cf000 08:15 12015383 /usr/X11R6/lib/libX11.so.6.2
0063b000-00649000 r-xp 00000000 08:15 3241029 /lib/libpthread-2.3.5.so
00649000-0064a000 r-xp 0000d000 08:15 3241029 /lib/libpthread-2.3.5.so
0064a000-0064b000 rwxp 0000e000 08:15 3241029 /lib/libpthread-2.3.5.so
0064b000-0064d000 rwxp 0064b000 00:00 0
0064f000-0065d000 r-xp 00000000 08:15 12015387 /usr/X11R6/lib/libXext.so.6.4
0065d000-0065e000 rwxp 0000e000 08:15 12015387 /usr/X11R6/lib/libXext.so.6.4

JordanN
27th February 2006, 09:31 PM
Hopefully, one of these days, Cinelerra will be really cool and useful. Right now, it just seems to be extremely unstable.

I somehow managed to get it installed and running on one machine, and I'm still not sure how I did it (it may have been CCRMA), since I can't seem to even get it installed on this one (I've tried from RPM, and even compiling it).

On the one machine I did manage to get it to run on, it renders but doesn't produce a working file.

Sorry for the rant and the lack of useful information.

EDIT:
Did a --nodeps install of the RPMs from here: http://supreetsethi.net/drupal/?q=node/19 and it runs now.

Upgraded to cinelerra-1.2.3-1.i386.rpm and I get this message:


cinelerra: error while loading shared libraries: libraw1394.so.5: cannot open shared object file: No such file or directory


OK: Got mine working today. I did a symbolic link: libraw1394.so.5 > libraw1394.so.8 :)