(*** This bug was imported into bugs.kde.org ***) Package: kdevelop Version: 1.4 (using KDE 2.1.1 ) Severity: normal Installed from: SuSE Compiler: gcc version 2.95.2 19991024 (release) OS: Linux OS/Compiler notes: Not Specified When I hit F9 to run a program in KDevelop it'll run. Then it prints the info to console (its a console app I'm writing) but seg faults. However KDevelop neglects to write Segementation Fault in the console so it appears to be exiting for another reason. For example... Would you like to create a new CVS profile?y Press Enter to continue! should say: Would you like to create a new CVS profile?y Segmentation Fault Press Enter to continue! (Submitted via bugs.kde.org) (Called from KBugReport dialog. Fields OS manually changed)
Thank you for your bug report. The bug that your reported no longer applies to the latest development (CVS) version of KDE. This is most probably because the bug has been fixed the application has been substantially modified or the application no longer exists. The bug report will be closed.
This bug seems to have re-surfaced in KDevelop 3.0RC1. When I get a segmentation fault in a C program I am not told about it, in fact the messages screen says that the program terminated normally. The only way I found out that the problem in my program was a segmentation fault was to try and run it in another terminal instead of konsole.
Confirmed. Reopening.
Confirmed
Replaced battery841@mediaone.net with null@kde.org due to bounces by reporter
CVS commit by mattr: Show the fact that we've aborted with a segmentation fault on run. Fixes bug 23176 BUG: 23176 M +7 -4 processwidget.cpp 1.21 --- kdevelop/lib/widgets/processwidget.cpp #1.20:1.21 @@ -60,10 +60,6 @@ ProcessWidget::ProcessWidget(QWidget *pa setPalette(pal); -#if (KDE_VERSION > 305) childproc = new KProcess(); childproc->setUseShell(true); -#else - childproc = new KShellProcess(); -#endif procLineMaker = new ProcessLineMaker( childproc ); @@ -156,5 +152,12 @@ void ProcessWidget::childFinished(bool n } } else { + if ( childproc->signalled() && childproc->exitSignal() == SIGSEGV ) + { + s = i18n("*** Process aborted. Segmentation fault ***"); + } + else + { s = i18n("*** Process aborted ***"); + } t = ProcessListBoxItem::Error; }