Summary: | media-video/transcode: transcode crashes in libjpeg.so.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Byrne <salah.coronya> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | denilsonsa, svrmarty |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
explicitly set do_fancy_downsampling to FALSE
transcode-1.1.5-r1.ebuild patch |
Description
Christopher Byrne
2009-11-24 21:42:47 UTC
The situation is no better with jpeg 8 either (trasncode 1.1.5) Core was generated by `transcode --progress_meter 1 --progress_rate 10 --write_pid /tmp/todisc-work.0/'. Program terminated with signal 11, Segmentation fault. #0 jpeg_fdct_16x16 (data=0xbfdca640, sample_data=0x831bd50, start_col=0) at jfdctint.c:2188 #1 0xa563f5d6 in forward_DCT (cinfo=0xbfdca85c, compptr=0x833fd24, sample_data=0x831bd50, coef_blocks=0x8340894, start_row=0, start_col=0, num_blocks=1) at jcdctmgr.c:82 #2 0xa563ec3e in compress_data (cinfo=0xbfdca85c, input_buf=0xb78420ac) at jccoefct.c:180 #3 0xa563cc77 in jpeg_write_raw_data (cinfo=0xbfdca85c, data=0xb78420ac, num_lines=16) at jcapistd.c:153 #4 0xb783ebbd in write_yuv_JPEG_file (filename=<value optimized out>, quality=75, input=0xbfdcaae0, _width=320, _height=240) at export_jpg.c:117 #5 0xb783f159 in export_jpg_encode (opt=13, para1=0x80a1e24, para2=0x8319008) at export_jpg.c:297 #6 tc_export (opt=13, para1=0x80a1e24, para2=0x8319008) at export_def.h:101 #7 0x0805bad6 in tcv_export (opt=13, para1=0x80a1e24, para2=0x8319008) at dl_loader.c:66 #8 0x0805c7d8 in OLD_encoder_export (vob=0x8319008, frame_first=3, frame_last=602) at encoder.c:1208 #9 encoder_export (vob=0x8319008, frame_first=3, frame_last=602) at encoder.c:833 #10 tc_encoder_loop (vob=0x8319008, frame_first=3, frame_last=602) at encoder.c:1390 #11 0x08054c6e in transcode_mode_default (argc=0, argv=0xeb851eb8) #12 main (argc=0, argv=0xeb851eb8) at transcode.c:2740 Created attachment 217204 [details, diff]
explicitly set do_fancy_downsampling to FALSE
Apparently, when settings dinfo.raw_data_in,
previous version jpeg automatically set dinfo.do_fancy_downsampling to
FALSE. Newer versions (since 7) of media-libs/jpeg do not do that anymore and
the program must do it explicitly (although I have not found any documentation
to that effect).
Compile tested only, but a similar fix in mjpegtools (but output rather than input) works.
Created attachment 217205 [details, diff]
transcode-1.1.5-r1.ebuild patch
Patch to ebuild to apply new patch transcode-1.1.5-jpeg-7.patch
Thank you again. +*transcode-1.1.5-r1 (23 Jan 2010) + + 23 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> + +transcode-1.1.5-r1.ebuild, +files/transcode-1.1.5-jpeg-7.patch: + Fix segmentation fault with jpeg-7 and above wrt #294488 by Salah Coronya. |