From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 408 invoked by alias); 28 May 2015 02:02:33 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 397 invoked by uid 89); 28 May 2015 02:02:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f171.google.com Received: from mail-ig0-f171.google.com (HELO mail-ig0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 28 May 2015 02:02:31 +0000 Received: by igbjd9 with SMTP id jd9so13395964igb.1 for ; Wed, 27 May 2015 19:02:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.43.151.83 with SMTP id kr19mr6891405icc.3.1432778549545; Wed, 27 May 2015 19:02:29 -0700 (PDT) Received: by 10.36.12.200 with HTTP; Wed, 27 May 2015 19:02:29 -0700 (PDT) Date: Thu, 28 May 2015 02:02:00 -0000 Message-ID: Subject: SIGSEGV after continue From: Fei Ding To: "gdb@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00029.txt.bz2 Hi all: I'm using gdb-7.6 and gdbserver-7.6 of android-ndk-r10d to debug native sharedlib (libxxx.so) on an arm android device. And I've found that after I set a breakpoint on some sharedlib and continue running, gdb tells me Program received signal SIGSEGV, Segmentation fault. However, if I set no bps and just run it, there will be no problem. What's more, I've test the same lib on another Linux, all good. Unfortunately, I cannot list all the differences between these two dev-environment, except one is Ubuntu 12 and another is Ubuntu 14. Any thoughts is helpful, thanks.