Summary: | media-video/kdenlive-0.7_beta1 is segfaulting at startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erwan Lerale <erwan> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
full gdb backtrace
try it |
Description
Erwan Lerale
2008-10-25 13:28:46 UTC
seems to work for me :/ please give me the output of : emerge -pv mlt mlt++ ffmpeg (In reply to comment #1) > seems to work for me :/ > > please give me the output of : > emerge -pv mlt mlt++ ffmpeg > [ebuild R ] media-video/ffmpeg-0.4.9_p20081014 USE="X aac amr dirac encode ieee1394 ipv6 mmx mp3 network sdl theora threads v4l v4l2 vhook vorbis x264 xvid zlib (-altivec) -bindist -debug -doc -gsm -hardcoded-tables -mmxext -schroedinger -ssse3 -test" 0 kB [ebuild R ] media-libs/mlt-0.3.0 USE="dv ffmpeg gtk jack lame libsamplerate ogg quicktime sdl sox theora vorbis xine xml (-mmx) -qt3" 0 kB Cheers r1 still working with the same useflags as yours :/ could you please try to get a more meaningful backtrace by following: http://www.gentoo.org/proj/en/qa/backtraces.xml (In reply to comment #3) > still working with the same useflags as yours :/ > > could you please try to get a more meaningful backtrace by following: > http://www.gentoo.org/proj/en/qa/backtraces.xml I have followed your advice :) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x425f2950 (LWP 16460)] 0x00007f69b40c2ca9 in hcscale_MMX (c=0xed63c0, dst=0x0, dstWidth=720, src1=0x0, src2=0xfffffffffffffa60 <Address 0xfffffffffffffa60 out of bounds>, srcW=<value optimized out>, xInc=15557377, flags=-1274264058, canMMX2BeUsed=65516, hChrFilter=0xedfad0, hChrFilterPos=0x0, hChrFilterSize=15596240, funnyUVCode=0xedf520, srcFormat=4, formatConvBuffer=0x1 <Address 0x1 out of bounds>, mmx2Filter=0x1, mmx2FilterPos=0xed6c90, pal=0x0) at libswscale/swscale_template.c:2187 2187 libswscale/swscale_template.c: No such file or directory. in libswscale/swscale_template.c If I compile media-video/ffmpeg-0.4.9_p20081014 without the mmx flag, kdenlive is starting correctly :) Weird... > Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x425f2950 (LWP 16460)]
> 0x00007f69b40c2ca9 in hcscale_MMX (c=0xed63c0, dst=0x0, dstWidth=720,
> src1=0x0,
> src2=0xfffffffffffffa60 <Address 0xfffffffffffffa60 out of bounds>,
> srcW=<value optimized out>, xInc=15557377, flags=-1274264058,
> canMMX2BeUsed=65516, hChrFilter=0xedfad0, hChrFilterPos=0x0,
> hChrFilterSize=15596240, funnyUVCode=0xedf520, srcFormat=4,
> formatConvBuffer=0x1 <Address 0x1 out of bounds>, mmx2Filter=0x1,
> mmx2FilterPos=0xed6c90, pal=0x0) at libswscale/swscale_template.c:2187
> 2187 libswscale/swscale_template.c: No such file or directory.
> in libswscale/swscale_template.c
>
> If I compile media-video/ffmpeg-0.4.9_p20081014 without the mmx flag, kdenlive
> is starting correctly :) Weird...
>
might be a bug in libswscale mmx converter... will be hard to fix :(
i'll need a more complete backtrace:
bt full -> copy here all what gdb gives
x/8i $pc -> same :)
Created attachment 170146 [details]
full gdb backtrace
(In reply to comment #6) > Created an attachment (id=170146) [edit] > full gdb backtrace > Here it is ! and : (gdb) x/8i $pc 0x7fc112aaeca9 <hcscale_MMX+1897>: movd %mm0,(%rdi,%rbp,1) 0x7fc112aaecad <hcscale_MMX+1901>: add $0x4,%rbp 0x7fc112aaecb1 <hcscale_MMX+1905>: jae 0x7fc112aaec70 <hcscale_MMX+1840> 0x7fc112aaecb3 <hcscale_MMX+1907>: pop %rbp 0x7fc112aaecb4 <hcscale_MMX+1908>: pop %rbx 0x7fc112aaecb5 <hcscale_MMX+1909>: mov -0x38(%rsp),%rdi 0x7fc112aaecba <hcscale_MMX+1914>: mov %rbp,-0x20(%rsp) 0x7fc112aaecbf <hcscale_MMX+1919>: mov %r8,%rax Created attachment 170157 [details, diff]
try it
could you please try to rebuild ffmpeg with that patch and give me the output when running kdenlive ?
you should have things like:
filtersize=8
filtersize=8
filtersize=9
filtersize=5
(In reply to comment #8) > Created an attachment (id=170157) [edit] > try it > > could you please try to rebuild ffmpeg with that patch and give me the output > when running kdenlive ? > > you should have things like: > filtersize=8 > filtersize=8 > filtersize=9 > filtersize=5 ping? please reopen with the needed info |