[ 
https://issues.apache.org/jira/browse/PROTON-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443797#comment-17443797
 ] 

ASF GitHub Bot commented on PROTON-2441:
----------------------------------------

codecov-commenter commented on pull request #338:
URL: https://github.com/apache/qpid-proton/pull/338#issuecomment-968861517


   # 
[Codecov](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#338](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (7a88d34) into 
[main](https://codecov.io/gh/apache/qpid-proton/commit/b788baad3e9d9ba028d3d115e272e94a30227e17?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (b788baa) will **increase** coverage by `20.16%`.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 7a88d34 differs from pull request most recent 
head e1a3594. Consider uploading reports for the commit e1a3594 to get more 
accurate results
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/qpid-proton/pull/338/graphs/tree.svg?width=650&height=150&src=pr&token=UKKzV9XnFF&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@             Coverage Diff             @@
   ##             main     #338       +/-   ##
   ===========================================
   + Coverage   68.17%   88.34%   +20.16%     
   ===========================================
     Files         356       47      -309     
     Lines       73024     2394    -70630     
   ===========================================
   - Hits        49787     2115    -47672     
   + Misses      23237      279    -22958     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[cpp/src/connection\_options.cpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL3NyYy9jb25uZWN0aW9uX29wdGlvbnMuY3Bw)
 | | |
   | 
[cpp/src/reconnect\_test.cpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL3NyYy9yZWNvbm5lY3RfdGVzdC5jcHA=)
 | | |
   | 
[c/src/core/object/list.c](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Yy9zcmMvY29yZS9vYmplY3QvbGlzdC5j)
 | | |
   | 
[cpp/include/proton/delivery.hpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL2luY2x1ZGUvcHJvdG9uL2RlbGl2ZXJ5LmhwcA==)
 | | |
   | 
[cpp/examples/multithreaded\_client.cpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL2V4YW1wbGVzL211bHRpdGhyZWFkZWRfY2xpZW50LmNwcA==)
 | | |
   | 
[cpp/src/source.cpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL3NyYy9zb3VyY2UuY3Bw)
 | | |
   | 
[c/src/core/value\_dump.c](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Yy9zcmMvY29yZS92YWx1ZV9kdW1wLmM=)
 | | |
   | 
[cpp/src/reconnect\_options\_impl.hpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL3NyYy9yZWNvbm5lY3Rfb3B0aW9uc19pbXBsLmhwcA==)
 | | |
   | 
[cpp/include/proton/codec/forward\_list.hpp](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y3BwL2luY2x1ZGUvcHJvdG9uL2NvZGVjL2ZvcndhcmRfbGlzdC5ocHA=)
 | | |
   | 
[c/src/proactor/netaddr-internal.c](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Yy9zcmMvcHJvYWN0b3IvbmV0YWRkci1pbnRlcm5hbC5j)
 | | |
   | ... and [299 
more](https://codecov.io/gh/apache/qpid-proton/pull/338/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Last update 
[b788baa...e1a3594](https://codecov.io/gh/apache/qpid-proton/pull/338?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


> [cpp] Crash upon reconnect when user passed empty vector to 
> connection_options::failover_urls
> ---------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2441
>                 URL: https://issues.apache.org/jira/browse/PROTON-2441
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.36.0
>         Environment: Linux fedora 5.11.12-300.fc34.x86_64 #1 SMP Wed Apr 7 
> 16:31:13 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> NAME=Fedora
> VERSION="34 (Workstation Edition)"
> ID=fedora
> VERSION_ID=34
> VERSION_CODENAME=""
> PLATFORM_ID="platform:f34"
>            Reporter: Rakhi Kumari
>            Assignee: Rakhi Kumari
>            Priority: Major
>             Fix For: proton-c-0.37.0
>
>
> {noformat}
> $ gdb ./reconnect_client
> (gdb) run amqp://127.0.0.1 examples 1
> Starting program: 
> /home/rkumari/repos/qpid-proton/build/cpp/examples/reconnect_client 
> amqp://127.0.0.1 examples 1
> Missing separate debuginfos, use: dnf debuginfo-install 
> glibc-2.33-5.fc34.x86_64
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Retries: 0 Delay: 0 Trying: NO URL@0 SZ: 0
>  *Program received signal SIGSEGV, Segmentation fault.*
>  0x00007ffff7cf1104 in std::basic_ostream<char, std::char_traits<char> >& 
> std::operator<< <char, std::char_traits<char>, std::allocator<char> 
> >(std::basic_ostream<char, std::char_traits<char> >&, 
> std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
> > const&) () from /lib64/libstdc++.so.6
> (gdb) backtrace
>  #0 0x00007ffff7cf1104 in std::basic_ostream<char, std::char_traits<char> >& 
> std::operator<< <char, std::char_traits<char>, std::allocator<char> 
> >(std::basic_ostream<char, std::char_traits<char> >&, 
> std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
> > const&) () from /lib64/libstdc++.so.6
>  #1 0x00007ffff7e984b5 in proton::container::impl::reconnect (this=0x43c640, 
> pnc=0x43df10) at 
> /home/rkumari/repos/qpid-proton/cpp/src/proactor_container_impl.cpp:241
>  #2 0x00007ffff7ead66d in std::__invoke_impl<void, void 
> (proton::container::impl::*&)(pn_connection_t*), proton::container::impl*&, 
> pn_connection_t*&> (__f=
>  @0x446060: (void (proton::container::impl::*)(proton::container::impl * 
> const, pn_connection_t *)) 0x7ffff7e97ed4 
> <proton::container::impl::reconnect(pn_connection_t*)>, __t=@0x446078: 
> 0x43c640)
>  at /usr/include/c++/11/bits/invoke.h:74
>  #3 0x00007ffff7ead1d6 in std::__invoke<void 
> (proton::container::impl::*&)(pn_connection_t*), proton::container::impl*&, 
> pn_connection_t*&> (__fn=
>  @0x446060: (void (proton::container::impl::*)(proton::container::impl * 
> const, pn_connection_t *)) 0x7ffff7e97ed4 
> <proton::container::impl::reconnect(pn_connection_t*)>) at 
> /usr/include/c++/11/bits/invoke.h:96
>  #4 0x00007ffff7eacd73 in std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>::__call<void, , 0ul, 
> 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x446060, __args=...)
>  at /usr/include/c++/11/functional:420
>  #5 0x00007ffff7eac7a6 in std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>::operator()<, void>() (this=0x446060) 
> at /usr/include/c++/11/functional:503
>  #6 0x00007ffff7eaba21 in std::__invoke_impl<void, std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>&>(std::__invoke_other, std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>&) (__f=...) at 
> /usr/include/c++/11/bits/invoke.h:61
>  #7 0x00007ffff7eaa497 in std::__invoke_r<void, std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>&>(std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)>&) (__fn=...) at 
> /usr/include/c++/11/bits/invoke.h:154
>  #8 0x00007ffff7ea8cdf in std::_Function_handler<void (), std::_Bind<void 
> (proton::container::impl::*(proton::container::impl*, 
> pn_connection_t*))(pn_connection_t*)> >::_M_invoke(std::_Any_data const&) 
> (__functor=...)
>  at /usr/include/c++/11/bits/std_function.h:291
>  #9 0x00007ffff7e9f12e in std::function<void ()>::operator()() const 
> (this=0x445fa8) at /usr/include/c++/11/bits/std_function.h:560
>  #10 0x00007ffff7e96050 in proton::internal::v11::work::operator() 
> (this=0x445fa8) at 
> /home/rkumari/repos/qpid-proton/cpp/include/proton/work_queue.hpp:283
>  #11 0x00007ffff7e9ba47 in proton::container::impl::run_timer_jobs 
> (this=0x43c640) at 
> /home/rkumari/repos/qpid-proton/cpp/src/proactor_container_impl.cpp:536
>  #12 0x00007ffff7e9be69 in proton::container::impl::dispatch (this=0x43c640, 
> event=0x43f160) at 
> /home/rkumari/repos/qpid-proton/cpp/src/proactor_container_impl.cpp:567
>  #13 0x00007ffff7e9db82 in proton::container::impl::thread (this=0x43c640) at 
> /home/rkumari/repos/qpid-proton/cpp/src/proactor_container_impl.cpp:755
>  #14 0x00007ffff7e9e8cc in proton::container::impl::run (this=0x43c640, 
> threads=1) at 
> /home/rkumari/repos/qpid-proton/cpp/src/proactor_container_impl.cpp:801
>  #15 0x00007ffff7e93bf3 in proton::container::run (this=0x7fffffffdf28) at 
> /home/rkumari/repos/qpid-proton/cpp/src/container.cpp:92
>  #16 0x000000000040ce2b in main (argc=4, argv=0x7fffffffe058) at 
> /home/rkumari/repos/qpid-proton/cpp/examples/reconnect_client.cpp:135
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to