Summary: | Crash after Appwizard generates a C++ Hello world application | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Carl <carleeto> |
Component: | appwizard | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Carl
2003-09-25 09:46:11 UTC
I can not confirm this in newest CVS HEAD. Does it crash when you crate other projects, too? Somebody else can test? we cannot confirm this! Please update to newest CVS HEAD and if the crash occures again reopen this bug! Nevertheless, thanks for the BR :) I use KDE 3.1.4 with the 2.4.22 kernel, both compiled from source. I also do not have CUPS installed, if that helps with anything. If there is any more information I can provide regarding this, please do not hesitate to ask. Anyway, I just got Kdevelop from CVS as requested and compiled and installed it by following the instructions on the web page. Crashed again. Same thing happens when I try to open a previously saved project too. Steps I used : 1) Start kdevelop from KDE Menu (New entry appeared there under Development in addition to the existing KDevelop entry after I installed the CVS version - the new entry did not have an icon). 2) Click Project -> New Project 3) Select C++ -> Simple Hello World Program 4) Set location to /home/carl/code (It asked if I want this to be the defailt, I said yes). 5) Set Application name to test2 6) Left everything else at default, clicked Next 7) Selected None for Version Control System 8) Template for .h files displayed -> Clicked Next 9) Template for .cpp files displayed -> Clicked Finish. 10) Project wizard window dissappears, some stuff prints out in the bottom field of KDevelop and it crashes. 11) Window called KDevelop - The KDE Crash Handler shows up. It says KDevelop crashed and caused Signal 11 (SIGSEGV). I click Backtrace and wait for it to load the symbols. Here is the output : [New Thread 16384 (LWP 28048)] [New Thread 32769 (LWP 28110)] [New Thread 16386 (LWP 28111)] 0x413e42cc in __libc_waitpid (pid=28112, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 in ../sysdeps/unix/sysv/linux/waitpid.c #0 0x413e42cc in __libc_waitpid (pid=28112, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 #1 0x40bf8e3d in KCrash::defaultCrashHandler(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #2 0x413e2905 in __pthread_sighandler (signo=11, ctx= {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 3221219072, esi = 144185760, ebp = 3221219112, esp = 3221218748, ebx = 1105488772, edx = 0, ecx = 135317516, eax = 0, trapno = 14, err = 4, eip = 1090471959, cs = 35, __csh = 0, eflags = 66050, esp_at_signal = 3221218748, ss = 43, __ssh = 0, fpstate = 0xbfffe340, oldmask = 2147483648, cr2 = 116}) at sighandler.c:38 #3 <signal handler called> #4 0x40ff4817 in QComboBox::editable() const () from /opt/qt/lib/libqt-mt.so.3 #5 0x426f2ecd in QComboView::paintEvent(QPaintEvent*) () from /opt/kde/lib/kde3/libkdevclassview.so #6 0x40f9eb1d in QWidget::event(QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #7 0x40f0c6b4 in QApplication::internalNotify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #8 0x40f0be7b in QApplication::notify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #9 0x40b7c2d9 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-3.1/lib/libkdecore.so.4 #10 0x40eb4b1c in QETWidget::translatePaintEvent(_XEvent const*) () from /opt/qt/lib/libqt-mt.so.3 #11 0x40eb0543 in QApplication::x11ProcessEvent(_XEvent*) () from /opt/qt/lib/libqt-mt.so.3 #12 0x40ec5091 in QEventLoop::processEvents(unsigned) () from /opt/qt/lib/libqt-mt.so.3 #13 0x40f205f1 in QEventLoop::processEvents(unsigned, int) () from /opt/qt/lib/libqt-mt.so.3 #14 0x40f0c810 in QApplication::processEvents(int) () from /opt/qt/lib/libqt-mt.so.3 #15 0x40f0c7d7 in QApplication::processEvents() () from /opt/qt/lib/libqt-mt.so.3 #16 0x0807ac6b in ProjectManager::loadLocalParts() () #17 0x08078207 in ProjectManager::loadProject(KURL const&) () #18 0x0806f309 in Core::openProject(QString const&) () #19 0x420d48e7 in AppWizardPart::slotCommandFinished(QString const&) () from /opt/kde/lib/kde3/libkdevappwizard.so #20 0x420d4af2 in AppWizardPart::qt_invoke(int, QUObject*) () from /opt/kde/lib/kde3/libkdevappwizard.so #21 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #22 0x40f6a9e5 in QObject::activate_signal(int, QString) () from /opt/qt/lib/libqt-mt.so.3 #23 0x40532ca4 in KDevMakeFrontend::commandFinished(QString const&) () from /opt/kde-3.1/lib/libkdevelop.so.1 #24 0x4204f15e in MakeWidget::slotProcessExited(KProcess*) () from /opt/kde/lib/kde3/libkdevoutputviews.so #25 0x42050fb3 in MakeWidget::qt_invoke(int, QUObject*) () from /opt/kde/lib/kde3/libkdevoutputviews.so #26 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #27 0x40bb56f2 in KProcess::processExited(KProcess*) () from /opt/kde-3.1/lib/libkdecore.so.4 #28 0x40bb4345 in KProcess::processHasExited(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #29 0x40bb6c1a in KProcessController::slotDoHousekeeping(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #30 0x40bb72a5 in KProcessController::qt_invoke(int, QUObject*) () from /opt/kde-3.1/lib/libkdecore.so.4 #31 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #32 0x40f6a7f5 in QObject::activate_signal(int, int) () from /opt/qt/lib/libqt-mt.so.3 #33 0x4124a552 in QSocketNotifier::activated(int) () from /opt/qt/lib/libqt-mt.so.3 #34 0x40f86dd0 in QSocketNotifier::event(QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #35 0x40f0c6b4 in QApplication::internalNotify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #36 0x40f0be7b in QApplication::notify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #37 0x40b7c2d9 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-3.1/lib/libkdecore.so.4 #38 0x40ee7658 in QEventLoop::activateSocketNotifiers() () from /opt/qt/lib/libqt-mt.so.3 #39 0x40ec4d67 in QEventLoop::processEvents(unsigned) () from /opt/qt/lib/libqt-mt.so.3 #40 0x40f20556 in QEventLoop::enterLoop() () from /opt/qt/lib/libqt-mt.so.3 #41 0x40f203f8 in QEventLoop::exec() () from /opt/qt/lib/libqt-mt.so.3 #42 0x40f0c8e1 in QApplication::exec() () from /opt/qt/lib/libqt-mt.so.3 #43 0x08067fe4 in main () #44 0x4160aca6 in __libc_start_main (main=0x8067470 <main>, argc=1, ubp_av=0xbffffc04, init=0x80a1500 <__libc_csu_init>, fini=0x80a1530 <__libc_csu_fini>, rtld_fini=0x80dd4a8, stack_end=0x0) at ../sysdeps/generic/libc-start.c:152 I was asked to try and reproduce the bug using the latest CVS version of KDevelop since others could not confirm the bug. That is what I did and it crashed again. Here are the results. I compiled without full debug information as I was hoping it would work. I can do a re-compile and re-install with all debug info enabled if neccessary. Just updated CVS again and re-compiled with debug-info set to full. Followed same steps to create a new project. Crashed again. Same thing happens when I try to open a previous project. It does not make a difference what project it is. Steps I used : 1) Start kdevelop from KDE Menu. 2) Click Project -> New Project 3) Select C++ -> Simple Hello World Program 4) Set location to /home/carl/code (It asked if I want this to be the defailt, I said yes). 5) Set Application name to test3 6) Left everything else at default, clicked Next 7) Selected None for Version Control System 8) Template for .h files displayed -> Clicked Next 9) Template for .cpp files displayed -> Clicked Finish. 10) Project wizard window dissappears, some stuff prints out in the bottom field of KDevelop and it crashes. 11) Window called KDevelop - The KDE Crash Handler shows up. It says KDevelop crashed and caused Signal 11 (SIGSEGV). I click Backtrace and wait for it to load the symbols. Here is the output : [New Thread 16384 (LWP 14326)] [New Thread 32769 (LWP 14354)] [New Thread 16386 (LWP 14355)] 0x413e42cc in __libc_waitpid (pid=14356, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 in ../sysdeps/unix/sysv/linux/waitpid.c #0 0x413e42cc in __libc_waitpid (pid=14356, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 #1 0x40bf8e3d in KCrash::defaultCrashHandler(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #2 0x413e2905 in __pthread_sighandler (signo=11, ctx= {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 3221219088, esi = 142361856, ebp = 3221219128, esp = 3221218764, ebx = 1105488772, edx = 0, ecx = 135333532, eax = 0, trapno = 14, err = 4, eip = 1090471959, cs = 35, __csh = 0, eflags = 66050, esp_at_signal = 3221218764, ss = 43, __ssh = 0, fpstate = 0xbfffe350, oldmask = 2147483648, cr2 = 116}) at sighandler.c:38 #3 <signal handler called> #4 0x40ff4817 in QComboBox::editable() const () from /opt/qt/lib/libqt-mt.so.3 #5 0x426f2ecd in QComboView::paintEvent(QPaintEvent*) () from /opt/kde/lib/kde3/libkdevclassview.so #6 0x40f9eb1d in QWidget::event(QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #7 0x40f0c6b4 in QApplication::internalNotify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #8 0x40f0be7b in QApplication::notify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #9 0x40b7c2d9 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-3.1/lib/libkdecore.so.4 #10 0x40eb4b1c in QETWidget::translatePaintEvent(_XEvent const*) () from /opt/qt/lib/libqt-mt.so.3 #11 0x40eb0543 in QApplication::x11ProcessEvent(_XEvent*) () from /opt/qt/lib/libqt-mt.so.3 #12 0x40ec5091 in QEventLoop::processEvents(unsigned) () from /opt/qt/lib/libqt-mt.so.3 #13 0x40f205f1 in QEventLoop::processEvents(unsigned, int) () from /opt/qt/lib/libqt-mt.so.3 #14 0x40f0c810 in QApplication::processEvents(int) () from /opt/qt/lib/libqt-mt.so.3 #15 0x40f0c7d7 in QApplication::processEvents() () from /opt/qt/lib/libqt-mt.so.3 #16 0x0807ac6b in ProjectManager::loadLocalParts() () #17 0x08078207 in ProjectManager::loadProject(KURL const&) () #18 0x0806f309 in Core::openProject(QString const&) () #19 0x420d48e7 in AppWizardPart::slotCommandFinished(QString const&) () from /opt/kde/lib/kde3/libkdevappwizard.so #20 0x420d4af2 in AppWizardPart::qt_invoke(int, QUObject*) () from /opt/kde/lib/kde3/libkdevappwizard.so #21 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #22 0x40f6a9e5 in QObject::activate_signal(int, QString) () from /opt/qt/lib/libqt-mt.so.3 #23 0x40532ca4 in KDevMakeFrontend::commandFinished(QString const&) () from /opt/kde-3.1/lib/libkdevelop.so.1 #24 0x4204f15e in MakeWidget::slotProcessExited(KProcess*) () from /opt/kde/lib/kde3/libkdevoutputviews.so #25 0x42050fb3 in MakeWidget::qt_invoke(int, QUObject*) () from /opt/kde/lib/kde3/libkdevoutputviews.so #26 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #27 0x40bb56f2 in KProcess::processExited(KProcess*) () from /opt/kde-3.1/lib/libkdecore.so.4 #28 0x40bb4345 in KProcess::processHasExited(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #29 0x40bb6c1a in KProcessController::slotDoHousekeeping(int) () from /opt/kde-3.1/lib/libkdecore.so.4 #30 0x40bb72a5 in KProcessController::qt_invoke(int, QUObject*) () from /opt/kde-3.1/lib/libkdecore.so.4 #31 0x40f6a719 in QObject::activate_signal(QConnectionList*, QUObject*) () from /opt/qt/lib/libqt-mt.so.3 #32 0x40f6a7f5 in QObject::activate_signal(int, int) () from /opt/qt/lib/libqt-mt.so.3 #33 0x4124a552 in QSocketNotifier::activated(int) () from /opt/qt/lib/libqt-mt.so.3 #34 0x40f86dd0 in QSocketNotifier::event(QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #35 0x40f0c6b4 in QApplication::internalNotify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #36 0x40f0be7b in QApplication::notify(QObject*, QEvent*) () from /opt/qt/lib/libqt-mt.so.3 #37 0x40b7c2d9 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-3.1/lib/libkdecore.so.4 #38 0x40ee7658 in QEventLoop::activateSocketNotifiers() () from /opt/qt/lib/libqt-mt.so.3 #39 0x40ec4d67 in QEventLoop::processEvents(unsigned) () from /opt/qt/lib/libqt-mt.so.3 #40 0x40f20556 in QEventLoop::enterLoop() () from /opt/qt/lib/libqt-mt.so.3 #41 0x40f203f8 in QEventLoop::exec() () from /opt/qt/lib/libqt-mt.so.3 #42 0x40f0c8e1 in QApplication::exec() () from /opt/qt/lib/libqt-mt.so.3 #43 0x08067fe4 in main () #44 0x4160aca6 in __libc_start_main (main=0x8067470 <main>, argc=1, ubp_av=0xbffffc14, init=0x80a1500 <__libc_csu_init>, fini=0x80a1530 <__libc_csu_fini>, rtld_fini=0x80dd4a0, stack_end=0x0) at ../sysdeps/generic/libc-start.c:152 Does kdevelop crash while creating other tempates, too? (for example 'Simple KDE Application') Do you start kdevelop with 'kdevelop'? ('gideon' is deprecated!) You tried to remove _all_ kde components from your system and reinstalled it? You tried with make distclean / a "fresh" kdevelop source code? Otherwise I totally agree with Bernd Pol, who wrote: "Last resort (in my opinion): One of your libraries may be corrupted. Perhaps you should try to reinstall/rebuild some of your system. I don't know of anything else now." Nobody else can reproduce it ... Please recompile your KDE and QT libraries and retry. |