Hi Ken,

I am not sure anyone understands this problem. Once upon a time, I thought it 
was a race condition between System Generator and Simulink. I tried to debug it 
by changing some of the MATLAB Java Runtime parameters and hooking into the JRE 
to watch what processes it was running, and see if anything stood out. I didn’t 
have much luck then. It did look like Simulink was waiting for a return value. 
I have since chalked it up to a race condition and that Simulink just misses 
the return value. You could be right that it never makes it back because it 
silently crashes. I am not sure either how to look at System Generator as a 
process.

Every time I have tried, I can hit the “cancel” button on the bottom of the 
Simulink canvas and then repeatedly spam an interrupt to in the terminal used 
to launch MATLAB and the interrupt is caught and returns back. Although, I have 
more luck at that point restarting MATLAB/Simulink entirely rather than 
starting a fresh compile. It just seems to happen again too often without the 
restart. Wish I had a better answer for you.

Mitch

> On Sep 27, 2024, at 2:49 PM, Ken Semanov <shapkiqua...@gmail.com> wrote:
> 
> This problem is not resolved by the cache cleaning.  A rumor is that this is 
> caused by System Generator silently crashing, which results in the 
> Compilation status popup waiting eternally for it. Does anyone know how to 
> see System Generator as a process  (e.g. in  ps aux? )
> On Wednesday, September 18, 2024 at 7:38:52 PM UTC-4 Ken Semanov wrote:
>> This is an issue of the System Generator. Removing the cache relieves the 
>> problem. 
>> 
>> On Wednesday, September 18, 2024 at 7:01:04 PM UTC-4 Ken Semanov wrote:
>>> Anyone have troubleshooting tips for when Jasper compiles hangs at this 
>>> stage? 
>>> 
>>> 
>>> 
>>> I have already tried the following continuously for 90 minutes on several 
>>> different slx models. While these "fixes" used to work in the past, they no 
>>> longer work now. 
>>> Restart MATLAB, reload model, compile.
>>> Simulate the model first, save, then compile.
>>> Reboot the computer.
>>> Simulate the model for 1000 steps. Save slx. Close MATLAB, Open MATLAB. 
>>> Reopen the model. Compile
>>> Close model. Delete proj/proj/sysgen/ip_catalog/proj.cache/*  Reopen model. 
>>> Compile. 
>>> I have compiled this SLX  model many times in the past. I have moved the 
>>> slx file into a fresh new directory before generating the following logs.
>>> 
>>> jasper.log   at  https://bpa.st/KBYAA
>>> 
>>> vivado.log at https://bpa.st/ICB52
>>> 
>>> The files generated before system generator begins to hang , at  
>>> https://bpa.st/5ZT7A
>>> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu 
> <mailto:casper+unsubscr...@lists.berkeley.edu>.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/ecc53875-558a-4e89-a6de-7fd45e063950n%40lists.berkeley.edu
>  
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/ecc53875-558a-4e89-a6de-7fd45e063950n%40lists.berkeley.edu?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/6D7AC189-3F38-4B94-9D35-0AB8DF06CD65%40gmail.com.

Reply via email to