Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 20 of 29 total
Thread ElevateDB Error #506 Cannot Lock the Session Manager (ID:1).
Tue, Mar 8 2016 7:59 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Charles,

<< I'm interested, as I saw this error on Friday, D10S, EDB 2.22b1. Program left doing not a lot, but with open tables in remote session, running in a VM. It does however periodically, on a timer tick, run a query to update certain info displayed in the GUI. The first thing the timer tick event does is disable the timer. >>

If you have a reproducible situation where you're seeing this and you think it's a bug, please email me a project that does so and I'll take a look.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Mar 8 2016 9:24 AMPermanent Link

Charles Bainbridge

<<Tim Young [Elevate Software] wrote:

If you have a reproducible situation where you're seeing this and you think it's a bug, please email me a project that does so and I'll take a look. >>

If we can isolate it, we will see if we can reproduce it in a small example. This is happening in a large, rather unwieldy front-end to our system which has grown somewhat over the 20 years since its Delphi 1 birth.
Tue, Mar 8 2016 11:15 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Charles,

<< If we can isolate it, we will see if we can reproduce it in a small example. This is happening in a large, rather unwieldy front-end to our system which has grown somewhat over the 20 years since its Delphi 1 birth. >>

I certainly understand. In the meantime, I'll also keep looking here to see if I can spot anything.

Also, if anyone else in the thread has any leads on a reproducible example, please forward on to me.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Mar 10 2016 9:26 AMPermanent Link

Charles Bainbridge

Tim Young [Elevate Software] wrote:
<< Also, if anyone else in the thread has any leads on a reproducible example, please forward on to me. >>

Tim, not much help I'm afraid, but we're as certain as we can be here that we had never seen a #506 before we upgraded to 2.22 recently. We're now over 3 years down the road with our rather large conversion project from DBISAM to EDB. The main part of the system has been up and running with EDB for over 2 years.
Thu, Mar 10 2016 9:42 AMPermanent Link

Charles Bainbridge

And I should add that Scott has seen this principally while debugging in the IDE.
Thu, Mar 10 2016 3:50 PMPermanent Link

Steve Gill

Avatar


<< Did you have to make this post - now I have received one - first ever.  >>

No need to thank me. Smile

= Steve
Thu, Mar 10 2016 3:52 PMPermanent Link

Steve Gill

Avatar

Hi Matthew,

"Matthew Jones" wrote:

<< Timers can be re-entrant, so you need to check that the timer is not
already doing things. I use a simple boolean on the form for such
checks. The lock is probably better, but I mention it just in case. >>

I believe I'm using a flag but I'll double check to make sure.

= Steve
Thu, Mar 17 2016 4:33 PMPermanent Link

Steve Gill

Avatar

3 more customers have reported this error message.  In each case they left the application running overnight with no-one actively using it.

= Steve
Fri, Mar 18 2016 12:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< 3 more customers have reported this error message.  In each case they left the application running overnight with no-one actively using it. >>

I finally found the problem: it's a bug in the way the locking was changed in 2.22.  Basically, EDB is not giving the locks enough wait time to cover when a ping occurs, so any operation that randomly conflicts with the ping thread will raise this error.

I'm sending Charles a version to test, and I can do the same for you if you'd like to confirm the fix before I do a build 3.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Mar 18 2016 11:10 PMPermanent Link

Steve Gill

Avatar

Hi Tim,

<< I finally found the problem: it's a bug in the way the locking was changed in 2.22.  Basically, EDB is not giving the locks enough wait time to cover when a ping occurs, so any operation that randomly conflicts with the ping thread will raise this error.

I'm sending Charles a version to test, and I can do the same for you if you'd like to confirm the fix before I do a build 3.  >>

That's great news.  Sure, I'd be happy to test it.

= Steve
« Previous PagePage 2 of 3Next Page »
Jump to Page:  1 2 3
Image