[En-Nut-Announce] Serious problems with NutOS 3.0.1

Harald Kipp harald.kipp at egnite.de
Thu Feb 13 10:24:46 CET 2003


Problems:

1. There's a memory hole in httpd.c. NutHeapFree(filename)
    is missing when the file open is succesfull.
2. The GCC 3.3 compiler strategy seems to have changed with
    -g -o0. All functions declared inline are not inlined.
    This is fatal for NutEnter/ExitCritical.
3. The GCC compiler inserts a stack load at the beginning of
    main(). This way the application is running, but some
    applications may fail.
4. PPP is using a timer callbacks, which are running in
    interrupt context. The PPP callbacks are allocating heap
    memory, which is fatal when done in interrupt routines.
5. Using timer values between 0 and 63 is fatal.
6. UART open returns the wrong value on failures.
7. TWI running in multimaster mode sometimes completely blocks
    the bus.

Solutions:

1. Add NutHeapFree() and rebuild libnutpro.
2. Do not use NutEnter/ExitCritical with -g -o0. Anybody
    got better compiler options for debugging?
3. This problems is still investigated.
4. A new PPP release will be available. Please contact
    me directly, if you want to give it a test run.
5. Avoid these timer values.
6. Do not open UARTs unsuccessfull. :-)
7. A new release of the TWI driver is under test.

Take care,

Harald Kipp




More information about the En-Nut-Announce mailing list