GNU bug report logs - #19779
dmd: service definition errors cause kernel panic

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Thu, 5 Feb 2015 07:19:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19779 in the body.
You can then email your comments to 19779 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19779; Package guix. (Thu, 05 Feb 2015 07:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 05 Feb 2015 07:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: dmd: service definition errors cause kernel panic
Date: Thu, 05 Feb 2015 02:18:22 -0500
When I first wrote 'wicd-service', I mispelled
'make-forkexec-constructor'.  This caused a kernel panic whenever the
service was included in my OS config.  I don't know whether dmd printed
a helpful error message, but if so, it was followed immediately by a
kernel call trace that caused earlier messages to scroll off the screen.
The result is that it was quite difficult to find the source of the
error.

In case of such errors, it would be good if dmd would print an error
message with the most useful information at the bottom (in case it does
not all fit on the display) and then to avoid exiting so that the
message could be read and understood.

      Mark




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 25 Nov 2015 11:03:01 GMT) Full text and rfc822 format available.

Notification sent to Mark H Weaver <mhw <at> netris.org>:
bug acknowledged by developer. (Wed, 25 Nov 2015 11:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 19779-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 19779-done <at> debbugs.gnu.org
Subject: Re: bug#19779: dmd: service definition errors cause kernel panic
Date: Wed, 25 Nov 2015 12:02:09 +0100
Mark H Weaver <mhw <at> netris.org> skribis:

> When I first wrote 'wicd-service', I mispelled
> 'make-forkexec-constructor'.  This caused a kernel panic whenever the
> service was included in my OS config.  I don't know whether dmd printed
> a helpful error message, but if so, it was followed immediately by a
> kernel call trace that caused earlier messages to scroll off the screen.
> The result is that it was quite difficult to find the source of the
> error.
>
> In case of such errors, it would be good if dmd would print an error
> message with the most useful information at the bottom (in case it does
> not all fit on the display) and then to avoid exiting so that the
> message could be read and understood.

Commit b9c7ed7 wraps service loading in ‘call-with-error-handling’,
which spawns a REPL when something goes wrong.  Better than a kernel
panic!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Dec 2015 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.