ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Single player bugs
Crash To Desktop (CTD): Causes and Treatment - A NatVac FAQ

1 2 3
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  00:18:51  13 September 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
 

Message edited by:
NatVac
09/13/2007 2:53:57
Messages: 4221
Crash To Desktop (CTD): Causes and Treatment - A NatVac FAQ

You have a problem. Maybe we can help. You can help yourself by helping us help you.


1. Give us a clue that you have a clue. Before you post anything, do your homework.

Search the forums and the Internet for the possibility that others are also experiencing your problem, and they may already have been helped, with exactly the answer you seek. If you are using the forum's search facility, consider extending the search range by changing the default of "10 days" to "All the time".

You can also use Google to search this forum by adding the following to the search terms, after a space:

 site:http[i]:[/i]//www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr


Read the stickies in the "Single Player Bugs" section, especially Decane's "A Guide To Help Eliminate Stutter!" A major solution to many CTD problems is simply to increase one's pagefile size (step #10).

Got Vista? Got growing pains. About five percent of computer users are using Vista, but they make half of the bug reports. Microsoft and the video card manufacturers are still refining their software, and have recently provided updates for improved gaming. Search for Mad Murdock's or jmb's posts, starting with this thread:

"Vista Quicksave (and maybe some others) Crash - Fix"
[link]https://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr&thm_id=10328&sec_id=12[/link]


2. Find your log file.

STALKER uses two places on your hard drive to store information. The game and associated resources are in the STALKER installation directory, which by default is on the C: drive in the \Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl\ directory.

The saved games and logs are on the C: drive by default in the STALKER-SHOC subdirectory. In Vista this subdirectory is under \Users\Public\Documents\ while in XP this is found in \Documents and Settings\All Users\Documents\. You can also access this directory by entering %ALLUSERSPROFILE%\Documents\STALKER-SHOC in the Windows Explorer address bar.

The latest error log, called xray_<your_user_login>.log* is under STALKER-SHOC in the logs\ subdirectory, while the saved games are stored in savedgames\.

*<your_user_login> is usually your name, the one you see at the top of the menu when you click on the start button on the taskbar in XP. If your user name is Robert, for example, then you would find a file named xray_Robert.log.

At the end of that file is usually a section that starts with "FATAL ERROR" and has lines beginning with "[error]". Include those lines in your post to give us an idea of what is wrong. Sometimes there is only a single error line, but it might be enough.


3. Determine the category of your problem.

Think about the possible type of problem it might be, with the information you see below.

a) Hard lockups are usually due to a hardware problem. Use MEMTEST86 or the "plus" version to test your memory; see the [link]http://www.memtest.org/[/link] website. Update drivers for all components; sometimes older drivers are better.

b) CTD errors involving xrCore.dll are usually due to a driver and/or hardware problem. Other causes are attempts to re-initialize hardware resources, caused by bad mods or duplicated lines in fsgame.ltx. Updating drivers for video cards and sounds cards (especially if you have a Creative sound cards) have fixed some crashes.

c) CTDs when mods are involved.

d) Any other kind of CTD.


4. Post in the right place.

Are you running any mods? Problems while running a mod or mods are most likely due to the mod or mods. You should post in the correct forum for that mod. If that mod was downloaded from FileFront, for example, you should first look there for support. If the mod is listed in the Mod Downloads section here, post in the Mod Discussion forum section, in the corresponding thread for the mod.

Read the forum section's rules before you post. Misplaced posts will lower your reputation and make us think you are semi-literate, having an ability to write without a corresponding ability to read.

Do not post in another's thread unless you are having the same problem. Create a separate thread for your problem, and please, please, PLEASE give the post a meaningful title, like "Unusual CTD in Army Warehouses", and NOT "Problem" or "Question".

Especially don't post your problem in this thread!


5. Post with the right info.

In your post, please include the following information:

    PC particulars: processor, amount of RAM, video card, sound card (even if "on-board" )
    Operating system with version (e.g., XP Professional - SP2, Vista Home Premium)
    STALKER locale and version info (e.g., world-wide patch 1.0004, US 1.0)
    What mods, if any.
    The level where the problem occurred.
    The log file "FATAL ERROR" section, and [b]ONLY that section[/b], unless requested.
    A [i]brief[/i] description of what you were doing when the crash occurred.
    Anything that you think might be useful for us to know.


Please don't post the DXDIAG info unless requested. That request is outdated.


6. Be courteous. And give us some time to respond.

We are almost all volunteers here. Please don't double-post unless you have received no response in a couple of days, and understand that some might not reply if they don't have an answer.

