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