Version: 3.0.0a4 (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.2 OS: Linux Plugins are whatever the default is. I had a crash attempting to create a file in a project. I didn't catch that backtrace. I restarted Gideon and attempted to create the same file using the Class wizard. When I submitted the form, Gideon crashed. Here's the dump: [New Thread 1024 (LWP 10987)] [New Thread 2049 (LWP 11037)] [New Thread 1026 (LWP 11038)] 0x417cc899 in wait4 () from /lib/libc.so.6 #0 0x417cc899 in wait4 () from /lib/libc.so.6 #1 0x41847cd0 in __DTOR_END__ () from /lib/libc.so.6 #2 0x41625983 in waitpid () from /lib/libpthread.so.0 #3 0x40c0f007 in KCrash::defaultCrashHandler(int) () from /opt/kde3-cvs/lib/libkdecore.so.4 #4 0x41623a7a in pthread_sighandler () from /lib/libpthread.so.0 #5 <signal handler called> #6 0x4127d4ad in QString::QString(QString const&) () from /usr/local/qt/lib/libqt-mt.so.3 #7 0x404902b7 in operator+ (s1=@0xbfffcf70, s2=0x863cc38 "h2
I don't know if anyone has tested this, but it's pretty much a show-stopper for me. Trying to work within the KDevelop framework without the ability to auto generate the basic source and header files that fit is too much of a challenge for a person at my stage of learning. I'll have to drop back to 2.5.1 until this is fixed. I'm will to be a crash dummy for some things, but this is more than I can handle. I'm really not trying to pester anybody by this addition, I'm just raising a flag regarding the severity of this bug from the beta tester's POV. I'd be more than happy to learn that the problem is on my end, and not in the code base. If the class wizard works for someone else, please let me know so I can trouble shoot it from this end.
Does the following patch help? (on /lib/util/filetemplate.cpp) Index: filetemplate.cpp =================================================================== RCS file: /home/kde/kdevelop/lib/util/filetemplate.cpp,v retrieving revision 1.10 diff -u -3 -p -r1.10 filetemplate.cpp --- filetemplate.cpp 25 Feb 2003 10:46:31 -0000 1.10 +++ filetemplate.cpp 2 Apr 2003 16:05:59 -0000 @@ -96,7 +96,7 @@ QString FileTemplate::fullPathForName(KD if (p!=Default) return name; // first try project-specific - QString fileName = (part->project()->projectDirectory() + "/templates/" + name); + QString fileName(part->project()->projectDirectory() + QString("/templates/") + name); if (QFile::exists(fileName)) return fileName; // next try global
This seems to be an installation error or project creation error. Try to reinstall kdevelop. Taking into account that Caleb's patch is applied to cvs I'm closing this bug.