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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 25 Nov 2015 12:02:09 +0100
with message-id <87lh9mjqa6.fsf <at> gnu.org>
and subject line Re: bug#19779: dmd: service definition errors cause kernel panic
has caused the debbugs.gnu.org bug report #19779,
regarding dmd: service definition errors cause kernel panic
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
19779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.