Skip to content

Segmentation Fault when using GPIOChip FB #759

@mayrthom

Description

@mayrthom

When I deploy a Program that is using the GPIOChip FB and I want to redeploy the program I got one of these errors:

ERROR: T#1768990656523022822: [GPIOChipController::runLoop] Could not write output data to GPIO chip 0 line 17
INFO: T#1768990656523159932: [IOMapper] Disconnected TestApp.DI1 (lost observer)
DEBUG: T#1768990656523222969: [IOMapper] Deregister observer TestApp.DI1
Segmentation fault

ERROR: T#1769007599050000910: [GPIOChipController::runLoop] Could not write output data to GPIO chip 0 line 17
INFO: T#1769007599050074576: [IOMapper] Disconnected TestApp.DI1 (lost observer)
DEBUG: T#1769007599050114336: [IOMapper] Deregister observer TestApp.DI1
WARNING: T#1769007599133773875: [IODeviceController] No receiver for notification is available. Notification is dropped.
DEBUG: T#1769007599133828542: [IOMapper] Deregister handle TestApp.DI1
INFO: T#1769007599133944689: [GPIOChipController::deInit] GPIO Chip 0 line 17 shutdown
pure virtual method called
terminate called without an active exception
Aborted

I also got a segmentation fault when I quit forte with Ctrl + C.
While the program is running everything works fine (reading and writing IOs with the GPIOChip FB).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions