Pages: [1]   Go Down
Author Topic: [Vista] Errors trying to start Arduino.exe  (Read 1367 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a fresh download of the IDE, completely unmodified. When I try to start it via arduino.exe I get

      6 [main] ? (21360) C:\Users\defsegx\Desktop\arduino-0008\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096
      6 [main] avr-g++ 5800 child_copy: stack write copy failed, 0x22E920..0x230000, done 0, windows pid 2287700, Win32 error 5
      8 [main] ? (13120) C:\Users\defsegx\Desktop\arduino-0008\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096
3215653 [main] avr-g++ 5800 child_copy: stack write copy failed, 0x22E920..0x230000, done 0, windows pid 2287700, Win32 error 5
      8 [main] ? (19776) C:\Users\defsegx\Desktop\arduino-0008\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096
7356015 [main] avr-g++ 5800 child_copy: stack write copy failed, 0x22E920..0x230000, done 0, windows pid 2287700, Win32 error 5
      6 [main] ? (4028) C:\Users\defsegx\Desktop\arduino-0008\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096
13473552 [main] avr-g++ 5800 child_copy: stack write copy failed, 0x22E920..0x230000, done 0, windows pid 2287700, Win32 error 5
avr-g++: fork: No error


At the top it says "Error building "Software Serial". Nothing will work after this. Any ideas?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I too am using Windows Vista (32 bit) and am having similar problems.  Interestingly, when i first downloaded and installed arduino I had loads of errors that came up immediately.  I updated to the lastest JAVA runtimes, and now the program arduino launches without problems.  It is not until i try and compile or upload a sketch that the following error messages appear (repeated over and over):


     13 [main] ? (4708) C:\code\arduino-0008\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


     12 [main] avr-gcc 5412 child_copy: stack write copy failed, 0x22D9C0..0x230000, done 0, windows pid 2283764, Win32 error 5

Has anyone found a solutino for this? Or is this a know Vista problem?
Logged

Vancouver, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm getting the same errors when trying to upload a sketch under 32bit Vista.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I' also have get the same errors when trying to upload a sketch under 32bit Vista (french edition), but I found a solution.  smiley

   1. Open Windows Explorer.
   2. Locate arduino.exe
   3. Right click arduino.exe and click the Properties option.
   4. Select the Compatibility tab.
   5. Select the Run This Program in Compatibility Mode option.
   6. From the drop-down list, choose the operating system you ran before upgrading to Vista, (Windows XP SP2 in my case).
   7. If necessary, select the option to run the program as an administration. (Not necessary on my computer)
   8. Click OK.

This method is available for a lot of executables created for Win XP.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I' also have get the same errors when trying to upload a sketch under 32bit Vista (french edition), but I found a solution.  smiley

   1. Open Windows Explorer.
   2. Locate arduino.exe
   3. Right click arduino.exe and click the Properties option.
   4. Select the Compatibility tab.
   5. Select the Run This Program in Compatibility Mode option.
   6. From the drop-down list, choose the operating system you ran before upgrading to Vista, (Windows XP SP2 in my case).
   7. If necessary, select the option to run the program as an administration. (Not necessary on my computer)
   8. Click OK.

This method is available for a lot of executables created for Win XP.

This didnt work for me. To fix it I had to install WinAVR over the ones they supplied with arduino, delete their version, and copy over uisp.exe.


Someone should really update the zip files to the newer WinAVR version.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am also getting errors with Vista - I am using 0009 - it works fine on XP.  I couldn't even get it to load without error until I set the run in compatibility mode and updated winavr.  At this point I can not get the files to upload to the board, I am getting assembly error.  Here are the results with verbose set ( BTW, I also tried changing TEMP to windows temp with the same errors).

C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\pins_arduino.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\pins_arduino.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cczed8dk.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\WInterrupts.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\WInterrupts.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc8dv7oQ.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccrLZHa6.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_analog.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_analog.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccd3Q7Yb.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_digital.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_digital.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccACF6q3.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_pulse.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_pulse.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccSMd1rj.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_serial.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_serial.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccTWwY6q.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_shift.c -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_shift.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccs8IOgD.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L \\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\Blink.cpp -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\Blink.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccrX1bXK.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\HardwareSerial.cpp -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\HardwareSerial.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccIfPKyZ.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\WRandom.cpp -o\\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\WRandom.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc1QFjU5.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-ar rcs \\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\core.a \\xp1\c$\Util\arduino\arduino-0009\examples\Digital\Blink\applet\HardwareSerial.cpp.o

C:\Util\arduino\arduino-0009\tools/avr/bin/avr-ar rcs \\xp1\c$\Util\arduino\arduino-0009\examples\Digital
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not sure where that info came from - as you can see it was trying to send the object file to one of my networked computers "XP1".

Here is the correct info:

C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\pins_arduino.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\pins_arduino.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccuJ04gp.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\WInterrupts.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\WInterrupts.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccdWz7iy.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccyQf5CM.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_analog.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_analog.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc5ClOh3.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_digital.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_digital.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc2SKdsf.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_pulse.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_pulse.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccV0bAgf.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_serial.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_serial.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccxjfLib.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-gcc -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\wiring_shift.c -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\wiring_shift.c.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc8B4Pre.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\Blink.cpp -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\Blink.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccrlQmye.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\HardwareSerial.cpp -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\HardwareSerial.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/ccmQeeqf.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-g++ -c -g -Os -IC:\Util\arduino\arduino-0009\lib\targets\arduino -w -fno-exceptions -mmcu=atmega168 -DF_CPU=16000000L C:\Util\arduino\arduino-0009\lib\targets\arduino\WRandom.cpp -oC:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\WRandom.cpp.o


Assembler messages:


Can't open /cygdrive/c/Users/shiblaj/AppData/Local/Temp/cc98TbKt.s for reading: No such file or directory



C:\Util\arduino\arduino-0009\tools/avr/bin/avr-ar rcs C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\core.a C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\HardwareSerial.cpp.o

C:\Util\arduino\arduino-0009\tools/avr/bin/avr-ar rcs C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\core.a C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\pins_arduino.c.o

C:\Util\arduino\arduino-0009\tools/avr/bin/avr-ar rcs C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\core.a C:\Util\arduino\arduino-0009\examples\Digital\Blink\applet\WInterrupts.c.o

C:\Util\arduino\arduin
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Same problem... infact it even blackens my top 1/4ths of the screen... please help... please... im currently using it thru ubuntu... but vista is what i want!! please update the avr in the zip... i tried manually but it didnt work...
Logged

Pages: [1]   Go Up
Jump to: