Summary: | media-libs/xvid-1.1.3-r1: pic fixes cause xvid decoder to segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexis Ballier <aballier> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | hardened, pageexec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fixed textrel patch for xvid-1.1.3
fixed textrel patch for xvid-1.1.3 |
Description
Alexis Ballier
![]() Created attachment 138642 [details, diff]
fixed textrel patch for xvid-1.1.3
i fixed a missing stack readjustment in 3dn code (can you confirm that your box is an amd?) that could result in the stack trace you showed, let me know if that was it. also you could have reused the old bugzilla entry as this is a bug related to that patch... now someone's gonna have to invalidate the patch there and redirect people here (i'm off to the pub myself ;).
(In reply to comment #1) > Created an attachment (id=138642) [edit] > fixed textrel patch for xvid-1.1.3 > > i fixed a missing stack readjustment in 3dn code (can you confirm that your box > is an amd?) silly me, it's an athlon so i think i did get it right. really need that beer now. (In reply to comment #1) > Created an attachment (id=138642) [edit] > fixed textrel patch for xvid-1.1.3 > > i fixed a missing stack readjustment in 3dn code (can you confirm that your box > is an amd?) that could result in the stack trace you showed, let me know if > that was it. yes its an athlon64 running a 32bits chroot, but I get a similar failure with a p3 > also you could have reused the old bugzilla entry as this is a bug > related to that patch... now someone's gonna have to invalidate the patch there > and redirect people here (i'm off to the pub myself ;). bah the only valid patch will be the one in the tree, that everyone will use ;) However, with your new patch I still get the same error on the athlon64 & the p3 :/ for completeness, here is what I get on the P3: (gdb) bt #0 0x01010101 in ?? () #1 0x01010101 in ?? () #2 0xb77e3d7d in interpolate8x8_add_switch (cur=<value optimized out>, refn=<value optimized out>, x=<value optimized out>, y=0, dx=1, dy=1, stride=424, rounding=0) at ../../src/image/interpolate8x8.h:332 #3 0xb77e5e14 in decoder_bf_interpolate_mbinter (dec=0x87bfb00, forward= {y = 0xb7403480 '!' <repeats 16 times>, "########$$$$$$$$", '#' <repeats 16 times>, '$' <repeats 16 times>, '&' <repeats 32 times>, '\'' <repeats 24 times>, "&&&&&&&&''''''''", ')' <repeats 32 times>, "********))))))))'3?GOSNENQTSONPS"..., u = 0x8855ae0 "\211\211\211\211\211\211\211\211", '\212' <repeats 48 times>, '\211' <repeats 16 times>, '\212' <repeats 16 times>, "\211\211\211\211\211\211\211\211\207\207\207\207\207\207\207\207", '\205' <repeats 16 times>, "\207\207\207\207\207\207\207\207", '\204' <repeats 16 times>, "\205\205\205\205\205\205\205\205", '\204' <repeats 16 times>, '\205' <repeats 32 times>..., v = 0x8875320 "ssssssss", 'q' <repeats 24 times>, 'o' <repeats 16 times>, 'n' <repeats 24 times>, "mmmmmmmmlllllllliiiiiiiihhhhhhhhjjjjjjjjkkkkkkkkiiiiiiiioooooooonnnnnnnn", 'l' <repeats 16 times>, "nnnnnnnnoooooooonnnnnnnnllllllllnnnnnnnn"...}, backward= {y = 0xb7482480 "\034\034\034\034\034\034\034\034", '\036' <repeats 16 times>, ' ' <repeats 48 times>, "\036\036\036\036\036\036\036\036", ' ' <repeats 32 times>, "!!!!!!!!%%%%%%%%&&&&&&&&", '\'' <repeats 16 times>, "((((((((%%%%%%%%", '&' <repeats 16 times>, " 1AGJKJGKLLIEFKP"..., u = 0x8816ae0 '\212' <repeats 24 times>, "\213\213\213\213\213\213\213\213", '\212' <repeats 32 times>, '\211' <repeats 16 times>, "\212\212\212\212\212\212\212\212\211\211\211\211\211\211\211\211\207\207\207\207\207\207\207\207", '\205' <repeats 16 times>, "\206\207\207\207\207\207\207\207\205", '\204' <repeats 15 times>, "\205\205\205\205\205\205\205\205", '\204' <repeats 17 times>, '\205' <repeats 31 times>..., v = 0x88362e0 "vvvvvvvvtttttttt", 's' <repeats 16 times>, 't' <repeats 16 times>, "ssssssssqqqqqqqq", 'n' <repeats 16 times>, "mmmmmmmmmlkjhgfeeeeeeeeejjjjjjjjghhhhhhhgffffffflooooooonnnnnnnm", 'l' <repeats 16 times>, "mnnnnnnnnooooooonnnnnnnmlllllllmnnnnnnnn"...}, pMB=0xb7159f94, x_pos=9, y_pos=0, bs=0xbf999c94, direct=0) at ../../src/decoder.c:1295 #4 0xb77e8711 in decoder_decode (dec=0x87bfb00, frame=0xbf999d54, stats=0xbf999d8c) at ../../src/decoder.c:1473 #5 0xb77ebf02 in xvid_decore (handle=0x87bfb00, opt=2, param1=0x87d86c0, param2=0xbf999d8c) at ../../src/xvid.c:825 #6 0x080e1cc4 in ?? () #7 0x087bfb00 in ?? () #8 0x00000002 in ?? () #9 0xbf999d54 in ?? () #10 0xbf999d8c in ?? () Created attachment 138664 [details, diff]
fixed textrel patch for xvid-1.1.3
i've found another unbalanced stack problem.
seems all good for me, thanks a lot! WFM, thanks! |