Jump to content
Sign In to follow this  
Goit

CTD Access violation

17 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Access violation usually means a program tries to write data to a memory address that is already occupied. When SC4 does that, rather that cause more of a fuss, it just politely bows out and shuts down.

Knowing that an access violation has occured will not help you find the reason for the CTD. They are usually, but not always, caused by resource hogging, or conflicting custom content [plugins].

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online: A long, long time ago... 
     

    Originally posted by: tungston Access violation usually means a program tries to write data to a memory address that is already occupied. When SC4 does that, rather that cause more of a fuss, it just politely bows out and shuts down.

    Knowing that an access violation has occured will not help you find the reason for the CTD. They are usually, but not always, caused by resource hogging, or conflicting custom content [plugins].quote>

    Do you know what his original proposed solution was?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    No I don', but you might try the "How to: Identify faulty plugins" stickie in the Bugs and Technical Issures forum.

    It would also help if you listed your computer system, and details of the CTD you are experiencing.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online: A long, long time ago... 
     

    Originally posted by: tungston No I don', but you might try the "How to: Identify faulty plugins" stickie in the Bugs and Technical Issures forum.

    It would also help if you listed your computer system, and details of the CTD you are experiencing.quote>

    Do you know what happend to that thread? Why was his answers chopped off.

    I use 

    Intel E6600

    Gigabyte motherboard

    EVGA 8800GTX

    2GB ram

    Intel and Nvidia should be 100% compatible with the game.

    I have these "access violations" posted in the error logs, and they happen whether with or without any plugins. But otherwise I use only PEG's plugins.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Originally posted by: Goit  Do you know what happend to that thread? Why was his answers chopped off.

    I use 

    Intel E6600

    Gigabyte motherboard

    EVGA 8800GTX

    2GB ram

    Intel and Nvidia should be 100% compatible with the game.

    I have these "access violations" posted in the error logs, and they happen whether with or without any plugins. But otherwise I use only PEG's plugins.quote>

     

    The posting was truncated when ST caught a bug, or was hacked a few months ago.

    nVidia is compatible with the game, but there have been reports of trouble either with the 8xxx series, or the nVidia drivers.  It might be in the settings for graphics card itself.

    What OS are you using?

    Please copy, and paste the first part [20 lines] of the latest exception [error] report.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online: A long, long time ago... 
     

    I use XP home SP3.

    Exception time: 01/04/2009, at 21:38:08.

    Exception code: 0xC0000005 (-1073741819) ACCESS_VIOLATION.

    Current thread ID: 3180 (0x00000c6c).

    Version information:

    Application/module path: C:\Program Files\Maxis\SimCity 4 Deluxe\Apps\SimCity 4.exe

    Application/module version name: SimCity 4

    Application/module version: 1.1.640.0

    System version: Windows NT 5.1

    System memory: 2048 Megabytes total, 1168 Megabytes free.

    Exception module: C:\Program Files\Maxis\SimCity 4 Deluxe\Apps\SimCity 4.exe.

    Exception address: 0x00605065. Section: offset: 0x01:0x001fe065.

    Registers

    EAX: 440a0000

    EBX: 107243e4

    ECX: 016d8000

    EDX: 01372488

    ESI: 00b2354c

    EDI: 000000e8

    CS:EIP: 001b:00605065

    SS:ESP: 0023:0012f7f0 EBP:00000000

    DS:0023 ES:0023 FS:003b GS:0000

    Flags: 00010206

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Incidentally having devil of a job formatting this post - sorry.

    Years ago I used to play SC4 on a relatively lowly spec machine with little or no problems. Got on with real life for a while and recently built a much more powerful rig and thought I'd give SC4 another try - it's a terrific waste of my life.

    Current spec is:

    Athlon 64 X2 6000+

    4Gb SLI-compliant RAM (OCZ) - due to 32-bit OS only 3.2 Gb useable by Windows.

    NVidia 9800 GT (only 1 so far - SLI to come in the future) - Uses latest driver

    OS - Windows XP Pro Service Pack 3 (only 32 bit - sadly 64-bit XP is bugged to death, and I'll NEVER install Vista, maybe Windows 7 in the future).

    2 X 320 Gb 10000 rpm Maxtor (Raid 1).

    Page file: Maximum usage I've ever seen is 558 Mbytes even when system is heavily loaded.

    So, I expected that SC4 would fly on this machine. And it does, however it is really prone to CTD in SC4. Almost never have a problem with any other application - aside from a really buggy application thats supposed to scan Media directories for changes - bloody sony crap (note to self: must buy a new MP3 player).

    The CTD occurs almost exclusively when I click the ... button that expands the UI to allow me to save/exit to region/whatever the other buttons do/ on the bottom of the screen.

    The Exception Report shows:

    Exception time: 03/06/2009, at 21:16:00.

    Exception code: 0xC0000005 (-1073741819) ACCESS_VIOLATION.

    Current thread ID: 2128 (0x00000850).

    Version information:

    Application/module path: F:\Program Files\Maxis\SimCity 4 Deluxe\Apps\SimCity 4.exe

    Application/module version name: SimCity 4

    Application/module version: 1.1.640.0

    System version: Windows NT 5.1

    System memory: 2048 Megabytes total, 2048 Megabytes free.

    Exception module:  F:\Program Files\Maxis\SimCity 4 Deluxe\Apps\SimCity 4.exe.

    Exception address: 0x0096d938. Section43.gifffset: 0x01:0x00566938.

    Notice: System memory - 2048 Megabytes total, 2048 Megabytes free How can that be? Windows XP Task Manager says Memory available 3406252 (+3Gb). Does SC4 have a limit to the amount of memory it will use?

    Well, nevermind that, how can there be as much memory free as there is memory available?

    I've read in other thread about using DATPACKER to compress Plugins folder (~1.2Gb - I love this extra content that makes the game come alive for me), so I'm going to try that

    I've already used Cleanitol to remove un-necessary files, and use it whenever I add new content.

    I've also read about altering the priority of SC4.exe and forcing it to use CPU1 leaving CPU0 free for other stuff. I'm not completely convinced about this but willing to give it a go.

    Has anyone got any idea about this memory report in Exception Report please?

    Anyone got any other ideas how to make this more stable? Any advice will be gratefully received.

    Thanks for taking the time to read this.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Wasn't so impressed with DatPacker - reduced my Plugin folder from 1.21 Gb to 1.14 Gb.

    I suspect this is because I have installed recent STEX/LEX/PLEX stuff that is already packed.

    Going to try again now. Wish me luck 2.gif

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I've been monitoring CPU0 and CPU1 during the last hour while running SC4. Both cores are running ~50% (CPU0 is usually about 60% and CPU1 is about 40%). This is just standard priority.

    I'm not change this priority.

    However, maybe I was a bit premature in my disappointment with DatPacker. In this last hour I've had NO CTD's face-icon-small-smile.gif

    Compare this to CTD's about every 15 minutes or so. Maybe compression is the answer?

    More testing required though.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Diamon -

    just stumbled on this thread, so i'd figure I'd give my two cents as someone that also had CTDs on a dual core.

    as you've found out, yes, DatPacker does indeed work. It's a must-have for plugin users.

    It's my understanding that what it actually does to prevent CTD's is reduce the amount of folders/files that the game has to "pick" through. So although at first glance the actual compression seems minimal, it's really the reduction of the number of actual files that cures the CTD disease.

    It's not completely foolproof, though - one tip: I usually turn off my DSL and my anti-vrus. That, in conjunction with DatPacker, does the trick. Still get the occasional CTD, but they're few and far between.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    slystone2 - Thanks for the clarification about DatPacker. Makes sense.

    In the last 4 hours no CTD's face-icon-small-smile.gif

    So, I'm going to conclude that:

    IF YOU HAVE A PROBLEM WITH CTD's (due to plugins) TRY DATPACKER!!

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Now is there a solution to this when you have a system set up to dual boot? My dual boot configuration is:

    Windows 7 Home Premium 64-bit on the 1TB drive that came with the system (Dell XPS 8300)

    Windows XP Media Center Edition 2005 32-bit on the secondary 240GB drive that came with my old system (Dell XPS 410) - This OS was kept intact specifically for SimCity 4 and other older games I have

    I copied the entire contents of "/Larry Reyome/My Documents/SimCity 4" from my Windows 7 drive, including custom regions and all plugins, over to "/Larry Reyome/My Documents/SimCity 4" on the XP drive. The game started fine, except when I go into my Regions folder on the Region display, the game CTDs with the famous Access_Violation error.

    Since my XP drive currently has no net access, I cannot just go over there and post while on that OS. The lack of net access is caused mainly by the fact that my network card was in production 6 years after XP, and it's now in the list of discontinued support thanks to MicroCrap's decision to stop supporting XP, which led these companies to no longer produce XP drivers.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    The question that leaps to mind is "Did you install the game on both machines?" There are necessary registry entries. Merely copying files doesn't quite do the trick.


    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections