Bug Report B236333
Visible to All Users

AV in a bar manager's DoCreate method when this bar manager resides on TFrame placed into another TFrame that already has a Handle, but its Parent is nil

created 12 years ago (modified 12 years ago)

I am getting an AV with the call stack below after moving from 12.3 to 12.5. Are there any known issues? it is a pretty complicated section of my app and would be hard to create a demo.

Ed Dressel

:7460c41f KERNELBASE.RaiseException + 0x58
:00408db4 NotifyNonDelphiException + $1C
:76f1b42b ; ntdll.dll
Vcl.Controls.TWinControl.DisableAlign
:76ed0133 ntdll.KiUserExceptionDispatcher + 0xf
:00b13981 HandleOwnerMessage + $35
:00b13a74 TdxBarManager.OwnerWndProc + $A8
:00b0e7b8 CallOwnerWndProc + $E0
:00b0e92e dxBarWndProcHook + $5E
:0091d5b1 TdxSystemHook.ProcessHookProcs + $55
:0091d40a dxSystemWndProcHook + $1A
:76526381 USER32.CallNextHookEx + 0xfc
:7655c21f USER32.GetRawInputDeviceInfoW + 0x76
:7651a740 ; C:\Windows\syswow64\USER32.dll
:76ed010a ntdll.KiUserCallbackDispatcher + 0x2e
:7651aa3c ; C:\Windows\syswow64\USER32.dll
:76518a5c USER32.CreateWindowExW + 0x33
Winapi.Windows.CreateWindowEx(???,???,'',1174405120,0,0,947,429,3675228,0,4194304,nil)
Vcl.Controls.TWinControl.CreateWindowHandle($18F3E4)
Vcl.Controls.TWinControl.CreateWnd
Vcl.Forms.TScrollingWinControl.CreateWnd
Vcl.Controls.TWinControl.CreateHandle
Vcl.Controls.TWinControl.HandleNeeded
Vcl.Controls.TWinControl.GetHandle
:006078ee TScrollingWinControl.CreateWnd + $A
:00b03b64 GetBarManagerForm + $14
:00b0d7e7 HandleByManager + $47
:00b0dd65 dxBarKeyboardHook + $5D
:0091d5b1 TdxSystemHook.ProcessHookProcs + $55
:0091d3ca dxSystemKeyboardHook + $1A
:76526381 USER32.CallNextHookEx + 0xfc
:765180a9 USER32.GetUserObjectInformationW + 0x41
:76518133 USER32.GetUserObjectInformationW + 0xcb
:76ed010a ntdll.KiUserCallbackDispatcher + 0x2e
:76520751 ; C:\Windows\syswow64\USER32.dll
Vcl.Forms.TApplication.ProcessMessage(???)

Comments (1)

    I rolled back to 12.3 and everything worked fine--then I reinstalled 12.5 and the AV problems came back.
    I have attached a madExcept bug report.

    Answers approved by DevExpress Support

    created 12 years ago (modified 12 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.