Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Mon Feb 10, 2014 11:29 am

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?
Fun programming!

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by Katie » Mon Feb 10, 2014 5:58 pm

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.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by jmestep » Tue Feb 11, 2014 5:54 am

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
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Tue Feb 11, 2014 7:07 am

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!
Fun programming!

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by Katie » Tue Feb 11, 2014 9:26 am

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.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Tue Feb 11, 2014 9:39 am

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.
Fun programming!

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by Katie » Tue Feb 11, 2014 10:19 am

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
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Tue Feb 11, 2014 10:27 am

thanks, Katie
Fun programming!

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by AbleMods » Tue Feb 18, 2014 7:08 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Mon Mar 03, 2014 7:52 am

I did upgrade to R3, however cross thread deadlock gets more annoying! What disappointment!

But thank you, AbleMods!
Fun programming!

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by AbleMods » Mon Mar 03, 2014 8:01 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

itnovator
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Tue Jan 07, 2014 11:23 am

Re: Ablecommerce Causes Cross Thread Deadlock, No Sure Why?

Post by itnovator » Mon Mar 03, 2014 8:09 am

Thanks, AbleModes.

We have a lot of layouting changing....long story!
Fun programming!

Post Reply