New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22915 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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 macsforever2000@…) (diff)

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

comment:1 Changed 3 years ago by macsforever2000@…

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

comment:2 Changed 3 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 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.