Ok, then let me try to help.
Right now, I have added a user named mysensors. He is member of its own group + GPIO + SPI:
mysensors@pi$ groups mysensors
mysensors : mysensors spi gpio
I'm running mysensors 2.3.0. If I run it with this user, I currently get:
mysensors@pi$ mysgw
Sep 23 14:58:56 INFO Starting gateway...
Sep 23 14:58:56 INFO Protocol version - 2.3.0
Sep 23 14:58:56 DEBUG MCO:BGN:INIT GW,CP=RNNGL--X,VER=2.3.0
Sep 23 14:58:56 DEBUG TSF:LRT:OK
Sep 23 14:58:56 DEBUG TSM:INIT
Sep 23 14:58:56 DEBUG TSF:WUR:MS=0
Segmentation fault
Everything works well with root:
root@pi:~# mysgw
Sep 23 15:01:34 INFO Starting gateway...
Sep 23 15:01:34 INFO Protocol version - 2.3.0
Sep 23 15:01:34 DEBUG MCO:BGN:INIT GW,CP=RNNGL--X,VER=2.3.0
Sep 23 15:01:34 DEBUG TSF:LRT:OK
Sep 23 15:01:34 DEBUG TSM:INIT
Sep 23 15:01:34 DEBUG TSF:WUR:MS=0
Sep 23 15:01:34 DEBUG TSM:INIT:TSP OK
Sep 23 15:01:34 DEBUG TSM:INIT:GW MODE
Sep 23 15:01:34 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
Sep 23 15:01:34 DEBUG MCO:REG:NOT NEEDED
Sep 23 15:01:34 DEBUG Listening for connections on 0.0.0.0:5003
Sep 23 15:01:34 DEBUG MCO:BGN:STP
Sep 23 15:01:34 DEBUG MCO:BGN:INIT OK,TSP=1
Any idea of the possible missing rights that I need to avoid the segfault? Or to get better error message?
Will continue to look at it...