-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule renaming issue #47
Comments
Interesting. Would you kindly send me a rosbag file to recreate the issue ? |
Please try with this rosbag. It's only a few seconds long, but it should be sufficient. Additionally, I am now running the latest version on my laptop, and without any rules I get a segmentation fault when I try to stream the same message. (/rostune/node_stats) Thanks for your time! |
I MIGHT have found the issue. This is the fix https://github.com/facontidavide/ros_type_introspection/tree/fix I will check this tomorrow to see if it works |
I confirm that the issue is fixed. Please check it out and close the issue if the issue is solved |
After some git pulls I managed to compile both plotjuggler and ros_type_introspection, but I now get a segmentation fault when I try to stream the same topic. I ran plotjuggler with gdb using the following command Program received signal SIGSEGV, Segmentation fault. |
Hi, I am not able to recreate the issue on my machine :( To help me you should:
|
You can get the message definitions from here https://github.com/roboskel/rostune/tree/devel. (Notice the devel branch) I ran plotjuggler again after compiling in debug mode, but got no additional information. Just that vague message that I posted earlier. |
I am deeply sorry, but it works just fine on my machine, I don't know how to help you. |
You are right. I am sorry. This is the backtrace: Program received signal SIGSEGV, Segmentation fault.
#11 0x00007fffe070caab in boost::function1<void, boost::shared_ptr<topic_tools::ShapeShifter const> const&>::operator() (this=0xd51780, a0=...)
#20 0x0000000000504ef0 in MainWindow::onActionLoadStreamer (this=0x7fffffffd480, #32 0x00007ffff71bb64b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so I have tested it with two different Ubuntu 14 x64 machines, and I get a segmentation fault on both of them. Maybe there's a problem with my setup, since I try to have almost identical setups on all of my machines. |
fixed |
I am trying to create a ruleset for my package. Everything is working as expected, except for the following rule:
<rule pattern="nodes.#/resident_memory_percentage" alias="nodes.#/name" substitution="@/resident_memory_percentage" />
If I use the rule above, I get a malloc() exception. If I use the rule below instead, everything is working perfectly:
<rule pattern="nodes.#/resident_memory_percentage" alias="nodes.#/name" substitution="@/resident_memory_percen" />
The difference between the two is the string length of the subsctitution field.
The crash happens in:
and stops at "resident_memory_percen".
The problem most probably lies in the ros_type_introspection package (in renamer.cpp at the "applyNameTransform" method?), but since it was encountered while using plotjuggler, I posted the issue here.
The text was updated successfully, but these errors were encountered: