Re: qpidd crash
On 07/03/18 16:38, Michael Ivanov wrote: No problem, just tell me how to access proper page in jira. https://issues.apache.org/jira/projects/QPID/issues, if you login there should be a 'create' button in red that allows you to create a new JIRA, and then on the issue there will be a 'More' dropdown which lets you attach a patch. Thanks again! - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: qpidd crash
No problem, just tell me how to access proper page in jira. 07.03.2018 19:17, Gordon Sim пишет: > On 07/03/18 14:35, Michael Ivanov wrote: >> Greetings, >> >> qpidd 1.37 seems to have a bug in rdma_wrap.cpp, function deviceCount(). >> Originally it looked like follows: >> >> ::ibv_free_device_list(::ibv_get_device_list(&count)); >> >> And qpidd crashed with segv on my system (debian sid). >> >> I changed it as follows: >> >> int deviceCount() { >> struct ibv_device **list; >> int count; >> >> if ((list = ::ibv_get_device_list(&count))) >> ::ibv_free_device_list(list); >> return count; >> } >> >> and it runs now. > > Thanks! Would you mind attaching that as a patch to a JIRA (or submitting a > PR if thats easier). I can then get it committed. > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: qpidd crash
On 07/03/18 14:35, Michael Ivanov wrote: Greetings, qpidd 1.37 seems to have a bug in rdma_wrap.cpp, function deviceCount(). Originally it looked like follows: ::ibv_free_device_list(::ibv_get_device_list(&count)); And qpidd crashed with segv on my system (debian sid). I changed it as follows: int deviceCount() { struct ibv_device **list; int count; if ((list = ::ibv_get_device_list(&count))) ::ibv_free_device_list(list); return count; } and it runs now. Thanks! Would you mind attaching that as a patch to a JIRA (or submitting a PR if thats easier). I can then get it committed. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org