Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Toejam
Mon, 23 Nov 1992 14:55
Help: memory access error message.
Author: Toejam
Date: Mon, 23 Nov 1992 14:55
Date: Mon, 23 Nov 1992 14:55
42 lines
1644 bytes
1644 bytes
Aloha.
I have a simple program which parses some reports. The user can
select the order in which the data is parsed. For each field
to be parsed a separate function handles the specifics of how to
parse that data.
I have a switch statement which goes like:
switch (parsefield)
{
case afield:
[self parseafield];
break;
case bfield:
[self parsebfield];
break;
.
.
.
}
The interface has blocks of fields: a header data block, a mean data
block, a standard deviation block, and a summary block.
The program parses the header data block fine.
When it gets to any field outside of the header block I get the
following message:
Program generated(1): Memory access exception on address 0xfff734 (invalid
address).
-[ReportParser parsemcallperiod] (self=0xb6ad0,
_cmd=Cannot access memory: address 0xfff748 out of bounds.
I am clueless as to why the program is trying to call on address
0xfff734. I am clueless as to why the program will parse all the data
in the first block but not any of the other blocks.
Any help you guys can pass my way would be most appreciated.
Toejam
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads