From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24358: 25.1.50; Date: Tue, 18 Oct 2016 12:28:56 +0300 Message-ID: <83zim2vwdj.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476783495 15830 195.159.176.226 (18 Oct 2016 09:38:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 09:38:15 +0000 (UTC) Cc: 24358@debbugs.gnu.org To: Sam Halliday Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 11:38:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwQqK-0001nn-Fu for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 11:37:56 +0200 Original-Received: from localhost ([::1]:39884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwQqM-0000CS-Im for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 05:37:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwQil-0002CH-W4 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 05:30:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwQih-0002r8-3b for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 05:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwQih-0002q8-09 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 05:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwQig-0001SX-Ln for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2016 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24358 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24358-submit@debbugs.gnu.org id=B24358.14767829665543 (code B ref 24358); Tue, 18 Oct 2016 09:30:02 +0000 Original-Received: (at 24358) by debbugs.gnu.org; 18 Oct 2016 09:29:26 +0000 Original-Received: from localhost ([127.0.0.1]:37614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwQi6-0001RL-9s for submit@debbugs.gnu.org; Tue, 18 Oct 2016 05:29:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwQi4-0001R8-HE for 24358@debbugs.gnu.org; Tue, 18 Oct 2016 05:29:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwQhu-0000NB-D8 for 24358@debbugs.gnu.org; Tue, 18 Oct 2016 05:29:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwQhu-0000Mm-9j; Tue, 18 Oct 2016 05:29:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3079 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bwQhs-0007zm-Pv; Tue, 18 Oct 2016 05:29:13 -0400 In-reply-to: (message from Sam Halliday on Tue, 18 Oct 2016 09:16:38 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124625 Archived-At: > From: Sam Halliday > Date: Tue, 18 Oct 2016 09:16:38 +0100 > > Could somebody please let me know how to dig into 0x56e5508 (if > relevant)? I have never used gdb in anger. The factor that triggers the bug is the call to malloc, which causes relocation of buffer text to a different address, while re_search_2 still uses the (stale) pointer to that text. So the way to make sure this is the same bug is to see that (1) there's a call to malloc between entry to re_search_2 and the crash, and (2) that the value of current_buffer->text->beg is different before and after the call to malloc. Thanks.