yarp icon indicating copy to clipboard operation
yarp copied to clipboard

yarprun assertion failure on closure

Open randaz81 opened this issue 8 years ago • 7 comments
trafficstars

yarprun prints:

[FATAL]Assertion failure at C: (incomplete string!)

when I try to terminate it with CTRL+C. Observed on devel branch, WIN32, YARP_EXPERIMENTAL_CXX11=false

randaz81 avatar Jan 13 '17 20:01 randaz81

Expection is triggered inside Network.cpp

static void removeNameSpace()
{
    if (__multi_name_space != YARP_NULLPTR) {
        delete __multi_name_space;
        __multi_name_space = YARP_NULLPTR;
    }
}

being __multi_name_space an invalid pointer.

randaz81 avatar Jan 15 '17 13:01 randaz81

I think that @francesco-romano had a similar issue with the __multi_name_space variable, but I don't remember the details, perhaps they are related?

drdanz avatar Jan 17 '17 15:01 drdanz

If I am not mistaken it was not related to the __multi_name_space variable (that was another issue, unsolved) but to yarprun in general. This is the related issue.

francesco-romano avatar Jan 17 '17 17:01 francesco-romano

Hmm, I think we are talking about 2 different issues, I was referring to the one related to matlab not unloading the dll, and the yarp_auto_init stuff...

drdanz avatar Jan 18 '17 16:01 drdanz

Ok, but that was related to static variables initialization. I didn't think it related to this. But we can meet face 2 face (with @randaz81 too) and debug the problem together

francesco-romano avatar Jan 18 '17 16:01 francesco-romano

Does this happen with VS2015 as well? Perhaps related with #1061 and #1035

drdanz avatar Oct 17 '17 06:10 drdanz

It has been fixed by #1623 ?

Nicogene avatar Jun 07 '18 12:06 Nicogene