# Memory block free'd twice

**URL:** <https://clarionhub.com/t/memory-block-freed-twice/2632>\
**Category:** questions\
**Tags:** odbc\
**Created:** [May 29, 2019, 9:54am UTC](https://clarionhub.com/t/memory-block-freed-twice/2632 "2019-05-29T09:54:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kajee\_Zaid](https://clarionhub.com/user_avatar/clarionhub.com/kajee_zaid/32/1432_2.png) [@Kajee\_Zaid](https://clarionhub.com/u/Kajee_Zaid)\
**Post date:** [May 29, 2019, 9:54am UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/1 "2019-05-29T09:54:39Z")

</div>

Greetings all.  
Hope someone can help me out here.

Im using the Clarion ODBC Driver, which randomly crashes on the webserver with:

## Error: memory block free’d twice 0A6345FF 0001:000335FF c4otrx.dll 74A0E3DC 0001:0002D3DC ODBC32.dll

---

<div class="post-metadata">

**Author:** ![seanh](https://clarionhub.com/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@seanh](https://clarionhub.com/u/seanh)\
**Post date:** [May 29, 2019, 11:21pm UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/2 "2019-05-29T23:21:42Z")

</div>

Is this a multi dll app?  
You can sometimes get this message with multi dll apps with circular references.

---

<div class="post-metadata">

**Author:** ![Kajee\_Zaid](https://clarionhub.com/user_avatar/clarionhub.com/kajee_zaid/32/1432_2.png) [@Kajee\_Zaid](https://clarionhub.com/u/Kajee_Zaid)\
**Post date:** [June 3, 2019, 11:33am UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/3 "2019-06-03T11:33:53Z")

</div>

Manage to ‘sort this out’  
The TPS ODBC driver crashes and corrupts files when it receives multiple simultaneous connections on PHP Apache environment. I limit it to one connection now and its working now.

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [June 6, 2019, 6:39am UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/4 "2019-06-06T06:39:36Z")

</div>

It should be pointed out you are using the C4 version of the ODBC driver. That’s from like 1997 so the problem may not be present in the existing version.

---

<div class="post-metadata">

**Author:** ![Kajee\_Zaid](https://clarionhub.com/user_avatar/clarionhub.com/kajee_zaid/32/1432_2.png) [@Kajee\_Zaid](https://clarionhub.com/u/Kajee_Zaid)\
**Post date:** [June 6, 2019, 9:24am UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/5 "2019-06-06T09:24:08Z")

</div>

Hmm, I did check with softvelocity its the latest, its just seems to be named that way

 ![image](https://clarionhub-uploads.s3.dualstack.eu-north-1.amazonaws.com/original/2X/9/93b9ad7c8551cffd1b3655239ba0b491a8345a13.png) .

---

<div class="post-metadata">

**Author:** ![Rick\_UpperPark](https://clarionhub.com/user_avatar/clarionhub.com/rick_upperpark/32/346_2.png) [@Rick\_UpperPark](https://clarionhub.com/u/Rick_UpperPark)\
**Post date:** [June 6, 2019, 3:46pm UTC](https://clarionhub.com/t/memory-block-freed-twice/2632/6 "2019-06-06T15:46:50Z")

</div>

Kajee is correct. The file name is C4\*.dll even for the latest versions.
