[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] v2.0 hangs


  • Subject: [Openvpn-users] v2.0 hangs
  • From: Timo Sirainen <tss@xxxxxx>
  • Date: Wed, 5 May 2004 23:07:50 +0300

2.0 betas are looking pretty good, except that it seems to break at some point. Maybe because network connection drops, I'm not sure. Anyway:

(gdb) bt
#0 0x4014a6d0 in putenv () from /lib/libc.so.6
#1 0x4014a62d in putenv () from /lib/libc.so.6
#2 0x0805716d in setenv_str (name=0xbffff24c "tls_id_184032",
value=0x8072f15 "") at misc.c:639
#3 0x080571d2 in setenv_del (name=0xbffff24c "tls_id_184032") at misc.c:655
#4 0x08056aa7 in del_env_nonparm (n_tls_id=1076053672) at misc.c:225
#5 0x08054d48 in do_close_remove_env (c=0xbffff354) at init.c:1431
#6 0x08055185 in close_instance (c=0xbffff354) at init.c:1638
#7 0x0805acfb in tunnel_point_to_point (c=0xbffff354) at openvpn.c:87
#8 0x0805ae3a in main (argc=8, argv=0xbffff8e4) at openvpn.c:163


(gdb) fr 4
#4  0x08056aa7 in del_env_nonparm (n_tls_id=1076053672) at misc.c:225
225             setenv_del (buf);
(gdb) p i
$1 = 184032
(gdb) p n_tls_id
$2 = 1076053672

Looping there pretty long time.

c->c2.tls_multi looks garbage, so it's probably freed already? I could try running it with valgrind if it helps..

Attachment: PGP.sig
Description: This is a digitally signed message part