Jump to content
Sign In to follow this  
A Nonny Moose

Closing in on CTD causes.

10 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hey guys, I got a segmentation fault while running today.  This is proof of what I have always suspected that the program takes wild jumps.  When this occurred, I did not get the usual exception report becuse my O/S took the program down immediately.  I am now going to run with the segmentation debugger which will eventually, the next time it happens, give me a stack trace and some other good stuff.

You could say that we got a Christmas present.

I am starting to think that the program somehow messes up its tables and some vector gets clobbered.  In this case it tried for a non-existent page table.  All it sould take would be to zero out a branch address, and the whole program gets killed by the Linux kernel.

More info:  In another crash I hit a null pointer.  The sequence of events is this:

Null pointer dereft causes an entry to the Standard Error Handler (MS's), which tells the program that it has had it, the program raises an L"6" error which usually causes your your exception report output, then raises an L"7" which is probably a panic shutdown.


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
  • Original Poster
  • Posted:
    Last Online:  
     

    Hi folks,

        I need to collect more information on these crashes.  I've been noting what I am doing in the game when it happens.  Sometimes it is out of the blue when I am just watching the animation, but most often it seems to occur when I am doing little cleanup chores with the road network.

    Not counting crashes caused by puzzle pieces, has anyone noticed exactly what you are doing when you crash?


    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
    Posted:
    Last Online:  
     

    99.9942% of my CTD's disappeared when I set the CPU affinity to 1 CPU (like 70-80% of modern computers mine is a multi-core). The only CTD's I get now are caused by puzzle piece contact implosions.

    The CTD's before I set the CPU affinity were almost always caused by changing zoom levels or scrolling too fast.

    Share this post


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

    my game always crash when i zoom in or out and move the camera right after it. It started to happen now, idk why. Any tips?

    "99.9942% of my CTD's disappeared when I set the CPU affinity to 1 CPU (like 70-80% of modern computers mine is a multi-core)."

    My CPU is a core I3, if that helps.

    Share this post


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

    im not all tech geeky like you nonny

    summarize this in a short 6- 17 word sentence28.gif

    [ i think your trying to say that you can solve the CTD problems? ]


    Space for rent

    call 1-800-sig-need ext.help

    Share this post


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

    I'm intrigued. I've never had a CTD aside from the TE tile over TE tile issue (puzzle piece contact implosion).

    I'm curious too what you expect to actually find as the cause and what you think you can do to "fix" it. I suspect

    the problem is in the executable, and even with a dis-assembler to find the right machine instructions, how would

    you be able to fix the code ?


    Believe in only what you can prove.

    Share this post


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

    Mine crashes when I pause the game to add rewards, tune up the road network or adding more lots then click x1, x2 or x3 speed it freeze’s for a couple of seconds then crashes to the desktop.

    My Computer Specs are: 4GB DDR3, 1TB HDD, 2.70GHz E5400 Intel -Dual Core Over Clocked and 1GB DDR3 of Shared Graphics Card

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    I'm intrigued. I've never had a CTD aside from the TE tile over TE tile issue (puzzle piece contact implosion).

    I'm curious too what you expect to actually find as the cause and what you think you can do to "fix" it. I suspect

    the problem is in the executable, and even with a dis-assembler to find the right machine instructions, how would

    you be able to fix the code ?

    it's illegal for an outsider to fix the code, but if one handed the code on a platter to EA, maybe they might do something. I always believe in the faint hope clause. Besides, I'm retired, so I have a lot of time to think about this.

    Thanks everyone.

    By the way, I never had CTD's other than the TE ones when I was running XP. I made a test on the affinity thing, and found no difference. Right now, I think it is my platform not being complete. I am on Linux with wine 1.3.14, which is more stable than the last beta.


    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