Bug #127
closed*** Error in `genomixd': malloc(): memory corruption: 0x00007f6160000087 ***
Description
Error when running
mrsim-ros
mkrokopter-ros
nhfc-ros
pom-ros
for three quad. Additionally
optitrack-ros
genomixd
joystick-ros
Updated by Anthony Mallet over 7 years ago
- Status changed from New to Feedback
On Friday 30 Jun 2017, at 14:25, Marco Tognon wrote:
Bug #127: *** Error in `genomixd': malloc(): memory corruption:
For this kind of issue, either the core dump, or a valgrind backtrace
are needed.
Can you try to reproduce this under valgrind?
Updated by Anthony Mallet over 7 years ago
- Project changed from matlab-genomix to genomix
Updated by Marco Tognon over 7 years ago
Should I run soemthing like this?
valgrind --leak-check=yes ./launch_genomix.sh
where ./launch_genomix.sh is
#!/bin/bash
roscore &sleep 5
genomixd &
joystick-ros &
- FC1: QUAD1
mikrokopter-ros --name mk1 &
pom-ros --name pom_mk1 &
nhfc-ros --name nhfc_mk1 &
mrsim-ros --name mrsim_mk1 &
sleep 1
- FC2: QUAD2
mikrokopter-ros --name mk2 &
pom-ros --name pom_mk2 &
nhfc-ros --name nhfc_mk2 &
mrsim-ros --name mrsim_mk2 &
sleep 1
- FC3: QUAD7
mikrokopter-ros --name mk7 &
pom-ros --name pom_mk7 &
nhfc-ros --name nhfc_mk7 &
mrsim-ros --name mrsim_mk7 &
sleep 1
- General
optitrack-ros &
joystick-ros &
On 06/30/2017 02:28 PM, Anthony Mallet wrote:
Issue #127 has been updated by Anthony Mallet.
Status changed from New to Feedback
On Friday 30 Jun 2017, at 14:25, Marco Tognon wrote:
Bug #127: *** Error in `genomixd': malloc(): memory corruption:
For this kind of issue, either the core dump, or a valgrind backtrace
are needed.Can you try to reproduce this under valgrind?
----------------------------------------
Bug #127: * Error in `genomixd': malloc(): memory corruption: 0x00007f6160000087 *
https://git.openrobots.org/issues/127#change-164
- Author: Marco Tognon
- Status: Feedback
- Priority: Normal
- Assignee:
- Category:
- Target version:
----------------------------------------
Error when runningmrsim-ros
mkrokopter-ros
nhfc-ros
pom-rosfor three quad. Additionally
optitrack-ros
genomixd
joystick-ros
Updated by Marco Tognon over 7 years ago
Some outputs:
$ valgrind genomixd
31289 Memcheck, a memory error detector
31289 Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
31289 Using Valgrind-3.10.1 and LibVEX; rerun with -h for
copyright info
31289 Command: genomixd
31289
31289 Thread 6:
31289 Invalid read of size 4
31289 at 0xFA025B5:
boost::detail::shared_count::~shared_count() (in
/home/mtognon/openrobots/lib/genom/ros/libmikrokopter-c-client-1.6.1.so)
31289 by 0xFA632A0: mikrokopter_genom_state_port_cb(int,
gnmix_topic_connection<genom::port_genom_state>*,
boost::shared_ptr<genom::port_genom_state const> const&) (in
/home/mtognon/openrobots/lib/genom/ros/libmikrokopter-c-client-1.6.1.so)
31289 by 0x7C1EAAB:
boost::detail::function::void_function_obj_invoker1<boost::function<void
(boost::shared_ptr<genom::port_genom_state const> const&)>, void,
boost::shared_ptr<genom::port_genom_state const>::invoke(boost::detail::function::function_buffer&,
boost::shared_ptr<genom::port_genom_state const>) (in
/home/mtognon/openrobots/lib/genom/ros/libmrsim-c-client-1.1.so)
31289 by 0xFAA4872:
ros::SubscriptionCallbackHelperT<boost::shared_ptr<genom::port_genom_state
const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&)
(in
/home/mtognon/openrobots/lib/genom/ros/libmikrokopter-c-client-1.6.1.so)
31289 by 0x8155644: ros::SubscriptionQueue::call() (in
/opt/ros/indigo/lib/libroscpp.so)
31289 by 0x810F106:
ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) (in
/opt/ros/indigo/lib/libroscpp.so)
31289 by 0x810FC52:
ros::CallbackQueue::callAvailable(ros::WallDuration) (in
/opt/ros/indigo/lib/libroscpp.so)
31289 by 0x7E39C43: ros_evtask(void*) (in
/home/mtognon/openrobots/lib/libros-client-1.15.1.so)
31289 by 0x53DB183: start_thread (pthread_create.c:312)
31289 by 0x56EEFFC: clone (clone.S:111)
31289 Address 0x1065a008 is 8 bytes inside a block of size 168 free'd
31289 at 0x4C2C2BC: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
31289 by 0xFA11464: connections::~connections() (in
/home/mtognon/openrobots/lib/genom/ros/libmikrokopter-c-client-1.6.1.so)
31289 by 0xFA04A51: genom_mikrokopter_client_fini (in
/home/mtognon/openrobots/lib/genom/ros/libmikrokopter-c-client-1.6.1.so)
31289 by 0x403DDD: gnmx_load (in
/home/mtognon/openrobots/bin/genomixd)
31289 by 0x4E72336: TclNRRunCallbacks (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4F0DA08: TclChannelEventScriptInvoker (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4F0D5F0: Tcl_NotifyChannel (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4F65E46: ? (in /usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4F26E86: Tcl_ServiceEvent (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4F271A8: Tcl_DoOneEvent (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4EEE545: ? (in /usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289 by 0x4E72336: TclNRRunCallbacks (in
/usr/lib/x86_64-linux-gnu/libtcl8.6.so)
31289
On 06/30/2017 02:39 PM, Anthony Mallet wrote:
Issue #127 has been updated by Anthony Mallet.
Just run:
% valgrind genomixd
----------------------------------------
Bug #127: * Error in `genomixd': malloc(): memory corruption: 0x00007f6160000087 *
https://git.openrobots.org/issues/127#change-167
- Author: Marco Tognon
- Status: Feedback
- Priority: Normal
- Assignee:
- Category:
- Target version:
----------------------------------------
Error when runningmrsim-ros
mkrokopter-ros
nhfc-ros
pom-rosfor three quad. Additionally
optitrack-ros
genomixd
joystick-ros
Updated by Anthony Mallet over 7 years ago
genom3-ros:07458da may fix this.
Please let met now.
Updated by Anthony Mallet over 7 years ago
Should I close this issue, or do you still have problems?
Updated by Marco Tognon over 7 years ago
From my side you can close it.
Marco
On 09/19/2017 12:21 PM, Anthony Mallet wrote:
Issue #127 has been updated by Anthony Mallet.
Should I close this issue, or do you still have problems?
----------------------------------------
Bug #127: * Error in `genomixd': malloc(): memory corruption: 0x00007f6160000087 *
https://git.openrobots.org/issues/127#change-185
- Author: Marco Tognon
- Status: Feedback
- Priority: Normal
- Assignee:
- Category:
- Target version:
----------------------------------------
Error when runningmrsim-ros
mkrokopter-ros
nhfc-ros
pom-rosfor three quad. Additionally
optitrack-ros
genomixd
joystick-ros
Updated by Anthony Mallet over 7 years ago
- Status changed from Feedback to Closed