Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My compiled app on my new PC hangs
Message
From
17/07/2018 04:42:55
 
 
To
17/07/2018 00:48:22
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01661202
Message ID:
01661219
Views:
42
>>>>My VFP program that has run forever hangs at random places when run on my new PC.
>>>>I tried to disable SMB as in the picture but it made no difference.
>>>>There is no error - just the usual "Not responding" message from Windows.
>>>>
>>>>
>>>>Any suggestions as to what I can try?
>>>
>>>Are you running with an admin account or a standard/limited account?
>>>
>>>Are all components of VFP9 SP2 properly installed? Any reliance on 3rd party ActiveXs etc which may need to be installed, registered etc?
>>>
>>>Does your app expect any files/folders/network mapped drives etc to be present?
>>>
>>>Does your app work with any environment variables that may not be present?
>>>
>>>Not responding messages sometimes are caused by too much disk I/O or a disk hardware or driver issue. Are any errors or warnings present in the System or Application event logs? Are there any other foreground apps or background services that might be causing a lot of disk I/O, maybe a backup program, File History etc? If you go into Task Manager/Performance tab while your app hangs, is there any indication of high disk or CPU utilization?
>>>
>>>If you're using an antivirus program that's not Windows Defender (built-in), can you temporarily turn off its real-time scanning component(s) and retry?
>>
>>Answers to your questions:
>>Admin account
>>Mapped drives not used, program runs in C:\vcfe
>>Looking at task manager and performance monitor shows no abnormal activity
>>I turned off Nortons by disabling Autoprotect. Didn't help.
>>
>>Everything seems normal. I do notice that the "Not responding" message from Windows seems to occur while the program is doing some data processing. It happened today while indexing the files.
>>
>>I tried this: In Services, I stopped Windows search. Didn't help.
>>
>>It looks to me like the problem could be something to do with accessing or writing data to the disk. It happens at random - repeating the same procedure works, and it then hangs in a different part of the program. This is a major problem, in that it hangs several times an hour. Rebooting the PC and not launching anything else didn't help.
>>
>>Is there another disk setting you can think of that I can try?
>
>How about the other things in my second-to-last paragraph?
>
>When it "hangs", does it eventually start responding again if you leave it alone? What is the disk activity light status - off, blinking intermittently or on solid?

My PC (laptop) has no lights for disk activity - I never see blinking disk lights.

I have the Event Viewer open. Ran my program until it stopped with the Not responding message.
No new event raised under Administrative Events. System logs just have Info events - no warnings or errors.

Never recovers from a hang, but it does allow me to close the Window with the X. Windows message saying the application is not responding. Says: Do you want to end this process? I end it OK.

After ending still nothing noticeable (to me) in the Administrative or System Event Viewer.

I have an index routine in my program. Sometimes it hangs at different places during the indexing; sometimes it goes all the way through. I see no indication of high CPU or disk usage by anything else. My program just gets stuck, with apparently do disk thrashing.

Tomorrow I'll try on another PC.

Any other ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform