Public bug reported:

my environments:
   root@node:~# uname -a
Linux node. 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 13:24:41 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux
root@node:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

I test both 3.0.3-2.1 and 3.0.3-2, it dose not woking

this is error log in syslog

Nov  8 16:42:54 node kernel: [  498.940505] vtund[9853]: segfault at 0
ip 0000000000408f40 sp 00007fff0817ab60 error 4 in vtund[400000+13000]

 here is my option

default {
  compress no;          # Compression is off by default
  speed 0;              # By default maximum speed, NO shaping
}

cobra {
  type  tun;            # IP tunnel 
  proto tcp;            # UDP protocol
  encrypt  yes;         # Encryption
  keepalive yes;        # Keep connection alive
  multi  killold;               #control multiple connections. value c
...}


this is my strace log

9852  16:42:54.731246 brk(0)            = 0x24f7000
9852  16:42:54.731332 brk(0x2518000)    = 0x2518000
9852  16:42:54.731422 socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
9852  16:42:54.731518 connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 
110) = 0
9852  16:42:54.731837 open("/etc/vtund.conf", O_RDONLY) = 4
9852  16:42:54.731987 ioctl(4, SNDCTL_TMR_TIMEBASE or 
SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff0817a490) = -1 ENOTTY 
(Inappropriate ioctl for device)
9852  16:42:54.732130 fstat(4, {st_mode=S_IFREG|0600, st_size=1149, ...}) = 0
9852  16:42:54.732321 mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7305096000
9852  16:42:54.732418 read(4, "# ----- CUT HERE  --- Server config --- CUT HERE 
-----\n#\noptions {\n  port 5566;\t\t# Listen on this port.\n  timeout 5;\n  
bindaddr { iface eth0; };   # Listen only on loopback device.\n\n  # Syslog 
facility\n  syslog \tdaemon;\n\n  # Path to various programs\n  ppp 
\t\t/usr/sbin/pppd;            \n  ifconfig \t/sbin/ifconfig;\n  route 
\t/sbin/route;\n  ip\t\t/sbin/ip;\n}\n\n# Default session options \ndefault {\n 
 compress no;  \t# Compression is off by default\n  speed 0;\t\t# By default 
maximum speed, NO shaping\n}\n\n# the same as above, but with iproute2 
command\ncobra {\n  passwd  dpqPlf8@12;\t# Password\n  type  tun;\t\t# IP 
tunnel \n  proto tcp;   \t\t# UDP protocol\n #compress  zlib:3;\t# LZO 
compression level 9\n  encrypt  yes;\t\t# Encryption\n  keepalive yes;\t# Keep 
connection alive\n  multi  killold;\t\t#control multiple connections. value can 
be yes or allow to allow multiple connections, no or deny to deny them or 
killold to allow new
  connection and kill old one. Ignored by the client.\n\n  up {\n\t# Connection 
is Up \n\n\t# 10.3.0.1 - local, 10.3.0."..., 8192) = 1149
9852  16:42:54.732537 read(4, "", 4096) = 0
9852  16:42:54.732729 read(4, "", 8192) = 0
9852  16:42:54.732820 ioctl(4, SNDCTL_TMR_TIMEBASE or 
SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff0817a490) = -1 ENOTTY 
(Inappropriate ioctl for device)
9852  16:42:54.732918 close(4)          = 0
9852  16:42:54.733006 munmap(0x7f7305096000, 4096) = 0
9852  16:42:54.733134 clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f730508ba10) = 9853
9852  16:42:54.733789 exit_group(0)     = ?
9852  16:42:54.733993 +++ exited with 0 +++

** Affects: vtun (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1514159

Title:
  kernel: [  498.940505] vtund[9853]: segfault at 0 ip 0000000000408f40
  sp 00007fff0817ab60 error 4 in vtund[400000+13000]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vtun/+bug/1514159/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to