Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

Person82, waucott, Hap, Meld, Galatea45699, Kage, Djennison, Dionysusnu, postal (9 users seen recently)

Bug: Access Violation in OneNormalSecond

You are here: Home > Forum > Simulations > Released > Carlisle > Bug: Access Violation in OneNormalSecond

Page 1 of 1

Bug: Access Violation in OneNormalSecond 19/12/2012 at 17:12 #39405
Forest Pines
Avatar
525 posts
Hello!

A fun crash whilst trying to post a sticky note: an exception in OneNormalSecond causing a message box to pop up once per second.

The full message is:
Recursive bug report: Exception in OneNormalSecond:TRN (EAccessViolation: Access violation at address 00524C1F in module "Carlisle.exe". Read of address 00000000)

Looks like some sort of null pointer dereference. Here's a screenshot - annoyingly, a new message box was animating into life at the screenshot was taken making it a slight pain to read.


Post has attachments. Log in to view them.
Last edited: 19/12/2012 at 17:13 by Forest Pines
Log in to reply
Bug: Access Violation in OneNormalSecond 19/12/2012 at 18:38 #39408
TomOF
Avatar
452 posts
Thanks for this. I've had a few similar issues reported recently. Very hard to tie down but the reported error message is usually the same.
I've been looking for a while after dealing with other bug fixes.

Suffice to say this is the major issue preventing a re-release. Apologies for any inconvenience caused.

Log in to reply
Bug: Access Violation in OneNormalSecond 19/12/2012 at 19:20 #39409
postal
Avatar
5264 posts
Online
Problems have been reported with Lime Street (see this thread), generating a different error report but again tied up with sticky notes. Clive thought he might know what was causing that problem. Don't know whether there is any connection with this one.
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Bug: Access Violation in OneNormalSecond 19/12/2012 at 22:08 #39417
clive
Avatar
2789 posts
Certainly looks like a null pointer dereference.

Are you able to reproduce it? Perhaps by going back to a saved game and trying the same thing again? I suspect it may be timing dependent.

Log in to reply
Bug: Access Violation in OneNormalSecond 20/12/2012 at 09:46 #39422
GoochyB
Avatar
222 posts
I had the same a few times - I took to saving regularly to try to reproduce it, but it didn't happen at the same time or even as far as I could see on a consistent event the next time around. It stopped happening at all later on in the "day" - after mid-morning sim-time.

I don't think I had done anything specific with stickies when it triggered (although I suppose I might have been scrolling the screen with one moving/coming into view)

Last edited: 20/12/2012 at 09:47 by GoochyB
Log in to reply
Bug: Access Violation in OneNormalSecond 20/12/2012 at 20:51 #39449
Forest Pines
Avatar
525 posts
" said:
Certainly looks like a null pointer dereference.

Are you able to reproduce it? Perhaps by going back to a saved game and trying the same thing again? I suspect it may be timing dependent.
Unfortunately it was quite a while since I'd last saved, so replaying is unlikely to reproduce anything that is finickally timing-dependant because the game will probably be fairly different when it reaches that point. However I'll keep an eye out if it does come up again.

Log in to reply
Bug: Access Violation in OneNormalSecond 20/12/2012 at 23:46 #39453
Forest Pines
Avatar
525 posts
I've now had it happen twice more, always within a few minutes of 5am sim time, but never at exactly the same time, and if it is the same event triggering it it's not in the area I'm concentrating on running at the time. It's not linked to sticky notes.
Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 00:48 #39456
Forest Pines
Avatar
525 posts
Bah, forgot to attach the save!
Post has attachments. Log in to view them.
Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 09:02 #39461
postal
Avatar
5264 posts
Online
I can't remember it ever happening on a test version of the sim (although my memory could be fallible). Is there anything in the process of compiling a sim for release rather the developer sending out a test version that changes anything?

There is certainly something about the process for compiling a release version that changes things. As another example, I don't think I've ever had the problem of the splash screen hanging on a test version but I have to set the compatibility mode to W2000 to avoid this problem for a number of the released sims (including the latest batch of McSims from Peter).

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 12:45 #39470
TimTamToe
Avatar
664 posts
" said:
I've now had it happen twice more, always within a few minutes of 5am sim time, but never at exactly the same time, and if it is the same event triggering it it's not in the area I'm concentrating on running at the time. It's not linked to sticky notes.

I remember getting the same report around 5am too - but forgot to get screen grabs at the time.

I like Forest Pines am not sure what was the trigger. If it happens again I'll screen grab / save etc

Gareth

Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 14:24 #39474
TomOF
Avatar
452 posts
May I ask what OS you are running on?

Was there anything else unusual going on at the time?

I have never once managed to re-create this bug for myself, so I am trying to cover all scenarios.

Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 15:28 #39478
TimTamToe
Avatar
664 posts
" said:
May I ask what OS you are running on?

Was there anything else unusual going on at the time?

