kernel: [ 498.940505] vtund[9853]: segfault at 0 ip 0000000000408f40 sp 00007fff0817ab60 error 4 in vtund[400000+13000]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vtun (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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|
9852 16:42:54.731518 connect(3, {sa_family=
9852 16:42:54.731837 open("/
9852 16:42:54.731987 ioctl(4, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_
9852 16:42:54.732130 fstat(4, {st_mode=
9852 16:42:54.732321 mmap(NULL, 4096, PROT_READ|
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/
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_
9852 16:42:54.732918 close(4) = 0
9852 16:42:54.733006 munmap(
9852 16:42:54.733134 clone(child_
9852 16:42:54.733789 exit_group(0) = ?
9852 16:42:54.733993 +++ exited with 0 +++