Time for your wrapper call generator. Wrap malloc and free. Cod easily be 
freeing something that was never allocated or a pointer that was incremented.

Another guess is a pointer that was not initialized to NULL and ls thinks it 
should be freed.

On September 14, 2014 6:55:26 PM CDT, Chris Johns <chr...@rtems.org> wrote:
>Hello,
>
>It looks like 'ls' is broken in the shell. On sparc/sis running fileio,
>
>selecting 's' for shell, logging in and then 'ls' exits the simulator.
>I 
>saw this with mksh and assumed something was not working with mksh 
>however this now looks like something in 'ls'. With mksh I traced the 
>fault to the heap free call in mksh that failed on the heap check. I 
>have not looked into the fileio failure.
>
>Chris
>_______________________________________________
>devel mailing list
>devel@rtems.org
>http://lists.rtems.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to