* bug#19779: dmd: service definition errors cause kernel panic
@ 2015-02-05 7:18 Mark H Weaver
2015-11-25 11:02 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2015-02-05 7:18 UTC (permalink / raw)
To: 19779
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19779: dmd: service definition errors cause kernel panic
2015-02-05 7:18 bug#19779: dmd: service definition errors cause kernel panic Mark H Weaver
@ 2015-11-25 11:02 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-11-25 11:02 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 19779-done
Mark H Weaver <mhw@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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-25 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 7:18 bug#19779: dmd: service definition errors cause kernel panic Mark H Weaver
2015-11-25 11:02 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.