No, it's not against the rules to be a jerk. But it's not against the rules to not answer jerks.


7. Feedback is very, very useful to us -- and others!

Please tell us what worked if a suggestion solved your problem, or if it didn't. You will be helping others when you do this, and we won't be left wondering what happened.

______________
If you have anything constructive to add to this thread (e.g., to correct errors), please feel free to do so, but remember the topic's purpose in your post. Thanks for reading!

Edited: Forum makes non-links into links, which breaks subsequent valid links. Bad forum, bad!

Search keywords: CrashToDesktop, NatVacFAQ, NoCureForSemiLiteracy
  02:06:33  20 September 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4221
Some additional qualifications about the log file (step 2):

The file might not have the extension ".log" because it is already associated with Notepad or other editor, and you have "hide extensions for known file types" checked on Windows Explorer's Folder Options dialog, View tab, in the "Advanced Settings" box.

In that case, you can just double-click the file in Explorer to open it.
  12:07:00  20 September 2007
profilee-mailreply Message URLTo the Top
Gilgamesh_Uruk
Senior Resident
 

 
On forum: 04/23/2007
Messages: 549
Thanks NatVak for your restless state, Thank you.
  07:27:57  27 September 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4221
Add to section 3):

e) CTDs when upgrading to a new patch: If you see "Rebuild Spawn", you are likely using an incompatible save with your version of the game. This might be caused by playing with a patched game, but loading a saved game created in the retail game. It might also be caused by using a mod that isn't compatible with your game version.

Thanks, Gilgamesh_Uruk. From you that is a great compliment.
  10:17:08  27 September 2007
profilee-mailreply Message URLTo the Top
fatrap
The Wrinkled One
(Resident)

 

 
On forum: 08/01/2007
Messages: 2279
NatVac, I don't think you realize how much we appreciate the work you do for us. Many, many thanks!!
  14:36:21  5 October 2007
profilee-mailreply Message URLTo the Top
drivetheory
(Senior)
 
On forum: 06/11/2007
Messages: 56
nice post NatVac!

it's amazing how many threads i read where the person doesn't include their log file in their post when they are needing help finding a soution to a crash or similar problem...

wish you could make the "2. Find your log file. section title blink and glow and play music and tap dance or anything to get people's attention...

it would be awesome if there was a 'locked' sticky on page 1 of this forum section that gave guidelines for "how to ask for help / find a solution for a problem" where only a few senior people / mods could post error conditions with links & solutions only...

the "Problems -> Solutions (Make it easy)" almost does this, but there are WAY too many posts of comments in between the posting of solutions / links...
  07:29:52  8 October 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4221
Bluesman posted a tip elsewhere that mentioned a useful command line parameter: "-silent_error_mode". This will avoid some hard lockups that occur after the game has already written to the log file. It simply shuts the game down after an error occurs; you don't see the Bug Trap dialog with this parameter added to the end of the target on the shortcut you use to launch STALKER.

Edit: This will create a fairly large (~400KB) zipped file in your directory when it does crash, consisting of the crash dump and log data. You may have to remove these from time to time, although it is nice to have a copy of the original error log, since STALKER overwrites the log each time you start the game.

To use this tip: Right-click on the shortcut you use to launch STALKER. Select "Properties". On the Shortcut tab of the dialog that appears, click in the Target field, press the END key, type a space followed by "-silent_error_mode" (without the quotes). (Remember to separate parameters by spaces.)

Thanks for the feedback, Fatrap and drivetheory! Yes, the log file info is probably the most important. And folks do tune out very quickly, especially when it's mostly "noise". Even the first post here is too long, in retrospect, but I can no longer edit it...
  06:05:27  6 November 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4221
When posting on this forum, please be aware that the software this forum uses is very quirky. Posting verbatim excerpts from your log file will have smilies where there should not be any, and will be missing backslashes.

Here are some forum behavior workarounds:

To use a backslash, escape it; use two backslashes in a row, even in text formatted with [pre][/pre]. Editing your post removes backslashes; you'll have to add them back in. You can't edit your post after a few days.

I put "[i][/i]" in between a double quote and a close parenthesis, and between a colon and just about anything else, to avoid the smilies. To get a plus sign (+), I put in the escape code for it: &#x2B; -- even in formatted text.

The "D" in the word "don't" is always lowercased. And you can't directly say "Cordon" followed by "trader" without automatically getting an apostrophe between them. You can use the same "[i][/i]" separator trick to fake out the forum software.
  17:00:04  5 July 2008
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4221
This is a minor update: The forum software has been revised, so some information I posted earlier in this thread now has formatting characters that are no longer supported. Please ignore them. Backslashes no longer need to be escaped with another backslash in paths, and the colon followed by a backslash is no longer treated as a smiley.

