Re: Javakit and multiprocessor computer problems

Thomas Chenot <tom.chenot-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Xavier IZARD wrote:

> Thomas Chenot a écrit :
>
>> Xavier IZARD wrote:
>>
>>> Hello,
>>>
>>> I use javakit 1.12 on two different computers with the same options. 
>>> Both computers are running windoze 2000 with j2re 1.4.2.
>>>
>>> On the mono-processor computer, javakit works perfectly. On the 
>>> multiprocessor computer, javakit often fails.
>>
>>
>>
>> I just tried this same configuration on a dual processor machine and 
>> javakit works fine every time. The system is not the latest and 
>> greatest. The processors are PII-333s
>>
>>>
>>> Problems are various but it fails about one time out of two. When it 
>>> fails, either javakit window appears very very slowly and slow down 
>>> the whole computer ; or javakit windows doesn't appears at all and 
>>> something like this is printed : plese see below.
>>>
>
> Ok, thanks for testing. In order to find the problem, I would like you 
> to confirm that you have exactly the same configuration, ie same java 
> version, same javakit, same windoze ?

Yes, yes and yes.

> If so, any idea of what could be wrong ? Does the error log I sen't 
> give any usefull information ?

Not specifically.

These two lines point you exactly to the code that is causing the problem:
        at javax.swing.JFileChooser.<init>(Unknown Source)
        at JavaKit.<init>(JavaKit.java:784)

JavaKit creates a new JFileChooser just after spawning a new Thread for 
MacroRunner. Have you tried removing "-macro autoload.mac" from your 
commandline? The source for JavaKit comes with the TINI SDK. You could 
try inserting a long sleep just before the JFileChooser is created just 
to see if it makes a difference.

>
> Thanks,
>                         Xavier
>


-- 
Thomas Chenot

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.