Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing all spots causes an Access Violation #106

Closed
ny4i opened this issue Feb 17, 2016 · 6 comments
Closed

Clearing all spots causes an Access Violation #106

ny4i opened this issue Feb 17, 2016 · 6 comments
Labels
Milestone

Comments

@ny4i
Copy link
Collaborator

ny4i commented Feb 17, 2016

When right clicking on the spot window and clicking to remove all spots, the program faults with an access violation.

The place this stops is in uSport.pas at line 382

function TDXSpotsList.Get(Index: integer): TSpotRecord;
begin
  //  if (Index < 0) or (Index >= FCount) then Exit; //ERROR(@SListIndexError, Index);
  Result := FList^[Index]; // This line faults. It appears that FList^ is not a valid pointer. Try...except?
end;
@ny4i ny4i added this to the 4.46 milestone Feb 17, 2016
@n4af
Copy link
Owner

n4af commented Feb 17, 2016

Thanks for your detective work Tom.

I enabled the commented test, and that circumvents the problem.
I will shortly upload beta-1

Am sure Gavin is in Z land, but perhaps he can review tomorrow.

73, Howie

http://n4af.net

On Tue, Feb 16, 2016 at 8:15 PM, Tom Schaefer notifications@github.com
wrote:

When right clicking on the spot window and clicking to remove all spots,
the program faults with an access violation.

The place this stops is in uSport.pas at line 382

function TDXSpotsList.Get(Index: integer): TSpotRecord;begin
// if (Index < 0) or (Index >= FCount) then Exit; //ERROR(@SListIndexError, Index);
** Result := FList^[Index];**end;


Reply to this email directly or view it on GitHub
#106.

@gm0gav
Copy link
Contributor

gm0gav commented Feb 17, 2016

This is a strange one, I have been trying to replicate on 4.46.beta and
it was all fine until I deleted an individual spot, then did a remove
all spots.

Will have a look tonight

73 Gav

@n4af
Copy link
Owner

n4af commented Feb 24, 2016

Gavin -

Can this be closed ? Tks, Howie

@ny4i
Copy link
Collaborator Author

ny4i commented Feb 24, 2016

I saw a related issue. When I cleared the band map, the display changes to
strange characters momentarily. It's as if the band map is cleared but a
final display shows strange characters.

Principal Solutions Architect
Better Software Solutions, Inc.
727-437-2771

On Feb 24, 2016, at 7:25 AM, Howie Hoyt notifications@github.com wrote:

Gavin -

Can this be closed ? Tks, Howie


Reply to this email directly or view it on GitHub
#106 (comment).

@gm0gav
Copy link
Contributor

gm0gav commented Feb 25, 2016

On 24/02/2016 12:25, Howie Hoyt wrote:

Gavin -

Can this be closed ? Tks, Howie


Reply to this email directly or view it on GitHub
#106 (comment).

I am sure this can be closed

@ny4i
Copy link
Collaborator Author

ny4i commented Feb 25, 2016

I will turn this into another one then. The flash of garbage characters is a bug. I was thinking since it was related to clearing all that we could use this issue but it’s easy to open another one.

Thanks,

Tom

Principal Solutions Architect, ITIL®v3
Better Software Solutions, Inc.
727-437-BSS1 (727-437-2771)
@BSSI_Consulting

On Feb 25, 2016, at 3:48 PM, gm0gav notifications@github.com wrote:

On 24/02/2016 12:25, Howie Hoyt wrote:

Gavin -

Can this be closed ? Tks, Howie


Reply to this email directly or view it on GitHub
#106 (comment).

I am sure this can be closed

Reply to this email directly or view it on GitHub #106 (comment).

@ny4i ny4i added the bug label Feb 26, 2016
@n4af n4af closed this as completed Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants