[MacRuby-devel] System crash - MacRuby priority

Robert Rice rice.audio at pobox.com
Sun Nov 7 07:48:07 PST 2010


Hi Laurent:

I'm not sure what the definition of a "kernel panic" is. My system Finder becomes unresponsive. A/V streams stop displaying video but continue to play audio and my MacRuby app continues to run to completion.

I have a busy CPU running a DisplayLink USB monitor connection and I suspect the DisplayLink driver could be involved if it doesn't get enough CPU resources. I will test it again with a newer DisplayLink driver and with the USB monitor connection. But it seems that MacRuby runs at a high priority since I can't reproduce the problem when I run the CPU up to 100% with other applications.

Thanks,
Bob Rice


On Nov 6, 2010, at 10:23 PM, Laurent Sansonetti wrote:

> Hi Robert,
> 
> What do you mean by making the system crash? Does a kernel panic happen, or does the system just become unusable?
> 
> If a kernel panic happen, or if any core service segfaults because of your app, then you should report this via http://bugreporter.apple.com as others indicated. If the system becomes unusable your app is probably using too much resources. You should profile it using Shark (or Instruments) and see what's going on. Feel free to upload the profile somewhere if you want us to have a look.
> 
> Laurent
> 
> On Nov 6, 2010, at 4:19 PM, Robert Rice wrote:
> 
>> I determined that my system crash was not due to an endless loop - rather due to a very inefficient algorithm. MacRuby seems to run at such a high priority that it can cause the system to crash - especially if a streaming video is running.
>> 
>> Can I lower the priority of my MacRuby application?
>> 
>> Thanks,
>> Bob Rice
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101107/f6bb7abb/attachment.html>


More information about the MacRuby-devel mailing list