<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 cite="mid:5372028D.3000604@jolla.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 13.05.2014 14:00, Matthias
Barmeier wrote:<br>
</div>
<blockquote cite="mid:5371FB38.7060603@barmeier.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
when trying to download data in a WorkerScript thread I got
this:<br>
<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><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><!--EndFragment--></p>
<style type="text/css">
p, li { white-space: pre-wrap; }
</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"></fieldset>
<br>
<pre wrap="">_______________________________________________
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">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>