Qt designer is very unstable. I have made a qt dialog, but when I add a kde button, it seg faults. (strace is designer_log2) If I make a little window with some qt widgets and I do an edit slot, it crashes my X server. (strace is designer_log). It happens with both qt 3.3.4-r3 and 3.3.4-r4. $ emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686) ================================================================= System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache confcache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="nl en no fr de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/my_portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cddb cdparanoia cdr crypt cups curl directfb dvd dvdr dvdread emboss encode fam ffmpeg foomaticdb fortran gcj gd gdbm gif gimpprint gpgme gphoto2 gpm gtk gtk2 hal icu imagemagick imap imlib innodb ipv6 java jpeg junit kde kdeenablefinal kdexdeltas libclamav libg++ libwww lm_sensors lua mad mikmod mmx mono mozilla moznomail moznoxft mp3 mpeg mysql ncurses network nls nntp nptl nvidia ogg oggvorbis openexr opengl oss pam pdflib perl php pic png python qt quicktime readline samba sdl slang slp smtp spell sql sqlite sse sse2 ssl stencil-buffer subversion svg svga symlink tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode visualization vorbis win32codecs wmf xine xml xml2 xscreensaver xsl xv xvid zeroconf zlib linguas_nl linguas_en linguas_no linguas_fr linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 61448 [details] strace when editing slots this is an strace when editing slots, described as in comment #1
Created attachment 61449 [details] strace when adding kde button this is an strace when adding a kde button, described as in comment #1
can you run it in gdb and get a backtrace? designer seems to work quite well for me here when doing the things you've described.
I get this for adding a kde button (with the fresh emerged qt-3.3.4-r5): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1219586368 (LWP 21408)] 0xb6f8e556 in KParts::URLArgs::URLArgs () from /usr/kde/3.4/lib/libkparts.so.2 (gdb) I get this from the editing slots test: X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 62 Minor opcode: 0 Resource id: 0x400bbe designer: Fatal IO error: client killed Program exited with code 01. (gdb) Hangup detected on fd 0 Error detected on fd 0 error detected on stdin
I have found out that the test with the slots doesn't crash in fluxbox, but it does crash in kde. So the problem is maybe somewhere there?
Have you tried recompiling kdelibs? Do you run the designer in a kde 3.4 session?
No reply from reporter.