iMacros 2021 browser crashes

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
lukasz
Posts: 41
Joined: Fri Jan 24, 2020 10:26 am

iMacros 2021 browser crashes

Post by lukasz » Wed Feb 09, 2022 3:20 pm

It looks like it was some sort of intermittent problem on the website. because now everything works fine for me too..

I have a different problem but it concerns iMacros 2021 (14.2.3.3) I don't know if it's the latest version and it's a trial but I'm afraid it applies to all iMacros 2021 versions.I have a fairly complex script (vbs) that contains many loops and extraction commands. when i run it iMacros 2021 closes for no reason, sometimes after 30 seconds and sometimes after a few minutes. There is no iimClose command in this script. So nothing should be causing this problem. The script is designed to extract data from a large table on the page, so it must work quickly. but I tried to change the playback speed and despite the slow speed the browser still closes. Interestingly, this script works fine when run in firefox. I debug the script in visual Studio as well, and from the code point of view there is definitely no error there
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Re: iMacros 2021 browser crashes

Post by Tom, Tech Support » Fri Feb 25, 2022 12:01 pm

Hi lukasz,

I split your last post into a new topic since it is really unrelated to the previous topic.

The reason the browser is closing is because it is quietly crashing. If you look in your Documents\iMacros\Logs folder, you should see one or more iMacrosApp_xxxx.log files. These files contain the stack traces for each browser crash.

If you are a current customer with an active service agreement, I encourage you to open a support case to report this crash.

If not, then the next best thing would be to zip up the files, including the script/macros if possible, and upload them here. If you would rather not or can't post them on a public forum, just let me know and I can provide you with an alternate location.
Regards,

Tom, iMacros Support
lukasz
Posts: 41
Joined: Fri Jan 24, 2020 10:26 am

Re: iMacros 2021 browser crashes

Post by lukasz » Thu Mar 17, 2022 3:12 pm

HI,

Well i have no longer product as it was trial for imacros 2021, but i just installed iMacros on VM to see if this still produce this crash and yes, so i can share everything you need
Tom, Tech Support wrote:
Fri Feb 25, 2022 12:01 pm
If you would rather not or can't post them on a public forum, just let me know and I can provide you with an alternate location.
This will be the best way
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Re: iMacros 2021 browser crashes

Post by Tom, Tech Support » Fri May 13, 2022 9:40 am

Hi lukasz,

My apologies for not replying sooner, the forum notification system was broken for several weeks and I am just now seeing your last reply.

If you still have the files for reproducing and logging the crash, kindly zip them up and email them to imacrossupport-ipswitch @ progress.com. Thanks.
Regards,

Tom, iMacros Support
lukasz
Posts: 41
Joined: Fri Jan 24, 2020 10:26 am

Re: iMacros 2021 browser crashes

Post by lukasz » Thu Jun 16, 2022 11:12 am

I sent information on this email on May 26, so far I have not received a reply. I am providing a scripting service and my next client reports this problem, imacros just crashes, and again with -fx or -cr the problem does not occur.
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Re: iMacros 2021 browser crashes

Post by Tom, Tech Support » Thu Jul 21, 2022 3:10 pm

Hi lukasz,

Sorry I have not had an update for you until now. I have been informed that the development team is investigating the crash you reported for consideration in the next hotfix release. It is not guaranteed that a fix for the issue will make it into the release, unless they can find a solution in the time allotted.

I should also mention that we've had at least one other report about this specific type of crash, but we did not have any reproducible test case until you sent us your script. So thank you for taking the time to do that, it helps tremendously any time we are able to quickly and easily reproduce the issue on our own!
Regards,

Tom, iMacros Support
lukasz
Posts: 41
Joined: Fri Jan 24, 2020 10:26 am

Re: iMacros 2021 browser crashes

Post by lukasz » Thu Jul 21, 2022 3:27 pm

no problem also it crash every time when actions are performed quick but i think this is the same problem
Really easy example open - google.com and repeat extraction of same element 1000 times, if there is error it will echo loop.
it will always crash at random loop:

Code: Select all

dim openurl
openurl = "URL GOTO=google.com" & vbNewLine

dim Extract
Extract = "TAG POS=1 TYPE=DIV ATTR=* EXTRACT=TXT" & vbNewLine


Dim iim1, iret
Set iim1= CreateObject ("imacros")
iret = iim1.iimOpen("-ng", false)



iret = iim1.iimPlayCode(openurl)

for Myloop = 1 to 1000
	iret = iim1.iimPlayCode(Extract)
	var = Replace(iim1.iimGetLastExtract(), "[EXTRACT]", "")
	
	if iret < 0 Then
		wscript.echo Myloop
		Myloop = 1000
	end if
next
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Re: iMacros 2021 browser crashes

Post by Tom, Tech Support » Tue Aug 02, 2022 9:38 am

lukasz wrote:
Thu Jul 21, 2022 3:27 pm
no problem also it crash every time when actions are performed quick but i think this is the same problem
Really easy example open - google.com and repeat extraction of same element 1000 times, if there is error it will echo loop.
it will always crash at random loop:

Code: Select all

dim openurl
openurl = "URL GOTO=google.com" & vbNewLine

dim Extract
Extract = "TAG POS=1 TYPE=DIV ATTR=* EXTRACT=TXT" & vbNewLine


Dim iim1, iret
Set iim1= CreateObject ("imacros")
iret = iim1.iimOpen("-ng", false)



iret = iim1.iimPlayCode(openurl)

for Myloop = 1 to 1000
	iret = iim1.iimPlayCode(Extract)
	var = Replace(iim1.iimGetLastExtract(), "[EXTRACT]", "")
	
	if iret < 0 Then
		wscript.echo Myloop
		Myloop = 1000
	end if
next
Thanks for the even more simplified test case! I've attached this also to our issue tracker.
Regards,

Tom, iMacros Support
Tom, Tech Support
Posts: 3834
Joined: Mon May 31, 2010 4:59 pm

Re: iMacros 2021 browser crashes

Post by Tom, Tech Support » Sat Sep 10, 2022 7:26 am

Hi again lukasz,

I just wanted to provide another quick update to let you know that the crash has been fixed and confirmed by myself as well as one other customer who was provided with a development build. The fix will be available in the the next hotfix release, which should be coming fairly soon, though I don't have an exact date just yet. I will update here again when it is available to the general public.

Thanks again for your help with this issue!
Regards,

Tom, iMacros Support
Post Reply