Search found 25 matches

by iPath
Wed Mar 26, 2014 7:49 am
Forum: madExcept
Topic: Find point of app Freeze
Replies: 4
Views: 3899

Re: Find point of app Freeze

MadExcept has an option to generate report on app freeze. It contains callstacks of all threads. This report can help you to find where the deadlock occurs. Additionally MadExcept ships with a tool (madTraceProcess) which can dump callstacks of a running freezed app - it can be also very useful to t...
by iPath
Sat Mar 22, 2014 8:20 pm
Forum: madExcept
Topic: Crash in XE5 (FMX) & GDI leak?
Replies: 2
Views: 4248

Crash in XE5 (FMX) & GDI leak?

Hello Madshi, In XE5 I created blank 32 bit Firemonkey App. I activated ME and also checked "Report Resource Leaks". I ran the program without debugger (shift+F9), then immediately closed it. A few moments later I receive strange mem leak: allocation number: 2310 program up time: 4.20 s ty...
by iPath
Fri Sep 28, 2012 10:04 pm
Forum: madExcept
Topic: Strange Leak report in DLL
Replies: 5
Views: 6217

Re: Strange Leak report in DLL

Hmm...you're right...

Is there any way to tell ME not to show the leak report at app close when it contains "predictable" leaks?
by iPath
Fri Sep 28, 2012 6:17 pm
Forum: madExcept
Topic: Strange Leak report in DLL
Replies: 5
Views: 6217

Re: Strange Leak report in DLL

choochy2003 has posted similar issue: http://forum.madshi.net/viewtopic.php?f=4&t=27372 - sorry for duplicates :oops: It seems to be a known issue (or close to my problem): http://stackoverflow.com/questions/10548888/memory-leak-in-the-win64-delphi-rtl-during-thread-shutdown https://forums.embar...
by iPath
Fri Sep 28, 2012 1:19 pm
Forum: madExcept
Topic: Strange Leak report in DLL
Replies: 5
Views: 6217

Strange Leak report in DLL

Hello Madshi, I have a sample dll with two exported functions. I enabled ME for the DLL plus "Catch Resource Leaks" option. Then I build the dll. Also I created a sample empty app (Firemonkey) and declared the exported functions: procedure mpInit; stdcall; external meDll; procedure mpFinal...
by iPath
Thu Sep 27, 2012 11:55 am
Forum: madExcept
Topic: Crash when using "Report Resource Leaks" with Firemonkey
Replies: 2
Views: 3000

Crash when using "Report Resource Leaks" with Firemonkey

Hello Madshi, The issue is very simple to reproduce: 1) Create empty FM HD application 2) Enable MadExcept's "Report Resource Leaks" 3) Run with debugger (F9) I receive: --------------------------- Debugger Exception Notification --------------------------- Project Project1.exe raised exce...
by iPath
Sat Jul 31, 2010 4:27 pm
Forum: madCodeHook
Topic: Is there a way to debug IPC errors?
Replies: 9
Views: 9183

:wink:
by iPath
Mon Jul 12, 2010 8:37 pm
Forum: madCodeHook
Topic: Monitoring SMB file activity
Replies: 7
Views: 9647

10x! I'll dig it :)
by iPath
Mon Jul 12, 2010 6:18 pm
Forum: madCodeHook
Topic: Monitoring SMB file activity
Replies: 7
Views: 9647

Thanks Madshi!
I'll google around :)
by iPath
Mon Jul 12, 2010 2:00 pm
Forum: madCodeHook
Topic: Monitoring SMB file activity
Replies: 7
Views: 9647

It seems all the stuff is going to be in the Kernel :( I ran ProcMon (Sysinternals) and then noticed when I access the file \\myComputer\d$\test.vbs the SYSTEM process is doing CreateFile etc. 15:24:51.2907288 System 4 1844 D:\test.vbs CreateFile 15:24:51.2909173 System 4 1844 D:\test.vbs FileSystem...
by iPath
Wed Jul 07, 2010 12:37 pm
Forum: madCodeHook
Topic: Monitoring SMB file activity
Replies: 7
Views: 9647

Thanks Madshi,
I'll look at the code to see if I am doing "really" system wide hooking. Also I'll try hooking NtCreateFile also.

p.s. I found Server service has kernel driver: srv.sys...may be all that stuff is going there :(
by iPath
Tue Jul 06, 2010 2:40 pm
Forum: madCodeHook
Topic: Is there a way to debug IPC errors?
Replies: 9
Views: 9183

Here is some info about threads, synchronization and deadlocks: - http://www.delphicorner.f9.co.uk/articles/op4.htm - http://edn.embarcadero.com/article/22411 - http://books.google.bg/books?id=tCKRewN1hioC&lpg=PA102&ots=dUejHnRlUN&dq=delphi%20critical%20section&pg=PA97#v=onepage&...
by iPath
Sun Jul 04, 2010 9:05 pm
Forum: madCodeHook
Topic: Is there a way to debug IPC errors?
Replies: 9
Views: 9183

Madshi's IPC is not thread safe Actually, yes it is fully thread-safe. The problem most likely lies within what is executing in his IPC calback which *may* not be thread-safe. --Iconic Yep, my fault :) The code inside the callback may not be thread safe, compared to other threads, not Madshi's IPC ...
by iPath
Sun Jul 04, 2010 2:05 pm
Forum: madCodeHook
Topic: Monitoring SMB file activity
Replies: 7
Views: 9647

Monitoring SMB file activity

Hi there :) The idea is very simple: to monitor file access made via SMB and eventually denying it. I suppose the Server service is calling CreateFile/NTOpenFile APIs. But when I hook all these and try to access a file on my computer from another via \\myComputer\myShare\myFile - I cannot see any en...
by iPath
Sun Jul 04, 2010 1:55 pm
Forum: madCodeHook
Topic: Is there a way to debug IPC errors?
Replies: 9
Views: 9183

Re: Is there a way to debug IPC errors?

Hi all: I´m using MadCodeHook to hook some WSOCK32.DLL and WS2_32.DLL functions: WS2send and WS2sendto, send and sendto. The objetive is to block the access to certain URLs. In every callback (it's not entirely true because I have a small cache), I will look for the URL in my base application (a se...