Bug 1756448

Summary: [abrt] mpdris2: readinto(): socket.py:589:readinto:socket.timeout: timed out
Product: [Fedora] Fedora Reporter: Vadim Raskhozhev <iamdexpl>
Component: mpdris2Assignee: "FeRD" (Frank Dana) <ferdnyc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: ferdnyc, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bfa884443a514ff5ac2487bb4125dc4b56b2d980
Whiteboard: abrt_hash:4aa1d6b6d2e7c88a459600ce86c253793afca2d2;VARIANT_ID=workstation;
Fixed In Version: mpdris2-0.8-2.20191223gite06bcf6.fc30 mpdris2-0.8-2.20191223gite06bcf6.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-21 01:22:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Vadim Raskhozhev 2019-09-27 16:48:18 UTC
Version-Release number of selected component:
mpdris2-0.8-1.20190706git1653e15.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        /usr/bin/python3 /usr/bin/mpDris2
crash_function: readinto
exception_type: socket.timeout
executable:     /usr/bin/mpDris2
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.9-200.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
socket.py:589:readinto:socket.timeout: timed out

Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/gi/overrides/GLib.py", line 669, in <lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/bin/mpDris2", line 467, in socket_callback
    data = fd._fetch_objects("changed")
  File "/usr/bin/mpDris2", line 872, in _fetch_objects
    return list(self.client._parse_objects_direct(self.client._read_lines(), *args))
  File "/usr/lib/python3.7/site-packages/mpd/base.py", line 224, in _parse_objects
    for key, value in self._parse_pairs(lines):
  File "/usr/lib/python3.7/site-packages/mpd/base.py", line 219, in _parse_pairs
    for line in lines:
  File "/usr/lib/python3.7/site-packages/mpd/base.py", line 538, in _read_lines
    line = self._read_line()
  File "/usr/lib/python3.7/site-packages/mpd/base.py", line 518, in _read_line
    line = self._rfile.readline()
  File "/usr/lib64/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

Local variables in innermost frame:
self: <socket.SocketIO object at 0x7f5eb2d9ad50>
b: <memory at 0x7f5eb2bbaef0>

Potential duplicate: bug 1683389

Comment 1 Vadim Raskhozhev 2019-09-27 16:48:21 UTC
Created attachment 1620214 [details]
File: backtrace

Comment 2 Vadim Raskhozhev 2019-09-27 16:48:22 UTC
Created attachment 1620215 [details]
File: cgroup

Comment 3 Vadim Raskhozhev 2019-09-27 16:48:24 UTC
Created attachment 1620216 [details]
File: cpuinfo

Comment 4 Vadim Raskhozhev 2019-09-27 16:48:25 UTC
Created attachment 1620217 [details]
File: environ

Comment 5 Vadim Raskhozhev 2019-09-27 16:48:26 UTC
Created attachment 1620218 [details]
File: mountinfo

Comment 6 Vadim Raskhozhev 2019-09-27 16:48:27 UTC
Created attachment 1620219 [details]
File: namespaces

Comment 7 Vadim Raskhozhev 2019-09-27 16:48:29 UTC
Created attachment 1620220 [details]
File: open_fds

Comment 8 "FeRD" (Frank Dana) 2019-09-29 22:19:30 UTC
Thanks, Vadim. I'm seeing the same things on my system, looks like, though curiously enough this doesn't appear to have been reported upstream yet. (It MAY be related to issue 116 / PR 110, not clear yet.)

https://github.com/eonpatapon/mpDris2/issues/116
https://github.com/eonpatapon/mpDris2/pull/110

I'll forward the report upstream, see what eonpatapon makes of it.

Comment 9 "FeRD" (Frank Dana) 2020-01-12 09:52:25 UTC
It hasn't made it to updates-testing yet, but I just submitted an updated package to Bodhi that I'm /hoping/ will fix this. I think it's related to the startup notification-service race condition reported upstream in issue 116, and a PR was later merged that's claimed to solve that problem.

Comment 10 "FeRD" (Frank Dana) 2020-01-12 09:53:14 UTC
(Er, sorry, the update URL — though a comment should be automatically added when it goes to testing:)

https://bodhi.fedoraproject.org/updates/FEDORA-2020-5efc6455a2

Comment 11 Fedora Update System 2020-01-13 02:39:01 UTC
mpdris2-0.8-2.20191223gite06bcf6.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-85931a80fa

Comment 12 Fedora Update System 2020-01-13 02:46:48 UTC
mpdris2-0.8-2.20191223gite06bcf6.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5efc6455a2

Comment 13 Fedora Update System 2020-01-21 01:22:53 UTC
mpdris2-0.8-2.20191223gite06bcf6.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-01-21 01:38:14 UTC
mpdris2-0.8-2.20191223gite06bcf6.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.