| Summary: | Audio crashes with pyglet | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | papoteur <yvesbrungard> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | andrewsfarm, marja11, sysadmin-bugs |
| Version: | 9 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA9-64-OK | ||
| Source RPM: | python-pyglet-1.5.16-3.mga9 | CVE: | |
| Status comment: | |||
| Attachments: | Display a button to stop the program when plyaing a sound | ||
Created attachment 14256 [details]
Display a button to stop the program when plyaing a sound
Path for a button and a sound are hardcoded. Change them if needed
Submitting an update Source: python-pyglet-1.5.27-1.mga9 RPM: python3-pyglet-1.5.27-1.mga9 Assignee:
yvesbrungard =>
qa-bugs Tested in Real Hardware Mageia 9 x86_64 Install current version of python3-pyglet Use test script and confirm the crash Update to testing package without issues Run again the test script and the sound is played Whiteboard:
(none) =>
MGA9-64-OK Validating. CC:
(none) =>
andrewsfarm, sysadmin-bugs
katnatek
2024-01-08 02:17:52 CET
CC:
(none) =>
marja11 Marja, please upload advisory for this bug (In reply to katnatek from comment #5) > Marja, please upload advisory for this bug Done Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0006.html Resolution:
(none) =>
FIXED |
Description of problem: When trying to play a sound, crash occurs: python test2_pyglet.py Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pyglet/__init__.py", line 342, in __getattr__ return getattr(self._module, name) AttributeError: 'NoneType' object has no attribute 'load' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/yves/Documents/test2_pyglet.py", line 46, in <module> x = main() File "/home/yves/Documents/test2_pyglet.py", line 10, in __init__ self.sound = pyglet.media.load('/usr/share/sounds/purple/login.wav') File "/usr/lib/python3.10/site-packages/pyglet/__init__.py", line 348, in __getattr__ __import__(import_name) File "/usr/lib/python3.10/site-packages/pyglet/media/__init__.py", line 143, in <module> add_default_media_codecs() File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 102, in add_default_media_codecs if have_ffmpeg(): File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 118, in have_ffmpeg from . import ffmpeg_lib File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/__init__.py", line 36, in <module> from .libavcodec import * File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 46, in <module> from . import libavutil File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 206, in <module> avutil.av_frame_get_best_effort_timestamp.restype = c_int64 File "/usr/lib64/python3.10/ctypes/__init__.py", line 387, in __getattr__ func = self.__getitem__(name) File "/usr/lib64/python3.10/ctypes/__init__.py", line 392, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /lib64/libavutil.so.57: undefined symbol: av_frame_get_best_effort_timestamp Exception ignored in atexit callback: <function _delete_audio_driver at 0x7fb9014b9e10> Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pyglet/media/drivers/__init__.py", line 103, in _delete_audio_driver from .. import Source File "/usr/lib/python3.10/site-packages/pyglet/media/__init__.py", line 143, in <module> add_default_media_codecs() File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 102, in add_default_media_codecs if have_ffmpeg(): File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 118, in have_ffmpeg from . import ffmpeg_lib File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/__init__.py", line 36, in <module> from .libavcodec import * File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavcodec.py", line 46, in <module> from . import libavutil File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/ffmpeg_lib/libavutil.py", line 206, in <module> avutil.av_frame_get_best_effort_timestamp.restype = c_int64 File "/usr/lib64/python3.10/ctypes/__init__.py", line 387, in __getattr__ func = self.__getitem__(name) File "/usr/lib64/python3.10/ctypes/__init__.py", line 392, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /lib64/libavutil.so.57: undefined symbol: av_frame_get_best_effort_timestamp Version-Release number of selected component (if applicable): 1.5.16 How reproducible: I will join the script.