Search found 45 matches

by brian
Tue Apr 18, 2023 3:38 pm
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

Re: madExcept not working with projects from a Network share

Here, but they are not identical, otherwise the hex modification of the resource would have made the other one work. https://drive.google.com/file/d/1BfI26PZWh6jWLIZ-HyFRUWlnkK10HIa5/view?usp=share_link "local project1.exe" -> compiled in a local guest folder within the VM "project1.e...
by brian
Sat Apr 15, 2023 5:15 pm
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

Re: madExcept not working with projects from a Network share

All I found so far is a 2-bytes difference in the MAD_EXCEPT resource. Trying to change them for the ones from the working exe results in a corrupt EXE, I guess it's an address:

Image
by brian
Sat Apr 15, 2023 1:05 pm
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

Re: madExcept not working with projects from a Network share

Sorry, maybe I should have started with that about the VM, and yes, same problem, either running from the IDE or compiling then running the exe. I will try to do some digging and get back to you, thank you.
by brian
Sat Apr 15, 2023 12:54 am
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

Re: madExcept not working with projects from a Network share

I do the compilation from within a virtual machine in VMware, to a share, which is a disk in the host. If I run the compiled app in the host, madexcept is not there (no trigger on exceptions and no message about memory leaks when I close it). If I save the same project locally instead (inside the vm...
by brian
Thu Apr 13, 2023 10:34 pm
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

Re: madExcept not working with projects from a Network share

Mapped drive with relative Output path like "..\..\App"
by brian
Mon Apr 10, 2023 8:13 pm
Forum: madExcept
Topic: madExcept not working with projects from a Network share
Replies: 11
Views: 20896

madExcept not working with projects from a Network share

Latest Delphi 11.3 and madCollection

If I compile/run a project from a Network share, madExcept doesn't work (no crash trigger or resource leak report, as if it's not compiled in the exe)
by brian
Mon Feb 12, 2018 9:13 pm
Forum: madExcept
Topic: Leak reporter not working in Windows 7/XP
Replies: 2
Views: 4026

Re: Leak reporter not working in Windows 7/XP

Oh I didn't know these had to be deployed for the memory leak report. Thank you!
by brian
Thu Feb 08, 2018 6:25 am
Forum: madExcept
Topic: Leak reporter not working in Windows 7/XP
Replies: 2
Views: 4026

Leak reporter not working in Windows 7/XP

Is there a known issue with the leak report not showing up with the app running in Windows 7? using latest madExcept. Edit: tested with a new Forms app, just enabled madexcept, enabled leak reports, compiled. After closing the app in W10 the dialog shows up (no leaks found), but nothing comes up in ...
by brian
Fri Oct 24, 2014 10:23 am
Forum: madExcept
Topic: Memory Leaks on VirtualAlloc with BTMemoryModule
Replies: 13
Views: 14958

Re: Memory Leaks on VirtualAlloc with BTMemoryModule

That indicates there is actually an issue in the ASM code though? (as there is a FP error if I understood correctly)
by brian
Sat Oct 18, 2014 5:35 pm
Forum: madExcept
Topic: Memory Leaks on VirtualAlloc with BTMemoryModule
Replies: 13
Views: 14958

Re: Memory Leaks on VirtualAlloc with BTMemoryModule

Using XE7, but I recall the same happening in XE6 as well.

https://mega.co.nz/#!L1gHFCTK!6mRvWPmUx ... 4AbxYVs0A4

Thank you.
by brian
Tue Oct 14, 2014 6:31 am
Forum: madExcept
Topic: Memory Leaks on VirtualAlloc with BTMemoryModule
Replies: 13
Views: 14958

Re: Memory Leaks on VirtualAlloc with BTMemoryModule

Actually nevermind this one, the issue seems more complex and I'm not sure what's going on and whether it's maybe the jpeg decoder at fault: with the option to report leaks I get an exception the 1st time I call JpegDecode, "EInvalidOp/Invalid floating point operation.", but then.. if I ca...
by brian
Mon Oct 13, 2014 5:45 am
Forum: madExcept
Topic: Memory Leaks on VirtualAlloc with BTMemoryModule
Replies: 13
Views: 14958

Re: Memory Leaks on VirtualAlloc with BTMemoryModule

Hmmmm... You're right, this is really a bug in madExcept. I'll fix it for the next release. Thanks for letting me know! One more with VirtualAlloc: http://blog.synopse.info/post/2010/03/18/Fast-JPEG-decoder-using-SSE/SSE2-version-1.1 function JpegDecode(Buffer: pointer; BufferLen: cardinal; var pIm...
by brian
Mon Oct 06, 2014 10:08 pm
Forum: madExcept
Topic: Memory Leaks on VirtualAlloc with BTMemoryModule
Replies: 13
Views: 14958

Re: Memory Leaks on VirtualAlloc with BTMemoryModule

These are a few of the reported leaks: l_old_header: TImageNtHeaders; l_code, l_headers: Pointer; // reserve memory for image of library l_code := VirtualAlloc(Pointer(l_old_header.OptionalHeader.ImageBase), l_old_header.OptionalHeader.SizeOfImage, MEM_RESERVE, PAGE_READWRITE); VirtualAlloc(l_code, ...
by brian
Mon Oct 06, 2014 9:38 pm
Forum: madCollection
Topic: XE7 support
Replies: 22
Views: 29501

Re: XE7 support

@brian, sorry about that. Was a stupid fixed which got fixed a couple of hours later. Unfortunately the forum didn't notify me about your post, so I didn't reply here... :( @Stefan, would you mind creating a little test project for me? Tried to reproduce this, but it works fine on my PC. Thanks, wi...