View Issue Details

IDProjectCategoryView StatusLast Update
0005717JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
Reportereje92Assigned ToAHUser 
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.46 
Summary0005717: TJvIPAddress Causes Crash as Win64 Application Closes
DescriptionIf the user types at a TJvIPAddress control in a Win64 Delphi XE2 application, the program later raises an Access Violation exception as it closes. This will not happen if the form simply contains a TJvIPAddress control but the user does not type into it (or types hardly anything). It happens only when the application is compiled as a Win64 application; Win32 applications never exhibit the bug. The crash can be seen as the program closes while running in the integrated debugger. When running the compiled program directly, Windows 7 reports an error as the program closes. The crash can be reproduced most of the time when typing an address of
Additional InformationI originally reported this as Issue 0005714 on November 16, 2011. That issue was marked “Revolved” on November 19, 2011 with the comment “Fixed with revision 13173.” I installed the November 21, 2011 daily download of the JVCL and installed it into Delphi XE2. After rebuilding the application, the problem still exists. Sample code has been attached this time.
TagsNo tags attached.


2011-11-21 21:02


TJvIPAddressDemo.ZIP (82,059 bytes)


2011-11-22 20:09

developer   ~0019121

I can't reproduce this with the svn head.

Can you confirm that the "TJvIPEditControlHelper.SetHandle" method contains the line "FOrgWndProc := Pointer(SetWindowLongPtr(FHandle, GWL_WNDPROC, LONG_PTR(FInstance)));" (line 805)


2011-11-24 02:09

reporter   ~0019128

I did find FOrgWndProc := Pointer(SetWindowLongPtr(FHandle, GWL_WNDPROC, LONG_PTR(FInstance))) in the new JVCL source but not the old. I then reinstalled the JVCL, and the problem immediately disappeared. Perhaps forgetting to check the "Build Packages" option during the first install caused the component to not actually be updated? Not sure...I'm 100% new to JCL and JVCL. Anyway, thank you for your help in resolving this 64-bit issue; the crash is gone.

Once issue 5716 described at is resolved, I think this component will be very useful.

Issue History

Date Modified Username Field Change
2011-11-21 21:02 eje92 New Issue
2011-11-21 21:02 eje92 File Added: TJvIPAddressDemo.ZIP
2011-11-22 20:09 AHUser Note Added: 0019121
2011-11-22 20:09 AHUser Assigned To => AHUser
2011-11-22 20:09 AHUser Status new => feedback
2011-11-24 02:09 eje91 Note Added: 0019128
2011-11-24 18:02 AHUser Status feedback => resolved
2011-11-24 18:02 AHUser Fixed in Version => Daily / SVN
2011-11-24 18:02 AHUser Resolution open => fixed
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46