chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
I am trying to test out the framework to determine if this is something we want to use on a build server.

I currently can't get past a licensing issue to be able to execute the tests. I've downloaded isolator several times with different keys and the result is the same.

When it seems to not complain about the license, a segmentation fault occurs when I add a call to FAKE_GLOBAL or ISOLATOR_CLEANUP.

*** Typemock Isolator++ Professional 4.2.0.0 (64bit) ***

Documentation: https://www.typemock.com/docs?book=Ipp

/home/dev/hhee/jcann/sandbox/ProjectTemplateIPP/test/template/EntryPointTest.cpp:46: error: Failure in TEST(EntryPointTest, testEntryWStaticFunction)

        Memory leak(s) found.

Alloc num (25136) Leak size: 264 Allocated at: <unknown> and line: 0. Type: "new"

        Memory: <0x56405b7dfce0> Content:

    0000: 01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0010: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0030: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0040: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0050: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0060: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0070: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0090: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00a0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00b0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00c0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00d0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00e0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    00f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 |................|

    0100: 00 00 00 00 00 00 00 00                          |........|

Total number of leaks:  1

.

********* Typemock Isolator++ Assert Exception *********

 - License has expired

terminate called after throwing an instance of 'IPPException'

  what():  License has expired

./project_build.sh: line 21: 216462 Aborted                 (core dumped) ./output/bin/AppUnitTests
asked by jonathan.cann (600 points)

1 Answer

0 votes

Hi Joanathan,
We're sorry to hear you're experiencing these issues while using Isolator++
Could you send us the logs of your failing test runs to *Emails are not allowed* for further analysis? 
You can generate such logs by following the instructions on this page. cool

answered by Erel_TypeMock (2.6k points)

I am not sure where you want me to send the log. I'll put it here for now...

12:07:08:726 [tid 46892] loading : libisolator.so

12:07:08:727 [tid 46892] can't bind external symbol: g_thePlatform

12:07:08:727 [tid 46892] Enter CIsolatorPlatform::SetupPlatform

12:07:08:727 [tid 46892] OS info: System: Linux, Release: 5.15.0-1040-aws, Version: #45~20.04.1-Ubuntu SMP Tue Jul 11 19:08:13 UTC 2023

12:07:08:727 [tid 46892] Process type is x64

12:07:08:727 [tid 46892] Enter: CDwarfAgent::Init

12:07:08:732 [tid 46892] Enter CDwarfAccess::Init

12:07:08:740 [tid 46892] Leave CDwarfAccess::Init

12:07:08:744 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@@GLIBCXX_3.4.5

12:07:08:744 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE12_Alloc_hiderC1EPwRKS1_@@GLIBCXX_3.4

12:07:08:744 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_refdataEv@@GLIBCXX_3.4

12:07:08:745 [tid 46892] failed init demangling: _ZNSaIwEC1Ev@@GLIBCXX_3.4

12:07:08:745 [tid 46892] failed init demangling: _ZNSs5beginEv@@GLIBCXX_3.4

12:07:08:745 [tid 46892] failed init demangling: _ZNSt9bad_allocD1Ev@@GLIBCXX_3.4

12:07:08:746 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE12_S_empty_repEv@@GLIBCXX_3.4

12:07:08:747 [tid 46892] failed init demangling: _ZNSs3endEv@@GLIBCXX_3.4

12:07:08:747 [tid 46892] failed init demangling: _ZNSsC1Ev@@GLIBCXX_3.4

12:07:08:747 [tid 46892] failed init demangling: _ZNSaIcED1Ev@@GLIBCXX_3.4

12:07:08:748 [tid 46892] failed init demangling: _ZNSsC1EPKcRKSaIcE@@GLIBCXX_3.4

12:07:08:749 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE4_Rep9_S_createEmmRKS1_@@GLIBCXX_3.4

12:07:08:749 [tid 46892] failed init demangling: _ZNSsD1Ev@@GLIBCXX_3.4

12:07:08:750 [tid 46892] failed init demangling: _ZNSaIcEC1Ev@@GLIBCXX_3.4

12:07:08:750 [tid 46892] failed init demangling: _ZNSaIwED1Ev@@GLIBCXX_3.4

12:07:08:750 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEE4dataEv@@GLIBCXX_3.4.26

12:07:08:750 [tid 46892] failed init demangling: _ZNSbIwSt11char_traitsIwESaIwEED1Ev@@GLIBCXX_3.4

12:07:08:754 [tid 46892] Leave CDwarfAgent::Init

12:07:08:755 [tid 46892] Leave CIsolatorPlatform::SetupPlatform

12:07:08:755 [tid 46892] Info: Utils Running pid:46892 - /dev/pts/0

12:07:08:755 [tid 46892] ISOLATOR_CLEANUP

12:07:08:755 [tid 46892] CIsolatorPlatform::IsolatorCleanup: Acquired g_hMutex

12:07:08:755 [tid 46892] CIsolatorPlatform::IsolatorCleanup: Released g_hMutex

12:07:08:766 [tid 46892] FAKE: szObj=FiiE nSize=0 nType=3

12:07:08:766 [tid 46892] Assert exception thrown in test body: License has expired

Thank you for the information,

What compiler version are you using?
c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

We have sent a mail to the address you've signed up with. 

Please respond to us whenever you can so we may help you resolve this issue cool

...