hku-ect / NatNet2OSCbridge

The NatNet2OSCbridge uses ofxNatNet to decode a NatNet stream from Motive into OSC, which it can then broadcast to clients.
3 stars 2 forks source link

NatNet crashes when working with skeletons #129

Open sphaero opened 2 years ago

sphaero commented 2 years ago

1  __memmove_avx_unaligned_erms                                       memmove-vec-unaligned-erms.S 382  0x7ffff7241e55 
2  std::string::_M_append(const char *, unsigned long)                                                  0x7ffff7541af3 
3  std::operator+<char, std::char_traits<char>, std::allocator<char>> basic_string.tcc             1183 0x55555567d0a0 
4  NatNet2OSC::addSkeletons                                           NatNet2OSCActor.cpp          294  0x55555567fb1d 
5  NatNet2OSC::handleSocket                                           NatNet2OSCActor.cpp          94   0x55555567eb33 
6  Sphactor::handleMsg                                                libsphactor.hpp              90   0x55555566c55d 
7  sphactor_member_handler<NatNet2OSC>                                libsphactor.hpp              12   0x555555668027 
8  sphactor_actor_run_once                                            sphactor_actor.c             962  0x555555912531 
9  sphactor_actor_run                                                 sphactor_actor.c             1049 0x5555559128f7 
10 s_thread_shim                                                      zactor.c                     68   0x55555591fd32 
11 start_thread                                                       pthread_create.c             481  0x7ffff775ed80 
12 clone                                                              clone.S                      95   0x7ffff71dd76f 

And another:


1   __GI_raise                                                                                       raise.c             49   0x7ffff711b8a1 
2   __GI_abort                                                                                       abort.c             79   0x7ffff7105546 
3   ??                                                                                                                        0x7ffff749d909 
4   ??                                                                                                                        0x7ffff74a8f2a 
5   std::terminate()                                                                                                          0x7ffff74a8f95 
6   __cxa_throw                                                                                                               0x7ffff74a91e8 
7   std::__throw_bad_array_new_length()                                                                                       0x7ffff74a0036 
8   __gnu_cxx::new_allocator<RigidBodyDescription>::allocate                                         new_allocator.h     116  0x55555568cfc5 
9   std::allocator_traits<std::allocator<RigidBodyDescription>>::allocate                            alloc_traits.h      464  0x55555568be81 
10  std::_Vector_base<RigidBodyDescription, std::allocator<RigidBodyDescription>>::_M_allocate       stl_vector.h        346  0x55555568a9bc 
11  std::_Vector_base<RigidBodyDescription, std::allocator<RigidBodyDescription>>::_M_create_storage stl_vector.h        361  0x555555688d2f 
12  std::_Vector_base<RigidBodyDescription, std::allocator<RigidBodyDescription>>::_Vector_base      stl_vector.h        305  0x555555685da7 
13  std::vector<RigidBodyDescription>::vector                                                        stl_vector.h        555  0x555555683696 
14  NatNet2OSC::addSkeletons                                                                         NatNet2OSCActor.cpp 287  0x55555567fa61 
15  NatNet2OSC::handleSocket                                                                         NatNet2OSCActor.cpp 94   0x55555567eb33 
16  Sphactor::handleMsg                                                                              libsphactor.hpp     90   0x55555566c55d 
17  sphactor_member_handler<NatNet2OSC>                                                              libsphactor.hpp     12   0x555555668027 
18  sphactor_actor_run_once                                                                          sphactor_actor.c    962  0x555555912531 
19  sphactor_actor_run                                                                               sphactor_actor.c    1049 0x5555559128f7 
20  s_thread_shim                                                                                    zactor.c            68   0x55555591fd32 
... <More>                                                                                                                                   
sphaero commented 2 years ago

probably has to do with the hack to transfer descriptions from natnet to natnet2osc

Always has to do with the decriptions

Could also be related to #128