![]() |
|
|
#1 |
|
Mar 2016
5510 Posts |
I am on a laptop and run Prime95 (and mfaktc) whenever I plug in my laptop. After a bit of research, I managed to create a task scheduler entry with a custom event filter that listens for KernelPower event id 105 (source change) and checks if event data AcPower is true, if this gets triggered, I have it run mfaktc and prime95. mfaktc works fine, however prime95 never starts and after looking in event viewer, I see its faulting from ntdll.dll. It works perfectly fine if I start the program normally. Is it a bug? Or an issue with my task scheduler entry config?
|
|
|
|
|
|
#2 |
|
Mar 2016
5×11 Posts |
I'll add relevant screenshots with more info in about an hour
Last fiddled with by pokemonlover123 on 2019-03-28 at 14:16 |
|
|
|
|
|
#3 |
|
Mar 2016
5×11 Posts |
This post contains the first 5 screenshots relevant to the issue. Device specs and part of the task scheduler entry configuration are included.
|
|
|
|
|
|
#4 |
|
Mar 2016
3716 Posts |
Remaining task scheduler entry pages, and the crash log for Prime95 in event viewer.
|
|
|
|
|
|
#5 |
|
Aug 2002
North San Diego County
5×137 Posts |
No thoughts on your exact error, but perhaps an end run around it: Prime95 offers the option to stop when on battery power - checkbox in Options->Preferences menu. I'd check functionality of the menu option and see if it moots the problem.
|
|
|
|
|
|
#6 | |
|
Mar 2016
5×11 Posts |
Quote:
(Honestly I really put a lot of hard work on myself and always choose the hardest solutions sooo... Kinda kicking myself here)I could try having the action launch Prime95 indirectly by having it run a batch file that runs Prime95 and see if that works. Last fiddled with by pokemonlover123 on 2019-03-28 at 15:48 |
|
|
|
|
|
|
#7 |
|
Mar 2016
5·11 Posts |
I tried removing mfaktc from the action list to see if a race condition was happening and both programs were trying to access the same memory or something. No difference.
|
|
|
|
|
|
#8 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
10101001010102 Posts |
Try creating and launching a batch wrapper for prime95.
cmd /k (full path)(batchfile) (/k means keep; launch window hangs around afterward to display any launch related error messages sent to stderr until you explicitly close it) The batch file can contain explicit cd <working directory> where the dlls, config files, prime95.exe, savefiles etc are start prime95.exe (launches the app and immediately returns to the batch file for the next step) or prime95.exe (waits for the named app to terminate) Also for troubleshooting the batch file is a place to add set, dir /q /a commands etc temporarily such as for troubleshooting permissions & ownership of the process and files. On some OS versions the process properties of the batch file are not those of the interactive or other process that launched it unless you take steps to ensure that. Initially this approach may be clunky/cluttered. After you get it working, then you may be able to prune off some of it, a bit at a time, by initially commenting out a bit, in case that's the line that if absent breaks it, or will prove useful again later. I'd be inclined to prefix mfaktc.exe with cmd /k for some of the same reasons. Last fiddled with by kriesel on 2019-03-28 at 18:31 |
|
|
|
|
|
#9 | |
|
Mar 2016
1101112 Posts |
Quote:
|
|
|
|
|
|
|
#10 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
124528 Posts |
Quote:
An obvious difference is prime95 has Windows GUI code and mfaktc is command line. Note, a web search for 0xc0000005 leads to some serious system diagnostics recommendations. Might want to be proactive on backups and system checks, just in case, before your bits hit the fan. |
|
|
|
|
|
|
#11 | |
|
Mar 2016
5×11 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to stop and restart assigned Prime95 task? | rgirard1 | Information & Answers | 8 | 2019-01-14 15:18 |
| Prime95 v29.2 multi-task question | Bananarama | Software | 4 | 2017-08-25 14:28 |
| Tea Party In Action | R.D. Silverman | Soap Box | 12 | 2011-09-13 23:03 |
| GPUs in action? | davieddy | PrimeNet | 21 | 2011-04-02 12:33 |
| Our Courts in Action | R.D. Silverman | Soap Box | 17 | 2009-05-03 13:01 |