[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500632: marked as done (ksshaskpass dead-locks other applications?)



Your message dated Wed, 15 Mar 2017 11:00:56 +0100
with message-id <20170315100049.cxh5igf7z74ryant@gnuservers.com.ar>
and subject line Re: Bug#500632: ksshaskpass dead-locks other applications?
has caused the Debian Bug report #500632,
regarding ksshaskpass dead-locks other applications?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
500632: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500632
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ksshaskpass
Version: 0.4.1-1
Severity: important


Subject: ksshaskpass blocks itself or other applications
Package: ksshaskpass
Version: 0.4.1-1
Severity: important

I start KSshAskPass using a custom ~/.kde/Autostart/ksshaskpass.desktop
file. Than sometimes some applications like kwalletmanager and
aggregator hang:
1. aggregator doesn't download RSS feeds
2. after entering the kwallet password, nothing happens. ssh asks again
   for the passphrase of my keys, so ssh-agent didn't get it.
3. If I start walletmanager, nothing happens. All other applications
   accessing the Wallet don't work also.
3. kded keeps consuming CPU time

If I forcefully kill "kded", suddenly the applications unfreeze and I
get a second popup window of ksshaskpass asking me for the passphrase of
my ssh key files, but not for the Wallet.

$ ps www 3478 3381
  PID TTY      STAT   TIME COMMAND
 3381 ?        R      4:24 kded [kdeinit] --new-startup
 3478 ?        S      0:00 /usr/bin/ssh-askpass Enter passphrase for /home/pmhahn/.ssh/id_dsa:
$ trace -p 3478
Process 3478 attached - interrupt to quit
read(12,
$ ls -gG /proc/3478/fd
insgesamt 0
lr-x------ 1 64 29. Sep 22:51 0 -> pipe:[7532]
l-wx------ 1 64 29. Sep 22:51 1 -> pipe:[8538]
lr-x------ 1 64 29. Sep 22:51 10 -> pipe:[8544]
l-wx------ 1 64 29. Sep 22:51 11 -> pipe:[8544]
lrwx------ 1 64 29. Sep 22:51 12 -> socket:[8547]
l-wx------ 1 64 29. Sep 22:51 2 -> /home/pmhahn/.xsession-errors
lr-x------ 1 64 29. Sep 22:51 3 -> pipe:[7469]
l-wx------ 1 64 29. Sep 22:51 4 -> pipe:[7469]
lrwx------ 1 64 29. Sep 22:51 5 -> socket:[8539]
lrwx------ 1 64 29. Sep 22:51 6 -> socket:[8541]
l-wx------ 1 64 29. Sep 22:51 7 -> pipe:[8538]
lr-x------ 1 64 29. Sep 22:51 8 -> pipe:[8543]
l-wx------ 1 64 29. Sep 22:51 9 -> pipe:[8543]
$ cat /home/pmhahn/.xsession-errors
akregator: ERROR: : couldn't create slave : Unable to create io-slave:
DCOP aborting while waiting for answer from 'kded'
$ strace -p 3381
Process 3381 attached - interrupt to quit
$ pidof kwalletd
$ pidof kwalletmanager
$ # trying to start them doesn't work
$ kill 3381 ; echo $?
0
$ kill -SEGV 3381 ; echo $?
0
$ # Here ksshaskpass finally pops up asking for the passphrase of ~/.ssh/id_dsa
$ kded --new-startup
$ ssh-add </dev/null
Identity added: /home/pmhahn/.ssh/id_dsa (/home/pmhahn/.ssh/id_dsa)
Identity added: /home/pmhahn/.ssh/id_rsa (philipp@titan)
Identity added: /home/pmhahn/.ssh/identity.acm (felix@pint)
Identity added: /home/pmhahn/.ssh/identity.hc (cvs@pint)
Identity added: /home/pmhahn/.ssh/identity.xfree (anoncvs@anoncvs.xfree86.org)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (989, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ksshaskpass depends on:
ii  kdelibs4c2a             4:3.5.9.dfsg.1-6 core libraries and binaries for al
ii  libc6                   2.7-13           GNU C Library: Shared libraries
ii  libqt3-mt               3:3.3.8b-5       Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.3.2-1          The GNU Standard C++ Library v3
ii  openssh-client          1:5.1p1-2        secure shell client, an rlogin/rsh

ksshaskpass recommends no packages.

ksshaskpass suggests no packages.

-- no debconf information

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (989, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ksshaskpass depends on:
ii  kdelibs4c2a             4:3.5.9.dfsg.1-6 core libraries and binaries for al
ii  libc6                   2.7-13           GNU C Library: Shared libraries
ii  libqt3-mt               3:3.3.8b-5       Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.3.2-1          The GNU Standard C++ Library v3
ii  openssh-client          1:5.1p1-2        secure shell client, an rlogin/rsh

ksshaskpass recommends no packages.

ksshaskpass suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.5.3-1

¡Hola Philipp!

El 2008-09-29 a las 23:15 +0200, Philipp Matthias Hahn escribió:
Package: ksshaskpass Version: 0.4.1-1 Severity: important

Subject: ksshaskpass blocks itself or other applications Package: ksshaskpass Version: 0.4.1-1 Severity: important

I start KSshAskPass using a custom ~/.kde/Autostart/ksshaskpass.desktop file. Than sometimes some applications like kwalletmanager and aggregator hang: 1. aggregator doesn't download RSS feeds 2. after entering the kwallet password, nothing happens. ssh asks again for the passphrase of my keys, so ssh-agent didn't get it. 3. If I start walletmanager, nothing happens. All other applications accessing the Wallet don't work also. 3. kded keeps consuming CPU time

If I forcefully kill "kded", suddenly the applications unfreeze and I get a second popup window of ksshaskpass asking me for the passphrase of my ssh key files, but not for the Wallet.

This is a really old bug reported to the kde 3 version of ksshaskpass, the original report seems to be missing the custom ksshaskpass.desktop. The documented way to start ksshaskpass on session start is to add an executable script in ~/.kde/Autostart (which was replaced by ~/.config/autostart-scripts/ in later versions of plasma), such as ksshaskpass.sh:
#!/bin/sh
export SSH_ASKPASS=/usr/bin/ksshaskpass

ssh-add

There is a README.Debian that documents this, in 0.5.3-1 and in later versions.

I'm closing this issue with the version in stable, that's as far as I can tested
this.

Happy hacking,
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: