Re: Crash on qcop call to IrDA applet

From: Dmitriy Korovkin <korovkin_at_tochka.ru>
Date: Thu, 08 Feb 2007 22:59:42 +0300

I can't guarantee that, but I'll try to do my best to see and fix the
problem. IMHO, it should not be overcomplicated.

Dmitriy

Paul Sokolovsky wrote:
> Hello Paul,
>
> Wednesday, February 7, 2007, 2:09:09 PM, you wrote:
>
>
>> Hi there,
>>
>
>
>> I'm trying to get Opie-remote to disable IrDA using a QCop call to the IrDA
>> applet. However, when I run the following with IrDA enabled, Opie-Remote
>> segfaults:
>>
>
>
>> QCopEnvelope e("QPE/IrDaApplet", "disableIrda()");
>>
>
>
>> If IrDA is disabled when this is called then it does not crash.
>>
>
>
>> Any ideas?
>>
>
>
>> On a slightly related note, it would be nice if there was an additional QCop
>> function in the IrDA applet to disable IrDA regardless of the previous state,
>> since from looking at the code, disableIrda() is designed not to disable IrDA
>> if enableIrda() was previously called when it was already enabled.
>>
>
> Not sure this is good idea. Or rather, such call might be there, but
> I couldn't make up a user story for it. Instead, there indeed
> would better be reference counting for most services. This is
> exactly what's lacking in WinCE. For example, I keep BT off most of
> the time, but when I want to send SMS to mobile, I of course want it
> to automatically turn on, send SMS, and then off again. On the other
> hand, if I keep it always on (for example, to receive stuff), I don't
> want SMS send app to turn BT off.
>
> This all is trivially handled by reference counting. I'm not sure on what
> level this should be done, but am sure that's how it should work
> ideally ;-)
>
>
>> Cheers,
>> Paul
>>
>
>
>
Received on Thu Feb 08 2007 - 14:58:50 EST

This archive was generated by hypermail 2.2.0 : Thu Feb 08 2007 - 14:59:06 EST