winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
11.05k stars 1.4k forks source link

Process Hacker 2 acts veery strange after some time #18

Closed TETYYS closed 8 years ago

TETYYS commented 8 years ago

After updating to 2.38 after some time it happens to act really strange before just not responding.

dmex commented 8 years ago

Have you tried disabling plugins using the Options window and unticking "Enable plugins" on the general tab?

TETYYS commented 8 years ago

I've disabled some plugins and now I'm waiting because I didn't want to set up my columns again after disabling plugins. I'll backup settings.xml and disable all of them.

TETYYS commented 8 years ago

1h in, no problems, enabled plugins: .NET Tools, Average CPU, Boot Entries Plugin, Debug View, DNS Cache Viewer, Global Atom Table, Hexadecimal PID, Online Checks, Running Object Table, UMDFHost Process Plugin, Update Checker. Waiting...

dmex commented 8 years ago

Why do you have UMDFHost Process Plugin? That was integrated with PH ages ago, you can remove it.

TETYYS commented 8 years ago

lmao, enabled Windows Explorer, WaitChainPlugin, UserNotes. Waiting...

TETYYS commented 8 years ago

Everything seems fine, + Emergency, Extended Notifications, Extended Services, Extended Tools, Firewall Monitor

dmex commented 8 years ago

Remove Firewall Monitor... It has some known issues with GDI handles and is very likely causing the problem.

TETYYS commented 8 years ago

I'll keep the PH running, see if it crashes

Enabled all plugins and it doesn't crash so far... Could it be UMDF?

TETYYS commented 8 years ago

This time it crashed programmatically immediately when I tried to move CPU Average (60) column through Choose columns... menu because when I dragged it, nothing happened. But I don't think it's the cause because when the bug happens, all GUI just keeps not responding, acts weirdly. Crash.png

wj32 commented 8 years ago

Where did you get the extra plugins from? Make sure you're compiling them against the latest SDK.

VictorVG commented 8 years ago

On Win7 SP1 x64 and PH v2.38/2.39 this problem not exists. I use AtomTable, AvgCpu, BootEntries, DbgView, DnsCache, DotNetTools, ExtendedNotifications, ExtendedServices, ExtendedTools, FirewallMonitor, HardwareDevices, HexPid, NetExtras, NetworkTools, NvGpuPlugin, OnlineChecks, PerfMonPlugin, ROTViewer, SbieSupport, SecurityExplorer, ServiceBackupRestore, SetCritical, TaskbarExt, ToolStatus, Updater, UserNotes, WaitChain, WindowExplorer plugins..

TETYYS commented 8 years ago

I got extra plugins from latest Git repo and compiled with latest SDK. I'll disable my plugins just to make sure and keep the PH running for a couple of hours.

Crashes without my plugins, I'll go one by one, this time ToolStatus, -Window Explorer, -User Notes, -Taskbar Extensions, -.NET Tools, -Extended Notifications, -Extended Services, -Extended Tools, -Hook Tools (Colin), -Hardware Devices, -Firewall Monitor, Same Win as @VictorVG

wj32 commented 8 years ago

No clear instructions to reproduce... I constantly run PH for hours/days without restarting and it seems fine to me :)

klonos commented 8 years ago

I constantly run PH for hours/days without restarting and it seems fine to me :)

Same here.

TETYYS commented 8 years ago

That was the case for me too before update, but now, something's strange happening.. :cry: This is how process properties window looks like when the bug is in action Bug

dmex commented 8 years ago

I've seen similar things when the desktop GDI resources are exhausted or something is using GDI incorrectly

TETYYS commented 8 years ago

Yeah, it just looks like objects have been free'd or something

Seems fine with this combination: +ToolStatus, +Window Explorer, +User Notes, +Taskbar Extensions, +.NET Tools, +Extended Notifications, +Extended Services, +Extended Tools, +Hook Tools (Colin), +Hardware Devices.

TETYYS commented 8 years ago

Is this related? https://github.com/processhacker2/processhacker2/issues/21

wj32 commented 8 years ago

@TETYYS No

wj32 commented 8 years ago

It looks like something is deleting the font object that's being used by the standard controls.

dmex commented 8 years ago

I think this was caused by a bug in the way Taskbar Extensions was getting it's GDI handle for drawing the taskbar graphs every update interval (e.g. every second it was using the GDI handle from the main PH window instead of the desktop screen handle).

I've made some changes that should fix the issue (if it's indeed the cause)... On a side note, you shouldn't be using any Plugin-Extra plugins, the whole reason they're not included in PH and the main reason we don't provide binaries is because they have major issues in one way or another and very likely to have major bugs.

TETYYS commented 8 years ago

This was indeed caused by Firewall Monitor plugin.

dmex commented 8 years ago

I've disabled process icons in the Firewall Monitor plugin...