Please ask your mod-related bug questions in the Mod Discussion section of this forum. Again, please don't post bug reports in this thread.

You can now print a plus sign (+) directly, although you can still use %2B or &#x2B; as well. Lots of good improvements should make posting about your problem a little easier.

And the uptake of Vista is expected to increase now that its predecessor has been taken out back and shot.

¯¯¯¯¯¯¯¯¯¯
A Fable to Relate the Answer to a Common Problem

The cry of fathomless pain behind me sent an electric chill of fear down my spine. I turned in dread, and there I saw it languishing amidst the towers of amassed Knowledge in the vast hall, wailing in bewilderment: a Nymlit.

Oh, it looked human, but I knew it for what it was, a creature that could not read text unless its name was present. Perhaps in another Age, it would have acquired the critical skills of Reading Comprehension and Thinking, but here it starved in the midst of plenty, a Millidiot with techno-induced ADD.

"Help me!" it cried with an omnidirectional broadcast. I could have turned and run, or cloaked, letting another mercifully apply a salve of healing. But I saw the putrefying sores that beset the Nymlit, and knew the complex alchemy of ill-matched mods and patches that had wreaked such havoc. My heart sank.

I could still escape; the Nymlit was unaware of me and did not yet know my name. But its emanations were great, and someone would valiantly try to help; this place is filled with kind souls. Perhaps they would succeed. Perhaps.

Or perhaps they would be overwhelmed by the strength of the fog-like miasma pouring from the sores, not knowing that their wisdom was indeed true but simply not enough. My name would then be uttered in an incantation to invoke my presence. Who could blame them? For I was a relatively-rare beast among the strong technomages here, openly sharing my gift of deep understanding even though I did not ken the Cyrillic runes.

Armed with the Nymlit's name, I connected to its extended tendril, choosing in my abysmal conceit to ignore the threat assessment warning that appeared on the neural link. I can solve this problem, I thought. Maybe I can even break down some of the Nymlit's barriers and help it to help itself.

"You found the log file, and reported the [error] lines at the end that told you what your problem is: hFile>0. Now search on this site for that error (here, hFile>0) with the search range set to 'All the time'. Or use Google with the site:gsc-game.com parameter. Also search the Internet in general."

But the dialog went nowhere; the Nymlit could parrot the words of wisdom it found in the towers of Knowledge with my instruction, but it could not understand them. In frustration I abandoned the attempt to explain the answer-finding tools to the Nymlit, and yielded the answer it implacably demanded:

"You have a mod that is incompatible with the patch version you are using. You might be able to fix it by setting current_server_entity_version in system.ltx to the correct value for the patch you are using (6 for patch 1.0004 and 7 for patches 1.0005 and 1.0006), but all saves made while the value was wrong will not work. You might still have problems due to other incompatibilities; contact the mod author if so."

"It doesn't work," came the reply after a suitable pause. Exasperated, I asked, "What doesn't work?" Said the Nymlit, "It doesn't work."

The subtle contamination of my logic processing center was complete. It fractured like glass and imploded. Just before I collapsed into a quivering, burbling mass of weepy protoplasm, I realized the threat assessment warning had said, "Remote end does not pass Turing test."

Edit: P.S. If you actually read this, you already know you are not a Nymlit by definition.

__________
Sorry, there is no "reload last save" in RealLife 1.0.
  04:52:06  6 July 2008
profilee-mailreply Message URLTo the Top
busetibi
Necroscope
(Resident)

 

 
On forum: 09/10/2007
Messages: 1322
bwahahahah, great post NatVac
  07:36:30  7 July 2008
profilee-mailreply Message URLTo the Top
Stierlitz
Senior Resident
 

 
On forum: 05/25/2007
Messages: 6852
lol

Nice one.
  02:40:07  4 August 2008
profilee-mailreply Message URLTo the Top
fiznerpin1962
Senior Resident
 

 
On forum: 08/30/2007
Messages: 208
So, Nat. You write good fiction for a living, do you?
  01:55:14  20 April 2009
profilee-mailreply Message URLTo the Top
Nastradoomus
(Novice)
 
On forum: 04/20/2009
Messages: 3
I'm using Vista Home Premium Service Pack 1. And I keep getting a crash to desktop when I load any of my saved games. It didn't happen at first I had no mods installed and the game worked every time. Then I installed a weight mod and it still worked...for several weeks then out of nowhere it starts crashing again.

