Opened 11 years ago

Closed 10 years ago

#22915 closed defect (fixed)

mjpegtools: jpeg2yuv segfaults with libjpeg7

Reported by: olufsson@… Owned by: filippo.natali@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: mjpegtools

Description (last modified by mf2k (Frank Schima))

jpeg2yuv (from the mjpegtools package) segfaults reproducable:

jpeg2yuv -v 1 -f 25 -I p -n 1 -l 30 -L 1 -b1 -j dummy.jpg

 INFO: [jpeg2yuv] Parsing & checking input files.
   INFO: [jpeg2yuv] YUV colorspace detected.

   INFO: [jpeg2yuv] Starting decompression
   INFO: [jpeg2yuv] Image dimensions are 720x576
   INFO: [jpeg2yuv] Movie frame rate is:  25.000000 frames/second
   INFO: [jpeg2yuv] Non-interlaced/progressive frames.
   INFO: [jpeg2yuv] Frame size:  720 x 576
   INFO: [jpeg2yuv] Number of Loops 30
   INFO: [jpeg2yuv] Number of Frames 1
   INFO: [jpeg2yuv] Start at frame 1
   INFO: [jpeg2yuv] Now generating YUV4MPEG stream.
   INFO: [jpeg2yuv] Processing non-interlaced/interleaved /tmp/todisc-work.0/dummy.jpg, size 2715

After that it crashes with a Segmentation Fault. Apperantly it is the same in for example linux with libjpeg7. See for instance https://qa.mandriva.com/show_bug.cgi?id=55450

Change History (4)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to filippo.natali@…

comment:2 Changed 11 years ago by olufsson@…

If mjpegtools is compiled with a static libjpeg6b jpeg2yuv works again. So the problem definitly lies with libjpeg7. Maybe the bug should be moved from mjpegtools to libjpeg.

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.