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

Player sometimes crashes or deadlocks when attempting to play an Icy stream #2237

Closed
ptkovsky opened this issue Oct 8, 2019 · 4 comments
Closed
Labels

Comments

@ptkovsky
Copy link

ptkovsky commented Oct 8, 2019

Steps to reproduce the problem

  1. Add test playlist.
  2. Try to play a specific entry.

What's going on? Describe the problem in as much detail as possible.

In the test playlist featured in the issue #2235, there is an interesting entry http://147.175.61.55:8000/ where DeadBeeF sometimes hangs and crashes when attempting to play it.

There is also another issue where when it does not hang, it plays mono sound instead of stereo.

I believe there is a problem with the source, but nevertheless, decided to report this behavior which seems very interesting and also sort of incorrect.

Other tested players do not hang and play stereo sound in this case.

Information about the software:

Deadbeef version: b0cdeb0.
OS: macOS 10.15.

@ptkovsky ptkovsky changed the title Player sometimes hands when attempting to play an entry in the playlist Player sometimes crashes when attempting to play an entry in the playlist Oct 8, 2019
@Oleksiy-Yakovenko Oleksiy-Yakovenko changed the title Player sometimes crashes when attempting to play an entry in the playlist Player sometimes crashes or deadlocks when attempting to play an Icy stream Oct 9, 2019
@Oleksiy-Yakovenko Oleksiy-Yakovenko moved this from To do to In progress in deadbeef-1.8.3 Nov 10, 2019
@Oleksiy-Yakovenko Oleksiy-Yakovenko moved this from In progress to Done in deadbeef-1.8.3 Nov 10, 2019
@ptkovsky
Copy link
Author

ptkovsky commented Nov 11, 2019

Hi Alexey, thanks for your effort to fix the issue!

I quickly tested your yesterday's fixes, so when using 014791c and attempting to play the selected url address, the are two types of behavior:

  1. Sometimes player immediately skips to the next playlist entry, and the Log windows pops out with the information (last part of it copied here):

selected output plugin: CoreAudio resume: track -1 pos -1.000000 playlist -1 No suitable decoder found for stream http://147.175.61.55:8000/ of content-type audio/mpeg

  1. When clicking again in the next moment, player sometimes starts playing this same stream, but the above-mentioned bug with mono sound playback is still observed.

@Oleksiy-Yakovenko
Copy link
Member

This is not what I was fixing. What you're observing is a different issue (actually multiple issues), described in #2235 that you reported.

@Oleksiy-Yakovenko
Copy link
Member

So I investigated the stream at the URL in question.
It is actually mono. Maybe it becomes stereo at some point, I don't know, but at the time of writing this message -- it is mono.

@ptkovsky
Copy link
Author

Yeah sure, looks like a separate issue.

About mono, remember I previously wrote that other tested players play stereo sound in this case? Here I was a little confused about what the correct behavior should be. I thought that DeaDBeeF may transform sound to stereo even when source is mono, like other players do it in this case. Technically and strictly speaking, playing mono here is the correct and expected behavior - what you get is what you output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants