[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] apllication segfault



Hi,

we use rt-linux for controlling some robots.
As visualisation-tool OpenInventor is used.
I connected our visualisation-programm (a 3D-Visualisation on X)
via RT-fifos with our rt-controlling-task. But the visualisation
breaks often with as segmentation fault. The controlling-task
does not use any floating-point operations but when I
made it FP-able ( rt_task_use_fp(&main_task,1); ) there
were no segfaults further on!!!

Some additional questions :
Is it save to use floating-point-ops in a rt-irq-function ?
Does converting fron int to float or vice versa use the FP-unit?

Thanx

Kay =8^)

-- 
     |\/\/\/|    
     |      |        Kay-Ulrich Scholl               |
     |      |        scholl@fzi.de                   |
     | (o)(o)       Forschungszentrum Informatik     |
     C      _)      Haid-und Neu-Str. 10-14          |
     | ,___|        D-76131 Karlsruhe                |
     |   /          0721/9654-218                    |
    /____\          FAX: 0721 / 9654 - 209           |
   /      \ -----------------------------------------+
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/