[Python-modules-team] Bug#960073: Package:python-pyqt5 Run the example code with Trace and crash (SIGABRT) 【请注意,邮件由mitya57 at gmail.com代发】

pengzongli at uniontech.com pengzongli at uniontech.com
Mon Jul 6 07:56:04 BST 2020


Hi!

Sorry for my late reply. I preload libGLX_mesa.so.0 , and then run  the code on the arm machine is ok.
I tried to debug it, and then I found something different. The parameter of __glXLookupVendorByName is NVIDIA instead of mesa, it will dlopen libGLX_nvidia.so.0,
but my Graphics Card is AMD, only IibGLX_mesa.so.0 can be found locally, so __glXLookupVendorByName failed.

(gdb) b libglxmapping.c:574
Breakpoint 4 at 0xfffff3a993d0: file ../../../src/GLX/libglxmapping.c, line 574.
(gdb) r
[...]
Thread 1 "python" hit Breakpoint 4, __glXLookupVendorByScreen (dpy=dpy at entry=0xaaaaab1f8de0, screen=screen at entry=0) at ../../../src/GLX/libglxmapping.c:574
(gdb) p name
$11 = 0xffffe0006330 "nvidia"

(gdb) b libglxmapping.c:430
Breakpoint 5 at 0xfffff3a97f74: file ../../../src/GLX/libglxmapping.c, line 430.
(gdb) r
[...]
Thread 1 "python" hit Breakpoint 5, __glXLookupVendorByName (vendorName=0xffffe0006110 "nvidia") at ../../../src/GLX/libglxmapping.c:430
(gdb) p filename
$12 = 0xaaaaab1ecc40 "libGLX_nvidia.so.0"
(gdb) 

I tried to continue debug, but I didn't find why filename is nvidia. 
 If you could please shed some light on this topic, I would really appreciate it.
Thank you in advance.

BRs
//Zongli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200706/87dbd2e0/attachment-0001.html>


More information about the Python-modules-team mailing list