[Pkg-opencl-devel] Bug#909379: Info received (Bug#909379: segfault when leaving the python3-dbg interpreter)

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Sun Sep 23 10:16:36 BST 2018


Here a backtrace,

So the segfault comes from the cffi backend.
Since cffi is used during the pyopencl build,maybe something changed
between the cffit versionduring the build and the current one.

pyopencl was build with python-cffi all 1.11.5-1

and used with the cffi-backend 1.11.5-3.

somaybe there is a ABI incompatibility between these versions.

(gdb) bt
#0  0x080a8f1d in PyObject_Repr (v=<unknown at remote 0xb5fed5e3>) at ../Objects/object.c:457
#1  0x080a939a in PyObject_Print (op=<unknown at remote 0xb5fed5e3>, fp=0xb7e0dce0 <_IO_2_1_stderr_>, flags=0) at ../Objects/object.c:369
#2  0x080a94dd in _PyObject_Dump (op=<unknown at remote 0xb5fed5e3>) at ../Objects/object.c:427
#3  0x080a95af in _Py_ForgetReference (op=('/usr/lib/python3/dist-packages/_cffi_backend.cpython-37dm-i386-linux-gnu.so', '_cffi_backend')) at ../Objects/object.c:1909
#4  0x080a8ea8 in _Py_Dealloc (op=('/usr/lib/python3/dist-packages/_cffi_backend.cpython-37dm-i386-linux-gnu.so', '_cffi_backend')) at ../Objects/object.c:1932
#5  0x080980e4 in free_keys_object (keys=keys at entry=0x8733560) at ../Objects/dictobject.c:556
#6  0x08099ad6 in dict_dealloc (mp=0xb7a973f4) at ../Objects/dictobject.c:1911
#7  0x080a8ead in _Py_Dealloc (
    op={(0x0, 'sys'): <moduledef at remote 0x84d00a0>, ((...), 'builtins'): <moduledef at remote 0x84ca3c0>, ((...), '_thread'): <moduledef at remote 0x84e6980>, ((...), '_warnings'): <moduledef at remote 0x84ca0e0>, ((...), '_weakref'): <moduledef at remote 0x84e8e40>, ((...), <unknown at remote 0xb7a51f28>): <moduledef at remote 0x852f1e0>, ((...), '_io'): <moduledef at remote 0x84dc280>, ((...), 'marshal'): <moduledef at remote 0x84ce4c0>, ((...), 'posix'): <moduledef at remote 0x84f91c0>, ((...), <unknown at remote 0xb79a6300>): <moduledef at remote 0x84d5700>, ((...), <unknown at remote 0xb7a10108>): <moduledef at remote 0x8507d80>, ((...), <unknown at remote 0xb79c16f0>): <moduledef at remote 0x84d46e0>, ((...), <unknown at remote 0xb795bd10>): <moduledef at remote 0x84e4640>, ((...), '_locale'): <moduledef at remote 0x84de1a0>, ((...), <unknown at remote 0xb78e9028>): <moduledef at remote 0x84de700>, ((...), '_heapq'): <moduledef at remote 0x84da5a0>, ((...), 'itertools'): <moduledef at remote 0x84f3540>, ((....(truncated)) at ../Objects/object.c:1933
#8  0x0813e444 in _PyImport_Fini () at ../Python/import.c:283
#9  0x0814c121 in Py_FinalizeEx () at ../Python/pylifecycle.c:1211
#10 0x08069354 in pymain_main (pymain=pymain at entry=0xbffff3a0) at ../Modules/main.c:2784
#11 0x080694c2 in _Py_UnixMain (argc=3, argv=0xbffff534) at ../Modules/main.c:2817
#12 0x08064ecd in main (argc=3, argv=0xbffff534) at ../Programs/python.c:15



More information about the Pkg-opencl-devel mailing list