Modify

Opened 4 years ago

Closed 7 months ago

#3796 closed Bug (Works For Me)

Execute() cause crash (-1073741819) with some strings containing punctuation.

Reported by: steipal@… Owned by: Jpm
Milestone: Component: AutoIt
Version: 3.3.15.3 Severity: None
Keywords: execute, crash Cc:

Description

Execute(Dec.<string>) = Crash, because "Dec" is a function?
Execute(String.<string>) = Crash, because "String" is a function?
Execute(Dec.<number><string>) = Crash, because it contain string?
Execute(.<string>) = Crash. Reason unknown to me.

Execute(Dec.<number>) = OK. Reason unknown to me.
Execute(String.<number>) = OK. Reason unknown to me.
Execute(Dec. <string>) = OK, because of space between . and string?
Execute(Bec.<string>) = OK, because "Bec" is NOT a function?

So the rule seem to be crash under the following scenarios:
Execute(valid_function.<string>)
Execute(.<string>)

The example functions used (Dec, String) is arbitrary. And when I write that Execute is OK it means it does not crash. No matter if the string result is empty/error.
The bug is also present in 3.3.14.5.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by Melba23

Just why do you have the "." character in the Execute string parameter? There is nothing in AutoIt syntax which makes that a legal string for an Execute command.

Just what are you trying to do with this?

M23

comment:2 Changed 4 years ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

Fix sent to Jon

comment:3 Changed 4 years ago by anonymous

Hi Melba23,

I'm sorry but did not read your reply until now. When I wrote the ticket I was wondering whether I should state that the reason for having a "." character in execute() is not the issue, but rather the fatal crash that occurs, instead of returning @error.

But it seem that Jpm fixed it now so I'm looking forward to try a new build :-)

-steinar

comment:4 Changed 7 months ago by Jpm

  • Resolution set to Works For Me
  • Status changed from assigned to closed

Hi, I recheck under 3.3.16.1 no Crash so I close it work for me

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.