This is what I get in the log under fatal error

[error]Expression : hFile>0
[error]Function : FileDownload
[error]File : E:\stalker\sources\trunk\xrCore\FS.cpp
[error]Line : 106
[error]Description : c:\program files (x86)\steam\steamapps\common\stalker shadow of chernobyl\gamedata\config\

Now i had a CTD problem before and I cleaned my registry and did other things to remove everything SoC related from my pc and the game worked but that was a tedious process and dont want to have to do it again
  02:11:51  20 April 2009
profilee-mailreply Message URLTo the Top
busetibi
Necroscope
(Resident)

 

 
On forum: 09/10/2007
Messages: 1322

---QUOTATION---
I'm using Vista Home Premium Service Pack 1. And I keep getting a crash to desktop when I load any of my saved games. It didn't happen at first I had no mods installed and the game worked every time. Then I installed a weight mod and it still worked...for several weeks then out of nowhere it starts crashing again.

This is what I get in the log under fatal error

[error]Expression : hFile>0
[error]Function : FileDownload
[error]File : E:\stalker\sources\trunk\xrCore\FS.cpp
[error]Line : 106
[error]Description : c:\program files (x86)\steam\steamapps\common\stalker shadow of chernobyl\gamedata\config\

Now i had a CTD problem before and I cleaned my registry and did other things to remove everything SoC related from my pc and the game worked but that was a tedious process and dont want to have to do it again
---END QUOTATION---



I would suggest you read the "A Fable to Relate the Answer to a Common Problem" by NatVac about four posts up, he mentions the hFile>0 error and why it happens and how to fix it in the story.
and btw,you shouldn't have posted this in the "sticky" section
  19:04:35  14 October 2009
profilee-mailreply Message URLTo the Top
otreblA_SNAKE_[ITA]
(Novice)
 
On forum: 12/21/2007
Messages: 14
Hi guys, I've a big problem: I'm playing stalker (eng) with the Arsenal Mod 1.2 and it crashes when I load a saved game in the garbage...(not the autosave before entering that zone).



* Game alberto_quicksave is successfully loaded from file 'c:\users\public\documents\stalker-shoc\savedgames\alberto_quicksave.sav' (2.210s)
* phase time: 2210 ms
* phase cmem: 263860 K
SERVER: Connecting...
* phase time: 10 ms
* phase cmem: 263860 K
CLIENT: Synchronizing...
* phase time: 11 ms
* phase cmem: 263860 K
* [win32]: free[2690720 K], reserved[123660 K], committed[1379860 K]
* [ D3D ]: textures[654993 K]
* [x-ray]: crt heap[263860 K], process heap[6720 K], game lua[21818 K], engine lua[151 K], render[3931 K]
* [x-ray]: economy: strings[8781 K], smem[29140 K]

FATAL ERROR

[error]Expression : hFile>0
[error]Function : FileDownload
[error]File : E:\stalker\sources\trunk\xrCore\FS.cpp
[error]Line : 106
[error]Description : c:\program files (x86)\thq\s.t.a.l.k.e.r. - shadow of chernobyl\gamedata\config\

STALKER version is 1.0005

My PC config
Vista 64 home premium sp2
Athlon 64 x2 6000+
Asus M3A
nVidia 9600gt (latest drivers)
  16:58:02  4 July 2010
profilee-mailreply Message URLTo the Top
redrum83
(Novice)
 
On forum: 03/30/2008
Messages: 37
CTD after talking to Wolf

I get a CTD after talking to Wolf, i have 1.6 patch and playing with L.U.R.K mod...it also crashes with other mods..ex: AMK, ABC and Faiakes Mod
  02:41:08  5 July 2010
profilee-mailreply Message URLTo the Top
Mr Noonan
"Order of the Liquidators"
(Resident)

 

 
On forum: 12/14/2007
 

Message edited by:
Mr Noonan
07/05/2010 2:41:48
Messages: 1180

---QUOTATION---
CTD after talking to Wolf

I get a CTD after talking to Wolf, i have 1.6 patch and playing with L.U.R.K mod...it also crashes with other mods..ex: AMK, ABC and Faiakes Mod
---END QUOTATION---




Roll back to v1,04 patch. v1.6 was recalled due to numerous bugs
v1.4 is the most stable patch

Cheers,
Mr Noonan
  23:39:12  6 July 2010
profilee-mailreply Message URLTo the Top
redrum83
(Novice)
 
On forum: 03/30/2008
Messages: 37
yes

