Assertion in malloc.c for 18.104.22.168
joel.sherrill at oarcorp.com
Wed Aug 22 07:51:41 CDT 2007
Paul Black wrote:
> Chris Johns wrote:
>> Paul Black wrote:
>>> Does anything different need to be done for running on 22.214.171.124 compared
>>> to 4.7.1?
>> You need this patch:
> The assertion at line 478 of malloc.c has returned.
> This time I'm trying to include ATA/IDE code:
> #include <stdio.h>
> #include <rtems.h>
> rtems_task Init(rtems_task_argument argument)
> printf("Starting ...\n" );
> printf("Compiled %s %s\n",__TIME__, __DATE__);
> #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
> #define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
> #define CONFIGURE_INIT
> #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
> #define CONFIGURE_MAXIMUM_TASKS 10
> #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
> #include <rtems/confdefs.h>
> It goes away if CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER is not defined.
My guess is that this indicates that an address is being freed
that doesn't match the one allocated.
More information about the rtems-users