Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 8 Replies) Error process must exit before requested information can be determined (Read 9933 times)
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Error process must exit before requested information can be determined
Jun 6th, 2018 at 4:56pm
Print Post  
Hello guys.
I've been working in a project for several weeks now and lately I keep getting this error when trying to build and upload to the board:

process must exit before requested information can be determined

The last part of the output I get is this (I can't paste the whole thing):

Code
Select All
Building project code ...
  Using previously compiled file: ct.cpp.o

Linking it all together ...
# Coping cached core 761fb\core.a to

el3.5.4-arduino2/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o ect.ino.elf" ect.cpp.o" yFree\MemoryFree.cpp.o" net\Dhcp.cpp.o" net\Dns.cpp.o" net\Ethernet.cpp.o" net\EthernetClient.cpp.o" net\EthernetServer.cpp.o" net\EthernetUdp.cpp.o" net\utility\socket.cpp.o" net\utility\w5100.cpp.o" G\VM_DBG.cpp.o" G\VM_mem_check_sam.cpp.o" PI.cpp.o" a" "-LC:\Users\Roman\AppData\Local\Temp\VMBuilds\Ecollect\mega_atmega2560\Debug" -lm
	Process: el3.5.4-arduino2\bin\avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o ect.ino.elf" ect.cpp.o" yFree\MemoryFree.cpp.o" net\Dhcp.cpp.o" net\Dns.cpp.o" net\Ethernet.cpp.o" net\EthernetClient.cpp.o" net\EthernetServer.cpp.o" net\EthernetUdp.cpp.o" net\utility\socket.cpp.o" net\utility\w5100.cpp.o" G\VM_DBG.cpp.o" G\VM_mem_check_sam.cpp.o" PI.cpp.o" a" "-LC:\Users\Roman\AppData\Local\Temp\VMBuilds\Ecollect\mega_atmega2560\Debug" -lm
Process must exit before requested information can be determined. 



Error linking for board Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)
Debug build failed for project 'Ecollect'
« Last Edit: Jun 6th, 2018 at 4:59pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #1 - Jun 6th, 2018 at 5:01pm
Print Post  
Hi

Do you get the same problem if you switch to Release mode and build/upload?

If so then please switch on "vmicro>compiler>show build properties" then build and post the output as a .txt file. (To attach a file you have to click the Reply button)
« Last Edit: Jun 6th, 2018 at 5:02pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #2 - Jun 6th, 2018 at 5:01pm
Print Post  
I forgot to mention.
My VisualMicro is updated to the last version and I'm using Visual Studio 2015
  
Back to top
 
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #3 - Jun 6th, 2018 at 6:18pm
Print Post  
Hello.
Thanks for the answer.
In release mode I keep getting an error that file core.a exists.
I just deleted everything in the temp folder and I'm trying again right now
  
Back to top
 
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #4 - Jun 6th, 2018 at 6:38pm
Print Post  
I keep getting the "file exists" error in release mode.
Attached you'll find the output text and the contents of the temp folder.
I'll do the same with a debug build afterwards
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #5 - Jun 6th, 2018 at 6:42pm
Print Post  
I need to see that detailed output if possible. 

Sounds like a permissions issue but ...

Then you can switch off vmicro>compiler>cache shared core which will clear the core cache. Interested to know if then switching the cache back on solves the issue. Leaving it off will probably solve the issue but it will be useful to know what the problem is/was.

« Last Edit: Jun 6th, 2018 at 6:43pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #6 - Jun 6th, 2018 at 6:45pm
Print Post  
In debug compile I get the previous error I mentioned.
Attached is the output and the temp file

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #7 - Jun 6th, 2018 at 6:50pm
Print Post  
Thanks yes the previous message with  the output  was ok but I didn;t see it until after my post

Please delete this folder: C:\Users\Roman\AppData\Local\Temp\VMBCore



