[PyQt] designer segfaults on startup after installing libpythonplugin.so and custom widget

Glen W. Mabey Glen.Mabey at swri.org
Mon Feb 4 23:21:27 GMT 2008


On Mon, Feb 04, 2008 at 01:00:25PM -0600, Phil Thompson wrote:
> Does it crash when you start Designer, or when you create your widget?

When I start designer.

> Does the plugin.py example work?

Nope.  I run

    /usr/local/bin/python2.5 plugins.py 

from the examples/designer/plugins directory which first pops up that 
info window and then launches designer, but I neither see the PyQt Examples 
group nor anything new in the toolbox.  Help -> About Plugins says that
it couldn't find any.

> Try running under gdb and see if it gives you any useful information as to
> where it is crashing.

I will send more useful information tomorrow, but for now I can give the
last part of strace's output:

open("/usr/lib/libXt.so.6", O_RDONLY)   = 15
read(15, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\312"..., 512) = 512
fstat64(15, {st_mode=S_IFREG|0644, st_size=324484, ...}) = 0
mmap2(NULL, 325012, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 15, 0) = 0xb2467000
mmap2(0xb24b3000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 15, 0x4c) = 0xb24b3000
mmap2(0xb24b6000, 1428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb24b6000
close(15)                               = 0
open("/usr/local/lib/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libXft.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("tls/i686/sse2/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/sse2/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/libXft.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/sse2/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/sse2/libXft.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/cmov/libXft.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/libXft.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("i686/sse2/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/sse2/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libXft.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("sse2/cmov/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("sse2/libXft.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("cmov/libXft.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libXft.so.2", O_RDONLY)           = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libXft.so.2", O_RDONLY)  = 15
read(15, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3602\0"..., 512) = 512
fstat64(15, {st_mode=S_IFREG|0644, st_size=70088, ...}) = 0
mmap2(NULL, 73024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 15, 0) = 0xb2455000
mmap2(0xb2466000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 15, 0x10) = 0xb2466000
close(15)                               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Process 5849 detached



Thank you,
Glen Mabey


More information about the PyQt mailing list