[Bug 2069] New: [CBS Scheduler] Memory leak and enqueue problem
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Mon Jun 18 14:20:29 UTC 2012
https://www.rtems.org/bugzilla/show_bug.cgi?id=2069
Bug #: 2069
Summary: [CBS Scheduler] Memory leak and enqueue problem
Classification: Unclassified
Product: RTEMS
Version: HEAD
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: major
Priority: P3
Component: cpukit
AssignedTo: joel.sherrill at oarcorp.com
ReportedBy: andreas.heinig at cs.tu-dortmund.de
Setup:
=====
RTEMS 4.11 (git -> master)
Configure:
/home/heandr/Projects/FEHLER/workingset/fame-dev/trunk/rtems/configure
--target=arm-softfloat-rtems4.11
--prefix=/home/heandr/Projects/FEHLER-work/fame-dev-tk71/install/arm-softfloat-rtems4.11/rtems
--with-fame-install=/home/heandr/Projects/FEHLER-work/fame-dev-tk71/install/arm-none-eabi
--enable-rtemsbsp=fame-tk71 --disable-multiprocessing --enable-networking
=> ARM926
=> TK71-Board (Marvell Kirkwood)
Application: a simple shell application
system.h:
vvvv BEGIN vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#include <rtems.h>
#include <rtems/shell.h>
#include <bsp.h>
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 32
#define CONFIGURE_MAXIMUM_SEMAPHORES 20
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_FILESYSTEM_NFS
#define CONFIGURE_MAXIMUM_DRIVERS 20
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_POSIX_THREADS 8
#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 32
#define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_SCHEDULER_CBS
#define CONFIGURE_CBS_MAXIMUM_SERVERS 10
#include <rtems/confdefs.h>
^^^^ END ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remarks:
========
I simply start a shell within the Init task without usage of the CBS scheduler.
This renders the shell as a background task.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list