Destroying a rt-ipc fifo on which a task is waiting causes a
segmentation fault;

In the init_module:
        I create an rt-ipc fifo;
        I initialize one task;
        I start the task;

What the task does:
 only waits on some data from the created fifo (rtf_receive with timeout
parameter equal to RT_WAIT_FOREVER). When available, it prints the data
on the screen and still waits for other data. (in a loop)

In the cleanup_module:
        I delete the task -> done successfully.
        I destroy the fifo -> this causes a segmentation fault, i.e. the call
to rtf_ipc_destroy crashes, with some stack trace (?) on the screen.

Bug ?
Something I've forgot to do ?
A way to avoid this ?

Thanks !

        Pierre
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to