From unknown Sat Aug 16 22:46:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19779: dmd: service definition errors cause kernel panic Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Feb 2015 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19779 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 19779@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142312071317801 (code B ref -1); Thu, 05 Feb 2015 07:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Feb 2015 07:18:33 +0000 Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGht-0004d3-7g for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGhs-0004cq-AI for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhm-0006lN-HQ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhm-0006lJ-EJ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhl-0000J0-N9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhg-0006kC-O9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:25 -0500 Received: from world.peace.net ([50.252.239.5]:34831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhg-0006k6-K2 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:20 -0500 Received: from [10.1.10.11] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YJGha-0006Wx-QU; Thu, 05 Feb 2015 02:18:14 -0500 From: Mark H Weaver Date: Thu, 05 Feb 2015 02:18:22 -0500 Message-ID: <87lhkckerl.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From unknown Sat Aug 16 22:46:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#19779: closed (Re: bug#19779: dmd: service definition errors cause kernel panic) Message-ID: References: <87lh9mjqa6.fsf@gnu.org> <87lhkckerl.fsf@netris.org> X-Gnu-PR-Message: they-closed 19779 X-Gnu-PR-Package: guix Reply-To: 19779@debbugs.gnu.org Date: Wed, 25 Nov 2015 11:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1448449382-26740-1" This is a multi-part message in MIME format... ------------=_1448449382-26740-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #19779: dmd: service definition errors cause kernel panic which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19779@debbugs.gnu.org. --=20 19779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19779 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1448449382-26740-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19779-done) by debbugs.gnu.org; 25 Nov 2015 11:02:18 +0000 Received: from localhost ([127.0.0.1]:52088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Xq5-0006wG-P0 for submit@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43806) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Xq3-0006w6-M2 for 19779-done@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Xq0-0002xT-Ao for 19779-done@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Xq0-0002xO-7k; Wed, 25 Nov 2015 06:02:12 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:38338 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a1Xpz-0005cF-KG; Wed, 25 Nov 2015 06:02:12 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#19779: dmd: service definition errors cause kernel panic References: <87lhkckerl.fsf@netris.org> Date: Wed, 25 Nov 2015 12:02:09 +0100 In-Reply-To: <87lhkckerl.fsf@netris.org> (Mark H. Weaver's message of "Thu, 05 Feb 2015 02:18:22 -0500") Message-ID: <87lh9mjqa6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 19779-done Cc: 19779-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Mark H Weaver 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 =E2=80=98call-with-error-handling= =E2=80=99, which spawns a REPL when something goes wrong. Better than a kernel panic! Ludo=E2=80=99. ------------=_1448449382-26740-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Feb 2015 07:18:33 +0000 Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGht-0004d3-7g for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGhs-0004cq-AI for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhm-0006lN-HQ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhm-0006lJ-EJ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhl-0000J0-N9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhg-0006kC-O9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:25 -0500 Received: from world.peace.net ([50.252.239.5]:34831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhg-0006k6-K2 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:20 -0500 Received: from [10.1.10.11] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YJGha-0006Wx-QU; Thu, 05 Feb 2015 02:18:14 -0500 From: Mark H Weaver To: bug-guix@gnu.org Subject: dmd: service definition errors cause kernel panic Date: Thu, 05 Feb 2015 02:18:22 -0500 Message-ID: <87lhkckerl.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 ------------=_1448449382-26740-1--