RTEMS crash with mem address not aligned failure

Hoefle Marco Marco.Hoefle at nanotronic.ch
Fri Oct 10 09:01:15 UTC 2014

Hello everybody,
I can confirm that with the newlib git mirror which Sebastian mentioned
the problem does not occur anymore. So it was definitely a newlib issue.
The newlib cvs repo didn't work for some time anyway...

For the RTEMS source builder it would be good that for example the
rtems-sparc.bset is using defined repo commits (so not the head of a git
or cvs repo) per default. Experienced users could than change the bset
to the latest and greatest.

For RTEMS beginners things like this result in more grey hair ;-)

-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com] 
Sent: Montag, 6. Oktober 2014 17:19
To: Jiri Gaisler; Chris Johns; Sebastian Huber; Hoefle Marco;
users at rtems.org
Subject: Re: RTEMS crash with mem address not aligned failure

On 10/6/2014 10:09 AM, Jiri Gaisler wrote:
> On 10/06/2014 04:45 PM, Joel Sherrill wrote:
>> On 10/6/2014 2:03 AM, Chris Johns wrote:
>>> On 6/10/2014 5:08 pm, Sebastian Huber wrote:
>>>> On 04/10/14 07:07, Chris Johns wrote:
>>>>>>> Could this be a newlib issue? We are using:
>>>>>> Is the memory map ok for the BSP ? It pays when moving to 4.11
from 4.10
>>>>>> to check the memory map is ok.
>>>>> I can confirm this happens on the SIS bsp in simulator using the
>>>>> fileio.exe
>>>>> example. Run the sample, hit a key, start the shell and enter ls.
>>>> I don't see this problem here.  I use sparc-rtems4.11-gcc 4.9.2
>>>> with the latest Newlib.
>>> Do you see it with the RSB tools ?
>> I have the RSB tools and it doesn't crash for me on sis. I also
>> that in the report, there is a hello command which is not part
>> of the standard command set.  I wonder if that command or
>> how it was added is triggering something.
>> This may not be the latest but this is what I have installed.
>> $ sparc-rtems4.11-gcc --version
>> sparc-rtems4.11-gcc (GCC) 4.8.3 20140522 (RTEMS
> It does crash on sis for me, using RSB from some months ago:
> $ sparc-rtems4.11-gcc --version
> sparc-rtems4.11-gcc (GCC) 4.8.2 20131016 (RTEMS
> Copyright (C) 2013 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
is NO
Hmm... I wonder if something was fixed in newlib.
> Jiri.
>> Do I need to build something newer?
>>> Chris
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the users mailing list