Subject: Re: bug#18438: 24.4.50; assertion failed in bidi.c

From: [email-masked]
Date: Wed, 15 Oct 2014 13:58:20 +1300

On Fri, 10 Oct 2014 10:19:57 +0300, Eli Zaretskii wrote:
>
>> Attached, but the emacs process died while printing the backtrace 
>> for
>> thread 2, and I have no idea why.
>
> I do: it's because you started GDB from the src directory, where it
> read the .gdbinit file, which causes the "bt" command to call a
> function in the Emacs process being debugged.
>
> To work around this, comment out (by prepending a # to every line) 
> the
> following few lines in .gdbinit:
>
> define hookpost-backtrace
>   set $bt = backtrace_top ()
>   if backtrace_p ($bt)
>     echo \n
>     echo Lisp Backtrace:\n
>     xbacktrace
>   end
> end
>
> Then you will still be able to invoke "xbacktrace" by hand, but it
> won't be invoked automatically by "bt".

OK, crashed again, and here's the threads' backtraces.

bidi.c:332: bidi type 1 is not in [0..23]