# spiService and gpioService are not starting within an Application

**URL:** <https://forum.legato.io/t/spiservice-and-gpioservice-are-not-starting-within-an-application/5907>\
**Category:** Legato Application Framework\
**Created:** [July 26, 2021, 7:12pm UTC](https://forum.legato.io/t/spiservice-and-gpioservice-are-not-starting-within-an-application/5907 "2021-07-26T19:12:34Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![simon.naegele](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@simon.naegele](https://forum.legato.io/u/simon.naegele)\
**Post date:** [July 28, 2021, 3:20pm UTC](https://forum.legato.io/t/spiservice-and-gpioservice-are-not-starting-within-an-application/5907/14 "2021-07-28T15:20:36Z")

</div>

That’s what I did 🙂 Now it’s working.

The problem seems to be in these lines:

```auto
	struct task_struct* t;
	/* find the task with that pid */
	t = pid_task(find_pid_ns(TargetPID, &init_pid_ns), PIDTYPE_PID);
	send_sig(SIGINT, t, 0);

```

One of these functions crashed the module. Since I don’t need them, I don’t care, but maybe you can fix that before sending it to the next guy that also will waste time on that.

Regards,  
Simon

---

_[View the full topic](https://forum.legato.io/t/spiservice-and-gpioservice-are-not-starting-within-an-application/5907)._
