[PyQt] PyQt5 segmentation fault
dsdale24 at gmail.com
Fri Aug 1 20:26:11 BST 2014
I have built and installed Qt-5.3.1 from source, and checked that I was at
least able to launch designer. Then I installed sip-4.16.2, and built and
installed PyQt-5.3.1. So far, so good, but I get segmentation faults when I
try to run any of the PyQt5 examples. For example, in
examples/mainwindows/menus.py, at the end of the file in `if __name__ ==
'__main__':`, I put some print statements and found that the segfault
occurs at `app = QApplication(sys.argv)` . Here is the output of gdb:
(gdb) run examples/mainwindows/menus.py
Starting program: /home/darren/envs/qt5/bin/python
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /home/darren/envs/qt5/bin/../lib/libm.so.6
Program received signal SIGSEGV, Segmentation fault.
elf_dynamic_do_rela (scope=0x69aa88, reloc_mode=<value optimized out>,
consider_profiling=0) at do-rel.h:119
119 ElfW(Half) ndx = version[ELFW(R_SYM) (r->r_info)] & 0x7fff;
Could anyone comment?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt