unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: aidalgol@amuri.net, 18438@debbugs.gnu.org
Subject: bug#18438: 24.4.50; assertion failed in bidi.c
Date: Wed, 24 Sep 2014 10:06:30 -0400	[thread overview]
Message-ID: <5422CFE6.3010109@cornell.edu> (raw)
In-Reply-To: <be5259ec9d5c6769d3a0b26175dbb64a@amuri.net>

[-- Attachment #1: Type: text/plain, Size: 3525 bytes --]

On 9/24/2014 1:07 AM, aidalgol@amuri.net wrote:
> 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
> <http://gnu.org/licenses/gpl.html>
> 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:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> 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
> <https://cygwin.com/ml/cygwin/2006-06/msg00321.html> 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.

It works fine for me with the latest bzr revision (117936).

If you still can't get it to work, maybe you should test the emacs-24 
branch instead of the trunk.  That's much more stable, and fixing bugs 
there is more important than fixing bugs in the trunk right now.

By the way, I just got the same assertion failure in bidi.c, with a 
backtrace under gdb 7.8 (attached).  The assertion failure still doesn't 
make sense because type=STRONG_L.  But I see lots of strange values of 
"type" in frames 3 and higher.  Eli, can you make sense out of this?  I 
still have the gdb session open.

Ken

[-- Attachment #2: bt.txt.gz --]
[-- Type: application/gzip, Size: 11370 bytes --]

  reply	other threads:[~2014-09-24 14:06 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 21:41 bug#18438: 24.4.50; assertion failed in bidi.c aidalgol
2014-09-10  0:16 ` Stefan Monnier
2014-09-10 18:55   ` Aidan Gauland
2014-09-10 19:09     ` Eli Zaretskii
2014-09-11  4:31       ` aidalgol
2014-09-11 13:18         ` Ken Brown
2014-09-12  1:51           ` aidalgol
2014-09-12  1:55       ` aidalgol
2014-09-12  6:00         ` Eli Zaretskii
2014-09-12  7:46           ` Eli Zaretskii
2014-09-16  1:04             ` aidalgol
2014-09-16  2:47               ` Eli Zaretskii
2014-09-16  2:59                 ` aidalgol
2014-09-16 14:33                   ` Eli Zaretskii
2014-09-16 22:42                     ` aidalgol
2014-09-17  5:07                       ` Eli Zaretskii
2014-09-18  4:55                         ` aidalgol
2014-09-18  4:59                         ` aidalgol
2014-09-18 14:42                           ` Eli Zaretskii
2014-09-21 22:30                             ` Ken Brown
2014-09-24  5:07                               ` aidalgol
2014-09-24 14:06                                 ` Ken Brown [this message]
2014-09-24 15:01                                   ` Eli Zaretskii
2014-09-24 16:40                                     ` Ken Brown
2014-09-24 19:49                                       ` Eli Zaretskii
2014-09-28 23:03                                   ` aidalgol
2014-09-10 13:14 ` Ken Brown
2014-09-29  0:56 ` aidalgol
2014-09-29  6:23   ` Eli Zaretskii
2014-09-29 15:50     ` Ken Brown
2014-09-29 17:00       ` Eli Zaretskii
2014-09-29 22:28         ` aidalgol
2014-09-30 15:24           ` Eli Zaretskii
2014-09-30 16:09             ` Ken Brown
2014-09-30 16:27               ` Eli Zaretskii
2014-09-30 23:06                 ` aidalgol
2014-10-01  2:39                   ` Eli Zaretskii
2014-10-01  2:58                     ` aidalgol
2014-10-01 14:42                       ` Eli Zaretskii
2014-10-01 21:56                         ` aidalgol
2014-10-01  2:40                   ` Ken Brown
2014-10-08 22:20             ` aidalgol
2014-10-09  7:29               ` Eli Zaretskii
2014-10-10  2:21                 ` aidalgol
2014-10-10  7:19                   ` Eli Zaretskii
2014-10-10  7:26                     ` Eli Zaretskii
2014-10-10 13:54                     ` Ken Brown
2014-10-10 15:12                       ` Eli Zaretskii
2014-10-10 17:14                         ` Ken Brown
2014-10-11  1:57                         ` Ken Brown
2014-10-11  7:11                           ` Eli Zaretskii
2014-10-11 13:58                             ` Ken Brown
2014-10-11 14:24                               ` Eli Zaretskii
2014-10-11 16:33                                 ` Ken Brown
2014-10-11 16:52                                   ` Eli Zaretskii
2014-10-11 17:17                                     ` Ken Brown
2014-10-15  0:58                     ` aidalgol
2014-10-15  5:13                       ` Eli Zaretskii
2014-10-15 19:29                         ` aidalgol
2014-10-16  7:27                           ` Eli Zaretskii
2014-10-16 13:11                             ` Ken Brown
2014-10-16 13:38                               ` Eli Zaretskii
2014-10-19 14:39                               ` Eli Zaretskii
2014-10-19 15:37                                 ` Ken Brown
2014-10-19 18:10                                   ` Eli Zaretskii
2014-10-19 19:49                                   ` aidalgol
2014-10-19 20:20                                 ` aidalgol
2014-10-20 15:46                                   ` Eli Zaretskii
2014-10-20 16:51                                     ` Eli Zaretskii
2014-10-20 19:35                                       ` Ivan Shmakov
2014-10-20 19:39                                         ` Eli Zaretskii
2014-10-20 20:02                                           ` Ivan Shmakov
2014-10-20 20:59                                       ` Ken Brown
2014-10-21 15:42                                         ` Eli Zaretskii
2014-10-21 16:18                                           ` Ken Brown
2014-10-21 19:38                                         ` aidalgol
2014-10-21 21:12                                           ` Ken Brown
2014-10-21 21:58                                             ` aidalgol
2014-10-21 22:21                                               ` Ken Brown
2014-10-21 22:38                                                 ` aidalgol
2014-10-22  4:16 ` aidalgol
2014-10-22 15:24   ` Eli Zaretskii
2014-10-22 17:16   ` Eli Zaretskii
2014-10-22 20:39     ` Ken Brown
2014-10-23 20:38       ` aidalgol
2014-10-23 21:54       ` aidalgol
2014-10-24  6:50         ` Eli Zaretskii
2014-10-24 19:18           ` Ken Brown
2014-10-24 21:19             ` Ken Brown
2014-10-29  4:30               ` aidalgol
2014-10-29 12:15                 ` Ken Brown
2014-10-29 14:37                   ` Eli Zaretskii
2015-12-26 15:37                   ` bug#17817: " Lars Ingebrigtsen
2015-12-26 15:43                     ` Ken Brown
2014-10-29 14:17                 ` Eli Zaretskii
2014-10-23  4:15     ` aidalgol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5422CFE6.3010109@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=18438@debbugs.gnu.org \
    --cc=aidalgol@amuri.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).