LibBSD | ping: The end of the command will cause the system reset. (#16)
Ning Yang (@yangn0)
gitlab at rtems.org
Thu Nov 21 05:13:16 UTC 2024
Ning Yang created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/16
## Summary
The first issue is that the ping command no longer stops automatically, so I added `-c 3` to make it stop.
And the end of the ping will cause the system reset.
```
SHLL [/] # ping 169.254.1.1 -c 3
PING 169.254.1.1 (169.254.1.1): 56 data bytes
64 bytes from 169.254.1.1: icmp_seq=0 ttl=64 time=6.514 ms
64 bytes from 169.254.1.1: icmp_seq=1 ttl=64 time=0.522 ms
64 bytes from 169.254.1.1: icmp_seq=2 ttl=64 time=0.435 ms
--- 169.254.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.435/2.490/6.514/2.846 ms
STACK USAGE BY THREAD
ID NAME LOW HIGH CURRENT AVAIL USED
0x09010001 IDLE 0x0049a218 0x0049b207 0x0049b0e0 4080 360
0x0a010001 UI1 0x0049bb70 0x004a3b5f 0x004a3a28 32752 2292
0x0a010002 BSWP 0x004c0878 0x004c1867 0x004c17a0 4080 416
0x0a010003 BRDA 0x004c1ef8 0x004c2ee7 0x004c2e38 4080 240
0x0a010004 MDIA 0x004c3590 0x004cb57f 0x004cb4c0 32752 256
0x0a010005 TIME 0x004cbc70 0x004d3c5f 0x004d3bc0 32752 452
0x0a010006 IRQS 0x004d42f0 0x004dc2df 0x004dc000 32752 1100
0x0a010007 kqueue_ctx task 0x0050d808 0x005157f7 0x00515720 32752 280
0x0a010008 swi5: fast task 0x00516090 0x0051e07f 0x0051df90 32752 304
0x0a010009 thread taskq 0x0051e828 0x00526817 0x00526740 32752 356
0x0a01000a swi6: Giant tas 0x005270b0 0x0052f09f 0x0052efb0 32752 304
0x0a01000b swi6: task queu 0x0052f938 0x00537927 0x00537838 32752 1368
0x0a01000c inm_free taskq 0x005380d0 0x005400bf 0x0053ffe8 32752 280
0x0a01000d in6m_free taskq 0x00540868 0x00548857 0x00548780 32752 280
0x0a01000e deferred_unmoun 0x00549000 0x00550fef 0x00550f18 32752 280
0x0a01000f swi1: netisr 0 0x00551800 0x005597ef 0x00559700 32752 504
0x0a010010 ip_mroute_tskq 0x005670d8 0x0056f0c7 0x0056eff0 32752 280
0x0a010011 bufdaemon 0x00599988 0x005a1977 0x005a1878 32752 708
0x0a010012 syncer 0x005a2088 0x005aa077 0x005a9f30 32752 392
0x0a010013 vnlru 0x005aa788 0x005b2777 0x005b25e8 32752 616
0x0a010014 bufspacedaemon- 0x005b2e88 0x005bae77 0x005bad98 32752 288
0x0a010015 DHCP 0x005be5a8 0x005c0597 0x005c00c8 8176 2900
0x0a010016 FTPa 0x005c11d8 0x005c31c7 0x005c2e50 8176 952
0x0a010017 FTPb 0x005c3858 0x005c5847 0x005c54d0 8176 952
0x0a010018 FTPc 0x005c5ed8 0x005c7ec7 0x005c7b50 8176 952
0x0a010019 FTPd 0x005c8558 0x005ca547 0x005ca1d0 8176 952
0x0a01001a FTPD 0x005cabd8 0x005cbbc7 0x005cb958 4080 832
0x0a01001b TNTa 0x005cc648 0x005d4637 0x005d4580 32752 676
0x0a01001c TNTb 0x005d5398 0x005dd387 0x005dd2d0 32752 676
0x0a01001d TNTc 0x005de0e8 0x005e60d7 0x005e6020 32752 676
0x0a01001e TNTd 0x005e6e38 0x005eee27 0x005eed70 32752 676
0x0a01001f TNTe 0x005ef970 0x005f795f 0x005f78a8 32752 676
0x0a010020 TNTD 0x005f86c0 0x005f96af 0x005f9440 4080 688
0x0a010021 RCRD 0x005f9dc0 0x005fadaf 0x005fab18 4080 728
0x0a010022 SHLL 0x005fbed0 0x005ffebf 0x005ff440 16368 4036
0x00000000 Interrupt Stack 0x00487a90 0x00488a7f 0x00000000 4080 288
*** END OF TEST LIBBSD MEDIA 1 ***
[ RTEMS shutdown ]
RTEMS version: 6.0.0.c6ad57b102
RTEMS tools: 13.3.0 20240521 (RTEMS 6, RSB c4975f3bc2a9b5db87eab5290dd0f0141c947d68, Newlib 1339af4)
executing thread ID: 0x0a010022
executing thread name: SHLL
*** BEGIN OF TEST LIBBSD MEDIA 1 ***
*** TEST VERSION: 6.0.0.c6ad57b102
*** TEST STATE: USER_INPUT
*** TEST BUILD: RTEMS_POSIX_API
*** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB c4975f3bc2a9b5db87eab5290dd0f0141c947d68, Newlib 1339af4)
...
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/16
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241121/150793f2/attachment.htm>
More information about the bugs
mailing list