diff options
author | Roland Hieber <rohieb@rohieb.name> | 2017-01-21 01:26:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-25 07:58:45 +0100 |
commit | 194b26536bdff9a24814fe6b6305fbc3a0f805da (patch) | |
tree | dcd540f470f540e97a3885b9aa5fb5647a5eed23 /.github | |
parent | 3b0e8861935059ae79a0c37ad5e8c349628b32f4 (diff) |
osc: fix crashes related to field eventresponder being nil
I'm still getting some crashes after issue #3210 was fixed in commit
5beb2306904b4437b5acf136b02aeaa073c351c7. It's hard to reproduce those
crashes, they happen maybe once a month, so I guess it could be a race
condition. But in any case, I don't see anything wrong in applying some
defensive programming here.
For reference, here is what was happening on 0.23.0-1 from Debian
testing:
Playing: ytdl://usL5CeP_row
(+) Video --vid=1 (*) (h264)
(+) Audio --aid=1 --alang=und (*) (aac)
[osc]
[osc] stack traceback:
[osc] @osc.lua:2074: in function 'process_event'
[osc] @osc.lua:2246: in function 'cb'
[osc] mp.defaults:107: in function 'fn'
[osc] mp.defaults:60: in function 'handler'
[osc] mp.defaults:339: in function 'handler'
[osc] mp.defaults:448: in function 'call_event_handlers'
[osc] mp.defaults:485: in function 'dispatch_events'
[osc] mp.defaults:441: in function <mp.defaults:440>
[osc] [C]: in ?
[osc] [C]: in ?
[osc] Lua error: @osc.lua:2074: attempt to index field 'eventresponder' (a nil value)
Note that the location is different from where issue #3210 happens.
Signed-off-by: Roland Hieber <rohieb@rohieb.name>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions