[Bug 828] New: Double free or corruption while building orogen

http://bugs.orocos.org/show_bug.cgi?id=828

Summary: Double free or corruption while building orogen
Product: Toolchain
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: orogen
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] bellens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created attachment 652
--> http://bugs.orocos.org/attachment.cgi?id=652
orogen backtrace

The standard 'rake' command gives a double free or corruption crash for the
orogen package.
- toolchain-2.3 branch
- Fedora x86_64 system (seen on other systems as well)

Backtrace in appendix.

[Bug 828] Double free or corruption while building orogen

http://bugs.orocos.org/show_bug.cgi?id=828

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #4 from Peter Soetens <peter [..] ...> 2011-04-22 12:42:59 CEST ---
This has been fixed. It was a bug in the path settings of RUBYLIB in the
orocos_toolchain_ros stack.

[Bug 828] Double free or corruption while building orogen

2011/4/22 Peter Soetens <peter [..] ...>

>
> http://bugs.orocos.org/show_bug.cgi?id=828
>
> Peter Soetens <peter [..] ...> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |FIXED
>
> --- Comment #4 from Peter Soetens <peter [..] ...> 2011-04-22
> 12:42:59 CEST ---
> This has been fixed. It was a bug in the path settings of RUBYLIB in the
> orocos_toolchain_ros stack.
>
>
great ! This was so painfull for rosmake

> --
> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You are the assignee for the bug.
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

[Bug 828] Double free or corruption while building orogen

http://bugs.orocos.org/show_bug.cgi?id=828

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1

--- Comment #3 from Peter Soetens <peter [..] ...> 2011-03-15 11:35:16 CET ---
(In reply to comment #2)
> Created attachment 655
> valgrind output
>
> Valgrind output, doesn't really help us IMO.
>
> --Ruben

Does anyone have any idea what is causing this ? Is this only the case if
ROS_ROOT is set or is this the orocos_toolchain_ros providing the wrong .gems,
ie, gems that are compiled on one system and run on another ?

Couldn't you create a ros package that sets up the ruby gems environment ?

Peter

Ruben Smits's picture

[Bug 828] Double free or corruption while building orogen

http://bugs.orocos.org/show_bug.cgi?id=828

--- Comment #2 from Ruben Smits <ruben [dot] smits [..] ...> 2011-03-02 11:09:09 CET ---
Created attachment 655
--> http://bugs.orocos.org/attachment.cgi?id=655
valgrind output

Valgrind output, doesn't really help us IMO.

--Ruben

Ruben Smits's picture

[Bug 828] Double free or corruption while building orogen

http://bugs.orocos.org/show_bug.cgi?id=828

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |ruben [dot] smits [..] ...en.b
| |e
Severity|normal |critical

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2011-03-02 10:29:36 CET ---
I have this too, but only 1 out of 5 times:

rake
(in /home/rsmits/ros/kul-ros-pkg/stacks/orocos_toolchain_ros/orogen)
WARN: cannot load the Hoe gem, or Hoe fails. Publishing tasks are disabled
WARN: error message is: No such file or directory - History.txt
WARN: cannot load RDoc, documentation generation disabled
WARN: no such file to load -- rdoc/task
oroGen is ready to use
*** glibc detected *** /usr/bin/ruby1.8: double free or corruption (fasttop):
0x0000000000815bf0 ***
^Cmake: *** [install] Interrupt

-- Ruben