EViews crashes...

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

EViews crashes...

Postby tvonbrasch » Fri Jul 20, 2018 12:30 pm

Hi

Try to run the attached program file twice and EViews crashes, for some reason....

Thomas
Attachments
google_docs_as_program_file.prg
(2.22 KiB) Downloaded 282 times

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: EViews crashes...

Postby EViews Steve » Mon Jul 23, 2018 7:49 am

Thanks for the program. I was able to get EViews 10 to crash on just the first run. While we try to fix this problem, I believe you can avoid this crash by changing a global setting to allow multiple untitled workfiles. Go to Options/General Options/Environment/Window behavior, then in the "Allow only one untitled" group box, uncheck the "Workfiles" checkbox. Once changed, try running your program again to see if EViews is more stable.

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: EViews crashes...

Postby EViews Steve » Mon Jul 23, 2018 8:07 am

Further, this bug is happening because EViews (by default) does not allow multiple un-named workfiles to be open at a time and tries to delete any previous untitled workfile whenever a new one is created -- and EViews is not cleaning up properly (during a program run) when doing this. So when your program runs and creates the first untitled workfile with this command:

Code: Select all

wfcreate a 1910 2020

but then downloads a new program which runs the exact same line, EViews is closing the first workfile window that was first created. So even if we fix the cleanup issue so that EViews doesn't crash, you may be missing the first workfile window after your program is complete.

To get around this problem, I would suggest you name your workfiles by specifying the wfname option in the wfcreate command, like this:

Code: Select all

wfcreate(wfname=first) a 1950 2020

or if you know you will have a workfile window already, change the program that is downloaded to create a new page instead:

Code: Select all

pagecreate a 1950 2020

to avoid the multiple untitled workfiles issue.

EViews Steve
EViews Developer
Posts: 788
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: EViews crashes...

Postby EViews Steve » Mon Jul 23, 2018 9:04 am

Ok this particular problem has been fixed and will be released in the next EViews 10 patch.

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: EViews crashes...

Postby tvonbrasch » Mon Jul 23, 2018 12:47 pm

Hi Steve

Thanks for excellent suggestions, and thanks for fixing the problem!
Thomas


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests