Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when telegrams are received #579

Open
watchdogtheone opened this issue Aug 6, 2024 · 3 comments
Open

Segfault when telegrams are received #579

watchdogtheone opened this issue Aug 6, 2024 · 3 comments

Comments

@watchdogtheone
Copy link

watchdogtheone commented Aug 6, 2024

Hello there,

it is simple. I have set a small test with a TUL module.
Everytime i receive knx telegrams, knxd segfault.

Am i doing something wrong ? Because... even if KNX devices send wrong data, KNXD is not supposed to segfault right ?

Best regards

`
Layer 0 [16:A.tpuarts/log 67.177] Known Addr 30/3/250: yes
Layer 0 [15:A.tpuarts/LowF 67.177] SendAck 11
Layer 0 [18:A.tpuarts/log 67.177] Send(001): 11
Layer 1 [15:A.tpuarts/LowF 67.177] RecvLP(015): 98 02 01 F3 FA E7 00 80 00 03 00 00 00 00 09
Layer 0 [16:A.tpuarts/log 67.177] Recv L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 06 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00
Layer 8 [13:A.tpuarts/Conn 67.177] found addr 0.2.1
Layer 8 [15:A.tpuarts/LowF 67.177] state: wait_more > wait
Layer 8 [15:A.tpuarts/LowF 67.177] state: wait > wait_more
Layer 0 [16:A.tpuarts/log 67.177] Known Addr 30/3/250: yes
Layer 0 [15:A.tpuarts/LowF 67.177] SendAck 11
Layer 0 [18:A.tpuarts/log 67.177] Send(001): 11
Layer 1 [15:A.tpuarts/LowF 67.177] RecvLP(015): 98 02 01 F3 FA E7 00 80 00 03 00 00 00 00 09
Layer 0 [16:A.tpuarts/log 67.177] Recv L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 06 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00
Layer 8 [13:A.tpuarts/Conn 67.177] found addr 0.2.1
Layer 8 [15:A.tpuarts/LowF 67.177] state: wait_more > wait
Layer 8 [15:A.tpuarts/LowF 67.177] state: wait > wait_more
Layer 0 [16:A.tpuarts/log 67.177] Known Addr 30/3/250: yes
Layer 0 [15:A.tpuarts/LowF 67.178] SendAck 11
Layer 0 [18:A.tpuarts/log 67.178] Send(001): 11
Layer 1 [15:A.tpuarts/LowF 67.178] RecvLP(015): 98 02 01 F3 FA E7 00 80 00 03 00 00 00 00 09
Layer 0 [16:A.tpuarts/log 67.178] Recv L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 06 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00
Layer 8 [13:A.tpuarts/Conn 67.178] found addr 0.2.1
Layer 8 [15:A.tpuarts/LowF 67.178] state: wait_more > wait
Layer 6 [34:router/ConnC 67.178] sending, send_more clear
Layer 1 [ 6:server/Server 67.178] Send(017): 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 2 [36:router.pace_/router 67.178] out 1/8: delay for 0.023 sec
Layer 6 [31:router/ConnC 67.178] sending, send_more clear
Layer 1 [20:server/Server 67.178] Send(017): 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 2 [33:router.pace_/router 67.178] out 1/8: delay for 0.023 sec
Layer 6 [ 4:B.cache/Conn 67.178] sending, send_more clear
Layer 6 [ 4:B.cache/Conn 67.178] sendNext called, send_more set
Layer 6 [ 1:main 67.178] sending set
Layer 6 [34:router/ConnC 67.178] still waiting
Layer 6 [ 1:main 67.178] wait L
Layer 0 [20:server/Server 67.178] Send(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 0 [ 6:server/Server 67.178] Send(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 0 [20:server/Server 67.178] Dropped(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 0 [ 6:server/Server 67.178] Dropped(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 0 [20:server/Server 67.178] Dropped(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 0 [ 6:server/Server 67.178] Dropped(023): 06 10 05 30 00 17 29 00 B8 D0 02 01 F3 FA 07 00 80 00 03 00 00 00 00
Layer 2 [36:router.pace_/router 67.201] delay done
Layer 6 [34:router/ConnC 67.201] sendNext called, send_more set
Layer 6 [34:router/ConnC 67.201] is OK
Layer 6 [31:router/ConnC 67.201] still waiting
Layer 2 [33:router.pace_/router 67.201] delay done
Layer 6 [31:router/ConnC 67.201] sendNext called, send_more set
Layer 6 [34:router/ConnC 67.201] is OK
Layer 6 [31:router/ConnC 67.201] is OK
Layer 6 [27:C.tcp/inet 67.201] is OK
Layer 6 [20:server/Server 67.201] is OK
Layer 6 [13:A.tpuarts/Conn 67.201] is OK
Layer 6 [ 6:server/Server 67.201] is OK
Layer 6 [ 4:B.cache/Conn 67.201] is OK
Layer 6 [ 1:main 67.201] OK
Layer 6 [ 2:main/L 67.201] OK L
Layer 9 [ 1:main 67.201] Drop: L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 05 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00
Layer 9 [ 1:main 67.201] Drop: L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 05 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00
Layer 9 [ 1:main 67.201] Drop: L_Data (repeated) normal from 0.2.1 to 30/3/250 hops: 05 T_Data_Group A_GroupValue_Write 00 03 00 00 00 00

Layer 0 [18:A.tpuarts/log 70.178] Recv(030): 34 E7 02 01 00 00 15 07 EB 03 EA 01 FF 00 FD FE 00 00 00 00 00 00 00 00 00 00 00 03 00 C1
Layer 8 [15:A.tpuarts/LowF 70.178] state: wait > wait_more
Layer 0 [16:A.tpuarts/log 70.178] Known Addr 0/0/0: yes
Layer 0 [15:A.tpuarts/LowF 70.178] SendAck 11
Layer 0 [18:A.tpuarts/log 70.178] Send(001): 11
Layer 1 [15:A.tpuarts/LowF 70.178] RecvLP(030): 34 E7 02 01 00 00 15 07 EB 03 EA 01 FF 00 FD FE 00 00 00 00 00 00 00 00 00 00 00 03 00 C1
Segmentation fault
`

@Makki1
Copy link

Makki1 commented Aug 7, 2024 via email

@watchdogtheone
Copy link
Author

watchdogtheone commented Aug 7, 2024

what do you mean ?
A collegue said that 30.3.250 is a Summary of Defects from siemens SYNCO. Its an object exchanged between all the Syncho module.

I reaad that Synco use KNX mode S and LTE. Is there a relation ?

@smurfix
Copy link
Member

smurfix commented Aug 8, 2024

Please show us your config file. A stack traceback would also be helpful (build without stripping debug information, then attach/run with gdb).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants