You are not logged in.

#1 2013-04-18 23:56:52

WyoPBS
Member
From: Cheyenne, WY
Registered: 2007-10-05
Posts: 101
Website

Segfault in all video editors

This is on a completely new install as of Tuesday night.  System is AMD 4-core with 8GB RAM, running x86_64 kernel, using an external USB sound controller/mixer.  Video goes to VGA, not HDMI.

I've tried Cinelerra-cv, avidemux, and openmovieeditor.  All of them hit a segmentation fault and say "core dumped" before getting to the main menu, even when I don't try to load a movie but just start it with no arguments.  I ran strace without a clue how to interpret the results... it gets about 17000 lines in with fstat and read and write all over the place, and then:
lseek(5, 23330816, SEEK_SET)            = 23330816
read(5, "idx10\213\0\00000dc\20\0\0\0\4\0\0\0\4e\0\00000dc\20\0\0\0"..., 4096) = 4096
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
rt_sigaction(SIGSEGV, {SIG_DFL, [SEGV], SA_RESTORER|SA_RESTART, 0x7fb839565240}, {0x7fb83e8c9fc0, [SEGV], SA_RESTORER|SA_RESTART, 0x7fb839565240}, 8) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb83f49f000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(1, "signal_entry: got SIGSEGV my pid"..., 1370signal_entry: got SIGSEGV my pid=18840 execution table size=16:

It may or may not be related that gthumb does the same thing after I click on 5 or 6 thumbnails to view the images.  It's not a permissions issue; root does the same thing.  It's also worth noting that my old system (same hardware) ran cinelerra and gthumb without errors or crashes.  This is NOT an upgrade over the old system, but a complete reinstall from scratch to a clean filesystem.

Other video-intensive and/or audio-intensive tasks such as gimp, xine, Second Life (cool VL viewer) and audacity work without errors.

Any pointers (no pun intended, heh) on how I can troubleshoot this, or additional information I should provide?


Peter B. Steiger
Cheyenne, WY

Offline

#2 2013-04-19 01:43:11

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Segfault in all video editors

Are those video editors trying to use your video card? Which video driver are you using? I just started using video editors. Kdenlive works great but some of the other ones completely messed with my video or just crashed. hmm

Offline

#3 2013-04-19 14:52:35

WyoPBS
Member
From: Cheyenne, WY
Registered: 2007-10-05
Posts: 101
Website

Re: Segfault in all video editors

Well, I can't imagine that they would NOT try to use my video card... anyway, I'm using the catalyst driver from arch.  I don't think I've tried kdenlive... I'll take a look, thanks!


Peter B. Steiger
Cheyenne, WY

Offline

#4 2013-04-19 16:30:23

Antoine
Member
From: Picton Ontario
Registered: 2012-10-11
Posts: 90

Re: Segfault in all video editors

WyoPBS wrote:

Well, I can't imagine that they would NOT try to use my video card... anyway, I'm using the catalyst driver from arch.  I don't think I've tried kdenlive... I'll take a look, thanks!

While you're trying out video editors, take a look at Openshot; works quite nicely on my Intel Graphics laptop. I haven't tried it with Nvidia, but Cinelerra-cv works there.

Edit: to make sense

Last edited by Antoine (2013-04-19 18:57:22)

Offline

#5 2013-04-19 17:14:27

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Segfault in all video editors

WyoPBS wrote:

Well, I can't imagine that they would NOT try to use my video card...

What I meant was, using "xv" versus "opengl" to play the current preview of your video. But I don't really understand these sort of things, so I'm kind of just guessing. tongue

Offline

#6 2013-04-20 20:16:04

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: Segfault in all video editors

Check if dmesg |tail has something interesting to say about these crashes.

Probably it's a bug in some shared library, to find out which one it is start your editor under gdb and run bt after it segfaults:

$ gdb ./test
GNU gdb (GDB) 7.5.1
blah blah blah

(gdb) run
Starting program: /home/m/test 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7aafc61 in __strlen_sse2 () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7aafc61 in __strlen_sse2 () from /usr/lib/libc.so.6    <- my program crashed in strlen in libc
#1  0x0000000000400519 in main ()
(gdb) quit

Offline

Board footer

Powered by FluxBB