Page 1 of 1
Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Mon Feb 10, 2014 11:29 am
by itnovator
We use Visual Studio 2013. So often when we start debugging of AbleCommerce project just trying to step through source code, it causes Visual Studio 2013 to hang. I checked the application error log on Event Viewer, it says "Cross Thread Leadlock". It has started behavioring this way after upgrading to R2, then R3, no clue to fix it. Frustrated!
However, VS2013 never behaviours this way with all other projects, only with AbleCommerce. Does anyone has any clue?
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Mon Feb 10, 2014 5:58 pm
by Katie
I just hate to say it because I know you have customizations, but even version R3 is old (Nov. 2012) and had many issues. If you can bring your installation up to R5, I think you'll find it to be much more stable.
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 5:54 am
by jmestep
I'm not sure if this helps but there is a patch in R6 for this bug
[AC8-1951] - Url Cache and Redirect Service cache are not thread safe
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 7:07 am
by itnovator
Thanks to everyone replying this post. Yes, we do have customization, primarily just on the look and feel, it is least likely those changes of layout will cause "Cross Thread Deadlock", just to be fair.
We are dying to upgrade to R6, unfortunately, the project deadline does not allow it. ...but...do folks have any clue? It is for sure because of multiple threading stuff..
Big thank!
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 9:26 am
by Katie
The patch Judy spoke of is also available for R5. If most of your customizations are with look and feel, then I am guessing that the Theme files are mostly affected, and upgrades don't usually change the theme files. Upgrading to R5 should be easier than R6 because many controls changed in R6 due to the new membership feature.
Unfortunately, I don't have an easy answer for this issue. The patch for the cache issue was in the main CommerceBuilder.dll. We fixed two issues that had to do with using Custom URL's and Redirects. If you are using either of these features, then it's likely the patch will fix it. Let me know because I have another idea on how to help.
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 9:39 am
by itnovator
thanks, Katie, you are always the person replying to posts. Currently we have R3, do we need to upgrade to R4 in order to go for R5? How much database change we need to make for R4? Anyway, we have the website relaunch on the coming week, probably not a good idea for now. For sure after it.
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 10:19 am
by Katie
Your welcome, and I am very sorry for the trouble our earlier releases have caused you. Each upgrade should be applied separately.
Instructions from R3 to R4:
http://help.ablecommerce.com/upgrades/a ... old_r4.htm
Instructions from R4 to R5:
http://help.ablecommerce.com/upgrades/a ... old_r5.htm
Each release had some database changes, but the upgrade script will take care of them for you. If you look at each of the pages I linked above, you'll see (towards the bottom) a list of database changes. But again, this is all automated, so all you need to do is use a program like WinMerge to move any customizations into the newer files.
I truly hope you can upgrade soon because I worry that you'll keep running into bugs that have already been fixed.
Thanks
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 11, 2014 10:27 am
by itnovator
thanks, Katie
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Tue Feb 18, 2014 7:08 am
by AbleMods
Definitely update your R3 as soon as you can. Even if it means delaying your launch. Seriously. So many things fixed, resolved and improved since R3 was released.
If you don't, you'll wind up burning the same amount of time (or more) chasing down issues that were resolved long ago.
I've done several early-gold to current-gold upgrades now. The schema updates are very smooth. A good compare utility and a consistent effort to comment your customizations will go a long way towards minimizing the pain of customized upgrades.
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Mon Mar 03, 2014 7:52 am
by itnovator
I did upgrade to R3, however cross thread deadlock gets more annoying! What disappointment!
But thank you, AbleMods!
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Mon Mar 03, 2014 8:01 am
by AbleMods
itnovator wrote:I did upgrade to R3,
You misunderstood me. You already said you upgraded to R3. I was saying you should definitely upgrade your R3 to the lastest (R6).
You will continue to experience several issues if you remain on R3. Upgrade to R6. It's worth it.
Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?
Posted: Mon Mar 03, 2014 8:09 am
by itnovator
Thanks, AbleModes.
We have a lot of layouting changing....long story!