I have never once managed to re-create this bug for myself, so I am trying to cover all scenarios.
windows 7 Tom. And I was using the 1980's TT with TORR on and conditional aspects on and max of 2 failures. I'm not sure if I was writing a sticky note or not at the time but I know Carlisle station area was busy at the time and pretty sure I was using shunt moves involving the shunt neck at Carlisle and sidings A & 1, 2.

I hope this helps you a bit.

Gareth

Last edited: 21/12/2012 at 15:29 by TimTamToe
Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 16:13 #39482
Forest Pines
Avatar
525 posts
Same settings and OS here - and you can see from my screenshot there wasn't much else running on three PC at the time.
Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 16:40 #39485
clive
Avatar
2789 posts
Quote:
I can't remember it ever happening on a test version of the sim (although my memory could be fallible). Is there anything in the process of compiling a sim for release rather the developer sending out a test version that changes anything?
Yes, there is. But I don't think that's likely to be the cause of this. More likely it relies on a race condition in the code (that is, two things have to happen in just the right order and close enough together to tickle the bug).

Last edited: 21/12/2012 at 16:41 by clive
Log in to reply
The following user said thank you: postal
Bug: Access Violation in OneNormalSecond 21/12/2012 at 16:41 #39486
clive
Avatar
2789 posts
" said:
May I ask what OS you are running on?

Was there anything else unusual going on at the time?

I have never once managed to re-create this bug for myself, so I am trying to cover all scenarios.
Understood. However, I strongly suspect that the problem is inside the code, so won't be affected by the OS version or what else is running.

Log in to reply
Bug: Access Violation in OneNormalSecond 21/12/2012 at 16:42 #39487
clive
Avatar
2789 posts
" said:

I remember getting the same report around 5am too - but forgot to get screen grabs at the time.

I like Forest Pines am not sure what was the trigger. If it happens again I'll screen grab / save etc

Gareth
For this specific problem, we don't need screen grabs. The exact text of the message might suffice. A save immediately after it happens might be useful.

Log in to reply
The following user said thank you: TimTamToe
Bug: Access Violation in OneNormalSecond 21/12/2012 at 23:18 #39509
Forest Pines
Avatar
525 posts
Bah - now it's getting weird.

I came on today with the aim of reproducing the bug and trying to capture a save afterwards, if possible (the modal dialog once per second would make it tricky). However, it refused to run at all, claiming the system files weren't installed (they were). I uninstalled then reinstalled the system files - the same version of them - and now, I can't reproduct the bug!

Log in to reply
Bug: Access Violation in OneNormalSecond 22/12/2012 at 12:36 #39533
TimTamToe
Avatar
664 posts
Hi guys

It occured again for me at 11pm (sim time) with the following error code

"Recursive bug report Exception in OneNormalSecond TRN (EAccess Violation: Access Violation at address 00524C1F in module Carlisle.exe read of address 00000000"

I have a save (attached) immediately after I'd cleared the pop up messages

Gareth

Post has attachments. Log in to view them.
Log in to reply
Bug: Access Violation in OneNormalSecond 24/12/2012 at 16:46 #39631
Mynnyddog
Avatar
6 posts
Hi Guys,

I too have had the same error message at 1616 sim time. I had just done a save before it happened and it has done each time I have started the sim from that save.

I noticed that immediately before the error message pops up the text on the sticky note I had is wiped (for CLST7 at Upperby through goods). It doesn't seem to have affected any of the sticky notes in this way as far I can tell.

Really great sim though so big thanks to all of you have put lots of hard work in.

Have a good Christmas one and all.

Dave

Log in to reply
Bug: Access Violation in OneNormalSecond 24/12/2012 at 19:50 #39636
TomOF
Avatar
452 posts
Hi.
Please could you attach the save?

Cheers

Log in to reply
Bug: Access Violation in OneNormalSecond 25/12/2012 at 11:14 #39652
Mynnyddog
Avatar
6 posts
Hi

I've attached the file as requested. Hope it helps.

Dave

Post has attachments. Log in to view them.
Log in to reply
Bug: Access Violation in OneNormalSecond 03/12/2013 at 16:38 #52358
clive
Avatar
2789 posts
" said:
Hello!

A fun crash whilst trying to post a sticky note: an exception in OneNormalSecond causing a message box to pop up once per second.

The full message is:
Recursive bug report: Exception in OneNormalSecond:TRN (EAccessViolation: Access violation at address 00524C1F in module "Carlisle.exe". Read of address 00000000)

Looks like some sort of null pointer dereference.
I now have reason to suspect it's to do with trains leaving the sim or joining. If anyone's still seeing this problem, do you know if either of those were happening at the time? But I can't see why it would be specific to Carlisle.

Log in to reply
Bug: Access Violation in OneNormalSecond 03/12/2013 at 16:43 #52359
TomOF
Avatar
452 posts
We no longer get this error on the Loader version being prepared for release.
It was always triggered when a certain train left the simulation but was very hard to recreate as certain trains had to be in certain places.

Log in to reply