well thank you very much,,, that's what i did "roll back" but i did it b4 i saw your post, but thank you again....i love this site. You ask a question and someone WILL answer back.. thank you


Happy Stalking
  19:42:37  28 October 2010
profilee-mailreply Message URLTo the Top
Lhotse5
(Novice)
 
On forum: 09/30/2010
Messages: 41
my game crashed when i entered the 9524 code at the door. i have version 1.0005 worldwide patch and my copy is a box retail.
is there anything i can do to get past this? a 'Bug Report' appeared on the screen but when i went to send it, it froze up on me.
i have something in my file but to open and read it, some format converter wants $47. and thats not gonna happen.
any help would be appreciated.
thank you so much,
-Llotse
  19:51:40  28 October 2010
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
Messages: 1077

---QUOTATION---
my game crashed when i entered the 9524 code at the door. i have version 1.0005 worldwide patch and my copy is a box retail.
is there anything i can do to get past this? a 'Bug Report' appeared on the screen but when i went to send it, it froze up on me.
i have something in my file but to open and read it, some format converter wants $47. and thats not gonna happen.
any help would be appreciated.
thank you so much,
-Llotse
---END QUOTATION---


-- ill reply with natvacs statement:
2. Find your log file.

STALKER uses two places on your hard drive to store information. The game and associated resources are in the STALKER installation directory, which by default is on the C: drive in the \Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl\ directory.

The saved games and logs are on the C: drive by default in the STALKER-SHOC subdirectory. In Vista this subdirectory is under \Users\Public\Documents\ while in XP this is found in \Documents and Settings\All Users\Documents\. You can also access this directory by entering %ALLUSERSPROFILE%\Documents\STALKER-SHOC in the Windows Explorer address bar.

The latest error log, called xray_<your_user_login>.log* is under STALKER-SHOC in the logs\ subdirectory, while the saved games are stored in savedgames\.

*<your_user_login> is usually your name, the one you see at the top of the menu when you click on the start button on the taskbar in XP. If your user name is Robert, for example, then you would find a file named xray_Robert.log.

At the end of that file is usually a section that starts with "FATAL ERROR" and has lines beginning with "[error]". Include those lines in your post to give us an idea of what is wrong. Sometimes there is only a single error line, but it might be enough.
--

You dont need anything to read the .log file, apart from wordpad or notepad. Im shure you will get this done

--
5. Post with the right info.

In your post, please include the following information:

PC particulars: processor, amount of RAM, video card, sound card (even if "on-board" )
Operating system with version (e.g., XP Professional - SP2, Vista Home Premium)
STALKER locale and version info (e.g., world-wide patch 1.0004, US 1.0)
What mods, if any.
The level where the problem occurred.
The log file "FATAL ERROR" section, and ONLY that section, unless requested.
A brief description of what you were doing when the crash occurred.
Anything that you think might be useful for us to know.
  06:46:52  13 August 2011
profilee-mailreply Message URLTo the Top
ineedhelpseverly
(Novice)
 
On forum: 08/13/2011
 

Message edited by:
ineedhelpseverly
08/13/2011 6:51:51
Messages: 2
stalker error

FATAL ERROR

[error]Expression : Invalid data
[error]Function : CRender::texture_load
[error]File : E:\stalker\sources\trunk\xr_3da\xrRender\Texture.cpp
[error]Line : 309
[error]Description : D3DXGetImageInfoFromFileInMemory (S->pointer(),S->length(),&IMG)
[error]Arguments : c:\program files (x86)\steam\steamapps\common\stalker shadow of chernobyl\gamedata\textures\map\map_agroprom.dds


Im running a pentium dual core CPU T4200 2.00 GHz 3.00GB of Ram(2.87 usable) 64-bit operating system[b]
please help :-]
  06:29:14  14 September 2011
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
Just to add an observation to the hFile>0 error.

A wrong link in the mesh Object\User Data section can cause that crash. For instance a capture ltx with missing apostrophes in name. It can be checked by using the Bardak's converter so an ogf can be changed to .object and then opened in the SDK.
  08:26:26  9 December 2011
profilee-mailreply Message URLTo the Top
Alvaro
(Novice)
 
On forum: 12/09/2011
Messages: 1
Alpha ArsenalMod Testing version

hello I have a problem with this mod because when I put the reapir mod v2.5. weapons did not appear when I start the first mission Wolf gives me all the weapons in the arsenal mod and when I put the repair mod do not appear just gives me a gun. I use the patch 1.0004. and if I save the game when I have all the weapons and put the arsenal mod and when i go to repair the weapons the game back to desktop.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Single player bugs
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2018 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.