[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Occasional crash with StrongMen



In message <c3ff646f54.pnyoung@xxxxxxxxxxxxxxxxxxxx>
          Peter Young <pnyoung@xxxxxxxxxxxx> wrote:

> On 1 Dec 2014  Fred Graute <fjgraute@xxxxxxxxx> wrote:
>
> > In message <a825186f54.pnyoung@xxxxxxxxxxxxxxxxxxxx>
> >           Peter Young <pnyoung@xxxxxxxxxxxx> wrote:
>
> >> On 29 Nov 2014  Fred Graute <fjgraute@xxxxxxxxx> wrote:
>
> > [Occasional StrongMen aborts on Menu click at left edge of screen]
>
> >>> If it is 1.27b3 then next time the abort happens could please you do a
> >>> *ShowRegs in a TaskWindow and send me the output. It might yield some
> >>> clues as to what the cause is.
> >>
> >> Alas, it happened again yesterday evening with 1.27 b3
> >>
> >> 30 Nov 22:34:27 000 80000002: Error from (unknown): Internal error:
> >> abort on data transfer at &0000A320
> >>
> >> *showregs
> >> Register dump (stored at &2000AE30) is:
> >> R0  = 0001F73C R1  = 00237C40 R2  = 01909BDB R3  = 205984A4
> >> R4  = 00000800 R5  = 00000010 R6  = 00000002 R7  = 0001F73C
> >> R8  = 01909BDB R9  = 00237C40 R10 = FA208000 R11 = FA207F5C
> >> R12 = 0000DE28 R13 = 0000F2E0 R14 = 0000B744 R15 = 0000A320
> >> Mode USR32 flags set: nzcvqjggggeAift        PSR = 00000110
>
> > Thanks, that very useful. It's aborting on the address in r0 which
> > should point to the start of the loaded StrongMenu file. The address
> > does look a bit too big, my StrongMenu file is loaded at about &18800.
>
> > It may be that your StrongMenu file is much bigger leading to a larger
> > menu (which stored below the StrongMenu file) causing the address to be
> > bigger. So question is; How large is your StrongMenu file?
>
> Right now my StrongMenu file is weighing in at 47K,

That's about twice the size of mine and so the menu produced will also
be bigger. If it's bigger than 32k it will cause the flex block with the
StrongMenu file to be moved down when the menu is deleted.

This means that the value in r0 is no longer valid and can lead to an
abort. Solution is to read the start address of the StrongMenu file
after the menu has been deleted.

> Now, should I manually trim this part of the menu down to a more
> sensible size, to see if this solves the problem?

No, no need as I've now found, and fixed, the problem.

> Thanks anyway for worrying about this!

No problem, thanks for reporting this issue!

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html