PropTool crash "Address Violation"
hippy
Posts: 1,981
Win XP SP2, PropTool 1.06
"Address violation at address 00000000. Read of address 00000000"
Maybe it's the way I'm working but I'm seeing quite a few of these in recent days. I've tried to find a guaranteed way to cause the crash but no luck so far, but I can see some a common theme -
Two source files open ( so a left and right tab shown )
Source in right tab not edited
Source in right tab has text highlighted and copied
Source in left tab selected
Paste in copied text, more edits, F9 compile tests, save the file
Switch to right tab ( text there still highlighted )
Right-click to bring up pop-up menu
Click "close"
>>Splat<<
It doesn't happen if the above is done immediately after starting the PropTool but it does after working with the left tab for a longer period ( edits, cuts, pastes, F9's, saves ) and once the "Address violation" occurs, opening a second tab and the above steps seem to make it repeatable on demand.
Thankfully it hasn't so far closed the PropTool and lost any work which hasn't been saved.
"Address violation at address 00000000. Read of address 00000000"
Maybe it's the way I'm working but I'm seeing quite a few of these in recent days. I've tried to find a guaranteed way to cause the crash but no luck so far, but I can see some a common theme -
Two source files open ( so a left and right tab shown )
Source in right tab not edited
Source in right tab has text highlighted and copied
Source in left tab selected
Paste in copied text, more edits, F9 compile tests, save the file
Switch to right tab ( text there still highlighted )
Right-click to bring up pop-up menu
Click "close"
>>Splat<<
It doesn't happen if the above is done immediately after starting the PropTool but it does after working with the left tab for a longer period ( edits, cuts, pastes, F9's, saves ) and once the "Address violation" occurs, opening a second tab and the above steps seem to make it repeatable on demand.
Thankfully it hasn't so far closed the PropTool and lost any work which hasn't been saved.
Comments
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
That it doesn't do it all the time ( only on close, and even then not always ) and from the actual error it does look like a standard 'null pointer exception'.
You've given me what I need to duplicate this (I think... haven't tried just yet).· I appreciate it.
And, yes, it looks like a null pointer, probably one pointing to an object that I'm manually destroying but that was "unknowingly" automatically destroyed by another object.· I'm glad to hear it isn't a fatal issue, but I will try to track it down shortly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Jeff Martin
· Sr. Software Engineer
· Parallax, Inc.
New, same fiddling about as above but don't save right tab
Return to right tab ( text highlighted still )
Click close, "Do you want to save ... ?"
No
"Address violation at address 7C918FEA in 'ntdll.dll'. Write of Address 00000010"
Just to BUMP this already old thread, and ask the question again - has this error been resolved (Access violation at·address 0000000: Read of address 0000000)???
IS there a planned schedule for publishing a propeller tool upgrade, and a new revision of the propeller manual?
This error·occurs to me quite frequently, especially after long edit sessions (> 2hours). It's a nuisance, but does not stop me from writing code...
regards,
Christian
Edit: I'm on XP 32 bit, SP3 - and the error occurs mainly when closing the application..
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The future does not exist - we must invent it!
Post Edited (godzich) : 10/16/2008 7:25:44 AM GMT