[SailfishDevel] QML creates a Segfault
Matthias Barmeier
barmeier at barmeier.com
Tue May 13 13:20:06 UTC 2014
haven't noticed the restrictions, but I give a listmodel to the
WorkerScript and send a text back. No Operations on that, bat the
listmodel is tied to listview.
Maybe this creates the problem.
Am 13.05.2014 14:13, schrieb Jonni Rainisto:
> http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions
>
> Maybe you just didn't notice the restrictions part (ie script cannot
> access properties, methods or other attributes of the qml item etc).
> Hard to say without seeing your workerscript implementation.
>
> re, Jonni
>
> ------------------------------------------------------------------------
> *From:* devel-bounces at lists.sailfishos.org
> [devel-bounces at lists.sailfishos.org] on behalf of Matthias Barmeier
> [barmeier at barmeier.com]
> *Sent:* Tuesday, May 13, 2014 2:57 PM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] QML creates a Segfault
>
> OK, its just a bit weird that the same program works without a
> WorkerScript.
> The WorkerScript is just to make the gui more repsonsive it has no
> relevance to the function.
>
> Thanks.
>
> Am 13.05.2014 13:31, schrieb Juha Kallioinen:
>> On 13.05.2014 14:00, Matthias Barmeier wrote:
>>> Hi,
>>>
>>> when trying to download data in a WorkerScript thread I got this:
>>>
>>> bash: line 1: 1459 Segmentation fault QT_NO_JOURNALD_LOG=1
>>> DISPLAY=:0.0 /usr/bin/CalDav
>>>
>>>
>>> Can somebody explain if I can avoid this or what the reason is ?
>>>
>>
>> That script part is how Qt Creator runs your application in the
>> device/emulator. So it just means that /usr/bin/CalDav crashed to a
>> SEGFAULT and you'll need to figure out why.
>>
>> Qt Creator launches the application in the device/emulator almost
>> like this:
>>
>> ssh nemo at device_address "QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0
>> /usr/bin/applicationname"
>>
>> It does not use ssh command, but an ssh library, which is part of Qt
>> Creator.
>>
>> The QT_NO_JOURNALD_LOG =1 is there to make the application not put
>> its output to journald, but to stdout/stderr instead so that Qt
>> Creator can display it.
>>
>> Best regards,
>> Juha
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail todevel-unsubscribe at lists.sailfishos.org
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140513/52a22b4d/attachment.html>
More information about the Devel
mailing list