Re: [Pan-users] Segfaults from recent pan2.git

2014-02-04 Thread Paul Crawford
Just to add, for debugging you might also want to set optimisation off (for example "-O0" compiler flag) and make sure debug symbols are enabled (for example with the "-g" compiler flag). That way you can stop through the machine code with some degree of resemblance to the source code! Regar

Re: [Pan-users] Segfaults from recent pan2.git

2014-02-04 Thread Paul Crawford
On 04/02/14 01:01, walt wrote: I've been looking for electric fence (efence) and running into 404's everywhere. Valgrind is easily available, so I'll try to learn how to use it -- results not guaranteed :) Really? On a typical Debian machine (like Ubuntu) you just install the library with:

Re: [Pan-users] Segfaults from recent pan2.git

2014-02-04 Thread walt
On 02/03/2014 02:33 PM, Zan Lynx wrote: > On Sun, Feb 2, 2014 at 3:26 PM, walt > wrote: >> Starting program: /home/wa1ter/bin/pan.35b >> warning: Could not load shared library symbols for linux-vdso.so.1. >> Do you need "set solib-search-path" or "set sysroot"? >> [Thread debugging using libthr