ls broken in shell.
Joel Sherrill
joel.sherrill at oarcorp.com
Sun Sep 14 23:59:19 UTC 2014
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 <chrisj at 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 at rtems.org
>http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list