Place to submit C++ compiler bugs?

Go To Last Post
20 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Years ago, we submitted bugs to some GNU site, I think.  Is that the way to do it now?  

 

The segmentation faults I get tell me to submit the problem to Atmel.  Atmel seems to have disappeared.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just google "gcc Bugzilla"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Either GCC bugzilla, or microchip support (the case should reach our compiler team and they'll know if it's upstream or our issue)

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Good point - if it's Atmel's own version of avr-gcc then the GNU folks may not be interested. By the way, for GNU (generic bugs):

 

https://gcc.gnu.org/bugzilla/bug...

 

Of course, however you choose to report it, the investigators will only be interested if you can provide a complete, compilable, minimal(!) example that demonstrates the issue. So cut down whatever you have to the smallest program that still exhibits the fault. (and I doubt the generic GNU people will be interested in an AS7 project! So you'd need to just give the complete compiler invocation at the point where the fault occurs).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

meolsen wrote:
microchip support

See: https://www.avrfreaks.net/forum/microchipatmel-support-page

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I once got a segmentation fault on gcc: https://www.avrfreaks.net/forum/...

 

Actually I never checked if this was fixed, I forgot about it until seeing this thread.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks guys.  I will remove part of the project to see if it still gets the fault. 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well now, it seems I'm using a version of gcc from the Paleolithic era, but I guess the toolchain is up to date.  If that's the case, how do I get the latest?

 

PS F:\Archiveable\AVR_butterfly\Xmega\test\Simple_usb_cdc_2> avr-gcc --version
avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Sat. Mar 17, 2018 - 12:32 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Well, if you are using AS6 or 7 you can add different versions of gcc as explained here: https://www.avrfreaks.net/forum/...

 

Pre-compiled modern (maybe too modern) versions of avr-gcc for windows can be found here:

http://blog.zakkemble.co.uk/avr-...

https://sourceforge.net/projects...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just installed Studio 1652.  It works when I run from an admin account.  When I run from a user account I get the wacky error message I've gotten from the first Studio 7 version.  Back then, the problem was the .atsln, .cppproj and .xml files were read only.  That ain't the problem now.  Maybe I need to make some folders accessible from user accounts. 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

7.0.1645 may be better as it's released; if need be, can manually install extensions into 7.0.1645.

The changes between 1645 and 1652 are probably for new parts (tinyAVR 1-series, megaAVR 0-series), defect corrections, and new extension server URL.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your first link in post #9 doesn't work today.  I think that was the one for version 1645.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

likewise with the Microchip compiler site though Microchip archive is functional.

An assumption is website maintenance.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think I hit paydirt here:  I googled it.  No I actually Binged it.

 

https://www.avrfreaks.net/forum/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nope.  1645 has a problem similar to version 1652.  It works as admin but not as user.

 

I just realized I do have this version installed on my secondary computer.  I seem to remember that I had to go into C:/users/steve and delete something or change something.

 

It also seems I installed ASF on that 1645.  Temporary insanity.  I didn't install it here.

Last Edited: Sat. Mar 17, 2018 - 01:31 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah, this installation problem happened to me also.

The solution was to completely uninstall AS7, delete every directory it created, then install from the admin account. If you install from a user account as admin, entering the admin password, it doesn't install properly.

 

This problem was discussed here: https://www.avrfreaks.net/forum/... and in the last post I finally got it to work.

I don't know if it's the same issue you are having, though.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I got it! ​   I did what El Tangas did.  I didn't have to clean the registry.  After uninstalling and rebooting and running as admin, I found lots of Atmel Studio folders and files in /users/.    I deleted all files and folders with Atmel in the name except a few that wouldn't delete.  Then I installed as admin.

 

From what I remember from months ago, there might have been only 1 or 2 folders that needed deleting.

 

I re-installed as admin.

 

When I started Studio as a user, I was expecting it didn't know my projects.  Surprisingly it did.  It showed them in "Recent".   I must not have deleted everything.  Maybe the recent projects are stored in the registry.

 

Anyway version 1645 is alive and well.  The Solution Explorer is still bizarre.   I only got one segmentation fault after rebuilding projects dozens of times.  I didn't get any in a 5000 byte build.  It only happened in a 30,000 byte build.   I suppose Studio was having a good hair day.  Only time will tell.

Last Edited: Sat. Mar 17, 2018 - 07:05 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

steve17 wrote:
I must not have deleted everything.  Maybe the recent projects are stored in the registry.
Atmel Studio clean and re-install :

https://www.avrfreaks.net/forum/remove-as7-user-data#comment-2401206

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller