View Issue Details

IDProjectCategoryView StatusLast Update
0002781JEDI VCL00 JVCL Componentspublic2005-03-18 11:20
ReporterwapostmaAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 
Summary0002781: JvAppEvents bug : JvAppInstances+JvAppEvents crash [access violation or runtime error 216]
DescriptionAttached is a demo application. It contains a JvAppInstances component and a JvAppEvents component.

The second copy of this program you start, detects that it is a second copy (this is what JvAppInstances is supposed to do), and immediatley shuts down the application. This shutdown somehow does something to jvAppEvents, that causes it to crash. I am unable to figure out why since I don't understand jvAppEvents code. It dies accessing an invalid TList object, or an invalid index in a TList object, when destroying the components as they are destroyed from within TCustomForm.Destroy. Why this happens in this case, but doesn't happen if you remove the JvAppEvents object, I don't know, but I suspect a code problem in JvAppEvents.
Additional InformationSteps to replicate:

(1) Build the EXE, but don't run it inside the IDE. Run the first copy NOT IN the Delphi debugger IDE but separately by double-clicking on the Exe file.

(2) Now run the second copy inside the delphi IDE, immediately at startup, it will begin application shutdown, and the main form will be destroyed, at this point, something goes screwy, and we get an acess violation.

On my system it doesn't just crash, it repeately crashes, and each time Windows puts up that message asking if you want to send in debugging information, and you select no, it crashes again. I haven't seen a crash this bad in a while.
TagsNo tags attached.


2005-03-18 10:33 (4,435 bytes)


2005-03-18 11:20

developer   ~0006737

Fixed in CVS

Issue History

Date Modified Username Field Change
2005-03-18 10:33 wapostma New Issue
2005-03-18 10:33 wapostma File Added:
2005-03-18 11:20 AHUser Status new => resolved
2005-03-18 11:20 AHUser Resolution open => fixed
2005-03-18 11:20 AHUser Assigned To => AHUser
2005-03-18 11:20 AHUser Note Added: 0006737