[Csync2] Format error while receiving data after segfault

Lars Ellenberg lars.ellenberg at linbit.com
Tue Dec 9 13:27:32 CET 2008


On Tue, Dec 09, 2008 at 10:42:36AM +0100, Vincent Régnard wrote:
> Hi all,
>
> With a large setup, resyncing from scratch after a -TIUX and doing a  
> full synchronisation afterward, csync2 process hangs up and crashes  
> sometimes client side, sometimes server side dumping a core. This setup  
> was running fine before for smaller updates executed on a regular basis.
>
> postmortem analysing core file with gdb says:
>
> Core was generated by `/usr/sbin/csync2 -ii -vvv'.
> Program terminated with signal 11, Segmentation fault
>
> With the exact same configuration a few weeks ago I ran this  
> synchronisation (10 hours run) but this ended normally, before putting  
> the servers in production environement.
>
> I can imagine this is a memory related problem, I thing the systems is  
> starting swapping at some point or something like this.
>
> How can I help debuging this problem ?

if you have the core file already,
ask for a backtrace: bt

if that does not look promissing, because of missing debug symbols,
rebuild csync2 with debug symbols enabled (add -g to the CFLAGS).
then reproduce, and capture the backtrace.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the Csync2 mailing list