btw: What is this include? How are you including the MemoryFree path?
C:\Program Files (x86)\Arduino\libraries\MemoryFree
  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #8 - Jun 6th, 2018 at 6:54pm
Print Post  
I just closed other programs I had running in my computer and this time I was able to build and upload the project.
Maybe the error has something to do with available resources?

I'm using Windows 10 64b, i7 2.2gHz, 16Mb
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #9 - Jun 6th, 2018 at 6:55pm
Print Post  
How much disk space have you got free on your c drive?
  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #10 - Jun 6th, 2018 at 7:45pm
Print Post  
In C: drive I have 352Gb free out of 743Gb.

I successfully uploaded several times now with all other applications closed.
It is definitely resource related.
I spent several days before posting and now I found at least a work around.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #11 - Jun 6th, 2018 at 10:35pm
Print Post  
Never heard of that before. It's possible a virus checker or anti-malware is hogging the file? Can you exclude the two temp build folder(s) from being checked?
  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #12 - Jun 7th, 2018 at 12:11am
Print Post  
With the rest of the applications closed I don't get any error
  
Back to top
 
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #13 - Jun 7th, 2018 at 8:25pm
Print Post  
Roman Rus wrote on Jun 7th, 2018 at 12:11am:
With the rest of the applications closed I don't get any error


My mistake. this is not accurate.
With every other application closed but Visual Studio I can compile in debug mode. I keep getting the error if I try the release compile.

I even had to close MS Outlook that I used to have always open. 
It seems that latest releases of VMicro eat up more resources than before.
  
Back to top
 
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #14 - Jun 7th, 2018 at 8:29pm
Print Post  
Another thing just in case.
I've been getting unexpected board resets that I've been trying to solve for the last couple weeks. I mean in the middle of the program the Arduino just restarts. I verified wiring, String usage and array indexes out of range and none of these seem to be the reason.

Is there any chance that this error may be related with board resetting? I do doubt it, but I had to ask, I can't think of any other reason
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #15 - Jun 7th, 2018 at 8:37pm
Print Post  
Hi the linker error is unconnected to board resets. 

Board resets are usually due to using too much memory. If you have lots of strings in your code try to use F()

Resets also happen if you override or write to memory outside of what is allowed but you prob know that.

Resets can also happen if the board doesn't have enough power so it can depend on what sensors and other things you have connected.

Linker error.

Visual Micro isn't using extra resource, I run it in all IDE's at the same time. The issue is probably related to virus checker, in release mode there will be less time between the creation and move of files during build because its faster.

If you have switched on vmicro>compiler>parallel builds then that will use more resources.

As explained earlier in the last release there is a central shared cache for core. Did you switch off "vmicro>compiler>shared cache for cores" as mentioned earlier?
  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #16 - Jun 7th, 2018 at 8:38pm
Print Post  
Tim@Visual Micro wrote on Jun 6th, 2018 at 10:35pm:
Never heard of that before. It's possible a virus checker or anti-malware is hogging the file? Can you exclude the two temp build folder(s) from being checked?



The file core.a is not in that folder even when compiler says "unable to rename .... file exists"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #17 - Jun 7th, 2018 at 8:42pm
Print Post  
If you have switched on vmicro>compiler>parallel builds then that will use more resources.

As explained earlier in the last release there is a central shared cache for core. Did you switch off "vmicro>compiler>shared cache for cores" as mentioned earlier?
  
Back to top
WWW  
IP Logged
 
Roman Rus
Junior Member
**
Offline


Posts: 35
Joined: Mar 23rd, 2016
Re: Error process must exit before requested information can be determined
Reply #18 - Jun 8th, 2018 at 1:10pm
Print Post  
Hello again.
Parallel builds is not selected although shared cached is.
I didn't touch either.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error process must exit before requested information can be determined
Reply #19 - Jun 8th, 2018 at 2:09pm
Print Post  
Yes shared cache is on by default. Try switching it off.

Thanks
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint