Segfault when using PGP key

Bug #146308 reported by meba
4
Affects Status Importance Assigned to Milestone
centerim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: centerim

Just adding a PGP key to your jabber account and quit centerim. Start it again and you get segfault after a while, when asking for a PGP Passphrase.

Centerim 4.22.1-2.1, Gutsy

Related branches

Revision history for this message
meba (jakub-rtfm) wrote : Strace

read(5, "[GNUPG:] USERID_HINT 33C35009238"..., 1024) = 130
select(12, [5 11], [], NULL, {1, 0}) = 1 (in [5], left {1, 0})
select(6, [5], [], NULL, {0, 0}) = 1 (in [5], left {0, 0})
read(5, "[GNUPG:] GET_HIDDEN passphrase.e"..., 1024) = 37
fcntl(8, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
select(12, [5 11], [8], NULL, {1, 0}) = 1 (out [8], left {1, 0})
select(9, [], [8], NULL, {0, 0}) = 1 (out [8], left {0, 0})
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x2b18cd91db10, [], SA_RESTORER|SA_RESTART, 0x2b18cefdd7d0}, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "\r\33[1B\33[30m\33[47mHeslo pro PGP vy\305"..., 193) = 193
rt_sigaction(SIGTSTP, {0x2b18cd91db10, [], SA_RESTORER|SA_RESTART, 0x2b18cefdd7d0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x2b18cd91db10, [], SA_RESTORER|SA_RESTART, 0x2b18cefdd7d0}, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "\33[2C\33[30m\33[47m "..., 162) = 162
rt_sigaction(SIGTSTP, {0x2b18cd91db10, [], SA_RESTORER|SA_RESTART, 0x2b18cefdd7d0}, NULL, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
readlink("/proc/self/fd/0", "/dev/pts/1", 12) = 10
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
select(5, [0 3 4], [], [], {20, 0}) = 2 (in [3 4], left {20, 0})
select(4, [3], [], [], {0, 0}) = 1 (in [3], left {0, 0})
recvfrom(3, "*\1 ]\0\4\0\0\0\1", 4096, 0, NULL, NULL) = 10
sendto(3, "*\1?\34\1\10\0\0\0\1\0\6\1\0/\202\30\337\231\306:\\c\f"..., 270, MSG_NOSIGNAL, NULL, 0) = 270
recvfrom(3, 0x7fffdd3d51e0, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "<iq from=\'conf.netlab.cz\' to=\'ja"..., 32767) = 1501
readlink("/proc/self/fd/0", "/dev/pts/1", 12) = 10
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
select(5, [0 3 4], [], [], {20, 0}) = 1 (in [4], left {19, 924000})
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "<iq from=\'dict.jabbim.cz\' to=\'ja"..., 32767) = 1448
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++

Revision history for this message
Richard Verwayen (ys76) wrote :

Same for me, but I have not found a way to reproduce it constantly.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in centerim:
status: New → Incomplete
Revision history for this message
Richard Verwayen (ys76) wrote :

I am quite sure that gpg-support is suspended in centerim.

It is still linked to libgpg-error,
$ ldd $(which centerim) | grep gpg
 libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00002b3679bec000)

but there is no gpg-functionality left in
$ dpkg -l centerim
ii centerim 4.22.2-1ubuntu A text-mode multi-protocol instant messenger

at least all menu items related to encryption are removed (Or at least hidden in a good place ;-)

I switched to mcabber instead.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package centerim - 4.22.7-1ubuntu1

---------------
centerim (4.22.7-1ubuntu1) jaunty; urgency=low

  * Merge from debian unstable, Ubuntu remaining changes:
    - Packages that Depend/Recommend/Suggest firefox (metapackage) must
      must alternatively Depend/Recommend/Suggest abrowser.
  * Bugfix-only release, fixed bugs: LP: #146308 and LP: #186381.

 -- Alessio Treglia <email address hidden> Thu, 26 Mar 2009 19:51:53 +0100

Changed in centerim:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.