Process Hacker Discussion Forum

 
User avatar
phuser
Contributor
Posts: 76
Joined: 29 May 2015 06:45
OS: Windows XP, 7 [32, 64]
Contact:

Small Plugins

17 May 2014 06:44

Savepriority :-
- "Savepriority.dll" plugin provides option for:-
- Saving I/O & Page Priority For Selected Process Only.

Portable Database File Option:

To use this:-
Save Priority.zip
Save IO Page Priority
(84.24 KiB) Downloaded 916 times
Either use 'A' or 'B' :-
A) Create a blank file named "ProcessHacker.exe.samdb.xml"
in the same directory as ProcessHacker.exe.

You can do this using Windows Explorer:
1. Make sure "Hide extensions for known file types" is unticked in
Tools > Folder options > View.
2. Right-click in the folder and choose New > Text Document.
3. Rename the file to ProcessHacker.exe.samdb.xml (delete the ".txt"
extension).

B) Rename existing "samdb.xml" file to "ProcessHacker.exe.samdb.xml"
& put/copy it in the same directory as ProcessHacker.exe.
Last edited by dmex on 15 Oct 2016 15:25, edited 2 times in total.
 
User avatar
phuser
Contributor
Posts: 76
Joined: 29 May 2015 06:45
OS: Windows XP, 7 [32, 64]
Contact:

Service Actions

17 May 2014 06:45

Service Actions :-
Adds Edit Description, Service Type, Service Startup Type & Error Control
To Right Click For Services Tab Selected Item.

You can also find these files on http://sf.net/p/phplugins.:)
Service Actions Test 2.zip
Service Actions
(47.15 KiB) Downloaded 768 times
 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

Re: Small Plugins

05 Jun 2014 08:08

your plugin still causes hangs:
APP:  processhacker.exe

ANALYSIS_VERSION: 6.3.9600.17029 (debuggers(dbg).140219-1702) amd64fre

DERIVED_WAIT_CHAIN:  

Dl Eid Cid     WaitType
-- --- ------- --------------------------
   0   96c.1a58 Speculated (Triage)    -->
   1   96c.64 Idle Thread            

WAIT_CHAIN_COMMAND:  ~0s;k;;~1s;k;;

BLOCKING_THREAD:  0000000000000064

PRIMARY_PROBLEM_CLASS:  APPLICATION_HANG

LAST_CONTROL_TRANSFER:  from 000007f680f06b1a to 000007f9ed9a468b

STACK_TEXT:  
00 ntdll!NtWaitForKeyedEvent
01 ProcessHacker!PhfAcquireQueuedLockExclusive
02 Savepriority
03 ProcessHacker!PhEmCallObjectOperation
04 ProcessHacker!PhCreateProcessItem
05 ProcessHacker!PhProcessProviderUpdate
06 ProcessHacker!PhpProviderThreadStart
07 ProcessHacker!PhpBaseThreadStart
08 kernel32!BaseThreadInitThunk
09 ntdll!RtlUserThreadStart


FOLLOWUP_IP: 
ProcessHacker!PhfAcquireQueuedLockExclusive+15a
000007f6`80f06b1a 85c0            test    eax,eax

FAULTING_SOURCE_LINE:  d:\process hacker 2.x (trunk)\phlib\queuedlock.c

FAULTING_SOURCE_FILE:  d:\process hacker 2.x (trunk)\phlib\queuedlock.c

FAULTING_SOURCE_LINE_NUMBER:  717

MODULE_NAME: ProcessHacker

BUCKET_ID:  HANG_processhacker!PhfAcquireQueuedLockExclusive+15a

FAILURE_BUCKET_ID:  APPLICATION_HANG_cfffffff_ProcessHacker.exe!PhfAcquireQueuedLockExclusive

    Image path: D:\Process Hacker 2.x (trunk)\bin\Release64\plugins\Savepriority.dll
    Image name: Savepriority.dll
    Browse all global symbols  functions  data
    Timestamp:        Thu May 10 10:34:10 2012 (4FAB7D82)
    OriginalFilename: Sameer
    ProductVersion:   1, 0, 0, 0
    FileVersion:      1, 0, 0, 0
    FileDescription:  Save IO Page Priority
Why are your DLLs still from 2012? Pleae give proper timestamp!
 
sam

Re: Small Plugins

05 Jun 2014 14:16

I'll upload the source code of "Save Priority" on "http://sf.net/p/phplugins"

in a zip file within one month. ( Check Files Section After one month from now )


You can fix the problem by yourself, I don't have time.

:oops: :zipped:
 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

Re: Small Plugins

12 Jun 2014 11:00

ok, I'll monitor the location. It seams to occur when applications are started and stopped very fast.
 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

Re: Small Plugins

30 Jul 2014 13:53

Did you have any time to upload the plugins source?
 
User avatar
phuser
Contributor
Posts: 76
Joined: 29 May 2015 06:45
OS: Windows XP, 7 [32, 64]
Contact:

Re: Small Plugins

30 Jul 2014 15:06

Hi MagicAndre1981,

Thanks for reminding about this.

I've uploaded source:-
http://sourceforge.net/projects/phplugi ... p/download

Fix all the bugs (if any) & re-upload / attach the source here :D
 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

Re: Small Plugins

03 Aug 2014 06:35

The hang happens here:
RemoveEntryList(&extension->ListEntry);
in ProcessItemDeleteCallback in your main.c of the plugin.

looking at the processItem variable I see "git-remote-https.exe". This is called for me by a background tool (https://github.com/pocorall/scm-notifier) to check for modification of Git repositories.

I see a 2nd thread and here I see the call    
InsertTailList(&ProcessListHead, &extension->ListEntry);
in ProcessItemCreateCallback

The git commands are executed and stopped very fast and those fast starts/stops seam to cause the hang.

Any ideas how to solve this?
 
User avatar
MagicAndre1981
Member
Posts: 230
Joined: 22 Nov 2011 12:02
OS: Windows 8Pro(x64) with Win7 UI

Re: Small Plugins

25 Apr 2015 12:15

@wj32

can you please look at this? Is this an issue with the plugin or inside of ProcessHacker?
 
User avatar
viksoftru
Member
Posts: 629
Joined: 15 Aug 2011 06:01
OS: Win7 (Live! DVD), BSD

Re: Small Plugins

29 Apr 2015 17:09

This plugin required update for new PH API - error messages can't find Process Hacker export form PhCreateStrinfFormANSI() on r5844 - ru-board topic bug-report.
 
User avatar
phuser
Contributor
Posts: 76
Joined: 29 May 2015 06:45
OS: Windows XP, 7 [32, 64]
Contact:

Re: Small Plugins

05 Jul 2015 13:56

Go Here:-

http://wj32.org/processhacker/forums/vi ... 977&p=6263


Save Priority is not shared since I/O Priority is already there.
 
User avatar
viksoftru
Member
Posts: 629
Joined: 15 Aug 2011 06:01
OS: Win7 (Live! DVD), BSD

Re: Small Plugins

05 Jul 2015 17:11

Ok!
 
User avatar
phuser
Contributor
Posts: 76
Joined: 29 May 2015 06:45
OS: Windows XP, 7 [32, 64]
Contact:

Re: Small Plugins

14 Oct 2016 15:05