> Also by running the gdb in the src/ dir, the backtrace looks a bit different (instead of SIGABRT plus putting out
> core dump in gdb, this time the error is concise and code is SIG_DFL
> instead)
No, it's still SIGABRT:
> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:364
^^^^^^^
"sig=6" means SIGABRT (you can see that in your system's header files,
probably in /usr/include/bits/signum.h).
> 364 signal (sig, SIG_DFL);
This just shows the source line where Emacs stopped due to the fatal
signal. It has nothing to do with the signal itself.
Thanks, I installed a change which should fix this. Please try the
latest release branch.
Org copies the snippet to a separate buffer, turns on nim-mode in that
buffer, then indents the text, and finally copies the text back. The
problem happened because the window-start position was not updated
during this dance, and still had the value suitable to the Org buffer,
which is outside of the valid positions in the temporary edit buffer.
Kaushal Modi