Skip to content

Segmentation fault in __socket_sendmsg at ../lib/uring.c:52 #2113

@ccppprogrammer

Description

@ccppprogrammer

rtpengine version the issue has been seen with

26.0.1.9+0~mr26.0.1.9

Used distribution and its version

Debian GNU/Linux 13 (trixie)

Linux kernel version used

6.12.88+deb13-cloud-amd64

CPU architecture issue was seen on (see uname -m)

x86_64

Expected behaviour you didn't see

No response

Unexpected behaviour you saw

No response

Steps to reproduce the problem

No response

Additional program output to the terminal or logs illustrating the issue

Anything else?

journalctl:
May 26 15:46:15 ip-10-0-0-27 kernel: show_signal_msg: 99 callbacks suppressed
May 26 15:46:15 ip-10-0-0-27 kernel: ICE[900]: segfault at c8 ip 000055fe380581e1 sp 00007f375af9b750 error 4 in rtpengine[1481e1,55fe37f41000+131000] likely on CPU 4 (core 0, socket 0)
May 26 15:46:15 ip-10-0-0-27 kernel: Code: ff 25 f3 f2 07 00 0f 1f 00 f3 0f 1e fa 64 ff 24 25 e0 fb ff ff 0f 1f 40 00 f3 0f 1e fa 55 53 4c 89 c3 48 83 ec 08 48 8b 47 08 <ff> 90 c8 00 00 00 48 89 df 31 d2 31 f6 48 89 c5 ff 13 48 83 c4 08
May 26 15:46:16 ip-10-0-0-27 systemd-coredump[21696]: Process 831 (rtpengine) of user 106 terminated abnormally with signal 11/SEGV, processing...

coredumpctl debug 831
Core was generated by `/usr/bin/rtpengine -f -E --no-log-timestamps --pidfile /run/rtpengine/rtpengine'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055fe380581e1 in __socket_sendmsg (s=0x7f3664f01cf8, m=0x7f375af9b7b0, e=0x7f372656ef80, ss=0x7f375af9ba48, r=0x7f375af9b790) at ../lib/uring.c:52

warning: 52     ../lib/uring.c: No such file or directory
[Current thread is 1 (Thread 0x7f375af9d6c0 (LWP 900))]
(gdb) bt
#0  0x000055fe380581e1 in __socket_sendmsg (s=0x7f3664f01cf8, m=0x7f375af9b7b0, e=0x7f372656ef80, ss=0x7f375af9ba48, r=0x7f375af9b790) at ../lib/uring.c:52
#1  0x000055fe37f95386 in stun_binding_request (dst=0x7f372656ef80, transaction=<optimized out>, pwd=0x7f366ea26e68, ufrags=0x7f366ea26e38, controlling=1, tiebreaker=<optimized out>, priority=1862270975, sock=0x7f3664f01cf8, to_use=1)
    at ./daemon/stun.c:713
#2  0x000055fe37fd0883 in __do_ice_check (pair=<optimized out>) at ./daemon/ice.c:797
#3  0x000055fe37fd0f25 in __do_ice_checks (ag=0x7f366ea26cf0) at ./daemon/ice.c:958
#4  0x000055fe37fd27f5 in ice_agents_timer_run (ptr=0x7f366ea26cf0) at ./daemon/ice.c:1519
#5  0x000055fe38013098 in timerthread_run (tt=0x55fe6432c670) at ./daemon/timerthread.c:111
#6  0x000055fe37f5651e in thread_detach_func (dt=<optimized out>) at ./daemon/helpers.c:257
#7  0x00007f3765588b7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448
#8  0x00007f3765606630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions