Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • J jami-daemon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-daemon
  • Issues
  • #257

Closed
Open
Created Jul 03, 2020 by Sébastien Blin@sblinOwner

Crash in pj_stun_sock_sendto

AddressSanitizer:DEADLYSIGNAL
=================================================================
==1395139==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fcf06818a07 bp 0x000000000008 sp 0x7fce738a0138 T1701)
==1395139==The signal is caused by a READ memory access.
==1395139==Hint: address points to the zero page.
    #0 0x7fcf06818a06 in pj_sockaddr_cmp (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfdda06)
    #1 0x7fcf067f7661 in pj_stun_sock_sendto (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfbc661)
    #2 0x7fcf067ea898 in ice_tx_pkt (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfaf898)
    #3 0x7fcf067e2fa1 in on_stun_send_msg (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfa7fa1)
    #4 0x7fcf067f2e3e in stun_tsx_on_send_msg (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfb7e3e)
    #5 0x7fcf067f7e7c in tsx_transmit_msg (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfbce7c)
    #6 0x7fcf067f84b3 in pj_stun_client_tsx_send_msg (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfbd4b3)
    #7 0x7fcf067f4439 in pj_stun_session_send_msg (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfb9439)
    #8 0x7fcf067e8dbb in ice_sess_on_peer_connection (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfaddbb)
    #9 0x7fcf067f54be in on_connect_complete (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfba4be)
    #10 0x7fcf0680c28d in ioqueue_dispatch_write_event (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfd128d)
    #11 0x7fcf0680df8a in pj_ioqueue_poll (/home/sblin/ring-project/daemon/src/.libs/libring.so.0+0xfd2f8a)
    #12 0x7fcf05f263fc in jami::IceTransport::Impl::handleEvents(unsigned int) /home/sblin/ring-project/daemon/src/ice_transport.cpp:527
    #13 0x7fcf05f23efb in operator() /home/sblin/ring-project/daemon/src/ice_transport.cpp:424
    #14 0x7fcf05f36de1 in __invoke_impl<void, jami::IceTransport::Impl::Impl(char const*, int, bool, const jami::IceTransportOptions&)::<lambda()> > /usr/include/c++/9/bits/invoke.h:60
    #15 0x7fcf05f36d96 in __invoke<jami::IceTransport::Impl::Impl(char const*, int, bool, const jami::IceTransportOptions&)::<lambda()> > /usr/include/c++/9/bits/invoke.h:95
    #16 0x7fcf05f36d43 in _M_invoke<0> /usr/include/c++/9/thread:244
    #17 0x7fcf05f36d19 in operator() /usr/include/c++/9/thread:251
    #18 0x7fcf05f36cfd in _M_run /usr/include/c++/9/thread:195
    #19 0x7fcf05730d83  (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xd6d83)
    #20 0x7fcf05625608 in start_thread /build/glibc-ZN95T4/glibc-2.31/nptl/pthread_create.c:477
    #21 0x7fcf0554a292 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
Edited Oct 19, 2020 by Sébastien Blin
Assignee
Assign to
Time tracking