Access violation reading location

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Mohamed.Fekry
Posts: 19
Joined: Mon Dec 25, 2017 5:47 am
Organization: Zagazig University
Location: Egypt

Access violation reading location

Postby Mohamed.Fekry » Mon Jun 17, 2019 12:03 am

I tried to add some parameters in the ElastoDyn_Registry.txt. However, after building the code and starting the exe file, it crashed at different lines in ModMesh.f90. In contrary, the code runs normally if i comment the lines containing that parameters in ElastoDyn_Registry.txt.
1.png
1.png (335.51 KiB) Viewed 554 times

2.png
2.png (340.97 KiB) Viewed 554 times

Reg.png
Reg.png (37.94 KiB) Viewed 545 times
Last edited by Mohamed.Fekry on Mon Jun 17, 2019 2:04 am, edited 1 time in total.

Mohamed.Fekry
Posts: 19
Joined: Mon Dec 25, 2017 5:47 am
Organization: Zagazig University
Location: Egypt

Re: Access violation reading location

Postby Mohamed.Fekry » Mon Jun 17, 2019 1:35 am

(Cont'd)
This is a screenshot of the parameters that I want to add
Reg.png
Reg.png (2.03 MiB) Viewed 548 times

Debug.JPG
Debug.JPG (228.36 KiB) Viewed 543 times

Bonnie.Jonkman
Posts: 557
Joined: Thu Nov 10, 2005 10:51 am
Organization: Envision Energy USA
Location: Colorado
Location: Boulder, CO
Contact:

Re: Access violation reading location

Postby Bonnie.Jonkman » Mon Jun 17, 2019 8:40 pm

I suspect that the code isn't linking with the new compiled version of the FAST_types.f90/ElastoDyn_Types.f90 files, which is what causes the access violations. (I have had this problem before, myself. I am not sure if this is a Visual Studio problem or if there is something wrong in the way the FAST project files are set up.)

Any time you change the Registry input files in FAST, I would suggest "cleaning" the FAST project file (highlight the "FAST" project, right click, select "project only->Clean Only FAST"), and then building again. You can also just do a "clean" or "rebuild" of the entire solution, but it takes a while to build everything.
Bonnie Jonkman

Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016

Mohamed.Fekry
Posts: 19
Joined: Mon Dec 25, 2017 5:47 am
Organization: Zagazig University
Location: Egypt

Re: Access violation reading location

Postby Mohamed.Fekry » Mon Jun 17, 2019 9:22 pm

Thank you for consideration
it works


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest