<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Failed to start RexCore]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=313&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=313"/>
	<updated>2017-01-09T11:19:30Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=313</id>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1380#p1380"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>Thank you for info.</p><p>To be honest I don&#039;t know why &#039;Permanent&#039; is checked.. I guess I did it by accident.</p><p>Tomorrow I will test it and let you know!</p><p>Regards<br />Hubert</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2017-01-09T11:19:30Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1380#p1380</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1375#p1375"/>
		<content type="html"><![CDATA[<p>Hello Hubert,</p><p>I&#039;m really sorry about the complications with your project. Our developers thanks to you found out that there is a bug in Persistent memory (every FB has checkbox &quot;Permanent&quot; - see attached screenshot).<br /><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/39/rexcore_failed.png" alt="rexcore_failed.png" /></span></p><p>One of TRND blocks in your project has checked &quot;Permanent&quot; checkbox. If you uncheck &quot;Permanent&quot; everything should work fine again. Was there any reason for saving permanent parameters of this TRND block?</p><p>Thank you for reporting this bug, it is valuable feedback for us.<br />If I can be of assistance, please do not hesitate to contact me. </p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-01-06T10:08:22Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1375#p1375</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1366#p1366"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>I&#039;m afraid problem started shortly after converting to version 2.5 of RexControl.<br />I will try to reduce my project, but not today.. </p><p>I will email you my files.</p><p>--<br />Hubert</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2017-01-04T19:36:24Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1366#p1366</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1365#p1365"/>
		<content type="html"><![CDATA[<p>Hi Hubert,<br />very well done, thanks for all the testing! Can you please send us your project files for debugging? We should definitely locate the problem and fix it!</p><p>If you could reduce your project to a minimum non-working example, that would be a tremendous help. Try to revert a few steps back in your project. Did you add some function block lately? Or maybe some changes in REXLANG code?</p><p>Best regards<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-01-04T19:30:59Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1365#p1365</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1362#p1362"/>
		<content type="html"><![CDATA[<p>Hi again,</p><p>I am afraid that fresh install didn&#039;t worked for me.<br />After setting everything from a scratch, rexcore was working for a while, but then - same issues.</p><p>My first thought is: problems with SD card, so I will check it for errors, but everything else is working OK.</p><p>Can you help me find the cause of my problems?</p><p>PS<br />soon I will prepare another raspberry in same way as this problematic one - and we will see how it goes..</p><p>-<br />Regards<br />Hubert</p><p>EDIT:<br />I did some checking on my SD card (surface test - read) and did not found any errors.<br />I have one file system warning (something from not properly umounting device) but I don&#039;t think that could be the issue here..</p><p>EDIT2, important:</p><p>OK, found out that it is not the hardware/operating system issue. My Rex code executing is the issue.</p><p>Did same installation on other device (rasp 2 vs rasp 3) with different SD card with slightly other sets of licences.<br />Started same rex exec (well little bit different due to license differences) and got same problem. Rexcore not starting:</p><div class="codebox"><pre><code>rexcore.service: main process exited, code=killed, status=11/SEGV</code></pre></div><p>I managed to resurrect rexcore by removing file</p><div class="codebox"><pre><code>/rex/rexcore/exec.rex</code></pre></div><p>which, I believe, is my Rex code.<br />Uploaded some simple test project and so far working. I will leave it for a few more hours and see then.</p><br /><p>So what to do next - any suggestions with debugging?<br />I guess I should take apart my project and see when it&#039;s starts working - but maybe you have some tips..</p><p>---<br />Regards<br />Hubert</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2017-01-04T14:42:00Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1362#p1362</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1360#p1360"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>OK I will try with fresh install.</p><p>Hubert.</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2017-01-04T10:38:13Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1360#p1360</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1359#p1359"/>
		<content type="html"><![CDATA[<p>Hello Hubert,</p><p>service status says that rexcore.service failed due to segmentation fault. I seems that your system is somehow corrupted.<br />It would be definitely better if you can reinstall whole Raspbian and try to run Rex on fresh image. You will skip the trial &amp; error period of debugging.</p><p>Please, let us know if your problems persist.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-01-04T09:44:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1359#p1359</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Failed to start RexCore]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1358#p1358"/>
		<content type="html"><![CDATA[<p>Hello again,</p><p>unfortunately I&#039;m still having issues with rexcore on my raspberry.<br />Now rexcore process isn&#039;t starting anymore.</p><p>systemctl status is saying:</p><div class="codebox"><pre><code>● rexcore.service - REX Realtime Core (RexCore)
   Loaded: loaded (/lib/systemd/system/rexcore.service; enabled)
   Active: failed (Result: signal) since Wed 2017-01-04 09:34:55 CET; 40s ago
  Process: 745 ExecStart=/usr/bin/RexCore -l -c $CFGFILE $OPTIONS (code=killed, signal=SEGV)
 Main PID: 745 (code=killed, signal=SEGV)</code></pre></div><p>and from logs:</p><div class="codebox"><pre><code>systemd[1]: rexcore.service: main process exited, code=killed, status=11/SEGV
systemd[1]: Unit rexcore.service entered failed state.</code></pre></div><p>Any suggestions?<br />Or should I reinstall raspbian totally?</p><p>Please note, that I had similar issue before (with this system) - what I&#039;ve done was to uninstall rexcore (apt-get purge) and deleted all configs (all rex directories) then installed rexcore with apt-get.</p><br /><p>Regards<br />Hubert</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2017-01-04T08:42:10Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1358#p1358</id>
	</entry>
</feed>
