Discussion:
[Rtai] segmentation fault with lxrt on rtai5.1 with Ubuntu 16.04
Bosch, Karin
2018-10-22 07:46:20 UTC
Permalink
Dear all,

I have the problem that my program create an segmentation fault just before it is completely finished.
I attached you several files and hope you can give me an hint what I can do to avoid it.

Best regards
Karin Bosch

------------------------------
Karin Bosch Dipl. Ing.
Hochschule Ulm
University of Applied Sciences
Institut für Informatik
Prittwitzstr. 10
89075 Ulm
Telefon: +49 731 50 28283
Paolo Mantegazza
2018-10-22 08:21:08 UTC
Permalink
Try avoiding the release of the parport irq task from the main program. Inform it to gently end itself from within itself, after having disabled the interrupt it is managing.

Paolo


On 10/22/18 09:46, Bosch, Karin wrote:
Dear all,

I have the problem that my program create an segmentation fault just before it is completely finished.
I attached you several files and hope you can give me an hint what I can do to avoid it.

Best regards
Karin Bosch

------------------------------
Karin Bosch Dipl. Ing.
Hochschule Ulm
University of Applied Sciences
Institut für Informatik
Prittwitzstr. 10
89075 Ulm
Telefon: +49 731 50 28283

Loading...