Summary: | Cancelling apt-get dist-upgrade question in konsole results in crash of /bin/bash | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Kai Uwe Broulik <KaiUweBroulik2> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | adaptee, cfeck |
Priority: | NOR | ||
Version: | 2.5 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Kai Uwe Broulik
2010-08-30 22:36:02 UTC
Well, that would only be a Konsole bug if "bash" did not actually crash. Could you try reproducing the bug when you run the bash shell inside "gdb" debugger? If the "bash" shell really crashes, you could report the bug to bash developers directly via the "bashbug" command line program (see http://www.faqs.org/faqs/unix-faq/shell/bash/ for more information) If you got a Konsole crash (i.e. the KDE crash handler), then please add the backtrace to this bugreport. The crash message only appears if I run that command from my .desktop file located in the quicklauncher inside a panel. If I type "sudo apt-get update && sudo apt-get dist-upgrade" manually, and cancel the process when it's asking to proceed, I just get returned to the bash prompt. Could you give the exact string for the "Attention: program ... crashed" message in english locale? I cannot find it anywhere in KDE (or anywhere else, using google). If you use a different language, you could switch it temporarily to english. The exact term used is: “Warning: Program '/bin/bash' crashed.“ (written in bold red font) Thanks, that is indeed a Konsole generated message. Still not sure if that is a Konsole bug. So the command I used was “bash -c "sudo apt-get update && sudo apt-get dist-upgrade && exit"” and marked Terminal=true. Now I removed that bash stuff and not it says “Warning: Program '/bin/sh' crashed.” when I cancel it. Ctrl+C should be the root cause. That will cause $? to be 130 and konsole will get a QProcess::CrashExit. Pressing 'N' will cause $? to be 1 and konsole will get a QProcess::NormalExit. Although this is a different case, it actually has the same reason as #168539 does. See its comment #12 *** This bug has been marked as a duplicate of bug 168539 *** |