inet_ntoa()时出现总线错误

时间:2018-07-27 08:44:56

标签: inet bus-error

任何人都可以告诉我为什么会发生此错误吗?

(gdb) bt
#0  _IO_vsnprintf (string=0x654e71657246723d <error: Cannot access memory at address 0x654e71657246723d>, maxlen=<optimized out>, format=0x7ffff6bf74b2 "%d.%d.%d.%d", args=args@entry=0x7ffff7fdc568)
    at vsnprintf.c:112
#1  0x00007ffff6abd932 in __snprintf (s=s@entry=0x654e71657246723d <error: Cannot access memory at address 0x654e71657246723d>, maxlen=maxlen@entry=18, format=format@entry=0x7ffff6bf74b2 "%d.%d.%d.%d")
    at snprintf.c:33
#2  0x00007ffff6b81467 in inet_ntoa (in=...) at inet_ntoa.c:34
#3  0x000000000042d698 in l2l1_task (arg=0x0) at /home/viosoft/dronava/components/openairinterface5g/dronava_ext/fido/fido_oai.c:763
#4  0x0000000000000000 in ?? ()

0 个答案:

没有答案