Bug 1911589 - [abrt] beets: feed(): chromaprint.py:145:feed:ValueError: operation forbidden on released memoryview object
Summary: [abrt] beets: feed(): chromaprint.py:145:feed:ValueError: operation forbidden...
Keywords:
Status: CLOSED DUPLICATE of bug 1893431
Alias: None
Product: Fedora
Classification: Fedora
Component: beets
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michele Baldessari
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9a190fbe104dca2df0287b045f7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-30 07:40 UTC by Juan Orti
Modified: 2020-12-30 09:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-30 09:06:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.74 KB, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details
File: cpuinfo (2.71 KB, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details
File: environ (2.90 KB, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details
File: mountinfo (3.72 KB, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details
File: namespaces (172 bytes, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details
File: open_fds (575 bytes, text/plain)
2020-12-30 07:40 UTC, Juan Orti
no flags Details

Description Juan Orti 2020-12-30 07:40:15 UTC
Description of problem:
beet import

Version-Release number of selected component:
beets-1.4.9-8.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/dbus\x2d:1.2\x2dcom.gexperts.Tilix.slice/vte-spawn-78dc59ce-1a9e-4913-88fb-71c2d64307bf.scope
cmdline:        /usr/bin/python3 /usr/bin/beet import '/run/user/1000/gvfs/smb-share:server=xenon.lan,share=nas/Bittorrent/Faith No More - Studio Discography [FLAC] [h33t] - Kitlope/'
crash_function: feed
exception_type: ValueError
executable:     /usr/bin/beet
interpreter:    python3-3.9.1-1.fc33.x86_64
kernel:         5.9.16-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
chromaprint.py:145:feed:ValueError: operation forbidden on released memoryview object

Traceback (most recent call last):
  File "/usr/bin/beet", line 33, in <module>
    sys.exit(load_entry_point('beets==1.4.9', 'console_scripts', 'beet')())
  File "/usr/lib/python3.9/site-packages/beets/ui/__init__.py", line 1266, in main
    _raw_main(args)
  File "/usr/lib/python3.9/site-packages/beets/ui/__init__.py", line 1253, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/lib/python3.9/site-packages/beets/ui/commands.py", line 955, in import_func
    import_files(lib, paths, query)
  File "/usr/lib/python3.9/site-packages/beets/ui/commands.py", line 925, in import_files
    session.run()
  File "/usr/lib/python3.9/site-packages/beets/importer.py", line 329, in run
    pl.run_parallel(QUEUE_SIZE)
  File "/usr/lib/python3.9/site-packages/beets/util/pipeline.py", line 445, in run_parallel
    six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/usr/lib/python3.9/site-packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3.9/site-packages/beets/util/pipeline.py", line 312, in run
    out = self.coro.send(msg)
  File "/usr/lib/python3.9/site-packages/beets/util/pipeline.py", line 194, in coro
    func(*(args + (task,)))
  File "/usr/lib/python3.9/site-packages/beets/importer.py", line 1344, in lookup_candidates
    plugins.send('import_task_start', session=session, task=task)
  File "/usr/lib/python3.9/site-packages/beets/plugins.py", line 489, in send
    result = handler(**arguments)
  File "/usr/lib/python3.9/site-packages/beets/plugins.py", line 143, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/beetsplug/chroma.py", line 182, in fingerprint_task
    return fingerprint_task(self._log, task, session)
  File "/usr/lib/python3.9/site-packages/beetsplug/chroma.py", line 251, in fingerprint_task
    acoustid_match(log, item.path)
  File "/usr/lib/python3.9/site-packages/beetsplug/chroma.py", line 91, in acoustid_match
    duration, fp = acoustid.fingerprint_file(util.syspath(path))
  File "/usr/lib/python3.9/site-packages/acoustid.py", line 333, in fingerprint_file
    return _fingerprint_file_audioread(path, maxlength)
  File "/usr/lib/python3.9/site-packages/acoustid.py", line 275, in _fingerprint_file_audioread
    fp = fingerprint(f.samplerate, f.channels, iter(f), maxlength)
  File "/usr/lib/python3.9/site-packages/acoustid.py", line 217, in fingerprint
    fper.feed(block)
  File "/usr/lib/python3.9/site-packages/chromaprint.py", line 145, in feed
    data = BYTES_TYPE(data)
ValueError: operation forbidden on released memoryview object

Local variables in innermost frame:
self: <chromaprint.Fingerprinter object at 0x7f3372903550>
data: <released memory at 0x7f3368b1b100>

Comment 1 Juan Orti 2020-12-30 07:40:19 UTC
Created attachment 1743161 [details]
File: backtrace

Comment 2 Juan Orti 2020-12-30 07:40:20 UTC
Created attachment 1743163 [details]
File: cpuinfo

Comment 3 Juan Orti 2020-12-30 07:40:21 UTC
Created attachment 1743164 [details]
File: environ

Comment 4 Juan Orti 2020-12-30 07:40:23 UTC
Created attachment 1743165 [details]
File: mountinfo

Comment 5 Juan Orti 2020-12-30 07:40:24 UTC
Created attachment 1743166 [details]
File: namespaces

Comment 6 Juan Orti 2020-12-30 07:40:25 UTC
Created attachment 1743167 [details]
File: open_fds

Comment 7 Michele Baldessari 2020-12-30 09:06:41 UTC

*** This bug has been marked as a duplicate of bug 1893431 ***


Note You need to log in before you can comment on or make changes to this bug.