Message boards : Questions and problems : gstate.init() failed Error Code: 183
Message board moderation
Author | Message |
---|---|
Send message Joined: 8 May 10 Posts: 3 ![]() |
Hi, I've googled around a bit but can't find anything specifically relating to Error Code 183. I had some weird issues with my C: drive recently where my computer wouldn't boot because it said the device wasn't available. Ran a checkdisk, things are fine now. Except BOINC stopped working. The manager can't connect to localhost, and it's because it seems like the service isn't starting. Here's what happens when I run boinc.exe from the command line: C:\>cd "Program Files (x86)" C:\Program Files (x86)>cd BOINC C:\Program Files (x86)\BOINC>boinc.exe 08-May-2010 01:36:12 [---] Starting BOINC client version 6.10.18 for windows_x86 _64 08-May-2010 01:36:12 [---] log flags: file_xfer, sched_ops, task 08-May-2010 01:36:12 [---] Libraries: libcurl/7.19.4 OpenSSL/0.9.8l zlib/1.2.3 08-May-2010 01:36:12 [---] Data directory: G:\ProgramData\BOINC 08-May-2010 01:36:12 [---] Running under account faux 08-May-2010 01:36:12 [---] Project for statistics_boinc.bakerlab.org_rosetta.xml not found - ignoring 08-May-2010 01:36:12 [---] Processor: 4 AuthenticAMD AMD Phenom(tm) II X4 945 Pr ocessor [AMD64 Family 16 Model 4 Stepping 2] 08-May-2010 01:36:12 [---] Processor: 512.00 KB cache 08-May-2010 01:36:12 [---] Processor features: fpu tsc pae nx sse sse2 pni 3dnow mmx 08-May-2010 01:36:12 [---] OS: Microsoft Windows 7: x64 Edition, (06.01.7600.00) 08-May-2010 01:36:12 [---] Memory: 3.99 GB physical, 7.98 GB virtual 08-May-2010 01:36:12 [---] Disk: 931.32 GB total, 460.57 GB free 08-May-2010 01:36:12 [---] Local time is UTC -4 hours 08-May-2010 01:36:12 [---] NVIDIA GPU 0: GeForce GTS 250 (driver version 19745, CUDA version 3000, compute capability 1.1, 1006MB, 456 GFLOPS peak) 08-May-2010 01:36:12 [---] Not using a proxy 08-May-2010 01:36:12 [boincsimap] URL http://boinc.bio.wzw.tum.de/boincsimap/; C omputer ID 159399; resource share 400 08-May-2010 01:36:12 [climateprediction.net] URL http://climateprediction.net/; Computer ID 1024359; resource share 400 08-May-2010 01:36:12 [] URL ; Computer ID not assigned yet; resource share 100 08-May-2010 01:36:12 [World Community Grid] URL http://www.worldcommunitygrid.or g/; Computer ID 1094561; resource share 400 08-May-2010 01:36:12 [boincsimap] General prefs: from boincsimap (last modified 03-Nov-2009 13:28:21) 08-May-2010 01:36:12 [boincsimap] Host location: none 08-May-2010 01:36:12 [boincsimap] General prefs: using your defaults 08-May-2010 01:36:12 [---] Preferences limit memory usage when active to 2043.94 MB 08-May-2010 01:36:12 [---] Preferences limit memory usage when idle to 3679.09MB 08-May-2010 01:36:12 [---] Preferences limit disk usage to 10.00GB gstate.init() failed Error Code: 183 C:\Program Files (x86)\BOINC> Any help would be appreciated. |
![]() Send message Joined: 20 Dec 07 Posts: 1069 ![]() |
Did you try a reinstall of BOINC, eventually with a freshly downloaded installer? Perhaps some files have been affected by the disk problems. Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) ![]() |
Send message Joined: 8 May 10 Posts: 3 ![]() |
Did you try a reinstall of BOINC, eventually with a freshly downloaded installer? Perhaps some files have been affected by the disk problems. Yes I tried that several times, including rebooting between the uninstall and reinstall. I noticed the uninstaller removed all files from the program folder, so if it is a data corruption issue I would guess something in the registry or the boinc data location (which is on a separate drive from the executable). |
Send message Joined: 25 Nov 05 Posts: 1654 ![]() |
I just did a search on Error Code: 183 Lots of posts, including this one, which mentions printer drivers, and also a file that already exists. And then on gstate.init() This one shows several BOINC related question about it, although with different numbers to 183. |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
Error code 183 means "Cannot create a file when that file already exists." Which file we're talking about is what's puzzling. I asked the BOINC developer for Windows and he doesn't know either. My guess? Check that no files in the Data directory are read-only. By the way, you didn't install BOINC as a service, as can be seen from "Running under account faux", but then if you want to use the GPU, you don't want it installed as a service under Windows 7. As then due to Microsoft's security measures for how drivers are run in a separate account from the one BOINC is running with, BOINC won't be able to detect the GPU. If you do not mind to lose any work in progress, you can always try to uninstall BOINC completely, remove the data directory and reinstall BOINC fresh. |
![]() Send message Joined: 20 Dec 07 Posts: 1069 ![]() |
By the way, you didn't install BOINC as a service, as can be seen from "Running under account faux"... That output was obviously from a "start by hand", as can be seen from the top of the log ;-) Gruß, Gundolf [edit]@selah: In the BOINC data directory, there's a file named stdoutdae.txt wherein you can find the output of the BOINC client (among some others like stderrdae.txt)[/edit] |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
By the way, you didn't install BOINC as a service, as can be seen from "Running under account faux"... Ah, I assumed that when you start boinc.exe by hand then that the service will also start (as it does with starting boincmgr.exe). But it doesn't. I just ran boinc.exe from the command line and got all kinds of errors, due to BOINC not running under the account it should've been running with: the BOINC limited accounts vs my own account. Which means that we can ignore the gstate.init() failed error, if selah installed BOINC as a service (protected application execution). It would be nice to get a definitive answer to that. |
Send message Joined: 8 May 10 Posts: 3 ![]() |
Error code 183 means "Cannot create a file when that file already exists." I set everything in the data directory and program directory to be not read-only, it didn't solve the issue. You are correct, I didn't install it as a service. This afternoon I uninstalled, deleted the data directory, and reinstalled. I've re-attached to all my projects and it seems to be working fine now. I feel bad about my lost progress on climate prediction :( Their workunits are so huge. Thanks for your help everyone. :) |
Send message Joined: 17 Mar 11 Posts: 1 ![]() |
I was having the same gstate.init() failed Error Code:183 on a 64 bit Windows 7 Home Edition system. I reinstalled boinc 6.10.58 several time, rebooted the machine a dozen or more times, and nothing helped. When I renamed the data directory (to BOINC_old), I could manually start boinc.exe without the error. When I copied BOIN_old back to BOINC, I was ALSO able to run boinc.exe manually. I rebooted after this change, and all is now well. So I don't understand exactly what I did to fix the problem, but it does seem to be fixed... Hope this helps others of you. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.