Random access violations are back

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

Random access violations are back

Post by zd » Wed 01 Dec 2010 12:08

Hi!

The error I've reported a while back (http://www.devart.com/forums/viewtopic.php?t=18697) has NOT been fixed in IBDAC 3.50.0.18.

I'm getting numerous customer reports of the error - in avarage 1 out of 15-20 times that my program is launched, my users get the error - this is leaving a very bad impression of my software...

Here is an almost similar error report, I'm pretty sure that the error is still in the IBCAlerter, that components has been causing more bad than good in the past few years...

The report:

EAccessViolation

Access violation at address 100036EF in module 'fbclient.dll'. Write of address 4F4C09FD.

Code: Select all

------------------------------------------------------------------------------------------------------------------
|Address |Module        |Unit                     |Class                   |Procedure/Method           |Line     |
------------------------------------------------------------------------------------------------------------------
|Running Thread: ID=3172; Priority=0; Class=; [Main]                                                             |
|----------------------------------------------------------------------------------------------------------------|
|1000B30B|fbclient.dll  |                         |                        |gds__free                  |         |
|1000B300|fbclient.dll  |                         |                        |gds__free                  |         |
|75B71730|KERNELBASE.dll|                         |                        |WaitForSingleObjectEx      |         |
|75E8EFFE|kernel32.dll  |                         |                        |WaitForSingleObjectEx      |         |
|769D83DB|user32.dll    |                         |                        |GetWindowLongW             |         |
|779321B4|ntdll.dll     |                         |                        |RtlAllocateHeap            |         |
|77932815|ntdll.dll     |                         |                        |RtlMultiByteToUnicodeN     |         |
|7793201A|ntdll.dll     |                         |                        |RtlFreeHeap                |         |
|77931FA1|ntdll.dll     |                         |                        |RtlFreeHeap                |         |
|779329A7|ntdll.dll     |                         |                        |RtlDeleteBoundaryDescriptor|         |
|75E7D7BD|kernel32.dll  |                         |                        |CreateDirectoryA           |         |
|769F41DE|user32.dll    |                         |                        |CallWindowProcA            |         |
|769D4493|user32.dll    |                         |                        |PtInRect                   |         |
|77926BA0|ntdll.dll     |                         |                        |RtlLeaveCriticalSection    |         |
|769D7690|user32.dll    |                         |                        |SendMessageW               |         |
|769F41F4|user32.dll    |                         |                        |CallWindowProcA            |         |
|769F41DE|user32.dll    |                         |                        |CallWindowProcA            |         |
|769CED0A|user32.dll    |                         |                        |PostThreadMessageW         |         |
|769CBBB3|user32.dll    |                         |                        |GetCapture                 |         |
|77931FA1|ntdll.dll     |                         |                        |RtlFreeHeap                |         |
|WndProc                    |243[1]   |
|769D3573|user32.dll    |                         |                        |DispatchMessageA           |         |
|769D3569|user32.dll    |                         |                        |DispatchMessageA           |         |
|                           |366[213] |
|75E91192|kernel32.dll  |                         |                        |BaseThreadInitThunk        |         |
|----------------------------------------------------------------------------------------------------------------| 
And straight after that, the following error is generated, and keeps appearing everytime my program tries IBCQuery.Open: (you need a program-restart to fix the issue)

EAccessViolation
Access violation at address 77926BF0 in module 'ntdll.dll'. Write of address 00000050.

Code: Select all

-----------------------------------------------------------------------------------------------
|Address |Module        |Unit               |Class       |Procedure/Method           |Line    |
-----------------------------------------------------------------------------------------------
|*Exception Thread: ID=3172; Priority=0; Class=; [Main]                                       |
|---------------------------------------------------------------------------------------------|
|77926BF0|ntdll.dll     |                   |            |RtlEnterCriticalSection    |        |
|1000BA5D|fbclient.dll  |                   |            |gds__alloc                 |        |
|1000BA50|fbclient.dll  |                   |            |gds__alloc                 |        |
|100132F0|fbclient.dll  |                   |            |gds__thread_enter          |        |
|1001FF60|fbclient.dll  |                   |            |isc_dsql_allocate_statement|        |
|75B71730|KERNELBASE.dll|                   |            |WaitForSingleObjectEx      |        |
|75E8EFFE|kernel32.dll  |                   |            |WaitForSingleObjectEx      |        |
|769D7690|user32.dll    |                   |            |SendMessageW               |        |
|77A627AD|IMM32.DLL     |                   |            |ImmUnlockClientImc         |        |
|77A627A0|IMM32.DLL     |                   |            |ImmUnlockClientImc         |        |
|769F41DE|user32.dll    |                   |            |CallWindowProcA            |        |
|769CCC6C|user32.dll    |                   |            |SendMessageA               |        |
|769CCC28|user32.dll    |                   |            |SendMessageA               |        |
|75D73C9E|MSCTF.dll     |                   |            |CtfImeDispatchDefImeMessage|        |
|769CCBB3|user32.dll    |                   |            |SetFocus                   |        |
|769CCBA9|user32.dll    |                   |            |SetFocus                   |        |
|769D3573|user32.dll    |                   |            |DispatchMessageA           |        |
|769D3569|user32.dll    |                   |            |DispatchMessageA           |        |
|006F363A|Justitia.exe  |VistaAltFixUnit.pas|TFormObj    |WndProc                    |243[1]  |
|769D93BF|user32.dll    |                   |            |KillTimer                  |        |
|769D3573|user32.dll    |                   |            |DispatchMessageA           |        |
|769D3569|user32.dll    |                   |            |DispatchMessageA           |        |
|75E91192|kernel32.dll  |                   |            |BaseThreadInitThunk        |        |
-----------------------------------------------------------------------------------------------

Please look into this issue as soon as possible.

Thank you!

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 03 Dec 2010 13:15

I could not reproduce the problem. This is a specific problem and we did not encounter this with other users. Unfortunately the information you provided is not enough to investigate the problem. Try to compose a sample to demonstrate the problem and send it to dmitryg*devart*com.

zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

Post by zd » Mon 06 Dec 2010 23:06

Hi! Did you get my e-mail?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 08 Dec 2010 11:30

Yes. We have answered you by e-mail.

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Post by upscene » Tue 28 Dec 2010 08:08

With 3.50.0.18 I get AVs as well.

I'm using a TIBCQuery that's reused during several INSERT operations, when blob columns are involved, I get an AV on the 5th time I'm changing SQL and calling Prepare.

If I remove ANY of the INSERTs before the 5th, it works fine. If I put the last INSERT, which does not have a BLOB column on 4th place it fails too.

This is a serious problem for me.

The error is: " Invalid pointer operation "

---------------------------
Project ... raised exception class EAccessViolation with message 'Access violation at address 50006BF4 in module 'rtl120.bpl'. Read of address FFFFFFFD'.
---------------------------

AndreyZ

Post by AndreyZ » Tue 28 Dec 2010 09:32


Post Reply