teechart hangs on windows 2003 R2 server

TeeChart for ActiveX, COM and ASP
Post Reply
FDC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 30, 2006 12:00 am

teechart hangs on windows 2003 R2 server

Post by FDC » Fri May 27, 2011 11:06 am

Im running teechart7 in windows 2003 R2 server, under certain circumstances teechart makes my system hangs (IIS)
I ran IIS debugger and had the following as a result:

================================================================================
Type Description Recommendation
Warning Detected possible blocking or leaked critical section at ntdll!LdrpLoaderLock owned by thread 37 in w3wp.exe__DefaultAppPool__PID__2900__Date__05_27_2011__Time_05_25_37AM__312__IIS_COM+ Hang Dump.dmp

The following functions are trying to enter this critical section
ntdll!LdrShutdownThread+33
ntdll!LdrpInitializeThread+68

The following module(s) are involved with this critical section
C:\WINDOWS\system32\ntdll.dll
The entry-point function for a dynamic link library (DLL) should perform only simple initialization or termination tasks, however this thread (37) is not fully resolved and may or may not be a problem. Further analysis of this thread may be required. Follow the guidance in the MSDN documentation for DllMain to avoid access violations and deadlocks while loading and unloading libraries.

Please follow up with the vendor Steema Software SL for C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Update Version\TeeChart7.ocx
================================================================================

I have the update installed in my system as well. Can you please shed light on whats happening here?


Additional info:
Thread 37:

Function Source
ntdll!KiFastSystemCallRet
user32!NtUserMessageCall+c
user32!SendMessageA+7f
TeeChart7!DllUnregisterServer+b6763
TeeChart7+4757
TeeChart7+4aba
ntdll!LdrpCallInitRoutine+14
ntdll!LdrUnloadDll+41a
kernel32!FreeLibrary+41
ole32!CClassCache::CDllPathEntry::CFinishObject::Finish+2f
ole32!CClassCache::CFinishComposite::Finish+1d
ole32!CClassCache::CleanUpDllsForApartment+1d0
ole32!FinishShutdown+d7
ole32!ApartmentUninitialize+94
ole32!wCoUninitialize+7d
ole32!CoUninitialize+65
comsvcs!CSTAThread::WorkerLoop+256
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: teechart hangs on windows 2003 R2 server

Post by Yeray » Fri May 27, 2011 1:39 pm

Hello,

We'd need some more information about the the environment and the kind of application.
Can you reproduce the problem with the demos shipped with the installation?
If not, could you please send us a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

FDC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 30, 2006 12:00 am

Re: teechart hangs on windows 2003 R2 server

Post by FDC » Sat May 28, 2011 4:21 am

Hi Yerey,

Actually what we are doing is we check the server every 30 seconds if teechart and IIS is running.
so we have this program running visiting the check page after every 30 seconds.

<?xml version="1.0" encoding="Shift-JIS"?>
<%
'=== Create Chart ======
Response.ContentType = "text/xml"
Set TChart1 = CreateObject("TeeChart.TChart")
AppPath = Request.Servervariables("APPL_PHYSICAL_PATH") & "ttsec\"
TChart1.Import.LoadFromFile(AppPath & "smallchartArea.tee")
Set TChart1 = nothing
%>
<dataroot>
<record mes="OKAY"/>
</dataroot>

now the problem happens after doing this for at least 5 hours or so.

FDC
Newbie
Newbie
Posts: 3
Joined: Mon Oct 30, 2006 12:00 am

Re: teechart hangs on windows 2003 R2 server

Post by FDC » Sat May 28, 2011 5:40 am

Also, i dont know if this can help but we've been running teechart and doing this check for years now (using windows 2003 R1)
but we didnt get major problems. Now until we moved to windows 2003 R2.

Also maybe you can shed light on giving me some info about this matter:
we are planning to move to teechart 8/teechart 2010. We downloaded the trial version to check if it works.
Also we are changing our environment to windows 2008 server.

Now the thing is we can't get teechart activex (for asp) running on windows 2008 server (we tried both) using teechar8 or teechart 2010.
Is techart 2010 supported on windows 2008 server?

Thank you very much,
FDC

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: teechart hangs on windows 2003 R2 server

Post by Yeray » Mon May 30, 2011 3:36 pm

Hello FDC,

I've tried the latest v8 and v2010 in both Windows 2003 Server SP2 and Windows 2008 Server.
- With v8 I only found a little problem with Windows 2003 Server SP2: the ASP examples were installed in a wrong path; the installer creates the following structure in the same path where the installer is placed and copies the ASP demos there: "path_where_the_installer_is\%SystemDrive%\Inetpub\wwwroot\TeeChart8". So this is not found by the IIS virtual directory that points to "C:\Inetpub\wwwroot\TeeChart8". So it is easy to correct it manually (moving everything from "path_where_the_installer_is\%SystemDrive%\Inetpub\wwwroot\TeeChart8" to C:\Inetpub\wwwroot\TeeChart8). Once moved, it works fine also in Win 2003 for me here.

- With v2010 the ASP demos seem to work fine here.

Could you please tell us what exact error message are you getting when trying to browse them with IE from:
http://localhost/TeeChart8/ASPHome.htm
http://localhost/TeeChart2010/ASPHome.htm
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply