Vista: madkernel.NewProcess -> always Exception

delphi package - easy access to kernel objects etc.
Post Reply
Niki911
Posts: 12
Joined: Thu Jun 10, 2004 4:06 pm

Vista: madkernel.NewProcess -> always Exception

Post by Niki911 »

Using madkernel.NewProcess is causing Vista to show an exception.
Strange: If you click away the exception the process is created correctly anyway...
Using windows.Createprocess or WinExec etc. is working normal so I am using that right now.

The problem occurs in Vista only - also when setting the compatibiliy mode of the exe to "Windows XP (SP2)".
Same EXE runs perfectly on WinXP+2000...

BTW: I am using the current madtools-Build with preliminary Vista-Support...

Niki
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Can you please create a madExcept report for the crash?
Niki911
Posts: 12
Joined: Thu Jun 10, 2004 4:06 pm

Post by Niki911 »

Sorry - I dont use madexcept.
Dont have it installed at all ;)

Niki
que
Posts: 2
Joined: Thu Apr 12, 2007 3:56 pm

Post by que »

madshi

exception message : Access violation at address 00406CE9 in module 'intypepm.exe'. Read of address 00000004.

main thread ($dc8):
00406ce9 +009 intypepm.exe System @IntfCopy
00530d08 +41c intypepm.exe madKernel NewProcess
......
disassembling:
[...]
005a1519 lea eax, [ebp-$38]
005a151c call -$19c4d9 ($405048) ; System.@LStrFromWStr
005a1521 mov edx, [ebp-$38]
005a1524 xor ecx, ecx
005a1526 mov eax, [ebx+$3bc]
005a152c > call -$70c45 ($5308ec) ; madKernel.NewProcess
005a1531 jmp loc_5a1752
005a1536 0996 call -$1b43 ($59f9f8) ; fileTree.CtrlDownOnly
005a153b test al, al
005a153d jnz loc_5a1582
005a153f mov eax, [$5af3ec]
[...]

stack dump:
0012f840 f9 0c 53 00 9c fb 12 00 - 2c 46 40 00 78 fb 12 00 ..S.....,F@.x...
0012f850 00 00 00 00 04 2e 25 01 - d0 8d 23 01 00 00 00 00 ......%...#.....
0012f860 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................

cpu registers:
eax = 0125312c
ebx = 012530bc
ecx = 545c6e69
edx = 0125281c
esi = 01252e04
edi = 00000000
eip = 00406cf6
esp = 0012f840
ebp = 0012fb78
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Can you please try the latest build?

http://madshi.net/madCollection.exe
que
Posts: 2
Joined: Thu Apr 12, 2007 3:56 pm

Post by que »

Latest build works fine. Thanx!
Post Reply