[Swan-dev] pssert libreswan/programs/pluto/pluto_crypt.c:389
Antony Antony
antony at phenome.org
Tue Jul 5 20:51:58 UTC 2016
here is the stack trace while running an interop test
interop-ikev2-strongswan-15-create_child_sa
ASSERTION FAILED at /home/build/libreswan/lib/libswan/constants.c:2090: p->en_last - p->en_first + 1 == p->en_checklen
(gdb) bt
#0 0x00007fd985472a28 in __GI_raise (sig=sig at entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007fd98547462a in __GI_abort () at abort.c:89
#2 0x000055d454989f03 in libreswan_log_abort (
file_str=<error reading variable: Cannot access memory at address 0x7fffa8e66918>,
line_no=<error reading variable: Cannot access memory at address 0x7fffa8e66914>) at /home/build/libreswan/programs/pluto/log.c:553
#3 0x000055d45498a282 in passert_fail (
pred_str=<error reading variable: Cannot access memory at address 0x7fffa8e66958>,
file_str=<error reading variable: Cannot access memory at address 0x7fffa8e66950>,
line_no=<error reading variable: Cannot access memory at address 0x7fffa8e66948>) at /home/build/libreswan/programs/pluto/log.c:641
#4 0x000055d454a167e1 in enum_name (
ed=<error reading variable: Cannot access memory at address 0x7fffa8e66988>, val=<error reading variable: Cannot access memory at address 0x7fffa8e66980>)
at /home/build/libreswan/lib/libswan/constants.c:2090
#5 0x000055d454a16889 in enum_showb (
ed=<error reading variable: Cannot access memory at address 0x7fffa8e669c8>, val=<error reading variable: Cannot access memory at address 0x7fffa8e669c0>,
b=<error reading variable: Cannot access memory at address 0x7fffa8e669b8>)
at /home/build/libreswan/lib/libswan/constants.c:2101
---Type <return> to continue, or q <return> to quit---
#6 0x000055d454a16913 in enum_show (
ed=<error reading variable: Cannot access memory at address 0x7fffa8e669f8>,
val=<error reading variable: Cannot access memory at address 0x7fffa8e669f0>)
at /home/build/libreswan/lib/libswan/constants.c:2123
#7 0x000055d4549ef8fb in crypto_write_request (
w=<error reading variable: Cannot access memory at address 0x7fffa8e66a28>,
r=<error reading variable: Cannot access memory at address 0x7fffa8e66a20>)
at /home/build/libreswan/programs/pluto/pluto_crypt.c:389
#8 0x000055d4549efd9b in send_crypto_helper_request (
r=<error reading variable: Cannot access memory at address 0x7fffa8e66a88>,
cn=<error reading variable: Cannot access memory at address 0x7fffa8e66a80>)
at /home/build/libreswan/programs/pluto/pluto_crypt.c:572
#9 0x000055d4549f18fc in build_ke_and_nonce (
cn=<error reading variable: Cannot access memory at address 0x7fffa8e66ad8>,
group=<error reading variable: Cannot access memory at address 0x7fffa8e66ad0>,
importance=<error reading variable: Cannot access memory at address 0x7fffa8e66acc>)
at /home/build/libreswan/programs/pluto/crypt_ke.c:174
#10 0x000055d4549c0378 in ikev2parent_inI1outR1 (
md=<error reading variable: Cannot access memory at address 0x7fffa8e675d8>)
at /home/build/libreswan/programs/pluto/ikev2_parent.c:985
#11 0x000055d4549bbc87 in process_v2_packet (
mdp=<error reading variable: Cannot access memory at address 0x7fffa8e67788>)
at /home/build/libreswan/programs/pluto/ikev2.c:1072
#12 0x000055d4549ebf67 in process_packet (
mdp=<error reading variable: Cannot access memory at address 0x7fffa8e67858>)
at /home/build/libreswan/programs/pluto/demux.c:177
#13 0x000055d4549ec058 in comm_handle (
ifp=<error reading variable: Cannot access memory at address 0x7fffa8e678a8>)
at /home/build/libreswan/programs/pluto/demux.c:233
#14 0x000055d4549ebfdc in comm_handle_cb (
fd=<error reading variable: Cannot access memory at address 0x7fffa8e678dc>,
event=<error reading variable: Cannot access memory at address 0x7fffa8e678d8>,
arg=<error reading variable: Cannot access memory at address 0x7fffa8e678d0>)
at /home/build/libreswan/programs/pluto/demux.c:192
#15 0x00007fd9862e8179 in event_process_active_single_queue (
activeq=<error reading variable: Cannot access memory at address 0x7fffa8e67900>,
base=0x55d456d4f320) at event.c:1350
---Type <return> to continue, or q <return> to quit---
#16 event_process_active (base=<optimized out>) at event.c:1420
#17 event_base_loop (base=0x55d456d4f320,
flags=<error reading variable: Cannot access memory at address 0x7fffa8e67914>)
at event.c:1621
#18 0x000055d45499823d in main_loop () at /home/build/libreswan/programs/pluto/server.c:628
#19 0x000055d4549985ec in call_server () at /home/build/libreswan/programs/pluto/server.c:742
#20 0x000055d454994a4e in main (
argc=<error reading variable: Cannot access memory at address 0x7fffa8e68b6c>,
argv=<error reading variable: Cannot access memory at address 0x7fffa8e68b60>)
at /home/build/libreswan/programs/pluto/plutomain.c:1642
More information about the Swan-dev
mailing list