Segfault when executing an operation in PreOperational state

Hi,

when starting up my component (default in PreOperational state), the
deployer segfaults when I try to execute an Operation _before_ I
configure my component. All goes well if I try to do the same after
configuring the component. I can understand this is not meant to be
feasible, but instead I would suspect the deployer to just return e.g.
false, instead of segfaulting?

regards,

Steven

Segfault when executing an operation in PreOperational state

On Thu, Jan 27, 2011 at 4:07 PM, Steven Bellens
<steven [dot] bellens [..] ...> wrote:
> Hi,
>
> when starting up my component (default in PreOperational state), the
> deployer segfaults when I try to execute an Operation _before_ I
> configure my component. All goes well if I try to do the same after
> configuring the component. I can understand this is not meant to be
> feasible, but instead I would suspect the deployer to just return e.g.
> false, instead of segfaulting?

Any segfault is a bug. Do you execute it from the taskbrowser of from
your component ? Backtrace ?

The state of the component should have no influence whatsoever on
operations, so this is a mystery to me... The only thing I can think
of is that there's something wrong with the activity you're using ?

Peter

Segfault when executing an operation in PreOperational state

2011/1/27 Peter Soetens <peter [..] ...>:
> On Thu, Jan 27, 2011 at 4:07 PM, Steven Bellens
> <steven [dot] bellens [..] ...> wrote:
>> Hi,
>>
>> when starting up my component (default in PreOperational state), the
>> deployer segfaults when I try to execute an Operation _before_ I
>> configure my component. All goes well if I try to do the same after
>> configuring the component. I can understand this is not meant to be
>> feasible, but instead I would suspect the deployer to just return e.g.
>> false, instead of segfaulting?
>
> Any segfault is a bug. Do you execute it from the taskbrowser of from
> your component ? Backtrace ?
>
> The state of the component should have no influence whatsoever on
> operations, so this is a mystery to me... The only thing I can think
> of is that there's something wrong with the activity you're using ?

It's a FileDescriptorActivity! :)

More information + backtrace tomorrow.

Steven

>
> Peter
>

Segfault when executing an operation in PreOperational state

2011/1/27 Steven Bellens <steven [dot] bellens [..] ...>:
> 2011/1/27 Peter Soetens <peter [..] ...>:
>> On Thu, Jan 27, 2011 at 4:07 PM, Steven Bellens
>> <steven [dot] bellens [..] ...> wrote:
>>> Hi,
>>>
>>> when starting up my component (default in PreOperational state), the
>>> deployer segfaults when I try to execute an Operation _before_ I
>>> configure my component. All goes well if I try to do the same after
>>> configuring the component. I can understand this is not meant to be
>>> feasible, but instead I would suspect the deployer to just return e.g.
>>> false, instead of segfaulting?
>>
>> Any segfault is a bug. Do you execute it from the taskbrowser of from
>> your component ? Backtrace ?
>>
>> The state of the component should have no influence whatsoever on
>> operations, so this is a mystery to me... The only thing I can think
>> of is that there's something wrong with the activity you're using ?
>
> It's a FileDescriptorActivity! :)
>
> More information + backtrace tomorrow.

Looks like this was a segfault on my side.
Apologies for the noise

Steven

>
> Steven
>
>>
>> Peter
>>
>