Deployer segfault when calling deployer-gnulinux with a script

Hi all,

I'm having a strange problem with Deployer component of OROCOS Toolchain 2.6.0 (no ROS, compiled with GCC 4.7.2 on Ubuntu 12.10 64-bit, Boost 1.49.0).

The deployer itself seems to work fine when started without any arguments, i.e. "deployer-gnulinux". When deployer is called with a script argument, e.g. "deployer-gnulinux -s test.ops", the deployer gives a seg fault. It does not matter what I put inside of the script. When running the deployer without arguments, everything works ok; I'm able to import, load,... components normally.

gdb is giving lot of boost related outputs after SIGSEGV, to me it looks like something related to parsing of the script file? I'm attaching gdb's output.

I also have a working installation of same version of OROCOS running in a virtual machine and the same scripts do not produce any problems. The working configuration is Ubuntu 12.04 64-bit, GCC 4.6.3, Boost 1.46.1.

Finally, I'm quite a noob with OROCOS, so perhaps I'm simply missing something obvious.

Any help would be greatly appreciated!

BR, Mathias

AttachmentSize
gdb_orocos_segfault.txt91.99 KB

Deployer segfault when calling deployer-gnulinux with a script

Hi Mathias,

On Wed, Jan 30, 2013 at 3:16 PM, <mathias [dot] vonessen [..] ...> wrote:
> Hi all,
>
> I'm having a strange problem with Deployer component of OROCOS Toolchain
> 2.6.0 (no ROS, compiled with GCC 4.7.2 on Ubuntu 12.10 64-bit, Boost
> 1.49.0).
>
> The deployer itself seems to work fine when started without any arguments,
> i.e. "deployer-gnulinux".
> When deployer is called with a script argument, e.g. "deployer-gnulinux -s
> test.ops", the deployer gives a seg fault. It does not matter what I put
> inside of the script. When running the deployer without arguments,
> everything works ok; I'm able to import, load,... components normally.
>
> gdb is giving lot of boost related outputs after SIGSEGV, to me it looks
> like something related to parsing of the script file? I'm attaching gdb's
> output.

I think the problem is outside Orocos, but I have no idea what it is.
You could try to run the deployer with valgrind and see if something
more useful comes out.

>
> I also have a working installation of same version of OROCOS running in a
> virtual machine and the same scripts do not produce any problems. The
> working configuration is Ubuntu 12.04 64-bit, GCC 4.6.3, Boost 1.46.1.
>
> Finally, I'm quite a noob with OROCOS, so perhaps I'm simply missing
> something obvious.
>
> Any help would be greatly appreciated!
>
> BR,
> Mathias

Peter