Open caijimin opened 4 years ago
Seems TransportPublisherLink->parent_ is bad_weak_ptr now.
(gdb) x/16w $r15
0x7fc0c34938c8 <_ZTVN5boost12bad_weak_ptrE+16>: 0xc318d260 0x00007fc0 0xc318d280 0x00007fc0
0x7fc0c34938d8 <_ZTVN5boost12bad_weak_ptrE+32>: 0xc318d250 0x00007fc0 0x00000000 0x00000000 <---
parent_->px
0x7fc0c34938e8 <_ZTVN3ros13PublisherLinkE+8>: 0xc3493820 0x00007fc0 0x00000000 0x00000000
0x7fc0c34938f8 <_ZTVN3ros13PublisherLinkE+24>: 0x00000000 0x00000000 0x00e94cb0 0x00000000
We met the same problem occasionally. Has this been solved? The crashed node is publishing tf, when another node that subscribe the tf is just closing.
We use ros-kinetic and witnessed a few crashes occasionally. It’s hard to reproduce and I didn’t have reproducible test case.
From disassemble code
Seems it crash in publisher_link.cpp:96 share_from_this()
Had anybody seen something like that before? Thanks in advance.