Modify

Opened 5 years ago

Closed 2 years ago

#3796 closed Bug (Works For Me)

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

Reported by: steipal@… Owned by: J-Paul Mesnage
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 by Melba23, 5 years ago

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 by J-Paul Mesnage, 5 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

Fix sent to Jon

comment:3 by anonymous, 5 years ago

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 by J-Paul Mesnage, 2 years ago

Resolution: Works For Me
Status: assignedclosed

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

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.