From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: aidalgol@amuri.net Newsgroups: gmane.emacs.bugs Subject: bug#18438: 24.4.50; assertion failed in bidi.c Date: Wed, 24 Sep 2014 17:07:12 +1200 Message-ID: References: "\"<4745242cd3e424a6c4d5db0e8d3e33d0@amuri.net> " <54109EB5.2060801@amuri.net>" <8338bz9tt7.fsf@gnu.org> "<153d642db591b29dba44712b44194385@amuri.net>" <8361gt8jjz.fsf@gnu.org> "<8338bx8enz.fsf@gnu.org>" <47b6853869d32221142fecc7dff1d3e8@amuri.net> "<83sijs46yu.fsf@gnu.org>" "<83ppev4ouy.fsf@gnu.org>" "<8361gm4yy1.fsf@gnu.org>" <9e9d2525ec6fde394c3be85b2a97a306@amuri.net> <8361gl2do6.fsf@gnu.org> <541F5171.7070504@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1411535304 17873 80.91.229.3 (24 Sep 2014 05:08:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 05:08:24 +0000 (UTC) To: <18438@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 07:08:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XWeoN-0002t0-2a for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 07:08:19 +0200 Original-Received: from localhost ([::1]:57258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWeoM-0001pn-Ks for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 01:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWeoF-0001oo-SJ for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 01:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWeoB-0008Mt-Rq for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 01:08:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWeoB-0008MT-OU for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 01:08:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XWeo6-0008D5-6B for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2014 01:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: aidalgol@amuri.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Sep 2014 05:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18438-submit@debbugs.gnu.org id=B18438.141153523631500 (code B ref 18438); Wed, 24 Sep 2014 05:08:02 +0000 Original-Received: (at 18438) by debbugs.gnu.org; 24 Sep 2014 05:07:16 +0000 Original-Received: from localhost ([127.0.0.1]:50391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWenL-0008C0-Jt for submit@debbugs.gnu.org; Wed, 24 Sep 2014 01:07:16 -0400 Original-Received: from goat.amuri.net ([203.99.132.195]:34892) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWenG-0008Bo-QI for 18438@debbugs.gnu.org; Wed, 24 Sep 2014 01:07:13 -0400 Original-Received: from webmail.amuri.net (localhost [127.0.0.1]) by goat.amuri.net (Postfix) with ESMTP id 9B5F3FFA51; Wed, 24 Sep 2014 17:07:12 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=amuri.net; s=mail1; t=1411535233; bh=BLaWq7geP8cRRvu0xl47aYecMD6f0r7Aae8F9q/lfv0=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:In-Reply-To:References:Message-ID; b=wbD/k33EaynD2++09a1vUoX0/jyixd3X9regmEwWlLiuKJwy4Rpd1X4Sz0xoPbfwb M3jNNnnlglIN20t3ydwU6G7XwjSV1XFGmG/mZkJlphFHx+1OCXw1No6NmLhhaJxq3a 3Z6PD/pYLVGC+Wu31DC2ZzsYjK23tOCs2WKM73k0= In-Reply-To: <541F5171.7070504@cornell.edu> X-Sender: aidalgol@amuri.net User-Agent: Roundcube Webmail/0.5.3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93671 Archived-At: On Sun, 21 Sep 2014 18:30:09 -0400, Ken Brown wrote: > On 9/18/2014 10:42 AM, Eli Zaretskii wrote: >> So again, this is a riddle for which I have no clues. Perhaps the >> strange backtraces reported in bug #17753, and the discussion Ken >> started on the Cygwin list about that, will bring some insight >> (e.g., >> is it possible that this code also runs in some other thread?). > > The other possibility is that the strange backtraces are due to a bug > in gdb that has since been fixed. PR 16155 > (https://sourceware.org/bugzilla/show_bug.cgi?id=16155) seems like a > possible candidate for such a bug, but I haven't yet tried to verify > this. OP, could you update to Cygwin's gdb-7.8-2 and see if your > backtraces start to make more sense? The problem with gdb-7.8-1 that > I mentioned earlier has been fixed. Since your post, I have been running emacs under gdb-7.8-2 as you said, and regularly pulling from git master (and rebuilding, of course). Today I pulled 270b6e3 and rebuilt, and it hangs under gdb before even drawing the frame. It runs fine outside gdb, so I did a clean build and tried again, but the same happened. $ gdb -x .gdbinit ./emacs.exe GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./emacs.exe...done. warning: File "/home/agauland/src/emacs/src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /home/agauland/src/emacs/src/.gdbinit line to your configuration file "/home/agauland/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/agauland/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. TERM = xterm Breakpoint 1 at 0x100531bd8: file emacs.c, line 361. Temporary breakpoint 2 at 0x10055e8a8: file sysdep.c, line 915. (gdb) run Starting program: /home/agauland/src/emacs/src/emacs.exe [New Thread 6856.0x1f38] [New Thread 6856.0x1240] [New Thread 6856.0x26c] [New Thread 6856.0x173c] [New Thread 6856.0x1f80] [New Thread 6856.0x1528] [New Thread 6856.0x15c4] And then it just sits there. I tried using Kyle McKay's debugbreak.c to send the emacs process a DebugBreak, and gdb did not respond (or not visibly, anyway). I was running a build of d29b3c1 under the same version of GDB, so that suggests that a change in Emacs may be exposing a different bug in GDB 7.8. Where shall I go from here? Downgrading GDB is not an option as we need a backtrace from Emacs run under GDB 7.8. Regards, Aidan Gauland