From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32066 invoked from network); 12 Mar 2023 16:46:47 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 12 Mar 2023 16:46:47 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id DEA5941565; Mon, 13 Mar 2023 02:46:45 +1000 (AEST) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by minnie.tuhs.org (Postfix) with ESMTPS id 1AFD041549 for ; Mon, 13 Mar 2023 02:46:42 +1000 (AEST) Received: by mail-pj1-x1030.google.com with SMTP id qa18-20020a17090b4fd200b0023750b675f5so14712060pjb.3 for ; Sun, 12 Mar 2023 09:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678639601; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RhOWgNx2SVKFDjsBsc+N7G/4o9zPm+jplk6t01rbDoc=; b=KORgxddFY63Harlq2vrKWQN+2KD8vA9KZwDOoHHT4wWDq58Dx2VKTw5SA37hyxGyxO r/3Qc4Wr2BsNrqWrcRFtV3mqYhq+bZkJaqWwOpUEwWvgBWOWv/nVmaOPS8hRE5wbGtsE bpkMTgO7C+lDOmEWVeEv+pdN1QmdBEgmtuHee/uHLjHGUW76AA/wQS7ha59xRx/M39KU Xu7kLEc/NxbQR7jyUi7muBQDAijBTQUbwcKyG4oJZMOckTJ4+Ymcr57EpA/amSyzA0WT skh34OPsGnkRGwzMAzTxCs8suKpqrMFHGtyxJB/0Ehcz9GAgDOCtBj5hFdKdETJ+/CRJ mkpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678639601; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RhOWgNx2SVKFDjsBsc+N7G/4o9zPm+jplk6t01rbDoc=; b=f+InO1zVfJphC3sVRVKHYlqu5osaHhpe2/h3fZnPm5r7Zeyne2I5W0EkNd1L98pPen 2ouKrTWzZ0bC5S039H11KLWHv5TatyfXcGHwIJ6XbQauKtRAhm9+qbJExPAdUSx1G9qT zn7eOMY/Fgf+aZyP5HOVp8v5V2Z9eLTZMD6ItquQ5d782XrLRLcNEYDABAIR9rpG/APh lixBwh+vsZULjsLqNyGwuOwqvxDqOw+qG0BVLg8Zsxn1PtOJzLXlHQQQB/VlQiRJIb95 gXmbWBfMDf9fvc3xD7xqG7KKQhnOn9t+WOyHKekzKXngOnO1DOnbz3SGin3gMOhpBxSl Hg8A== X-Gm-Message-State: AO0yUKUjx2iCyFJX/ud2ONHXrW5EtL0gVLgw7mXIViSO6VxFxbYHXdO7 8f4T/gE4jfgXy5wGKbNjCWsy69PqZwS1MLpPwM4xfVF+ X-Google-Smtp-Source: AK7set/NJAEkQZ0NwL/sLVFyIRhcrqIE2KpPxf99jWDE/kSgdRZwsJcbfZRq4zMEX/DBEnlXfsB79l0dKOmHo4QIImU= X-Received: by 2002:a17:903:338b:b0:19f:afcf:9bf1 with SMTP id kb11-20020a170903338b00b0019fafcf9bf1mr587745plb.7.1678639601365; Sun, 12 Mar 2023 09:46:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:c184:b0:448:d92c:1b8f with HTTP; Sun, 12 Mar 2023 09:46:40 -0700 (PDT) In-Reply-To: <20230312104417.DC1DF215AA@orac.inputplus.co.uk> References: <69248852-1701-4938-8A4D-3B27F3018E83@iitbombay.org> <20230310174222.GB9225@mcvoy.com> <20230311112849.22C0920145@orac.inputplus.co.uk> <20230312042348.GJ860405@mit.edu> <20230312104417.DC1DF215AA@orac.inputplus.co.uk> From: Paul Winalski Date: Sun, 12 Mar 2023 12:46:40 -0400 Message-ID: To: Ralph Corderoy Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: J52KRNFFZJQ2O3KACK4B6IFZQ2GDBWGT X-Message-ID-Hash: J52KRNFFZJQ2O3KACK4B6IFZQ2GDBWGT X-MailFrom: paul.winalski@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: coff@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [COFF] Re: Conditions, AKA exceptions. List-Id: Computer Old Farts Forum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 3/12/23, Ralph Corderoy wrote: > > Do you ever find things are so messed up that stdio has trouble whereas > using write(2) with compile-time memory allocations for a buffer would > have a better chance of reaching the TTY? I hate it when that happens. Even worse is when adding the write(2) with compile-time memory allocations makes the bug go away. I once had to spend three days camped out in someone's office debugging a compiler crash. The crash only happened 4 hours into a massive multi-file compilation, and this guy's login session was the only one where the problem reproduced under the debugger. Heisenbugs are hell. -Paul W.