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

sipexer crashes when local address is in use #25

Open
arkadiam opened this issue Apr 5, 2024 · 0 comments
Open

sipexer crashes when local address is in use #25

arkadiam opened this issue Apr 5, 2024 · 0 comments

Comments

@arkadiam
Copy link

arkadiam commented Apr 5, 2024

# sipexer -register -vl 3 -co -com -ex 60 -fuser alice -cb -ap "abab..." -ha1 -laddr 222.22.10.11:5060  -sd udp:111.22.11.33:5060

[debug] [sipexer.go:705] main.main(): parsed socket address argument ({Val:udp:111.22.11.33:5060 Proto:udp Addr:111.22.11.33 Port:5060 PortNo:5060 AType:4 ProtoId
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6b8220]

goroutine 19 [running]:
main.SIPExerSendUDP({{0x7ffd4242984d, 0x16}, {0x737de1, 0x3}, {0x7ffd42429851, 0xd}, {0x7ffd4242985f, 0x4}, 0x13c4, 0x4, ...}, ...)
        /home/dmitry/build/sipexer/sipexer.go:1754 +0x360
created by main.main in goroutine 1
        /home/dmitry/build/sipexer/sipexer.go:780 +0x1836


This crash happens when some other app is already binded to 222.22.10.11:5060.

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

1 participant