Downloads  |  Buy

TurboActivate trial offline crash [Solved]

TurboActivate trial offline crash [Solved]

Postby kaludis » December 26th, 2019, 9:27 am

Hello, developers!

I'm using TurboActivate as static library on Linux machine.
I successfully saved trial extenstion request to file via TA_UseTrialVerifiedRequest(), after I uploaded this request to dashboard, downloaded generated trial extension xml response and
called TA_UseTrialVerifiedFromFile() passed full path to the response file.
At the last step my program crashed with segmantation faults signal.

Below is the gdb backtrace (I omited insufficient part of my code tracing):

#0 0x000000000036ed11 in boost::basic_string_view<char, std::char_traits<char> >::basic_string_view(char const*) ()
#1 0x00000000003717b9 in Trial::ParseVerifyTrialXML(tinyxml2::XMLElement*, std::string*) ()
#2 0x00000000003739c6 in Trial::UseTrialVerifiedFromFile(unsigned int, char const*) ()
#3 0x000000000032adf7 in TA_UseTrialVerifiedFromFile ()
...
...

It seems the problem somewhere in xml parsing code.
I checked the request and response files with xml validator. They are ok.

I also attach content of my trial request and trial response xml files:

<TrialRequest><trackblock data="B6D27U/bwclJRZ2fQ1vjHbttvHPR2Fg6RFcZVb9uv5htXgdJWHxX5iqyV66rAFLwo/9Vhf99trBM+UK5r5akAoNBk0/2pv1VJ0kB5TtTizhQJuz81R+K9wjAliPIN00+0AWMVEwlzKYIF3nZLE/6DNz6a0ghTV22i4432R/DdIhboGlR2YlvSQHiQTPntetwpBY1K3/LUJ3Ci6DEVD3dTA9ZWrn6aLR0f2ClifmfB8qlOkHo7ruPFapInmaZFYQRyTnp8Q4Y7EwkA9USSfbTw+oDgSdRMaFO+XFfGEXSaRNQ9tIhc/HBrh+yHM4Hq7XiqPMg96Bca63fNboRYCi0MA==" id="6742"/></TrialRequest>


<Response><veritrial data="v4e34HwIp08HIHFWe/AxOGYYFw2mIz0X+9DuZGXScCgvmqdOT0VdRN4R72s/j/dutT8XCzy3oETYmKOBBdiS1Vl1uAhtgnyGPFCZzCMj3VDld7J6MnvEwiA7+h0KTt+e1DBbnNXLiYNRUAU2tn06q4Jd8emvuMMtFoYJRJ3KiXA4Pt8OLGamze1eB/9BsaplryK8lXF4H2knPflyAxtFApFW62xUeTaAgHxhmfVxDQq4eBYnxPnUSQqnncWnJXgcgX8vMjpQe5VfasuAK1zA1irE/qVhEbqBKAYhg9cxN98JTeevkM5OdVdIfaAZxfSDpmo1dsq7VpdjDnUgbWpayw==" avm="1" exp="ACYYDBsM4wc=" ts="ACUhCxoM4wc=" user_ts="ADsgCxoM4wc="/></Response>

Hope you will help me!
kaludis
 

Re: TurboActivate trial offline crash

Postby Wyatt » December 26th, 2019, 11:17 am

My guess is you're using an old version (we fixed a crash a number of versions ago). Please provide version numbers.

https://wyday.com/limelm/help/faq/#useful-reports

https://wyday.com/limelm/api/ta-changes/
User avatar
Wyatt
Site Admin
 
Posts: 6192
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: TurboActivate trial offline crash

Postby kaludis » December 26th, 2019, 1:26 pm

Thanks for quick reply!

My current library version is '4.2.0.0' and was downloaded a few days ago.
kaludis
 

Re: TurboActivate trial offline crash

Postby Guest » December 26th, 2019, 1:43 pm

I've already downloaded Version 4.2.0.1 from https://wyday.com/limelm/api/TurboActivate-Linux-Static.zip
but it still has version 4.2.0.0 and produces same segfault in my case.

Maybe only dynamic library was updated to next version number?
Guest
 

Re: TurboActivate trial offline crash

Postby Wyatt » December 26th, 2019, 5:32 pm

We think we'll be able to reproduce this. Thanks for reporting this, we'll release a new version in the new year.
User avatar
Wyatt
Site Admin
 
Posts: 6192
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: TurboActivate trial offline crash

Postby kaludis » December 27th, 2019, 6:00 am

Thank you!
kaludis
 

Re: TurboActivate trial offline crash

Postby Wyatt » January 14th, 2020, 8:57 am

We've just released TA 4.3 which fixes this bug. Thanks for reporting this.
User avatar
Wyatt
Site Admin
 
Posts: 6192
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to LimeLM, TurboActivate, & TurboFloat Support