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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 10 Oct 2014 10:26:07 +0300

> Date: Fri, 10 Oct 2014 10:19:57 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> 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

Alternatively, you could leave .gdbinit alone, and redefine
hookpost-backtrace manually to an empty function at start of the GDB
session, like this:

  (gdb) define hookpost-backtrace
  Redefine command "hookpost-backtrace"? (y or n) y
  Type commands for definition of "hookpost-backtrace".
  End with a line saying just "end".
  >end