Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

VPN Server caused bmcapture crash on Linux #50

Open
codebox opened this issue Sep 29, 2012 · 1 comment
Open

VPN Server caused bmcapture crash on Linux #50

codebox opened this issue Sep 29, 2012 · 1 comment

Comments

@codebox
Copy link
Owner

codebox commented Sep 29, 2012

Linux running VPN server suffers bmcapture crash when running v0.8.0, details below. Stopping VPN server prevents the crash.

Core was generated by `bmcapture'.
Program terminated with signal 11, Segmentation fault.
#0 0x0804cd55 in makeAdapterIpList ()
#1 0x0804cc65 in allocAdapter ()
#2 0x0804a4b5 in setupCapture ()
#3 0x0804966e in main ()

ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:44:b8:4c
inet addr:10.0.0.40 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe44:b84c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2562474 errors:0 dropped:719 overruns:0 frame:0
TX packets:352550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:282605202 (269.5 MiB) TX bytes:36051466 (34.3 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:258552 errors:0 dropped:0 overruns:0 frame:0
TX packets:258552 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:68501074 (65.3 MiB) TX bytes:68501074 (65.3 MiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.33.111.18 P-t-P:10.33.111.17 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:26170 errors:0 dropped:0 overruns:0 frame:0
TX packets:31320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11789881 (11.2 MiB) TX bytes:4363079 (4.1 MiB)

@allywilson
Copy link

Just experienced the same issue.

I have 2 openvpn instances (1 acts a client, the other a server).

If they start before bmcapture does (either of them it seems), then bmcapture segfaults.

strace here: http://pastebin.com/Aaxb0V6J

I'm going to look into reordering the startup sequence to see if it helps.

EDIT: I've added modified /etc/init.d/bitmeter to have:

"# X-Start-Before: openvpn"
To see if it helps, but I can't reboot at the moment. Also, this would obviously only work if anyone elses issue is identical to mine i guess (i.e. bitmeter and openvpn).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants