Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread RemotePing causing hangs
Tue, Mar 27 2007 3:29 AMPermanent Link

Oliver Bock
Using v4.25b3 I find that engine.RemotePing := True sometimes causes my
application to hang on exit.  It hangs waiting for a thread to exit in a
finalization clause that's calling TThread.WaitFor, although I cannot
tell which unit the finalization caluse is from our who created the
thread.  It's hard to be sure it's DBISAM's thread, but it happens
fairly consistently and I've removed all my own threads from
consideration.  The hang only seems to occur when I'm running within the
debugger.

When I roll back to v4.24b1 the problem goes away.

Has anyone seen this?  I don't have time to create something that
reproduces the problem just now.


  Oliver
Wed, Mar 28 2007 7:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< Using v4.25b3 I find that engine.RemotePing := True sometimes causes my
application to hang on exit.  It hangs waiting for a thread to exit in a
finalization clause that's calling TThread.WaitFor, although I cannot tell
which unit the finalization caluse is from our who created the thread.  It's
hard to be sure it's DBISAM's thread, but it happens fairly consistently and
I've removed all my own threads from consideration.  The hang only seems to
occur when I'm running within the debugger. >>

Yes, I get it here also, but only in the debugger so I've basically just
assumed that it's an IDE issue.  I've got it on the list of items to look at
in DBISAM when I get a chance.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Apr 2 2007 11:06 PMPermanent Link

Oliver Bock
Tim Young [Elevate Software] wrote:
> Yes, I get it here also, but only in the debugger so I've basically just
> assumed that it's an IDE issue.  I've got it on the list of items to look at
> in DBISAM when I get a chance.

Should I submit an incident report?  I'd hate someone to waste half a
day searching for a known problem.


   Oliver
Tue, Apr 3 2007 4:04 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Oliver

>Should I submit an incident report? I'd hate someone to waste half a
>day searching for a known problem.

I think you just did Smiley

Roy Lambert
Tue, Apr 3 2007 9:09 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< Should I submit an incident report?  I'd hate someone to waste half a day
searching for a known problem. >>

No need.  I'll put up something with the next 4.25 build.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Apr 13 2007 1:40 AMPermanent Link

Oliver Bock
Any news on this?  I tried to work around the problem by setting
RemotePing to False before destroying the session, but this just caused
a DBISAM crash (FastMM detected an attempt to call a virtual method on a
freed object.)

As you say the problem only seems to occur when running under the
debugger.  I've turned off pings in this situation which I suppose has
the benefit of ensuring that my dead session recovery code is well
tested Smile


  Oliver
Sat, Apr 14 2007 3:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< Any news on this? >>

No, since it only occurs in the debugger it isn't a high-priority for us
right now.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image