Hello,
after I add groups and flows via ovs-ofctl, for example:
ovs-ofctl --protocols=OpenFlow13 add-flow unix:/usr/local/var/run/openvswitch/s4.mgmt 'in_port=2 actions=group:1' When I exit mininet, it halts when it tries to stop the open vSwitch switches.
This is the last 5 lines when I run sudo ovs-vswitchd --pidfile
2014-03-10T20:40:59Z|00114|rconn|INFO|s5<->tcp:127.0.0.1:6633: connection failed (Protocol error)
2014-03-10T20:41:21Z|00115|ofproto|INFO|s4: 3 flow_mods 10 s ago (3 adds)
2014-03-10T20:41:21Z|00116|ofproto|INFO|s3: 3 flow_mods 10 s ago (3 adds)
2014-03-10T20:41:21Z|00117|ofproto|INFO|s5: 2 flow_mods in the 4 s starting 10 s ago (2 adds) ovs-vswitchd: pthread_mutex_lock failed (Invalid argument) <----This only happens when I add groups and flows it doesn't happen if I only run and close mininet

I've attached the last 100 lines of strace ovs-vswitchd --pidfile.
Appreciate the attention,
André Martins
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=31, events=POLLIN}, {fd=29, events=POLLIN}, {fd=26, events=POLLIN}, {fd=46, events=POLLIN}, {fd=27, events=POLLIN}, {fd=29, events=POLLIN}, {fd=45, events=POLLIN}, {fd=39, events=POLLIN}, {fd=40, events=POLLIN}, {fd=29, events=POLLIN}, {fd=38, events=POLLIN}, {fd=21, events=POLLIN}, {fd=33, events=POLLIN}, {fd=11, events=POLLIN}, {fd=30, events=POLLIN}, {fd=30, events=POLLIN}, {fd=30, events=POLLIN}, {fd=8, events=POLLIN}], 20, 18) = 1 ([{fd=12, revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {14809, 296072305}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 296105270}) = 0
getrusage(0x1 /* RUSAGE_??? */, {ru_utime={0, 0}, ru_stime={0, 184000}, ...}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 296141866}) = 0
read(31, 0x7fff8e853d90, 512)           = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0x7fff8e853dd0, 512)            = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 296203326}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 296221205}) = 0
read(12, "{\"method\":\"update\",\"id\":null,\"pa"..., 340) = 340
read(12, ",[]],\"lacp\":[\"set\",[]],\"interfac"..., 512) = 512
read(12, "497c-94aa-421d106bd9e6\":{\"old\":{"..., 512) = 512
read(12, "[\"set\",[]],\"qos\":[\"set\",[]],\"oth"..., 512) = 512
read(12, "_bytes\",0],[\"tx_dropped\",0],[\"tx"..., 512) = 512
read(12, "]],\"cfm_remote_mpids\":[\"set\",[]]"..., 512) = 512
read(12, "\":[\"set\",[]],\"mtu\":1500,\"mac_in_"..., 512) = 512
read(12, "ingress_policing_burst\":0,\"cfm_f"..., 512) = 512
read(12, "t\",[]],\"ingress_policing_rate\":0"..., 512) = 512
read(12, ":[\"set\",[]],\"link_resets\":0}},\"0"..., 512) = 512
read(12, "\"veth\"],[\"driver_version\",\"1.0\"]"..., 512) = 512
read(12, "8cc2-b9b8303ae393\":{\"old\":{\"is_c"..., 512) = 512
read(12, "te_limit\":[\"set\",[]],\"target\":\"t"..., 512) = 512
read(12, "set\",[]],\"datapath_id\":\"00000000"..., 512) = 512
read(12, "]]],\"flow_tables\":[\"map\",[]],\"sf"..., 512) = 512
read(12, "\":[\"set\",[]],\"other_config\":[\"ma"..., 512) = 73
clock_gettime(CLOCK_MONOTONIC, {14809, 297262665}) = 0
read(12, 0x18f4079, 439)                = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(29, 0x7fff8e842b10, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 297700425}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 297719701}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 297735066}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 297899890}) = 0
accept(26, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(46, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(27, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 298127290}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298149918}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298166680}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298191264}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298216406}) = 0
accept(45, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(39, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(40, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 298450232}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298482359}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298499121}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298515044}) = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 298635170}) = 0
accept(38, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(21, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
accept(33, 0x7fff8e853b90, [128])       = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 298716185}) = 0
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{"\30\0\0\0\33\0\1\0v\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0", 24}], msg_controllen=0, msg_flags=0}, 0) = 24
recvmsg(13, 0x7fff8e8429a0, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {14809, 299022365}) = 0
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{",\0\0\0\32\0\t\0w\2\0\0\331\35\0\0\3\1\0\0\16\0\0\0\10\0\1\0\0\0\0\0"..., 44}], msg_controllen=0, msg_flags=0}, 0) = 44
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0w\2\0\0\331\35\0\0\1\1\0\0\16\0\0\0\10\0\1\0\4\0\0\0"..., 1024}, {"\360)\204\216\377\177\0\0001\230L\0\0\0\0\0000+\205\216\377\177\0\0\0\4\0\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{" \0\0\0\32\0\t\0x\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\4\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0x\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\4\0\0\0"..., 1024}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
epoll_ctl(16, EPOLL_CTL_DEL, 36, NULL)  = 0
close(36)                               = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 299574104}) = 0
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{",\0\0\0\32\0\t\0y\2\0\0\331\35\0\0\3\1\0\0\16\0\0\0\10\0\1\0\0\0\0\0"..., 44}], msg_controllen=0, msg_flags=0}, 0) = 44
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0y\2\0\0\331\35\0\0\1\1\0\0\16\0\0\0\10\0\1\0\2\0\0\0"..., 1024}, {" +\205\216\377\177\0\0\0\4\0\0\0\0\0\0\320)\204\216\377\177\0\0\0\0\1\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{" \0\0\0\32\0\t\0z\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\2\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0z\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\2\0\0\0"..., 1024}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
epoll_ctl(16, EPOLL_CTL_DEL, 34, NULL)  = 0
close(34)                               = 0
clock_gettime(CLOCK_MONOTONIC, {14809, 299862126}) = 0
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{",\0\0\0\32\0\t\0{\2\0\0\331\35\0\0\3\1\0\0\16\0\0\0\10\0\1\0\0\0\0\0"..., 44}], msg_controllen=0, msg_flags=0}, 0) = 44
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0{\2\0\0\331\35\0\0\1\1\0\0\16\0\0\0\10\0\1\0\3\0\0\0"..., 1024}, {" +\205\216\377\177\0\0\0\4\0\0\0\0\0\0\320)\204\216\377\177\0\0\0\0\1\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{" \0\0\0\32\0\t\0|\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\3\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"\200\0\0\0\32\0\0\0|\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\3\0\0\0"..., 1024}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 128
epoll_ctl(16, EPOLL_CTL_DEL, 35, NULL)  = 0
close(35)                               = 0
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{"(\0\0\0\32\0\t\0}\2\0\0\331\35\0\0\3\1\0\0\16\0\0\0\10\0\1\0\0\0\0\0"..., 40}], msg_controllen=0, msg_flags=0}, 0) = 40
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"|\0\0\0\32\0\0\0}\2\0\0\331\35\0\0\1\1\0\0\16\0\0\0\10\0\1\0\1\0\0\0"..., 1024}, {" +\205\216\377\177\0\0\0\4\0\0\0\0\0\0\320)\204\216\377\177\0\0\0\0\1\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 124
sendmsg(13, {msg_name(0)=NULL, msg_iov(1)=[{" \0\0\0\32\0\t\0~\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\1\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"|\0\0\0\32\0\0\0~\2\0\0\331\35\0\0\2\1\0\0\16\0\0\0\10\0\1\0\1\0\0\0"..., 1024}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 65536}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 124
epoll_ctl(16, EPOLL_CTL_DEL, 20, NULL)  = 0
close(20)                               = 0
write(15, "\0", 1)                      = 1
futex(0x18f89ec, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x18f89e8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x18f8998, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x198aaa4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x198aaa0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x198aa70, FUTEX_WAKE_PRIVATE, 1) = 1
read(14, "\0", 512)                     = 1
clone(child_stack=0x7f2de03e2df0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2de03e39d0, tls=0x7f2de03e3700, child_tidptr=0x7f2de03e39d0) = 7931
clone(child_stack=0x7f2de0be3df0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2de0be49d0, tls=0x7f2de0be4700, child_tidptr=0x7f2de0be49d0) = 7932
clone(child_stack=0x7f2ddf3e0df0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2ddf3e19d0, tls=0x7f2ddf3e1700, child_tidptr=0x7f2ddf3e19d0) = 7933
clone(child_stack=0x7f2ddfbe1df0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2ddfbe29d0, tls=0x7f2ddfbe2700, child_tidptr=0x7f2ddfbe29d0) = 7934
write(2, "ovs-vswitchd: ", 14ovs-vswitchd: )          = 14
write(2, "pthread_mutex_lock failed", 25pthread_mutex_lock failed) = 25
write(2, " (Invalid argument)", 19 (Invalid argument))     = 19
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(7641, 7641, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Aborted
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to