(*** This bug was imported into bugs.kde.org ***) Package: kdelibs Version: KDE 3.0.2 Severity: crash Installed from: SuSE RPMs Compiler: gcc 2.95.3 OS: Linux OS/Compiler notes: Not Specified While the Qt Designer (Qt version 3.0.4 official rpms from SuSE) tries to load the kdewidgets plugin from $(kdedir)/lib/kde3/plugins/designer the program crashes with SIGSEGV. If the plugin is removed Qt Designer works without any problems. (Submitted via bugs.kde.org)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 05 July 2002 13:27 shlomme@gmx.net wrote: > Package: kdelibs > Version: KDE 3.0.2 > Severity: crash > Installed from: SuSE RPMs > Compiler: gcc 2.95.3 > OS: Linux > OS/Compiler notes: Not Specified > > While the Qt Designer (Qt version 3.0.4 official rpms from SuSE) tries to There is no official rpm from SuSE! There are only sublimentary packages but these are not official.=20 The bug is fixed by either downgrading to Qt 3.03 or to update to the upcom= ing 3.05 where it's fixed. Greetings Stephan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9JZ3WwFSBhlBjoJYRArbQAJ9XkeceSB1SNejBxpjltuUxkh6/4ACggrDM 2y0JfZvpVtP3cvfvZbgoRWU=3D =3D4RIY -----END PGP SIGNATURE-----
Created attachment 654 [details] strace(1) output This is the strace output of "strace designer": maybe it is useful.
Comment on attachment 654 [details] strace(1) output I've the same problem with the latest CVS sources & qt-copy (should be 3.1.1-equivalent). It is completely systematic: not matter if I delete $QTDIR & $KDEDIR and make full re-compilation: everytime I put a KDE widget on a form, qt-designer segfaults. Removing $KDEDIR/lib/kde3/plugins from path make it works! But I'm obviously without KDE widgets which is pretty annoying since I wanted to develop apps for KDE! ;(((
Workaround: Disable dlclose in QLibrary. This is IMHO a glibc bug, as the following crashes as well: #include <dlfcn.h> #include <stdio.h> int main() { void* handle = dlopen("/opt/kde3/lib/libkdecore.so",RTLD_LAZY); dlclose(handle); handle = dlopen("/opt/kde3/lib/libkdecore.so",RTLD_LAZY); } (Even with kdecore w/o KDE malloc). Don't ask me why Designer keeps closing and re-opening libs, though
Look at here: http://forums.gentoo.org/viewtopic.php?t=29327 It seems a fam-oss related problem (when I get home to recompile qt & kdelibs & kdebase) I will say if it is good for me too!). Maksim: I tried your code and got the dreadful segfault too. (Using glibc 2.3.1-r2 from gentoo)
Never mind: I forgot qt assistant (both 3.1.0 & 3.1.1) is working nice with me ;(. I should pay more attention on reading posts ... sorry!
Hi all: the workaround worked. If any has the same issues, maybe this is a useful link: http://bugs.gentoo.org/show_bug.cgi?id=12964
Also, deleting the .qt directory from $HOME works as well (w/o modifiying any code). I haven't actually tried to create any gui with this, but at least it QT designer will start again.