[Swan-dev] crash after pluto: Fix addresspool reference count
Antony Antony
antony at phenome.org
Mon Oct 2 11:58:15 UTC 2017
Hi Paul
A quick test after the commit bd3a5f01 show a crash in test xauth-pluto-16
pointing to addresspool.c. The crash happens with ipsec stop
I couldn't repoduce lsw#299 yet. Did you manage to reproduce before bd3a5f0
patch?
(gdb) bt
#0 0x000055a3e7f6830b in unreference_addresspool (c=0x7f557ec23b08)
at /home/build/libreswan/programs/pluto/addresspool.c:436
#1 0x000055a3e7f79ab5 in delete_connection (c=0x7f557ec23b08,
relations=true)
at /home/build/libreswan/programs/pluto/connections.c:292
#2 0x000055a3e7f7a316 in delete_every_connection ()
at /home/build/libreswan/programs/pluto/connections.c:422
#3 0x000055a3e7f9ba13 in exit_pluto (status=0) at
/home/build/libreswan/programs/pluto/plutomain.c:1834
#4 0x000055a3e7ff76fb in whack_handle (whackctlfd=4)
at /home/build/libreswan/programs/pluto/rcv_whack.c:750
#5 0x000055a3e7ff7473 in whack_handle_cb (fd=4, event=2, arg=0x0)
at /home/build/libreswan/programs/pluto/rcv_whack.c:679
#6 0x00007f5585a433f9 in event_persist_closure (ev=0x7f557f16cf70,
base=0x7f557ecf9d80) at event.c:1319
#7 event_process_active_single_queue (activeq=0x7f557ecffff0,
base=0x7f557ecf9d80) at event.c:1363
#8 event_process_active (base=<optimized out>) at event.c:1438
#9 event_base_loop (base=0x7f557ecf9d80, flags=0) at event.c:1639
#10 0x000055a3e7f9eb9a in main_loop () at
/home/build/libreswan/programs/pluto/server.c:813
#11 0x000055a3e7f9f0f3 in call_server () at
/home/build/libreswan/programs/pluto/server.c:946
#12 0x000055a3e7f9b98c in main (argc=5, argv=0x7ffd91359718)
at /home/build/libreswan/programs/pluto/plutomain.c:1812
More information about the Swan-dev
mailing list