dimmaq / omnithreadlibrary

Automatically exported from code.google.com/p/omnithreadlibrary
0 stars 0 forks source link

app_19_StringMsgBenchmark : access violation if FastMM4 is used #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start app_19_StringMsgBenchmark from the IDE

What is the expected output? What do you see instead?
Expected the application to start. 

Instead, the application immediately jumps to the first 'begin' in 
app_19_StringMsgBenchmark.dpr.

After pressing F9 to continue execution, an access violation is thrown:

---------------------------
Debugger Fault Notification
---------------------------
app_19_StringMsgBenchmark.exe faulted with message: 'access violation at 
0x7c92abd5: write of address 0x00030d24'. Process Stopped. Use Step or Run 
to continue.

What version of the product are you using? On what operating system?
* OmniThread v1.03: 2009-02-08
* Delphi 2009 (without any service packs)
* 32bits Windows XP pro SP3, English on an i7 processor.
* Fast Memory Manager 4.92 (exactly same one as the one in the OmniThread 
svn repository.. did a diff to confirm)

Please provide any additional information below.

Removing FastMM4 gets rid of this issue, and everything runs fine.
It's odd, because I'm using FastMM4 in many other applications without 
problems.  I've tried to add FastMM4 (as the first unit in the .dpr) to the 
other examples, and that resulted in the same type of crash.

Could there be a conflict between FastMM4 and the OmniThread library?

Original issue reported on code.google.com by SuperNiFF@gmail.com on 5 Oct 2009 at 6:17

GoogleCodeExporter commented 9 years ago
Cannot reproduce with Delphi 2007/FastMM 4.94 nor with Delphi 2010/FastMM 4.94.

Original comment by gabr42 on 13 Nov 2009 at 7:17