I'll look into this.
Hi,
I got strange crash on MAC OS X 10.6.6 Intel x86.The workflow is the following: - use trial extension - use one key for on-line activation (CheckAndSavePkey + Activate) - deactivate previous key (Deactivate(1)) - use another one key for on-line activaion (CheckAndSavePkey + Activate) -> crash in the TurboActivate
The same workflow works fine on Windows.Here is stack of crash place:#0 0x90679d80 in lh_free ()#1 0x906e650a in int_err_del ()#2 0x9504bdef in Curl_ossl_cleanup ()#3 0x950601b4 in Curl_ssl_cleanup ()#4 0x95055fcb in curl_global_cleanup ()#5 0x0be49e15 in dyld_stub_write$UNIX2003 ()#6 0x0be59e16 in dyld_stub_write$UNIX2003 ()#7 0x0be5bd06 in Activate ()#8 0x0babbd13 in -[LicenseDialog activateLicense:] (self=0x21937d60, _cmd=0x21734870, key=0x2195c1f0 "W722-6NUY-SBEN-P4VS-39JB-7G35-6NTA") at /Users/User/EOS_dcain/EOS/broadcast_video/../common/licenceDialog.m:485#9 0x0babc62a in -[LicenseDialog performOnlineActivation:] (self=0x21937d60, _cmd=0x21734830, obj=0x0) at /Users/User/EOS_dcain/EOS/broadcast_video/../common/licenceDialog.m:583#10 0x92becbf0 in -[NSThread main] ()#11 0x92becba0 in __NSThread__main__ ()#12 0x96a5685d in _pthread_start ()#13 0x96a566e2 in thread_start ()
Can you please analyse it and give me info is it TurboActivate issue or not?
Thank you.
I'll look into this.
Hey Alex,
From the stack trace it looks like a problem with TA, but I can't reproduce it. Is there any chance you can make a small example project that reproduces this behavior?
Here is simple program that reproduces the crash on our side, just try populate the defines with your data, .dat file and run it:
#include <CoreServices/CoreServices.h>#include "TurboActivate.h"#define Key "PUT YOUR LICENSE KEY HERE"#define Trial "PUT YOUR TRIAL EXTENSION HERE (ONLINE)"#define PRODUCT_GUID "PUT YOUR GUID HERE"
void updateStatus(){ char buf1[4096]; char buf2[4096]; char buf3[4096]; HRESULT ret; HRESULT ret2; HRESULT ret3; HRESULT hret = IsGenuine( PRODUCT_GUID ); ret = GetFeatureValue( "SKU (Enter AUD or VID)", buf1, sizeof(buf1)/2 ); ret2 = GetFeatureValue( "Type (Enter FCP or CMD)", buf2, sizeof(buf2)/2 ); ret3 = GetFeatureValue( "Expire On", buf3, sizeof(buf3)/2 );}
int main (int argc, const char * argv[]){ HRESULT ret; ret = ExtendTrial( Trial ); ret = Deactivate( 1 ); ret = CheckAndSavePKey( Key ); ret = Activate(); for( int i = 0; i < 10 ; i++ ) { printf( "iteration = %d\n", i ); updateStatus(); ret = Deactivate( 1 ); ret = CheckAndSavePKey( Key ); ret = Activate(); updateStatus(); }}
Thanks, we can reproduce this now -- we're fixing the problem now.
This is fixed in the latest version of TurboActivate. Get it on your API page.
Thanks for spotting this bug, Alex.