Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/FireMonkey/Runtime    [ Add a report in this area ]  
Report #:  105228   Status: Closed
[MacOS] Using Abort in event Crash Mac
Project:  Delphi Build #:  16.0.4429.46931
Version:    16.4 Submitted By:   etax DWS
Report Type:  Crash / Data loss / Total failure Date Reported:  4/26/2012 7:28:07 PM
Severity:    Infrequently encountered problem Last Updated: 9/5/2012 7:50:43 PM
Platform:    All Mac platforms Internal Tracking #:   27724
Resolution: Fixed (Resolution Comments) Resolved in Build: : 17.0.4625.53395
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 1
Description
If an abort is used in an event (particularly a keyboard event) the app will die 100% for keyboard events and somewhat randomly for mouse events

Added by Sysop
<<<<<<
Clicking item by mouse does not cause Crash.
Pressing arrow key to select item cause Crash.
>>>>>>
Steps to Reproduce:
Put an event on a component eg ListBox.Change add an abort in to the event and run - works on windows will die on mac


procedure TForm9.ListBox1Change(Sender: TObject);
begin
  if ListBox1.ItemIndex = 1 then
    abort;
end;
Workarounds
None
Attachment
AbortCrashesMac.zip
Comments

Linden ROTH at 4/26/2012 7:31:05 PM -
Submitted by Linden

Tomohiro Takahashi at 4/26/2012 8:40:54 PM -
I tested attached proejct on MacOS X(10.6.8). But, the app does not crash.
What version of MacOS X do you use?

Linden ROTH at 4/29/2012 8:06:32 PM -
click on line top line of list box pree down arrow crashes
10.7.2 & 10.7.3

Tomohiro Takahashi at 4/29/2012 8:40:59 PM -
ok, I will retest this issue with Lion.

Tomohiro Takahashi at 5/2/2012 7:30:27 PM -
This report was opened with valid Internal Tracking Number.
Thanks.

Server Response from: ETNACODE01