Summary: | seg fault not printing | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Unknown <null> |
Component: | Output Views | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
battery841
2001-03-28 05:30:35 UTC
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; } |