strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.54k stars 164 forks source link

Random error when switching to different music, manually and automatically - Internal data stream error #1329

Open SzImre90 opened 7 months ago

SzImre90 commented 7 months ago

Describe the bug ../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-7-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin6/GstParseBin:parsebin6/GstMpegAudioParse:mpegaudioparse11: streaming stopped, reason not-linked (-1)

To Reproduce Switching to different music, manually and automatically. (mp3, flac)

Expected behavior Error message.

Screenshots: strawberry error next music strawberry error next music2 strawberry error next music3

System Information:

Additional context I use Topping DX1 dac as a "sound card".

jonaski commented 7 months ago

Does this happen only with the DAC? Did you upgrade to the latest drivers for the DAC? https://www.toppingaudio.com/download/test

SzImre90 commented 7 months ago

Latest verion using: 5.62. (https://www.tpdz.net/download) But I don't think the problem is going to be with the dac. Reason: I had the same problem with the previous version of the Strawberry player, I just kept waiting for it to be fixed.

jonaski commented 7 months ago

It's not a known issue. I can't reproduce it and no-else has reported it, which makes me suspect it's either related to your hardware (DAC), audio files, or specific settings. What output do you have in the backend settings, Auto, Directsound or WASAPI? Is fading enabled or disabled? Is any of the other features enabled, like replay gain?

SzImre90 commented 7 months ago

"I can't reproduce" Typically, the error occurs rarely and randomly. "your hardware (DAC)" But it seems like the older player also gave me the same issue. The problem is not new. With your permission, I will show you the settings in pictures. ( I change language hungarian->english) In short: Directsound, fading disable, replay gain disable. sbmp_sett_1 sbmp_sett_1 2 sbmp_sett_1 3 sbmp_sett_2

SzImre90 commented 6 months ago

Today I received new error messages. When I changed music. I conclude that at some point it suddenly cannot load the module, so it throws an error message. The weird thing is, what I wanted to listen to music, first time it throws error, then the same music started normally on 2nd start. Error message:

Internal data stream error.

../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-40-pipeline/ GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin40/GstParseBin:parsebin40/ GstMpegAudioParse:mpegaudioparse71: streaming stopped, reason not-linked (-1)


Internal data stream error.

../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-163-pipeline/ GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin168/GstParseBin:parsebin169/ GstMpegAudioParse:mpegaudioparse286: streaming stopped, reason not-linked (-1)

jonaski commented 6 months ago

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3198

SzImre90 commented 6 months ago

Thank you for the information! How do I do this "debug" thing?

jonaski commented 6 months ago

Exit strawberry Create c:\temp Open cmd (Command Prompt), then type.:

set GST_DEBUG=*:5
set GST_DEBUG_FILE=c:\temp\gstreamer-debug.log
"c:\Program Files\Strawberry Music Player\strawberry.exe"

Play until error occurs, then close strawberry, zip logfile c:\temp\gstreamer-debug.log and attach here.

SzImre90 commented 5 months ago

Thank you for your help! I have done what I needed to do, but I can't attach it here because the log file size is about 5-6 GB or more if I listen to more. Even if I zip it, it's still a big file (2.6GB). I can only do that if I upload it somewhere and paste the link. I don't know how normal this is? The error did not occur during attempts. But this list may give some information. I will keep trying. update: I will try the new version (1.0.23), since the gstream core version has changed.

SzImre90 commented 5 months ago

Attach the file (google drive - file is big): Download the debug

qarmin commented 3 months ago

I have same problem with AC511 soundbar on Ubuntu 23.10 - Gstreamer 1.22(most packages 1.22.5/1.22.6)

Grepped all errors from strawberry from last month

mar 14 18:58:47  org.strawberrymusicplayer.strawberry.desktop[353337]: 18:58:47.136 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 32 Domain: 4505 Code: 1 Error: "Internal data stream error."
mar 14 18:58:47  org.strawberrymusicplayer.strawberry.desktop[353337]: 18:58:47.136 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 32 Domain: 4505 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-32-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin56/GstParseBin:parsebin56/GstMpegAudioParse:mpegaudioparse113:\nstreaming stopped, reason not-linked (-1)"
mar 14 18:58:47  org.strawberrymusicplayer.strawberry.desktop[353337]: 18:58:47.143 ERROR GstEngine:560                    GStreamer error: 4505 1 "Internal data stream error."
mar 17 08:09:48  org.strawberrymusicplayer.strawberry.desktop[6864]: 08:09:48.938 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 20 Domain: 4505 Code: 1 Error: "Internal data stream error."
mar 17 08:09:48  org.strawberrymusicplayer.strawberry.desktop[6864]: 08:09:48.938 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 20 Domain: 4505 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-20-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin23/GstParseBin:parsebin23/GstMpegAudioParse:mpegaudioparse47:\nstreaming stopped, reason not-linked (-1)"
mar 17 08:09:48  org.strawberrymusicplayer.strawberry.desktop[6864]: 08:09:48.944 ERROR GstEngine:560                    GStreamer error: 4505 1 "Internal data stream error."
mar 18 09:58:29  org.strawberrymusicplayer.strawberry.desktop[5747]: 09:58:29.676 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 28 Domain: 4505 Code: 1 Error: "Internal data stream error."
mar 18 09:58:29  org.strawberrymusicplayer.strawberry.desktop[5747]: 09:58:29.676 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 28 Domain: 4505 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-28-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin54/GstParseBin:parsebin54/GstMpegAudioParse:mpegaudioparse119:\nstreaming stopped, reason not-linked (-1)"
mar 18 09:58:29  org.strawberrymusicplayer.strawberry.desktop[5747]: 09:58:29.680 ERROR GstEngine:560                    GStreamer error: 4505 1 "Internal data stream error."
mar 20 16:38:19  org.strawberrymusicplayer.strawberry.desktop[4795]: 16:38:19.066 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 52 Domain: 4505 Code: 1 Error: "Internal data stream error."
mar 20 16:38:19  org.strawberrymusicplayer.strawberry.desktop[4795]: 16:38:19.066 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 52 Domain: 4505 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-52-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin179/GstParseBin:parsebin179/GstMpegAudioParse:mpegaudioparse467:\nstreaming stopped, reason not-linked (-1)"
mar 20 16:38:19  org.strawberrymusicplayer.strawberry.desktop[4795]: 16:38:19.071 ERROR GstEngine:560                    GStreamer error: 4505 1 "Internal data stream error."
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 6 Domain: 4504 Code: 3 Error: "Resource not found."
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 6 Domain: 4504 Code: 3 Debug: "../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin17/GstFileSrc:filesrc17:\nNo such file \"/home/rafal/Desktop/AAA/The Staves/All Now/All Now.mp3\""
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 6 Domain: 4505 Code: 4 Error: "GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure."
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 6 Domain: 4505 Code: 4 Debug: "../libs/gst/base/gstbasesrc.c(3561): gst_base_src_start (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin17/GstFileSrc:filesrc17:\nFailed to start"
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 6 Domain: 4504 Code: 3 Error: "Resource not found."
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 6 Domain: 4504 Code: 3 Debug: "../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin17/GstFileSrc:filesrc17:\nNo such file \"/home/rafal/Desktop/AAA/The Staves/All Now/All Now.mp3\""
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 6 Domain: 4505 Code: 4 Error: "GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure."
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 6 Domain: 4505 Code: 4 Debug: "../libs/gst/base/gstbasesrc.c(3561): gst_base_src_start (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin17/GstFileSrc:filesrc17:\nFailed to start"
mar 22 20:31:35  org.strawberrymusicplayer.strawberry.desktop[76987]: 20:31:35.936 ERROR GstEngine:560                    GStreamer error: 4504 3 "Resource not found."
mar 27 03:21:12  org.strawberrymusicplayer.strawberry.desktop[283800]: 03:21:12.854 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 102 Domain: 4508 Code: 1 Error: "Internal data stream error."
mar 27 03:21:12  org.strawberrymusicplayer.strawberry.desktop[283800]: 03:21:12.855 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 102 Domain: 4508 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-102-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin116/GstParseBin:parsebin116/GstMpegAudioParse:mpegaudioparse241:\nstreaming stopped, reason not-linked (-1)"
mar 27 03:21:12  org.strawberrymusicplayer.strawberry.desktop[283800]: 03:21:12.860 ERROR GstEngine:560                    GStreamer error: 4508 1 "Internal data stream error."
mar 27 13:35:43  org.strawberrymusicplayer.strawberry.desktop[6609]: 13:35:43.909 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 96 Domain: 4504 Code: 1 Error: "Disconnected: Connection terminated"
mar 27 13:35:43  org.strawberrymusicplayer.strawberry.desktop[6609]: 13:35:43.909 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 96 Domain: 4504 Code: 1 Debug: "../ext/pulse/pulsesink.c(414): gst_pulsering_is_dead (): /GstPlayBin3:pipeline-96-pipeline/GstPlaySink:playsink/GstBin:abin/GstBin:audiobin/GstAutoAudioSink:pipeline-96-autoaudiosink/GstPulseSink:pipeline-96-autoaudiosink-actual-sink-pulse"
mar 27 13:35:43  org.strawberrymusicplayer.strawberry.desktop[6609]: 13:35:43.909 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 96 Domain: 4504 Code: 1 Error: "pa_stream_writable_size() failed: Connection terminated"
mar 27 13:35:43  org.strawberrymusicplayer.strawberry.desktop[6609]: 13:35:43.910 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 96 Domain: 4504 Code: 1 Debug: "../ext/pulse/pulsesink.c(1752): gst_pulseringbuffer_commit (): /GstPlayBin3:pipeline-96-pipeline/GstPlaySink:playsink/GstBin:abin/GstBin:audiobin/GstAutoAudioSink:pipeline-96-autoaudiosink/GstPulseSink:pipeline-96-autoaudiosink-actual-sink-pulse"
mar 27 13:35:43  org.strawberrymusicplayer.strawberry.desktop[6609]: 13:35:43.910 ERROR GstEngine:560                    GStreamer error: 4504 1 "Disconnected: Connection terminated"
mar 28 12:00:03  org.strawberrymusicplayer.strawberry.desktop[4944]: 12:00:03.376 ERROR GstEnginePipeline:1348           ErrorMessageReceived ID: 60 Domain: 4508 Code: 1 Error: "Internal data stream error."
mar 28 12:00:03  org.strawberrymusicplayer.strawberry.desktop[4944]: 12:00:03.376 ERROR GstEnginePipeline:1349           ErrorMessageReceived ID: 60 Domain: 4508 Code: 1 Debug: "../libs/gst/base/gstbaseparse.c(3694): gst_base_parse_loop (): /GstPlayBin3:pipeline-60-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin85/GstParseBin:parsebin85/GstMpegAudioParse:mpegaudioparse172:\nstreaming stopped, reason not-linked (-1)"
mar 28 12:00:03  org.strawberrymusicplayer.strawberry.desktop[4944]: 12:00:03.377 ERROR GstEngine:560                    GStreamer error: 4508 1 "Internal data stream error."
jonaski commented 3 months ago

Can you try the latest from https://builds.strawberrymusicplayer.org/windows/ and check if the issue is fixed, or at least if you get a better error message.

SzImre90 commented 2 months ago

Installed the latest version (x64): 1.0.23-101-g70809e06 As far as I am concerned, the issue has not been fixed yet. I have attached the file. For the debug error log, I would like some more time. strawberry music player error.txt

SzImre90 commented 2 months ago

Attach the debug log file (google drive). Strawberry Music Player version (x64): 1.0.23-101-g70809e06 I will try it with the newer version.

Raxelgrande commented 2 months ago

I have the same problem on Fedora 40 Strawberry 1.0.23 Strawberry error.txt

SzImre90 commented 1 month ago

Strawberry_internal data stream error_2024_05_08.txt Attach the error log with build version. I will be able to debug it later.

Moini commented 3 weeks ago

Happens for me, too. Linux Mint 21.3

guprobr commented 2 weeks ago

I dunno if its related, but if you just PAUSE a song using gStreamer engine, and it passes a bit of time, It causes an error when RESUMING (binary artifacts playing instead of song, or inability to continue playing the song also). I'm using pipewire as sound server but the backend is pulseaudio. Does this happen to any of you too?