Re: [Mutt] #2709: exits with status 0 when disk is full
#2709: exits with status 0 when disk is full
Old description:
> {{{
> Date: Fri, 29 Dec 2006 14:57:20 -0500
> From: Justin Pryzby <justinpryzby@xxxxxxxxxxxxxxxxxxxxx>
> Reply-To: Justin Pryzby <justinpryzby@xxxxxxxxxxxxxxxxxxxxx>,
> 404973@xxxxxxxxxxxxxxx
> To: submit@xxxxxxxxxxxxxxx
> Subject: Bug#404973: mutt: returns [ $? -eq 0 ] composing a message with
> ENOSPC
>
> Package: mutt
> Version: 1.5.13-1.1
> Severity: normal
>
> execve("/usr/bin/mutt", ["mutt", "376543@xxxxxxxxxxxxxxx"], [/* 20 vars
> */]) = 0
> [...]
>
> mkdir("/tmp/.mutt0H1D71", 0700) = -1 ENOSPC (No space left on
> device)
> write(1, "\7", 1) = 1
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> ioctl(1, TIOCGWINSZ, {ws_row=39, ws_col=142, ws_xpixel=0, ws_ypixel=0}) =
> 0
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo
> ...}) = 0
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo
> ...}) = 0
> write(1, "\33[?1049h\33[1;39r\33[39;49m\33[m\33[4l\33["..., 2800) = 2800
> write(1, " "..., 2800) = 2800
> write(1, " "..., 363) = 363
> unlink("/tmp/mutt-cyberia-1000-4478-0") = -1 ENOENT (No such file or
> directory)
> write(1, "\r\33[37m\33[40m "..., 100) = 100
> write(1, "\33[39;49m\33[K\33[39;1H\33[?1049l\r\33[?1l"..., 34) = 34
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo
> ...}) = 0
> ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...})
> = 0
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> exit_group(0) = ?
> ^^^^^^^^^^^^^
> Process 4478 detached
> >How-To-Repeat:
> Confirmed here. The error only occurs when calling "mutt address", it is
> correctly trapped from inside mutt.
> >Fix:
> Unknown
> }}}
New description:
{{{
Date: Fri, 29 Dec 2006 14:57:20 -0500
From: Justin Pryzby <justinpryzby@xxxxxxxxxxxxxxxxxxxxx>
Reply-To: Justin Pryzby <justinpryzby@xxxxxxxxxxxxxxxxxxxxx>,
404973@xxxxxxxxxxxxxxx
To: submit@xxxxxxxxxxxxxxx
Subject: Bug#404973: mutt: returns [ $? -eq 0 ] composing a message with
ENOSPC
Package: mutt
Version: 1.5.13-1.1
Severity: normal
execve("/usr/bin/mutt", ["mutt", "376543@xxxxxxxxxxxxxxx"], [/* 20 vars
*/]) = 0
[...]
mkdir("/tmp/.mutt0H1D71", 0700) = -1 ENOSPC (No space left on
device)
write(1, "\7", 1) = 1
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=39, ws_col=142, ws_xpixel=0, ws_ypixel=0}) =
0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo
...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo
...}) = 0
write(1, "\33[?1049h\33[1;39r\33[39;49m\33[m\33[4l\33["..., 2800) = 2800
write(1, " "..., 2800) = 2800
write(1, " "..., 363) = 363
unlink("/tmp/mutt-cyberia-1000-4478-0") = -1 ENOENT (No such file or
directory)
write(1, "\r\33[37m\33[40m "..., 100) = 100
write(1, "\33[39;49m\33[K\33[39;1H\33[?1049l\r\33[?1l"..., 34) = 34
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo
...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...})
= 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
exit_group(0) = ?
^^^^^^^^^^^^^
Process 4478 detached
}}}
>How-To-Repeat:
Confirmed here. The error only occurs when calling "mutt address", it is
correctly trapped from inside mutt.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2709#comment:1>