Message boards :
Number crunching :
1073741205 Error Code (Unknown Error)
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · 6 · Next
Author | Message |
---|---|
jason_gee Send message Joined: 24 Nov 06 Posts: 7489 Credit: 91,093,184 RAC: 0 |
Brings to mind if it will become cheaper for business to provide workers with VR/AR workspaces, than maintain large amounts of office space. Could probably cram in a lot more cubicules... "Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
Brings to mind if it will become cheaper for business to provide workers with VR/AR workspaces, than maintain large amounts of office space. Could probably cram in a lot more cubicules... nah, you'll be expected to build your own cubicle at home. |
jason_gee Send message Joined: 24 Nov 06 Posts: 7489 Credit: 91,093,184 RAC: 0 |
Brings to mind if it will become cheaper for business to provide workers with VR/AR workspaces, than maintain large amounts of office space. Could probably cram in a lot more cubicules... Oh, Open Source :p "Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions. |
Al Send message Joined: 3 Apr 99 Posts: 1682 Credit: 477,343,364 RAC: 482 |
Naaa, I think it'll be more along the lines of the Matrix, where we're just plugged into massive banks of Pods, or maybe each person will have their own pod they are required to jack into every day... Or, maybe all day... Forever!! BWhahahaha! |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
OK, playtime over - back to the bughunt. I've built a BOINC client - well, two of them, 32 bit and 64 bit - from the 'Head' code, thus incorporating Rom's attempt at a fix for the 'kill cache while closing down Windows' problem. These should run as a direct replacement for client v7.6.22, except - because I've build using VS2013 - you may need to update your Visual C++ Redistributable Packages for Visual Studio 2013. Get the clients from here - both bitnesses in subfolders in the same zip. My private builds all disable the "pseudo-progress" estimation code for debugging the progress reported by applications, but are otherwise pure BOINC code. Which may lead to some surprises: 02/06/2016 14:00:54 | | <![CDATA[Starting BOINC client version 7.7.0 for windows_x86_64]]> but apart from that, it's been running without error while I compose this. Now to see if we can break it... |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
Well, I've tried to reproduce the problem on another machine with the standard v7.6.22 client, but that was too polite to kill anything. 02-Jun-2016 15:15:13 [Einstein@Home] Task PM0137_033B1_238_1 exited with zero status but no 'finished' file - but that was possibly because this is a new machine, with an SSD and very little clutter. You can see that BOINC was back up and crunching in less than 30 seconds. Maybe I need to try again next Patch Tuesday - closing a dozen browser tabs, three BOINC Managers, and a copy of BoincView simply didn't take long enough to restart anything to the danger point. |
William Send message Joined: 14 Feb 13 Posts: 2037 Credit: 17,689,662 RAC: 0 |
I like the tags https://github.com/BOINC/boinc/issues/1553 was awarded :) A person who won't read has no advantage over one who can't read. (Mark Twain) |
Jeff Buck Send message Joined: 11 Feb 00 Posts: 1441 Credit: 148,764,870 RAC: 0 |
In looking back over my Event Logs, most of the time that's the sort of scenario that I've seen. The whole "restart during shutdown" sequence of messages appear for one or more tasks, but the delay is ultimately insufficient to actually cause the tasks to error out. In fact, from last December (the earliest I can track the problem) until late April, that's all that ever happened. For some reason, about that time both of my Win 7 machines started to get the errors. It seems plausible (though just a guess) that one of the Windows updates has caused the shutdown process to run more slowly. If you're looking for a way to stretch out the shutdown, you might try cranking up Process Monitor just before shutdown. That certainly seemed like it was the determining factor in flushing nearly my entire queue of CPU tasks on Monday evening! |
Jeff Buck Send message Joined: 11 Feb 00 Posts: 1441 Credit: 148,764,870 RAC: 0 |
What I don't quite understand is why we are suddenly seeing these errors. I can't pinpoint when it started, but I have Event Logs going back to last December showing the "restart during shutdown" scenario. However, no actual error tasks resulted until late April. It seems to strictly be a condition that occurs when Windows is shut down while BOINC is still running. The shutdown can either be manual or automated. (My crunch-only machines are automatically shut down at a specified time on weekday afternoons.) It appears to me that the OS starts shutting down the individual task processes before BOINC knows the shutdown is occurring (or at least before BOINC acts on it) so BOINC thinks the tasks just died on their own and tries to restart them. Why that DLL initialization error begins to appear after the initial restarts is not clear. As far as a controlled shutdown experiment goes, that's what I tried doing on Monday evening, as noted in an earlier message. I have a Process Monitor log (168 MB worth) and stdoutdae log that I hope might provide some info, but sifting through it takes a lot of time when one really doesn't know what he's doing. (I used to be pretty good at this sort of thing way back when dinosaurs ruled the [computer] world, but I'm kind of starting from scratch here.) If anybody better-equipped than me would like to see those logs, I could probably upload them to a cloud somewhere. |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
Does the Windows version log any messages that it's exiting like this one? 02-Jun-2016 20:06:13 [---] Exiting There's a program called SendMessage over here. It can be used to send arbitrary window messages to any window. It would be good to test that the client responds to Window's shutdown message by using SendMessage to send WM_QUERYENDSESSION to the client's window. The last time I run Windows version I started it from command prompt without command line options. In that mode the client outputs log messages to the command prompt window and responds to Control-C by exiting. Wouldn't hurt to test the Control-C handler too. |
jason_gee Send message Joined: 24 Nov 06 Posts: 7489 Credit: 91,093,184 RAC: 0 |
Does the Windows version log any messages that it's exiting like this one? My question is, would you like it broken in just that way ? "Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions. |
Jeff Buck Send message Joined: 11 Feb 00 Posts: 1441 Credit: 148,764,870 RAC: 0 |
Does the Windows version log any messages that it's exiting like this one? It's inconsistent. On my daily driver, that line only appears perhaps 10% of the time. On my other Win 7 machine, it appears more frequently, but varies from day to day, such as: 25-May-2016 15:59:00 [SETI@home] [cpu_sched] Preempting 28se10aa.22222.20926.3.30.65_1 (removed from memory) 25-May-2016 15:59:00 [SETI@home] [cpu_sched] Preempting 28se10aa.22222.22153.3.30.36_0 (removed from memory) 25-May-2016 21:33:12 [---] Starting BOINC client version 7.6.22 for windows_intelx86 25-May-2016 21:33:12 [---] log flags: file_xfer, sched_ops, task, cpu_sched vs. 26-May-2016 15:59:00 [SETI@home] [cpu_sched] Preempting 28se10aa.29476.15609.11.38.45_1 (removed from memory) 26-May-2016 15:59:00 [SETI@home] [cpu_sched] Preempting 28se10aa.29476.16836.11.38.126_1 (removed from memory) 26-May-2016 15:59:43 [---] Exiting 26-May-2016 21:02:23 [---] Starting BOINC client version 7.6.22 for windows_intelx86 26-May-2016 21:02:23 [---] log flags: file_xfer, sched_ops, task, cpu_sched 2 I'm not sure that it ever appears when the "restart after shutdown" scenario is occurring. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
Does the Windows version log any messages that it's exiting like this one? Yes. 07-May-2016 09:53:18 [SETI@home] work fetch suspended by user 07-May-2016 09:53:46 [---] Exiting 07-May-2016 09:53:53 [---] Starting BOINC client version 7.6.22 for windows_x86_64 That looks like planned maintenance of some sort on my part, but I've forgotten what. But..... I think Windows programs tend to have two different modes of shutdown - interactive and silent. 'Interactive' for when you're there and able to respond to dialogs like "Save untitled.txt?": silent for when Windows is forcing a closedown. And I think BOINC - the Manager, certainly - implements both versions. We had problems a few years ago when configuration changes were held in memory, volatile, and only flushed to disk during an interactive shutdown (say from the file|Exit menu), and not saved if BOINC was shutting down in response to a 'Windows is closing' message. That was solved by saving config changes to disk immediately, but I think the separate exit paths probably both still exist. We'd need to look (separately) at both Client and Manager code to be certain. |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
My question is, would you like it broken in just that way ? Sorry, I don't understand. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
I'm not sure that it ever appears when the "restart after shutdown" scenario is occurring. That strongly suggests that the Client, too, has both 'interactive' and 'silent' shutdown modes - though without a UI, it's not quite clear why. 'Exiting' would be a response to an interactive shutdown initiated by a Manager. |
jason_gee Send message Joined: 24 Nov 06 Posts: 7489 Credit: 91,093,184 RAC: 0 |
My question is, would you like it broken in just that way ? Just I see no Window handler (for receiving WM_QUERYENDSESSION), or window, in the boinc client. (except service mode perhaps) (maybe you could point it out) "Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions. |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
Just I see no Window handler (for receiving WM_QUERYENDSESSION), or window, in the boinc client. (except service mode perhaps) There's both WM_QUERYENDSESSION and CTRL_*_EVENT handlers in sysmon_win.cpp. edit: Maybe I should add some remark about grep. :) |
jason_gee Send message Joined: 24 Nov 06 Posts: 7489 Credit: 91,093,184 RAC: 0 |
Just I see no Window handler (for receiving WM_QUERYENDSESSION), or window, in the boinc client. (except service mode perhaps) Now explain why they start tasks if they receive WM_QUERYENDSESSION , answer is they don't receive them, because console program :) "Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions. |
Juha Send message Joined: 7 Mar 04 Posts: 388 Credit: 1,857,738 RAC: 0 |
I'm not sure that it ever appears when the "restart after shutdown" scenario is occurring. I think it's either the client doesn't always receive the shutdown message or that the client takes too long to shutdown the apps and gets killed before the log line is flushed to the disk. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14650 Credit: 200,643,578 RAC: 874 |
There's both WM_QUERYENDSESSION and CTRL_*_EVENT handlers in sysmon_win.cpp. With comments like // If we are not installed as a service, begin the task shutdown process https://github.com/BOINC/boinc/blob/master/client/sysmon_win.cpp#L157 That's the sort of thinking which should have kept us out of this mess in the first place. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.