From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4414 Path: news.gmane.org!not-for-mail From: James Gregurich Newsgroups: gmane.linux.lib.musl.general Subject: Re: mistake in powerpc clone.s? Date: Thu, 26 Dec 2013 21:45:40 -0600 Message-ID: References: <6CBC4CE2-CFF2-4FE6-8DD5-6FB2B1FCBA4A@mac.com> <52BCDE8A.3060304@barfooze.de> <687A82F2-D0DB-48DF-8027-CFAC49F93B9C@mac.com> <20131227034201.GE24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388115942 3731 80.91.229.3 (27 Dec 2013 03:45:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 03:45:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4418-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 27 04:45:46 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VwOMs-0005QG-8W for gllmg-musl@plane.gmane.org; Fri, 27 Dec 2013 04:45:46 +0100 Original-Received: (qmail 11839 invoked by uid 550); 27 Dec 2013 03:45:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 11831 invoked from network); 27 Dec 2013 03:45:45 -0000 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2013-12-27_01:2013-12-24,2013-12-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312260229 In-reply-to: <20131227034201.GE24286@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.1827) Xref: news.gmane.org gmane.linux.lib.musl.general:4414 Archived-At: If you want me to try a patch, let me know. BTW: I have an actual crash in my app that appears to be a stack = corruption. I was following up on that message to see if it was relevant = to the crash. -James On Dec 26, 2013, at 9:42 PM, Rich Felker wrote: > On Thu, Dec 26, 2013 at 09:13:59PM -0600, James Gregurich wrote: >>=20 >>=20 >> When I debug my app in gdb, I consistently get =93Backtrace stopped: >> previous frame inner to this frame (corrupt stack?)=94 at the lower >> end of the backtrace. I set break points at each function in the >> back trace and that message persists up to the __clone() invocation. >> until that line that I pointed out, the backtrace is normal. Once >> that instruction is executed, the backtrace is permanently broken >> for that thread. >=20 > In the backtrace for a thread other than the main thread, it's normal > and expected for the backtrace to end at __clone; it's where the > thread started. The "corrupt stack" message is unwanted (musl should > be arranging for the frame pointer to be zero so that debuggers > recognize that there's nothing else on the stack, and maybe this needs > fixing) but I don't think it's necessarily indicative of any bug. >=20 > Rich