[Reportbug-maint] Bug#695219: reportbug incorrectly says "Report has not been sent yet" after SIGINT sent to process group

Vincent Lefevre vincent at vinc17.net
Wed Dec 5 16:34:29 UTC 2012


[also sent to 683671 at b.d.o since this concerns dash; for reportbug,
one should do a test with bash as /bin/sh to see whether reportbug
is really buggy or if this is just a consequence of the dash bug.]

On 2012-12-05 16:53:41 +0100, Vincent Lefevre wrote:
> I think I've found how to reproduce it. It occurs when:
>   * the editor for Mutt is Emacs 24,
>   * Emacs runs in the terminal (e.g. because X11 DISPLAY is not
>     available, but this can also be done with "emacs -nw"),
>   * I type Ctrl-G in Emacs.
> 
> A Ctrl-G in Emacs 24 has the effect to send a SIGINT to the whole
> process group (previous Emacs versions behave differently, and this
> problem was fixed in the Emacs trunk[*]) since Emacs changes the
> INTR character to Ctrl-G for internal use and doesn't put itself
> in its own process group. Mutt itself is not affected and I could
> check that it terminates normally, i.e. with a 0 exit status. So,
> I suppose that reportbug can't handle the SIGINT gracefully. Or
> it could be due to this dash bug:
> 
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683671
> 
> since a ps shows that reportbug runs Mutt via "sh -c".
> 
> [*] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11886

I couldn't try because the Debian BTS doesn't have a test system
(due avoid creating a dummy bug report), but a Ctrl-C in Mutt
also sends a SIGINT to the whole process group (as expected),
even when one doesn't quit Mutt and Mutt terminates normally.
So, even if the problem is "fixed" (avoided) in Emacs, the real
problem still exists.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Reportbug-maint mailing list