Skip to contentSkip to conversation

gnome-terminal hangs while running mutt (kernel 2.5.70)

DISCUSSION Magnus Solvang 2 participants 2 messages Jun 6, 2003 – Jul 16, 2003

lore
Share & tools
lore
#0 lore raw

I don't know what causes this problem, but I thought I should mention it, since it only happens with my 2.5.70- kernel, and not with 2.4.20.

Using gnome-terminal with an updated Red Hat Linux 9, and ssh'ing to my mailserver, my gnome-terminal hangs while mutt is sorting my mailbox. It always hangs on the same sort-count, displaying:

Reading /var/spool/mail/magnus... 194 (38%)

on the bottom of the screen. This is not a problem with other kernels, or using xterm in 2.5.70, so I guess it's not a mutt-problem.

Starting a gnome-terminal from xterm, logging into my mailserver with ssh, and starting mutt, the following error message loops infinitly in xterm while gnome-terminal hangs:

** (gnome-terminal:5486): WARNING **: Error reading from
child: Bad address.

Not a lot to find on Google about that one...

(client)
Gnome gnome-terminal 2.2.1
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f

(mailserver)
Mutt 1.4.1i (2003-03-19)
sshd version OpenSSH_3.4p1

strace-output, done from the xterm that starts gnome-terminal:

[...]
getpid() = 6917
write(2, "\n** (gnome-terminal:6917): WARNI"..., 78
** (gnome-terminal:6917): WARNING **: Error reading from child: Bad address. ) = 78
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=17, events=POLLIN}, {fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd= 8, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI }, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=15, event s=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}], 10, 0) = 0 write(3, "5\20\4\0\2\10\200\2\3\1\200\2\20\0\23\0007\0\5\0\3\10\200"..., 356) = 356
read(3, 0xbffff6e0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1^\36\0\0\0\0&\0 \2\0\0\0\0\0\0\0\0\0\0\0\0P\333i\10"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=17, events=POLLIN}, {fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd= 8, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI }, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=15, event s=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN, revent s=POLLIN}], 11, 0) = 1
read(16, 0xbfffe740, 4294965250) = -1 EFAULT (Bad address)
getpid() = 6917
write(2, "\n** (gnome-terminal:6917): WARNI"..., 78
** (gnome-terminal:6917): WARNING **: Error reading from child: Bad address. ) = 78
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=17, events=POLLIN}, {fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd= 8, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI }, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=15, event s=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}], 10, 0) = 0 write(3, "5\20\4\0\10\10\200\2\3\1\200\2\20\0\23\0007\0\5\0\t\10"..., 356) = 356
read(3, 0xbffff6e0, 32) = -1 EAGAIN (Resource temporarily unavai
lable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1s\36\0\0\0\0&\0 \2\0\0\0\0\0\0\0\0\0\0\0\0P\333i\10"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=17, events=POLLIN}, {fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd= 8, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI }, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=15, event s=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN, revent s=POLLIN}], 11, 0) = 1
read(16, 0xbfffe740, 4294965250) = -1 EFAUctl(3, FIONREAD <unfinished ...

Quoted 1 line

Let me know, and I'll give you more info.

- M

#1 lore raw
Quoted 11 lines · Magnus Solvang

Using gnome-terminal with an updated Red Hat Linux 9, and ssh'ing to my mailserver, my gnome-terminal hangs while mutt is sorting my mailbox. It always hangs on the same sort-count, displaying:

Reading /var/spool/mail/magnus... 194 (38%)

on the bottom of the screen. This is not a problem with other kernels, or using xterm in 2.5.70, so I guess it's not a mutt-problem.

Quoted 7 lines

Starting a gnome-terminal from xterm, logging into my mailserver with ssh, and starting mutt, the following error message loops infinitly in xterm while gnome-terminal hangs:

** (gnome-terminal:5486): WARNING **: Error reading from
child: Bad address.

This is actually a bug in vte and was fixed in version 0.10.26. Red Hat 9.0 seems to have vte 0.10.25. For more information please go to
http://bugzilla.gnome.org/show_bug.cgi?id=108066

Signature · 2 lines
Regards,
Olav