[PyQt] PyQt5 segmentation fault

Darren Dale dsdale24 at gmail.com
Fri Aug 1 21:50:46 BST 2014


Please disregard, I found the problem (a bad -prefix parameter when
configuring the qt build).


On Fri, Aug 1, 2014 at 3:26 PM, Darren Dale <dsdale24 at gmail.com> wrote:

> Hello,
>
> 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
> examples/mainwindows/menus.py
> [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?
>
> Thanks,
> Darren
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140801/134c36ea/attachment.html>


More information about the PyQt mailing list