From ee9d5bdd950bb05549bddc614c3c5ce9d10a5b08 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 30 May 2014 11:15:32 -0700 Subject: [PATCH] x86: stop unwinding past __bionic_clone. The apparent "previous" frame is on another thread's stack. Bug: 14270816 Bug: 15195760 Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4 --- libc/arch-x86/bionic/__bionic_clone.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/arch-x86/bionic/__bionic_clone.S b/libc/arch-x86/bionic/__bionic_clone.S index af6ef1907..7c972de54 100644 --- a/libc/arch-x86/bionic/__bionic_clone.S +++ b/libc/arch-x86/bionic/__bionic_clone.S @@ -38,6 +38,8 @@ ENTRY(__bionic_clone) jmp .L_bc_return .L_bc_child: + # We don't want anyone to unwind past this point. + .cfi_undefined %eip call __bionic_clone_entry hlt