Re: [ARMini-support] Errors/freezes (longish)

  • From: Chris Johnson <chris@xxxxxxxxxxxxxxxxxxxxx>
  • To: armini-support@xxxxxxxxxxxxx
  • Date: Sat, 24 Mar 2012 18:51:24 +0000 (GMT)

Well, I think I am getting there.

I rebooted, recorded the initial system heap size of 148K, and left
it running. After about an hour and 10 mins the heap had increased by
36K and was slowly going up.

In the meantime, I had a private email from one DP who prodded me
into doing a bit of deeper digging.

I knocked up a very simple Basic programme that simply read the start
address and current size of the system heap and then saved the heap
contents to disc.

After a quick test on the Iyonix, I ran it on the ARMini.

On examining it, you can see it has a large block of data that is
full of bits of text strings of the form 'SCSI::1.$' and 'SCSI::2.$'
with other bits mixed in. The approx size of this part of the heap is
40K, similar to the amount the heap had grown (it was near the end of
the heap, followed by some zap related stuff which I had run in order
to use a taskwindow to do these tests).

This, I think, implicates the little !NewIcons app which is run by
default to put the 'nice' icons on the ibar. If you look at the
source of this app it runs a function at every pollidle which
constructs strings of the form 
  D$="SCSI::"+STR$N%+".$" and then calls OS_FSControl 37 to convert
this to the canonical form. It looks as if it is this that is
continually leaking memory.

I will check further by
(a) allowing the ARMini to continue 'doing nothing' for an hour or so
and then see what has been added to the system heap
(b) rebooting, and immediately kill the !NewIcons task and see if
that eliminates the problem.

-- 
        Chris Johnson
---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/armini-support
List-related queries to support@xxxxxxxxxxxx

Other related posts: