GNU bug report logs - #17817
24.3.91; Assertion failure in bidi.c (Cygwin-w32 build)

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Fri, 20 Jun 2014 13:44:01 UTC

Severity: normal

Tags: moreinfo

Merged with 18438

Found in versions 24.3.91, 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 17817 <at> debbugs.gnu.org
Subject: bug#17817: 24.3.91; Assertion failure in bidi.c (Cygwin-w32 build)
Date: Sat, 21 Jun 2014 15:14:24 -0400
On 6/20/2014 2:29 PM, Eli Zaretskii wrote:
>> Date: Fri, 20 Jun 2014 12:43:14 -0400
>> From: Ken Brown <kbrown <at> cornell.edu>
>> CC: 17817 <at> debbugs.gnu.org
>>
>> (gdb) disas bidi_check_type
>> Dump of assembler code for function bidi_check_type:
>>      0x00000001004fb4c3 <+0>:     push   %rbp
>>      0x00000001004fb4c4 <+1>:     mov    %rsp,%rbp
>>      0x00000001004fb4c7 <+4>:     sub    $0x20,%rsp
>>      0x00000001004fb4cb <+8>:     mov    %ecx,0x10(%rbp)
>>      0x00000001004fb4ce <+11>:    mov    0x56402b(%rip),%rax        # 0x100a5f500 <.refptr.suppress_checking>
>>      0x00000001004fb4d5 <+18>:    movzbl (%rax),%eax
>>      0x00000001004fb4d8 <+21>:    xor    $0x1,%eax
>>      0x00000001004fb4db <+24>:    test   %al,%al
>>      0x00000001004fb4dd <+26>:    je     0x1004fb4ff <bidi_check_type+60>
>>      0x00000001004fb4df <+28>:    cmpl   $0x17,0x10(%rbp)
>>      0x00000001004fb4e3 <+32>:    jbe    0x1004fb4ff <bidi_check_type+60>
>
> So the value compared to 23 (17 hex) is at address %rbp+0x10.  What
> does this display:
>
>    (gdb) p *(bidi_type_t *)($rbp+0x10)
>
> (or maybe you should use %rbp with 64-bit build, I don't know).

I'm away from the computer where this crash occurred and won't have 
access to it for the next few days.

In the meantime, the recent issue that we discussed on the Cygwin list 
made me wonder if there's some interaction with Glib that's causing 
these weird crashes.  Even though that particular bug only occurred in 
the 32-bit case, I'm still suspicious.

I think I'll start using --with-file-notification=no for a while, to see 
if that cuts down on the crash reports.

Ken




This bug report was last modified 9 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.