Giter VIP home page Giter VIP logo

Comments (5)

cspiel1 avatar cspiel1 commented on June 14, 2024 1

Because of these lines

    #2 0x7fbcecd2c487 in thread_create_name /home/runner/work/baresip/baresip/re/src/thread/thread.c:125:8
    #3 0x55d4b9183e26 in rtprecv_start_thread /home/runner/work/baresip/baresip/src/rtprecv.c:770:8

I guess the cause is a combination of re-keying and RX thread. @cHuberCoffee and me will try to find a solution.

from baresip.

cHuberCoffee avatar cHuberCoffee commented on June 14, 2024 1

I was aware of the possibility of such a problem, but i thought the thread sanitizer would catch it quickly.
It sounds like the RX thread uses key material and methods (udp helpers) while the main thread has to rekey which is a free on the underlying structure. A proper locking should fix the issue.
I'm working on it.

from baresip.

sreimers avatar sreimers commented on June 14, 2024 1

Thanks!

from baresip.

cHuberCoffee avatar cHuberCoffee commented on June 14, 2024

The origin of the problem described here is different. Its the rather brutal way i forced a change of the tx keys by removing the hole strm->mes = mem_deref(strm->mes);.
I have to check for a better way to exchange the tx keys without touching the rx parts.

As i'm not able to find a quick solution today, i would suggest to deactivate the testcase and i work on the fix.

from baresip.

cHuberCoffee avatar cHuberCoffee commented on June 14, 2024

#3013 for now.

from baresip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.