Opened 15 years ago

Closed 14 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: no Analyzed by developer: no

Description

Hi!

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@… 15 years ago.
fix for uninitialized filter list

Download all attachments as: .zip

Change History (3)

by wbreyha@…, 15 years ago

Attachment: mplayer_af_option_fix.patch added

fix for uninitialized filter list

comment:1 by wbreyha@…, 15 years ago

comment:2 by reimar, 14 years ago

Resolution: fixed
Status: newclosed

Should be fixed by r31559.

Note: See TracTickets for help on using tickets.