GNU bug report logs -
#19779
dmd: service definition errors cause kernel panic
Previous Next
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.
Full log
Message #10 received at 19779-done <at> debbugs.gnu.org (full text, mbox):
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’.
This bug report was last modified 9 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.