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=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3416 invoked from network); 5 Oct 2023 19:06:57 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 5 Oct 2023 19:06:57 -0000 Received: (qmail 14010 invoked by uid 550); 5 Oct 2023 19:06:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 13969 invoked from network); 5 Oct 2023 19:06:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20230601.gappssmtp.com; s=20230601; t=1696532801; x=1697137601; darn=lists.openwall.com; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=An4gFBhj05fTEh/79Ikg7n3QEh3Jq6WB5qRSiiqeSVI=; b=dyvyQuhGSE0hXrGzHJUgyLVZ0NjStsnKuaFgdpXXm4FeYzbCEKDgpJNQ7Cm7gfTG1A xk6F1crFQ9CUYMVZ3V8P4eW5unXo7o+2hNM5bu12lg/+p2lhX7K1kZm95FM0h15Lh3ob Pq9thWhs/duCfNva36rckKFUwYOe0HZMId2o7af2BuW4SXXY5754QMohsVwscAxKq5iI /uG43lCO4+ByzaFF2LS8JpIhYv2OF4PK1e1OecZjbTIVrEn1zbRktvhem5UoJ01PIzaL Nsndy0ZY3slbRtlHCZwsnp9SkaStDyDp0yqMDO7CQoVhDvcuxQXPonWHRgBaFaY99M9F 0DSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696532801; x=1697137601; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=An4gFBhj05fTEh/79Ikg7n3QEh3Jq6WB5qRSiiqeSVI=; b=ohlSY/Pddw8VIpiOXC2pgxNwR6xjpGSuo2kYV0ck2eVE6EJdFYuaVbKDozjvic89gV mtAWVu8UiPtDVHef656ylRniXt9HJ2Gts/ZiHUem7cJDTf6whkVwszczJn1j02SdLA7h fEQ4cqWbSLdMEOhY3Hqc+C80txIMvKGVSWV81M5JZKXrosB+G7n6TnCQqKcIDzHjCN3T 5yvWmF5A77mzBgFEbufXOc2vioqP3FCsWykJKHIoB5BeLkhb+2VCQjDM+evQkZDipMf9 l6AF+l/yl++wt4Rbi4uSzqxTlt1iMieYsp1TwSCLSoMcMNCjcXrpM5b1u/whmEMoyVRc IHUQ== X-Gm-Message-State: AOJu0YwoQwGkiOMNImlRIuk64B5TlA/FT6OCUzZjlpvSzRhInSPPWC4r cQvZSQ+V35mwiGCXxpxTeYbhvyUsMk6zeEjSB8sGU+3BSix4Y00mSNY= X-Google-Smtp-Source: AGHT+IEdJxcgAr0qB1owG+bJhXZzvG3q/rtjGX3yVBwHgD8ndQmlvGR/mHBIVdLk0yiUbHBHUYjhvCYUJ4ev+nYYf3o= X-Received: by 2002:a19:4f52:0:b0:500:9d4a:89ff with SMTP id a18-20020a194f52000000b005009d4a89ffmr5422440lfk.62.1696532801290; Thu, 05 Oct 2023 12:06:41 -0700 (PDT) MIME-Version: 1.0 References: <20231005021539.GG4163@brightrain.aerifal.cx> <20231005133926.GC1427497@port70.net> In-Reply-To: From: Carl Chave Date: Thu, 5 Oct 2023 15:06:30 -0400 Message-ID: To: Markus Wichmann Cc: musl@lists.openwall.com, Rich Felker Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Hung processes with althttpd web server > Because this backtrace does not fit the strace from earlier. I'm sorry, that's my fault, I used strace output from a previous hang as an example, not realizing it would cause confusion. For the record, this is the current output: strace: Process 9780 attached futex(0x7f5fb44e0884, FUTEX_WAIT_PRIVATE, 2147483664, NULL > Solution is still the same as before: Either clean up the signal handler > or don't even register it in the first place. The proper place to log > unusual exit of a process is in the parent process. All of the > intercepted signals have a default action of Term or Core, so they will > cause the end of the process. Disregard my other reply about the --debug option, I will point the althttpd devs at this thread and hopefully they can review. Thanks a lot for the help. Carl