Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfaults on TV input #4096

Closed
fbriere opened this issue Feb 1, 2017 · 3 comments
Closed

Segfaults on TV input #4096

fbriere opened this issue Feb 1, 2017 · 3 comments

Comments

@fbriere
Copy link
Contributor

fbriere commented Feb 1, 2017

mpv version and platform

mpv 0.23.0, on Debian sid/amd64 (with a Hauppauge BT878 card)

Reproduction steps

mpv tv://

Expected behavior

Doesn't crash. 😄

Actual behavior

Segfaults.

Log file

Bisecting identified 9f0e7bb as the guilty commit.

Let me know if there's anything I can do to help. Thanks!

@ghost
Copy link

ghost commented Feb 2, 2017

The TV code is unmaintained. I don't see anything wrong with the commit that's supposed to cause it, and the backtrace doesn't tell me anything either. A backtrace on a binary compiled without optimization might be slightly more helpful.

I can't even test this code, because I have no tuner. On the other hand, the non-v4l dummy backend works fine.

Let me know if there's anything I can do to help.

A patch to fix it would be best.

@ghost ghost added the meta:info-needed label Feb 2, 2017
@fbriere
Copy link
Contributor Author

fbriere commented Feb 2, 2017 via email

@ghost
Copy link

ghost commented Feb 3, 2017

I think switching to calloc would be preferred.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant