Giter Club home page Giter Club logo

Comments (3)

eboasson avatar eboasson commented on June 26, 2024

@kydos, I have been able to reproduce this behaviour if I first stop the subscriber. Would that be consistent with your observations?

In that case I get the following deadlock:

    2731 Thread_144215   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2731 start  (in libdyld.dylib) + 1  [0x7fff6fc78085]
    +   2731 main  (in ThroughputPublisher) + 381  [0x104c0500d]  publisher.c:94
    +     2731 start_writing  (in ThroughputPublisher) + 154  [0x104c0552a]  publisher.c:244
    +       2731 dds_write  (in libddsc.0.dylib) + 103  [0x104c9aef7]  dds_write.c:44
    +         2731 dds_write_impl  (in libddsc.0.dylib) + 653  [0x104c9b28d]  dds_write.c:224
    +           2731 write_sample_gc  (in libddsc.0.dylib) + 79  [0x104c68aaf]  q_transmit.c:1140
    +             2731 write_sample_eot  (in libddsc.0.dylib) + 750  [0x104c68dae]  q_transmit.c:1028
    +               2731 os_mutexLock  (in libddsc.0.dylib) + 85  [0x104cb4085]  os_platform_sync.c:123
    +                 2731 _pthread_mutex_firstfit_lock_slow  (in libsystem_pthread.dylib) + 226  [0x7fff6fe684c7]
    +                   2731 _pthread_mutex_firstfit_lock_wait  (in libsystem_pthread.dylib) + 96  [0x7fff6fe6ada0]
    +                     2731 __psynch_mutexwait  (in libsystem_kernel.dylib) + 10  [0x7fff6fdb3872]

and

    + 2731 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff6fe69425]
    +   2731 _pthread_start  (in libsystem_pthread.dylib) + 70  [0x7fff6fe6d2a7]
    +     2731 _pthread_body  (in libsystem_pthread.dylib) + 126  [0x7fff6fe6a33d]
    +       2731 os_startRoutineWrapper  (in libddsc.0.dylib) + 170  [0x104cb552a]  os_posix_thread.c:176
    +         2731 create_thread_wrapper  (in libddsc.0.dylib) + 62  [0x104c661ce]  q_thread.c:179
    +           2731 gcreq_queue_thread  (in libddsc.0.dylib) + 856  [0x104c34bb8]  q_gc.c:156
    +             2731 gc_delete_proxy_reader  (in libddsc.0.dylib) + 231  [0x104c337f7]  q_entity.c:4351
    +               2731 writer_drop_connection  (in libddsc.0.dylib) + 284  [0x104c3394c]  q_entity.c:1314
    +                 2731 dds_writer_status_cb  (in libddsc.0.dylib) + 90  [0x104c7b67a]  dds_writer.c:80
    +                   2731 dds_entity_lock  (in libddsc.0.dylib) + 151  [0x104c89af7]  dds_entity.c:1034
    +                     2731 os_mutexLock  (in libddsc.0.dylib) + 85  [0x104cb4085]  os_platform_sync.c:123
    +                       2731 _pthread_mutex_firstfit_lock_slow  (in libsystem_pthread.dylib) + 226  [0x7fff6fe684c7]
    +                         2731 _pthread_mutex_firstfit_lock_wait  (in libsystem_pthread.dylib) + 96  [0x7fff6fe6ada0]
    +                           2731 __psynch_mutexwait  (in libsystem_kernel.dylib) + 10  [0x7fff6fdb3872]

from cyclonedds.

kydos avatar kydos commented on June 26, 2024

@eboasson either stopping or not starting at all the sub seems to give the problem.

from cyclonedds.

eboasson avatar eboasson commented on June 26, 2024

Created #41 for the deadlock, closing this ticket now.

from cyclonedds.

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.