From nobody Thu Mar 28 11:36:08 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) by lists.alpinelinux.org (Postfix) with ESMTP id 3143BF854F9 for ; Sun, 30 Dec 2018 01:46:33 +0000 (UTC) Date: Sun, 30 Dec 2018 01:46:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunfi.sh; s=protonmail; t=1546134391; bh=JV16ACt8f7QBDaj6lSRG1QBVhEl+gIs1ookHfuzZlVA=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=ZMX67IHx47AVoMkkrkPRZFPcohI9cVqzzIUQTsNKfzm4bc+W3VALKetjOt63FiacN 3wUIoUzL4nuFLY5q35pkj27iUunlx77oftUB48Ekj9bEt2d3lUVPlNe3aELPVT/6UJ /CF4lH0BRN3tl3O9ZScNdml22CSQujHIvdDLcZwM= To: "steffen@sdaoden.eu" From: Phil Hofer Cc: "alpine-devel@lists.alpinelinux.org" Reply-To: Phil Hofer Subject: [alpine-devel] Re: openrc crashes Message-ID: Feedback-ID: KQYgXwW95KZKFtdKXbDLp7uXG-WRoO_GBxBXScjXQTnH4hk8IX5tVgVB60E7xVGeWaFgWV0KxGB7LiMdLyDAuw==:Ext:ProtonMail X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch Steffen, I ran into some crashes in openrc recently as well. (Once I ran my reproducer in gdb, I saw that openrc was tripping the stack-smashing protector.) I went through the source and made some reliability fixes, which have now been committed upstream: 846e46 -- fix 4 out-of-bounds reads 084877 -- fix stack buffer overrun (my issue) a9fc26 -- fix NULL dereference Try building the latest version of openrc and see if your issues persist. (You'll have to take some patches from aports in order for it to build cleanly, or you can build from my aports tree: https://github.com/philhofer/aports/tree/master/main/openrc) If you're able to reproduce a crash locally, run the reproducer under gdb and see if you can at least grab a stack trace. Building with some hardening options turned on will help crash the program closer to the memory corruption. - Phil --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 11:36:08 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by lists.alpinelinux.org (Postfix) with ESMTP id 84B00F84E5E for ; Mon, 31 Dec 2018 18:11:01 +0000 (UTC) Received: by sdaoden.eu (Postfix, from userid 1000) id ED8801604A; Mon, 31 Dec 2018 19:11:00 +0100 (CET) Date: Mon, 31 Dec 2018 19:11:15 +0100 From: Steffen Nurpmeso To: Phil Hofer Cc: "alpine-devel@lists.alpinelinux.org" Subject: [alpine-devel] Re: openrc crashes Message-ID: <20181231181115.X9XVy%steffen@sdaoden.eu> In-Reply-To: References: Mail-Followup-To: Phil Hofer , "alpine-devel@lists.alpinelinux.org" User-Agent: s-nail v14.9.11-123-g49d1a5c2 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Hello Phil. Phil Hofer wrote in : |I ran into some crashes in openrc recently as well. |(Once I ran my reproducer in gdb, I saw that openrc was tripping |the stack-smashing protector.) | |I went through the source and made some reliability fixes, |which have now been committed upstream: | |846e46 -- fix 4 out-of-bounds reads |084877 -- fix stack buffer overrun (my issue) |a9fc26 -- fix NULL dereference I see. Good to know someone cared for crashes there! |Try building the latest version of openrc and see |if your issues persist. (You'll have to take some patches |from aports in order for it to build cleanly, or you |can build from my aports tree: |https://github.com/philhofer/aports/tree/master/main/openrc) | |If you're able to reproduce a crash locally, run the |reproducer under gdb and see if you can at least grab |a stack trace. Building with some hardening options turned |on will help crash the program closer to the memory corruption. Oh! Oh! Here i have to disappoint you, i am afraid: i will wait for binary updates to sail in. The pain is not large enough (especially now that i have a workaround for next time), and i truly hate debuggers from the deepest corner of my heart! I do not have one, and i do not know how to use them. (That is, maybe a dozen times, but not that much more in my life, break+stepi? Insufficient knowledge!) But i will be happy once it comes in! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 11:36:08 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by lists.alpinelinux.org (Postfix) with ESMTP id 0B755F858AE for ; Thu, 3 Jan 2019 20:38:16 +0000 (UTC) Received: by sdaoden.eu (Postfix, from userid 1000) id 3CC0916058; Thu, 3 Jan 2019 21:38:15 +0100 (CET) Date: Thu, 03 Jan 2019 21:38:14 +0100 From: Steffen Nurpmeso To: Phil Hofer Cc: "alpine-devel@lists.alpinelinux.org" Subject: Re: [alpine-devel] Re: openrc crashes Message-ID: <20190103203814.gi7DO%steffen@sdaoden.eu> In-Reply-To: <20181231181115.X9XVy%steffen@sdaoden.eu> References: <20181231181115.X9XVy%steffen@sdaoden.eu> Mail-Followup-To: Phil Hofer , "alpine-devel@lists.alpinelinux.org" User-Agent: s-nail v14.9.11-123-g49d1a5c2 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Steffen Nurpmeso wrote in <20181231181115.X9XVy%steffen@sdaoden.eu>: |Phil Hofer wrote in : ||I ran into some crashes in openrc recently as well. ||(Once I ran my reproducer in gdb, I saw that openrc was tripping ||the stack-smashing protector.) || ||I went through the source and made some reliability fixes, ||which have now been committed upstream: || ||846e46 -- fix 4 out-of-bounds reads ||084877 -- fix stack buffer overrun (my issue) ||a9fc26 -- fix NULL dereference | |I see. Good to know someone cared for crashes there! | ||Try building the latest version of openrc and see ||if your issues persist. (You'll have to take some patches I have not done that, but as it happened again today after i manually have changed the runlevel, i saw that OpenRC seems to falsely unroll the hierarchy, at least from looking at the messages! I have default->net->wlan->wlan-up, the latter only with ntp running, and once i switched from wlan-up->default, all services from wlan where shut down before the ntp of wlan-up. I do not know how this could cause the problems, but the behaviour seems very wrong to me. What do you think, should i open an AlpineLinux bug?? (I have not github account, which is why i am asking.) Ciao, Phil, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---