On Fri, Oct 8, 2010 at 10:17 AM, <
sh2723@columbia.edu> wrote:
> Hi,
>
> I encountered the same problem after upgrading the ROS boxturtle from
> 1.0.2 to 1.0.5 on Ubuntu 9.10. Any solution would be appreciated.
>
Incremental ROS releases are not necessarily ABI compatible. Are you
possibly trying to run a node which was compiled against the previous
version of boxturtle? After doing any upgrade you should rebuild all
of your packages.
> Best,
> Soonhac Hong
>
>
> Quoting ibwood <ianbenjiman@hotmail.com>:
>
>>
>> Hi everyone,
>>
>> Upon trying to run a node, the file "rosrun" came up with a segmentation
>> fault: Here is my file..
>> It said the error was in line 35 (last line) with "$exepath "$@"":
>>
>>
>> #!/bin/bash
>> if [ $# -lt 2 ]; then
>> echo "Usage: rosrun PACKAGE EXECUTABLE [ARGS]"
>> echo " rosrun will locate PACKAGE and try to find"
>> echo " an executable named EXECUTABLE in the PACKAGE tree."
>> echo " If it finds it, it will run it with ARGS."
>> exit 1
>> fi
>> pkgdir=`${ROS_ROOT}/bin/rospack find $1` || exit 2
>> # The -perm /mode usage is not available in find on the Mac
>> #exepathlist=(`find $pkgdir -name $2 -type f -perm /u+x,g+x,o+x`)
>> exepathlist=(`find $pkgdir -name $2 -type f -perm +111 ! -regex
>> ".*$pkgdir\/build\/.*"`)
>> if [[ ${#exepathlist[@]} == 0 ]] ; then
>> echo "[rosrun] Couldn't find executable named $2 below $pkgdir"
>> nonexepathlist=(`find $pkgdir -name $2`)
>> if [[ ${#nonexepathlist[@]} != 0 ]] ; then
>> echo "[rosrun] Found the following, but they're either not files, "
>> echo "[rosrun] or not executable:"
>> for p in ${nonexepathlist[@]}; do
>> echo "[rosrun] ${p}"
>> done
>> fi
>> exit 3
>> elif [[ ${#exepathlist[@]} -gt 1 ]] ; then
>> echo "[rosrun] You have chosen a non-unique executable, please pick one
>> of the following:"
>> select opt in ${exepathlist[@]}; do
>> exepath=$opt
>> break
>> done
>> else
>> exepath=${exepathlist[0]}
>> fi
>> shift
>> shift
>> $exepath "$@"
>>
>>
>> What is the issue here?
>>
>> Thanks,
>> Ian
>>
>>
>> --
>> View this message in context:
>> http://ros-users.122217.n3.nabble.com/segmentation-fault-using-ROS-tp978619p978619.html
>> Sent from the ROS-Users mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> ros-users mailing list
>> ros-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ros-users
>> _______________________________________________
>> ros-users mailing list
>> ros-users@code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>