You are not logged in.

#1 2021-10-23 23:27:42

Grdiigt
Member
Registered: 2021-10-23
Posts: 3

[SOLVED] qutebrowser / python-yaml segmentation fault

Hi,
I updated my system after not using it for a few month. Now qutebrowser segmentation faults.
I tried to make a bugreport on archlinux32.org but it looks like i don't have the privilege to do so.
Could someone please report this bug for me?
Here is the stacktrace:

#0  0xb1c435aa in  () at /usr/lib/python3.9/site-packages/yaml/_yaml.cpython-39-i386-linux-gnu.so
#1  0xb7dc444f in  () at /usr/lib/libpython3.9.so.1.0
#2  0xb7d6a73e in  () at /usr/lib/libpython3.9.so.1.0
#3  0xb7cfc08b in _PyObject_MakeTpCall () at /usr/lib/libpython3.9.so.1.0
#4  0xb7cf839d in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#5  0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#6  0xb7d0d9d7 in  () at /usr/lib/libpython3.9.so.1.0
#7  0xb7cfc0ac in _PyObject_MakeTpCall () at /usr/lib/libpython3.9.so.1.0
#8  0xb7cf7e77 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#9  0xb7cf2829 in  () at /usr/lib/libpython3.9.so.1.0
#10 0xb7d02c0e in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#11 0xb7cf49c1 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#12 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#13 0xb7cf7d83 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#14 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#15 0xb7cf3cf7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#16 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#17 0xb7cf7d83 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#18 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#19 0xb7cf7d83 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#20 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#21 0xb7cf7d83 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#22 0xb7d029d8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#23 0xb7cf7d83 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#24 0xb7cf2829 in  () at /usr/lib/libpython3.9.so.1.0
#25 0xb7d9e4cc in PyEval_EvalCode () at /usr/lib/libpython3.9.so.1.0
#26 0xb7da608c in  () at /usr/lib/libpython3.9.so.1.0
#27 0xb7d0344e in  () at /usr/lib/libpython3.9.so.1.0
#28 0xb7cf3cf7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#29 0xb7cf2829 in  () at /usr/lib/libpython3.9.so.1.0
#30 0xb7d02c0e in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#31 0xb7cf3cf7 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.9.so.1.0
#32 0xb7cf2829 in  () at /usr/lib/libpython3.9.so.1.0
#33 0xb7d02c0e in _PyFunction_Vectorcall () at /usr/lib/libpython3.9.so.1.0
#34 0xb7d11038 in PyObject_Call () at /usr/lib/libpython3.9.so.1.0
#35 0xb7dca7a9 in  () at /usr/lib/libpython3.9.so.1.0
#36 0xb7dc0eb0 in Py_RunMain () at /usr/lib/libpython3.9.so.1.0
#37 0xb7d8fb16 in Py_BytesMain () at /usr/lib/libpython3.9.so.1.0
#38 0x004011b6 in  ()
#39 0xb7a5398d in __libc_start_main () at /usr/lib/libc.so.6
#40 0x00401085 in _start ()

Software used:
linux 5.14.14.arch1-1.0
qutebrowser-git 2.4.0.r1.g540f40d17-1
python-yaml 5.4.1.1-2.0
libyaml 0.2.5-1.1
python 3.9.7-2.1
glibc 2.33-5.1

I'm on the branch pentium4 and my cpu supports cmov, mmx, see, and sse2

Please help me with this issue.

Last edited by levi (2021-10-24 21:23:39)

Offline

#2 2021-10-24 03:39:04

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

FWIW, I have a relatively simple python tool which loads in a couple of yaml config files when I load it.  I have the same packages installed except my kernel isn't quite as new, but it's working for me in that case.  That doesn't help your problem which looks genuine to me.  Unfortunately I don't have a login to the bug tracker at present so I can't raise your bug right now.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2021-10-24 04:08:03

Grdiigt
Member
Registered: 2021-10-23
Posts: 3

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

levi wrote:

FWIW, I have a relatively simple python tool which loads in a couple of yaml config files when I load it.  I have the same packages installed except my kernel isn't quite as new, but it's working for me in that case.  That doesn't help your problem which looks genuine to me.  Unfortunately I don't have a login to the bug tracker at present so I can't raise your bug right now.

thank you for your reply. could you please try the following on your system:
-open terminal
-python3
-import yaml
-yaml.CLoader(None)
This throws a TypeError on my 64bit system, but it segfaults on my 32 bit system.

Offline

#4 2021-10-24 06:30:28

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

Yes, same here.  That at least does segfault, and the dump it produces looks very similar to the one you posted above.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#5 2021-10-24 06:52:02

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

This sounds like a libffi issue in Python itself. Currently libffi.so.8 is in stable, the whole load of Python still in testing.
I pushed the python3 and python interpreters, hope this fixed it.
The bug is https://bugs.archlinux32.org/index.php? … ask_id=213, I added your comments there..

Thanks for reporting. :-)

Offline

#6 2021-10-24 06:55:51

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

mmh. already in stable.
Don't tell me I have to rebuild all python module with libffi.. not to mention that those dependencies don't show in the dependencies of the package
because 'python'/'python2' provides the bindings..

Offline

#7 2021-10-24 07:18:15

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

Indeed, with python-yaml 5.4.1.1-2.1 I get now:


Python 3.9.7 (default, Oct 22 2021, 09:28:30)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
>>> yaml.CLoader(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.9/site-packages/yaml/cyaml.py", line 47, in __init__
    CParser.__init__(self, stream)
  File "yaml/_yaml.pyx", line 303, in yaml._yaml.CParser.__init__
TypeError: a string or stream input is required
>>>
>>>

I triggered all Python modules for a rebuild..

Offline

#8 2021-10-24 21:11:38

Grdiigt
Member
Registered: 2021-10-23
Posts: 3

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

everything works now
thank you very much!

Offline

#9 2021-10-25 06:14:20

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 985
Website

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

You're welcome. :-)

Offline

#10 2021-10-25 15:24:31

mrfu
Member
From: Hagenbach, Germany
Registered: 2020-11-24
Posts: 14

Re: [SOLVED] qutebrowser / python-yaml segmentation fault

merci vielmals

Offline

Board footer

Powered by FluxBB