<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><a href="http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions" target="_blank">http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions</a><br>
<br>
Maybe you just didn't notice the restrictions part (ie script cannot access properties, methods or other attributes of the qml item etc).
<br>
Hard to say without seeing your workerscript implementation.<br>
<br>
re, Jonni<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF493787"><font color="#000000" face="Tahoma" size="2"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of Matthias Barmeier [barmeier@barmeier.com]<br>
<b>Sent:</b> Tuesday, May 13, 2014 2:57 PM<br>
<b>To:</b> Sailfish OS Developers<br>
<b>Subject:</b> Re: [SailfishDevel] QML creates a Segfault<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">OK, its just a bit weird that the same program works without a WorkerScript.<br>
The WorkerScript is just to make the gui more repsonsive it has no relevance to the function.<br>
<br>
Thanks.<br>
<br>
Am 13.05.2014 13:31, schrieb Juha Kallioinen:<br>
</div>
<blockquote type="cite">
<div class="moz-cite-prefix">On 13.05.2014 14:00, Matthias Barmeier wrote:<br>
</div>
<blockquote type="cite">Hi,<br>
<br>
when trying to download data in a WorkerScript thread I got this:<br>
<br>
<p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; text-indent:0px">
<span style="font-family:'Monospace'; font-size:11pt; color:#b20808">bash: line 1: 1459 Segmentation fault QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0 /usr/bin/CalDav</span></p>
<style type="text/css">
<!--
p, li
{white-space:pre-wrap}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style><br>
Can somebody explain if I can avoid this or what the reason is ?<br>
<br>
</blockquote>
<br>
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.<br>
<br>
Qt Creator launches the application in the device/emulator almost like this:<br>
<br>
ssh nemo@device_address "QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0 /usr/bin/applicationname"<br>
<br>
It does not use ssh command, but an ssh library, which is part of Qt Creator.<br>
<br>
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.<br>
<br>
Best regards,<br>
Juha<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>