Opened 10 years ago

Closed 10 years ago

#1687 closed defect (fixed)

-af-* SIGSEGV if no -af used before

Reported by: wbreyha@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:



I wanted to use -af-pre and ended up with SIGSEGV. After some debugging I figured out it happens if the filter list in -af-pre is very long (>70 chars) and no -af is used before. I don't know why the strlen matters, but IMO the filter list is not initialized if -af is never used before -af-* is used.

The SEGV is at least on two of my systems reproduceable with:
mplayer -msglevel all=6 xxxxx.wav -af-pre ladspa=highpass_iir_1890:highpass_iir:180:2,ladspa=amp_1181:amp:2,ladspa=fast_lookahead_limiter_1913:fastLookaheadLimiter:12.60:0:0.5

System 1 used: MPlayer SVN-r31097-4.4.3
System 2 used: MPlayer SVN-r31097-snapshot-4.1.2

Attached patch fixed it for me.

Regards, Wolfgang Breyha

Attachments (1)

mplayer_af_option_fix.patch (299 bytes) - added by wbreyha@… 10 years ago.
fix for uninitialized filter list

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by wbreyha@…

fix for uninitialized filter list

comment:1 Changed 10 years ago by wbreyha@…

comment:2 Changed 10 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed by r31559.

Note: See TracTickets for help on using tickets.