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 ---