On 2012/01/12 16:02, Paul Dejean wrote: > As I've already mentioned I haven't found an easy way to reproduce > this problem. My impression (not completely positive this is the case > though) is that it occurs when I'm frantically isearch-forwarding. It > happens rarely, and when it does it catches me by surprise. I'll > surely let you know if I find a way to reproduce this at will. > > As for a stack trace, how would I configure mg to provide a stack > trace if it segfaults?
For mg, like most programs, you'll need to use a debugger to produce this. With a source tree installed, do this, to get a copy of mg built with debug symbols (so it can show function names etc) :- $ cd /usr/src/usr.bin/mg $ make obj $ make clean $ make DEBUG=-g $ sudo make install When it crashes, $ gdb /usr/obj/usr.bin/mg/mg mg.core bt full Do you have an /etc/malloc.conf symlink? if so, what flags are you using?
