Migrated from code.ros.org, issue #2877
Reported by: sglaser
I'm bringing up a nodelet which brings up a rosrt publisher, and then bringing down the nodelet and it crashes:
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7f167cff9950 (LWP 9727)]
ros::Publisher::publish<tirt_controller::JointSetpoint_<std::allocator<void> > const> (this=0x7f16940ef458, message=@0x0)
at /u/sglaser/ros/ros/core/roscpp/include/ros/publisher.h:85
85 }
Current language: auto; currently c++
(gdb) bt
#0 ros::Publisher::publish<tirt_controller::JointSetpoint_<std::allocator<void> > const> (this=0x7f16940ef458, message=@0x0)
at /u/sglaser/ros/ros/core/roscpp/include/ros/publisher.h:85
#1 0x00007f168fdf2c32 in rosrt::detail::publishMessage<tirt_controller::JointSetpoint_<std::allocator<void> > > (pub=@0x7f16bb532720,
msg=<value optimized out>) at /u/sglaser/ros/stacks/ros_realtime/rosrt/include/rosrt/publisher.h:59
#2 0x00007f1684f8f146 in rosrt::detail::PublishQueue::publishAll (this=<value optimized out>)
at /u/sglaser/ros/stacks/ros_realtime/rosrt/src/publisher.cpp:80
#3 0x00007f1684f8f373 in rosrt::detail::PublisherManager::publishThread (this=0x7f1680066ce0)
at /u/sglaser/ros/stacks/ros_realtime/rosrt/src/publisher.cpp:126
#4 0x00007f16bb102a0e in thread_proxy () from /opt/ros/lib/libboost_thread.so.1.40.0
#5 0x00007f16b98ef3ba in start_thread () from /lib/libpthread.so.0
#6 0x00007f16b965c02d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Not sure why this is dying, but it is consistent.
Migrated from code.ros.org, issue #2877
Reported by: sglaser
https://code.ros.org/trac/ros/ticket/2877
I'm bringing up a nodelet which brings up a rosrt publisher, and then bringing down the nodelet and it crashes:
Not sure why this is dying, but it is consistent.