SliTaz SliTaz Forum

You are not logged in.

#1 2015-09-30 05:52:47

schmatzler
Member
Registered: 2015-01-21
Posts: 4

Cinelerra-CV package

Hi guys,

I went ahead and made receipts for a52dec and cinelerra-cv, a damn fine video editor.

While it compiles fine, it doesn't run at all. I only get a segfault in glibc and X on my system. When running it with gdb it looks like the splash screen crashes the program.

Can somebody reproduce this or maybe even help me debug this further? A professional NLE on Slitaz would be amazing.

Receipts:

http://schmatzler.de/slitaz/cinelerra-cv.zip

Offline

#2 2015-09-30 07:16:41

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Cinelerra-CV package

> While it compiles fine, it doesn't run at all. I only get a segfault

I found this in archlinux PKGBUILD:

[c]

# gcc 4.6 workaround

  export CFLAGS+=" -Wwrite-strings -D__STDC_CONSTANT_MACROS"

  export CPPFLAGS="$CFLAGS"

# remove executable stack

  export LDFLAGS+=" -Wl,-z,noexecstack"

[/c]

Offline

#3 2015-09-30 09:08:16

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cinelerra-CV package

Can you take a look at:

http://cook.slitaz.org/undigest/cooker.cgi?pkg=a52dec

http://cook.slitaz.org/undigest/cooker.cgi?pkg=a52dec-dev

http://cook.slitaz.org/undigest/cooker.cgi?pkg=cinelerra-cv

Offline

#4 2015-09-30 16:38:46

schmatzler
Member
Registered: 2015-01-21
Posts: 4

Re: Cinelerra-CV package

That doesn't work either.

When I run it with gdb, I get this output:

*** glibc detected *** /usr/bin/cinelerra: munmap_chunk(): invalid pointer: 0xb7715b3a ***

======= Backtrace: =========

/lib/libc.so.6(+0x6fc29)[0xb55edc29]

/lib/libc.so.6(+0x6fe44)[0xb55ede44]

/usr/lib/libX11.so.6(XFree+0x1c)[0xb6c21de0]

/usr/lib/libguicast.so.1(_ZN14BC_DisplayInfo11test_windowERiS0_S0_S0_+0x114)[0xb6fa2784]

/usr/lib/libguicast.so.1(_ZN14BC_DisplayInfo12init_bordersEv+0x43)[0xb6fa28d3]

/usr/lib/libguicast.so.1(_ZN14BC_DisplayInfo15get_left_borderEv+0x19)[0xb6fa2939]

/usr/lib/libguicast.so.1(_ZN12BC_Resources15get_left_borderEv+0x1f)[0xb6fc155f]

/usr/lib/libguicast.so.1(_ZN13BC_WindowBase13create_windowEPS_PKciiiiiiiiiiS2_iP9BC_Pixmapii+0x3fc)[0xb6fd996c]

/usr/lib/libguicast.so.1(_ZN9BC_WindowC1EPKciiiiiiiiiiS1_ii+0x80)[0xb6fd37d0]

/usr/bin/cinelerra(_ZN9SplashGUIC1EP6VFrameii+0x4d)[0x8273ead]

/usr/bin/cinelerra(_ZN7MWindow11show_splashEv+0xa2)[0x81ffac2]

/usr/bin/cinelerra(_ZN7MWindow14create_objectsEiiPc+0x56)[0x82032a6]

/usr/bin/cinelerra(main+0x981)[0x811fbe1]

/lib/libc.so.6(__libc_start_main+0xf8)[0xb5596ee8]

/usr/bin/cinelerra[0x811fdc1]

I'd like to debug this further, but I don't know how to tell cooker to keep the debug symbols instead of stripping them out. Do you know how to do this?

Offline

#5 2015-09-30 16:55:29

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cinelerra-CV package

The files in install/ are not stripped:

$ rsync rsync://cook.slitaz.org/undigest/cinelerra-cv/install/usr/bin/cinelerra .

Offline

#6 2015-09-30 18:49:13

schmatzler
Member
Registered: 2015-01-21
Posts: 4

Re: Cinelerra-CV package

Thanks, that helped a lot.

I'm not a coder, but judging from the output the crash originates from glibc and libX11, so I guess I am out of luck with Cinelerra on Slitaz. sad

http://pastebin.com/MN9LhP1d

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]