Bug 1377017 - drkonqi hangs forever when trying to install debuginfo packages
Summary: drkonqi hangs forever when trying to install debuginfo packages
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: konsole5
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-17 14:47 UTC by Robin Green
Modified: 2017-08-08 17:26 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-08 17:26:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 366793 0 None None None 2016-09-17 14:54:28 UTC

Description Robin Green 2016-09-17 14:47:42 UTC
Description of problem:

Version-Release number of selected component (if applicable):
kde-runtime-drkonqi-16.08.1-1.fc24.x86_64

How reproducible:
Haven't tried

Steps to Reproduce:
1. Induce KDE application crash
2. Click through drkonqi wizard to get to the backtrace phase
3. Accept drkonqi's offer to install debug symbols

Actual results:
"Requesting installation of missing debug symbols packages" progress bar appears, and then nothing happens.

Expected results:
konsole should appear that should run dnf

Additional info:
pstree shows that the helper script /usr/libexec/kde4/installdbgsymbols.sh is waiting forever in cat to read from the FIFO.

I have narrowed the bug down to this line in the script:

konsole -e sh -c "echo \$\$ > $fifo; set -x ; $1; exit_status=\$?; sleep 10; rm $fifo; echo \$exit_status > $fifo"

which, when I simulate it on the command-line (by creating a fifo, setting $fifo to its name, and substituting echo hi instead of $1), produces this error:

Unknown option 'c'.

That would explain the problem that cat is hanging - because the fifo never gets written to, because konsole never runs the line that it is supposed to.

I'm guessing that the problem is that this script is in a package for KDE 4, but it calls konsole which is a KDE 5 application, and konsole's command-line argument processing has changed incompatibly since the script was written - so I'm not entirely sure how to fix it.

Comment 1 Robin Green 2016-09-17 14:51:45 UTC
Actually, konsole's --help output suggests that the failing line above *should* still work:

  -e <cmd>                   Command to execute. This option will catch all
                             following arguments, so use it as the last option.

So maybe this is actually a bug in konsole's argument parsing.

Comment 2 Robin Green 2016-09-17 14:54:28 UTC
Yes, this is due to https://bugs.kde.org/show_bug.cgi?id=366793

Comment 3 Fedora Update System 2016-09-17 16:05:42 UTC
kf5-kio-5.26.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4bfcb7b83a

Comment 4 Kevin Kofler 2016-09-17 18:14:08 UTC
kf5-kio-5.26.0-2.fc24 doesn't fix this. It can only be fixed either in konsole or in kdelibs4, kf5-kio is not involved at all. And the issue here is not -caption, but -e <cmd> where <cmd> contains -c. The error message is the same, but the bug is completely different.

Comment 5 Kevin Kofler 2016-09-17 20:12:16 UTC
> It can only be fixed either in konsole or in kdelibs4

In konsole or in kde-runtime, I mean.

But since it is Konsole not behaving as documented, I am reassigning the bug to it.

Comment 6 Fedora Update System 2016-09-18 06:51:10 UTC
kf5-kio-5.26.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4bfcb7b83a

Comment 7 Kevin Kofler 2016-09-18 09:06:46 UTC
kf5-kio-5.26.0-2.fc24 doesn't fix this.

Comment 8 Rex Dieter 2016-09-19 11:56:05 UTC
The kio update fixes *part* of it, now the konsole window should at least get displayed

Comment 9 Fedora End Of Life 2017-07-25 23:05:53 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2017-08-08 17:26:00 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.