Home RAP

Drag and Drop Access Violation

edited November 2014 in RAP
Not sure if this is still present in v16 (we can't schedule in an
upgrade until after the New Year) but in 15.05 if you drag and drop code
in the popup calc form then you get an AV. Totally repeatable with any
RB demo project. If there is a DCU that fixes I'd be grateful as our
users have discovered it:

executable : RAP.exe
exec. date/time : 2014-11-24 09:44
bde version : 5.2.0.2
compiled with : Delphi 2006/07
madExcept version : 4.0.6
callstack crc : $9d28df0d, $12042e1e, $d84ad630
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00844026 in module
'RAP.exe'. Read of address 00000000.

main thread ($9c8):
00844026 +06e RAP.exe raClcDlg
TraCalcDialog.EditorDragDropEvent
004d076b +01f RAP.exe Controls 4643 +1 TControl.DragDrop
0083a36c +084 RAP.exe ppSynEdit 5502 +6
TCustomSynEdit.DragDrop
004d0ccb +0e3 RAP.exe Controls 4822 +24 TControl.DoDragMsg
004d7683 +027 RAP.exe Controls 8497 +4 TWinControl.CMDrag
004d1527 +2bb RAP.exe Controls 5146 +83 TControl.WndProc
004d551f +4fb RAP.exe Controls 7304 +111 TWinControl.WndProc
0083a241 +019 RAP.exe ppSynEdit 5434 +5
TCustomSynEdit.WndProc
004d4c48 +02c RAP.exe Controls 7073 +3
TWinControl.MainWndProc
0048db64 +014 RAP.exe Classes StdWndProc
77290107 +02b ntdll.dll
KiUserCallbackDispatcher
004cd021 +01d RAP.exe Controls 2495 +2
TDragObject.MainWndProc
0048db64 +014 RAP.exe Classes StdWndProc
75177bc5 +00a USER32.dll DispatchMessageA
004f047c +0fc RAP.exe Forms 8105 +23
TApplication.ProcessMessage
004f04b6 +00a RAP.exe Forms 8124 +1
TApplication.HandleMessage
004ec8eb +187 RAP.exe Forms 5822 +29
TCustomForm.ShowModal
005a7cdb +01f RAP.exe ppForms 697 +10 TppForm.ShowModal
00778369 +055 RAP.exe ppPopupMenus 1678 +16
TppVariablePopupMenu.CalculationsMenuClick

Comments

  • edited November 2014
    Hi Tom,

    Please provide specific steps to recreate the issue. I tested the Calc
    Dialog drag-and-drop with RB 16 and 15.05, but did not encounter any issue.
    I used the Demos\EndUser\Report Explorer project, configured to include the
    raIDE. On a new report I add a TppVariable and access the Calc Dialog and
    drag some code from the toolbox.




    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2014
    Sorry Nard, I should have been more specific.

    Its not dragging onto the code editor, its dragging code around "within"
    the edit. If you still can't reproduce I can record a screencast if it
    helps.

  • edited November 2014

    Ok... 'dragging selected text within code editor'

    Surprisingly, no one has ever tried that. The code that AV's has been in
    place for years - it assumes that any drag operation originates from the
    code toolbox. I created a patch for RB 16.



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.