{"action":"closed","issue":{"url":"https://api.github.com/repos/bisdn/xdpd/issues/71","labels_url":"https://api.github.com/repos/bisdn/xdpd/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/bisdn/xdpd/issues/71/comments","events_url":"https://api.github.com/repos/bisdn/xdpd/issues/71/events","html_url":"https://github.com/bisdn/xdpd/issues/71","id":75182596,"number":71,"title":"l2hash ma: segfault during l2hash_ht_add_bucket()","user":{"login":"msune","id":1881210,"avatar_url":"https://avatars.githubusercontent.com/u/1881210?v=3","gravatar_id":"","url":"https://api.github.com/users/msune","html_url":"https://github.com/msune","followers_url":"https://api.github.com/users/msune/followers","following_url":"https://api.github.com/users/msune/following{/other_user}","gists_url":"https://api.github.com/users/msune/gists{/gist_id}","starred_url":"https://api.github.com/users/msune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msune/subscriptions","organizations_url":"https://api.github.com/users/msune/orgs","repos_url":"https://api.github.com/users/msune/repos","events_url":"https://api.github.com/users/msune/events{/privacy}","received_events_url":"https://api.github.com/users/msune/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bisdn/xdpd/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"msune","id":1881210,"avatar_url":"https://avatars.githubusercontent.com/u/1881210?v=3","gravatar_id":"","url":"https://api.github.com/users/msune","html_url":"https://github.com/msune","followers_url":"https://api.github.com/users/msune/followers","following_url":"https://api.github.com/users/msune/following{/other_user}","gists_url":"https://api.github.com/users/msune/gists{/gist_id}","starred_url":"https://api.github.com/users/msune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msune/subscriptions","organizations_url":"https://api.github.com/users/msune/orgs","repos_url":"https://api.github.com/users/msune/repos","events_url":"https://api.github.com/users/msune/events{/privacy}","received_events_url":"https://api.github.com/users/msune/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bisdn/xdpd/milestones/17","html_url":"https://github.com/bisdn/xdpd/milestones/v0.7.3","labels_url":"https://api.github.com/repos/bisdn/xdpd/milestones/17/labels","id":1097468,"number":17,"title":"v0.7.3","description":null,"creator":{"login":"msune","id":1881210,"avatar_url":"https://avatars.githubusercontent.com/u/1881210?v=3","gravatar_id":"","url":"https://api.github.com/users/msune","html_url":"https://github.com/msune","followers_url":"https://api.github.com/users/msune/followers","following_url":"https://api.github.com/users/msune/following{/other_user}","gists_url":"https://api.github.com/users/msune/gists{/gist_id}","starred_url":"https://api.github.com/users/msune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msune/subscriptions","organizations_url":"https://api.github.com/users/msune/orgs","repos_url":"https://api.github.com/users/msune/repos","events_url":"https://api.github.com/users/msune/events{/privacy}","received_events_url":"https://api.github.com/users/msune/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2015-05-05T19:02:39Z","updated_at":"2015-05-11T18:24:22Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-11T11:09:12Z","updated_at":"2015-05-11T18:24:22Z","closed_at":"2015-05-11T18:24:22Z","body":"First reported by Ferenc Juhasz\r\n\r\n```\r\nStarting program: /home/sdn/xdpd-debug/build/src/xdpd/xdpd -c example.cfg -e coremask=0x7\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7ffff42a0700 (LWP 9059)]\r\n[New Thread 0x7ffff3a9f700 (LWP 9060)]\r\n[New Thread 0x7ffff2a6e700 (LWP 9061)]\r\n[New Thread 0x7ffff226d700 (LWP 9062)]\r\n[New Thread 0x7ffef0bff700 (LWP 9063)]\r\n[New Thread 0x7ffeebfff700 (LWP 9064)]\r\n[New Thread 0x7ffeeb7fe700 (LWP 9065)]\r\n[New Thread 0x7ffeeaffd700 (LWP 9066)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x0000000000b71db3 in l2hash_ht_add_bucket (ht=0x23a56a8, hash=65535, bucket=0x29ef910)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.c:77\r\n77\t\t\t\tif(it->entry->priority <= priority)\r\n#0  0x0000000000b71db3 in l2hash_ht_add_bucket (ht=0x23a56a8, hash=65535, bucket=0x29ef910)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.c:77\r\n#1  0x0000000000b7218e in of1x_add_hook_l2hash (entry=0x29efa60)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.c:209\r\n#2  0x0000000000b72c38 in of1x_add_flow_entry_table_imp (table=0x20a5290, entry=0x29efa60, check_overlap=false, reset_counts=false, ma_hook_ptr=0xb71f2d <of1x_add_hook_l2hash>)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma.c:250\r\n#3  0x0000000000b73085 in __of1x_add_flow_entry_loop (table=0x20a5290, entry=0x29efa60, check_overlap=false, reset_counts=false, ma_hook_ptr=0xb71f2d <of1x_add_hook_l2hash>)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma.c:396\r\n#4  0x0000000000b722d3 in of1x_add_flow_entry_l2hash (table=0x20a5290, entry=0x29efa60, check_overlap=false, reset_counts=false)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.c:258\r\n#5  0x0000000000b6e205 in of1x_add_flow_entry_table (pipeline=0x20a5250, table_id=0, entry=0x7fffffffdb38, check_overlap=false, reset_counts=false)\r\n    at /home/sdn/xdpd-debug/build/../libs/rofl-datapath/src/rofl/datapath/pipeline/openflow/openflow1x/pipeline/of1x_flow_table.c:475\r\n#6  0x0000000000a75e41 in hal_driver_of1x_process_flow_mod_add (dpid=256, table_id=0 '\\000', flow_entry=0x7fffffffdb38, buffer_id=4294967295, check_overlap=false, reset_counts=false)\r\n    at ../../../../../../../../../src/xdpd/drivers/gnu_linux_dpdk/src/hal-imp/openflow/openflow1x/of1x_driver.cc:343\r\n#7  0x0000000000b3301c in xdpd::of13_endpoint::flow_mod_add (this=0x26a5840, ctl=..., msg=...) at ../../../../../src/xdpd/openflow/openflow13/of13_endpoint.cc:191\r\n#8  0x0000000000b32c2f in xdpd::of13_endpoint::handle_flow_mod (this=0x26a5840, ctl=..., auxid=..., msg=...) at ../../../../../src/xdpd/openflow/openflow13/of13_endpoint.cc:143\r\n#9  0x0000000000c68876 in rofl::crofctl::flow_mod_rcvd (this=0x26a67a0, auxid=..., msg=0x7ffed8002790) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofctl.cc:1940\r\n#10 0x0000000000c5fbd1 in rofl::crofctl::recv_message (this=0x26a67a0, chan=..., auxid=..., msg=0x7ffed8002790) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofctl.cc:243\r\n#11 0x0000000000c3e7bb in rofl::crofchan::recv_message (this=0x26a6968, conn=..., msg=0x7ffed8002790) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofchan.h:427\r\n#12 0x0000000000c45e8d in rofl::crofconn::send_message_to_env (this=0x26a79e0, msg=0x7ffed8002790) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofconn.cc:786\r\n#13 0x0000000000c464bd in rofl::crofconn::handle_messages (this=0x26a79e0) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofconn.cc:897\r\n#14 0x0000000000c4e0e8 in rofl::crofconn::handle_event (this=0x26a79e0, ev=...) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/crofconn.h:441\r\n#15 0x0000000000b7f61e in rofl::ciosrv::__handle_event (this=0x26a79e8) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/ciosrv.cc:84\r\n#16 0x0000000000b809dc in rofl::cioloop::run_on_events (this=0x26a5db0) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/ciosrv.cc:300\r\n#17 0x0000000000b7fac5 in rofl::cioloop::run_loop (this=0x26a5db0) at /home/sdn/xdpd-debug/build/../libs/rofl-common/src/rofl/common/ciosrv.cc:166\r\n#18 0x0000000000a5f12c in rofl::cioloop::run (this=0x26a5db0) at /home/sdn/xdpd-debug/build/..//libs/rofl-common/src/rofl/common/ciosrv.h:235\r\n#19 0x0000000000a5cbb8 in xdpd::system_manager::init (argc=5, argv=0x7fffffffe568) at ../../../../src/xdpd/management/system_manager.cc:250\r\n#20 0x0000000000a04684 in main (argc=5, argv=0x7fffffffe568) at ../../../src/xdpd/xdpd.cc:25\r\n```"}}