Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5769
| From | Martin <News03@avisoft.f9.co.uk> |
|---|---|
| Subject | Re: Strange crash |
| Newsgroups | comp.sys.acorn.programmer |
| Date | 2019-06-12 12:39 +0100 |
| Message-ID | <57c2f29f88News03@avisoft.f9.co.uk> (permalink) |
| References | <c77d7cc257.Alan.Adams@ArmX6.adamshome.org.uk> <ef95b48a-7867-4aba-b1a7-193384b51ad0@googlegroups.com> |
| Organization | None |
On 12 Jun in article
<ef95b48a-7867-4aba-b1a7-193384b51ad0@googlegroups.com>,
Coleman <coleman@orpheusmail.co.uk> wrote:
> Hi Alan, the reason why it crashes is because when it tries to
> execute the LDMIA R0!,{R1,R5} at FC19D280, the address in R0 is not
> word aligned.
> But what R0 points to by that point I've no idea - the source code
> for that SWI is written in C.
> Might be worth posting on the ROOL forums.
Alan gives no clues as to what version of RISC OS, BASIC or Internet
modules are being used, which might help.
Reporter should have shown the BASIC line number of the abort ...
although no line numbers are given for the code.
I am not sure if the Socket C code is relevant, as the abort seems to
be in the BASIC module, just after LOOKU1 label. This is involved in
looping round the BASIC variable chains.
r0 & r1 seem to contain "%MI:" which looks wrong, as it is being used
as an address that should be the next variable in the chain. It may
be followed in storage by r5, which is "SE[00]%" and should be
characters 2-5 of the variable name (I think).
My suspicion is that something in Alan's program has overwritten
storage, which has corrupted one of the variable chains
Or I may be barking up the wrong tree totally.
Martin
--
Martin Avison
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received.
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Strange crash Alan Adams <alan@adamshome.org.uk> - 2019-06-11 15:08 +0100
Re: Strange crash Coleman <coleman@orpheusmail.co.uk> - 2019-06-12 03:41 -0700
Re: Strange crash Martin <News03@avisoft.f9.co.uk> - 2019-06-12 12:39 +0100
csiph-web