[Swan] Pluto not running?

Charles Van Dusen charlie at imdgn.com
Wed Oct 25 19:28:32 UTC 2017


Very new to gdb . Im getting the output from bt but it is thousands of lines that all look very similar. I attempted to save to a file and search the file but it does not appear that ASSERTION FAILED' is anywhere in the output from bt.

On my initial compile I had received some errors. A quick google on those errors pointed me to needing gawk, which I then installed with apt-get. Once that finished I did a make clean/make programs/make install and crossed my fingers.

No Joy. Same error.

Should I try to go back to version 3.21?

-----Original Message-----
From: Paul Wouters [mailto:paul at nohats.ca] 
Sent: Wednesday, October 25, 2017 2:24 PM
To: Charles Van Dusen <charlie at imdgn.com>
Cc: swan at lists.libreswan.org
Subject: RE: [Swan] Pluto not running?

On Wed, 25 Oct 2017, Charles Van Dusen wrote:

> Thanks for the quick response. I am a newb to gdb, but here is the result:

Thaks for the report.

> (gdb) bt
> #0  __pthread_self () at pthread_self.c:25
> #1  0x00445880 in add_state_prefix (buf=0x7e800168) at 
> /home/pi/libreswan-3.22/programs/pluto/log.c:151
> #2  0x004b8744 in lsw_passert_fail (file=0x50f40c "lswlog.c", line=line at entry=43, func=0x50f3c0 <__func__.9160> "dest", fmt=0x50c224 "%s")
>    at /home/pi/libreswan-3.22/lib/libswan/lsw_passert_fail.c:29
> #3  0x004b8fb8 in dest (log=0x7e800168) at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:43
> #4  0x004b912c in lswlogs () at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:158
> #5  0x004b8754 in lsw_passert_fail (file=0x50f40c "lswlog.c", line=line at entry=43, func=0x50f3c0 <__func__.9160> "dest", fmt=0x50c224 "%s")
>    at /home/pi/libreswan-3.22/lib/libswan/lsw_passert_fail.c:30
> #6  0x004b8fb8 in dest (log=0x7e8005d0) at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:43
> #7  0x004b912c in lswlogs () at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:158
> #8  0x004b8754 in lsw_passert_fail (file=0x50f40c "lswlog.c", line=line at entry=43, func=0x50f3c0 <__func__.9160> "dest", fmt=0x50c224 "%s")
>    at /home/pi/libreswan-3.22/lib/libswan/lsw_passert_fail.c:30
> #9  0x004b8fb8 in dest (log=0x7e800a38) at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:43
> #10 0x004b912c in lswlogs () at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:158
> #11 0x004b8754 in lsw_passert_fail (file=0x50f40c "lswlog.c", line=line at entry=43, func=0x50f3c0 <__func__.9160> "dest", fmt=0x50c224 "%s")
>    at /home/pi/libreswan-3.22/lib/libswan/lsw_passert_fail.c:30
> #12 0x004b8fb8 in dest (log=0x7e800ea0) at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:43
> #13 0x004b912c in lswlogs () at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:158
> #14 0x004b8754 in lsw_passert_fail (file=0x50f40c "lswlog.c", line=line at entry=43, func=0x50f3c0 <__func__.9160> "dest", fmt=0x50c224 "%s")
>    at /home/pi/libreswan-3.22/lib/libswan/lsw_passert_fail.c:30
> #15 0x004b8fb8 in dest (log=0x7e801308) at 
> /home/pi/libreswan-3.22/lib/libswan/lswlog.c:43
>
> Does that help? Anything else I can do to provide more helpful info?

Odd that it doesn't show the actual line of the source of the problem.
But since you seem to hit a passert, there should be a log line with ASSERTION FAILED. Can you find that logline and share it?

Paul


More information about the Swan mailing list