FS#15917 - [pinentry] Version 0.7.6 segfaults
Attached to Project:
Arch Linux
Opened by Adrian C. (anrxc) - Wednesday, 12 August 2009, 14:18 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 29 August 2010, 11:08 GMT
Opened by Adrian C. (anrxc) - Wednesday, 12 August 2009, 14:18 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 29 August 2010, 11:08 GMT
|
Details
Description: With the last pinentry upgrade came a new
problem. The entry window crashes if it looses focus while
waiting for input. I can reproduce it every time, if I focus
another window it will crash. I am using pinentry-gtk2.
Rebuilding the package didn't help.
Additional info: * Packages: pinentry 0.7.6-1, ncurses 5.7-2, libcap 2.16-3 * GTK version: gtk2 2.16.5-1 * System log: kernel: pinentry-gtk-2[7311]: segfault at 50 ip b7c675be sp bfabc8c0 error 4 in libgdk-x11-2.0.so.0.1600.5[b7c09000+88000] kernel: pinentry-gtk-2[7315]: segfault at 50 ip b7b875be sp bfd331e0 error 4 in libgdk-x11-2.0.so.0.1600.5[b7b29000+88000] kernel: pinentry-gtk-2[7317]: segfault at 50 ip b7cb55be sp bfc289a0 error 4 in libgdk-x11-2.0.so.0.1600.5[b7c57000+88000] |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Sunday, 29 August 2010, 11:08 GMT
Reason for closing: Fixed
Additional comments about closing: 0.8.0-2
Sunday, 29 August 2010, 11:08 GMT
Reason for closing: Fixed
Additional comments about closing: 0.8.0-2
Reproducing the problem:
$ echo "GETPIN" | pinentry-gtk-2 -g
- it segfaults on focus change
- avoiding the problem is a matter of omitting -g
That code is already in 0.7.6 (and it doesn't make a difference as we already know).
http://pastebin.com/qKkF8NcS
Here is the patch for it:
http://osdir.com/ml/general/2010-04/msg23999.html
pinentry-0.8.0-2.src.tar.gz (1.2 KiB)