You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-user@tcl.apache.org by "Azoulay, Zacky" <za...@sap.com> on 2007/08/23 11:58:38 UTC

Apache crash with websh

Hi,

I am using websh with apache on windows.

I have a simple test that bring the server time and date and have a page
refresh every 3 second (just testing).

After opening 20 pages the server is crash.

Error log file:

[Thu Aug 23 09:52:53 2007] [notice] Apache/2.2.4 (Win32) configured --
resuming normal operations
[Thu Aug 23 09:52:53 2007] [notice] Server built: Jan  9 2007 23:17:20
[Thu Aug 23 09:52:53 2007] [notice] Parent: Created child process 9008
[Thu Aug 23 09:52:53 2007] [notice] Child 9008: Child process is running
[Thu Aug 23 09:52:53 2007] [notice] Child 9008: Acquired the start
mutex.
[Thu Aug 23 09:52:53 2007] [notice] Child 9008: Starting 250 worker
threads.
[Thu Aug 23 09:52:53 2007] [notice] Child 9008: Starting thread to
listen on port 2080.
TclStackFree: incorrect freePtr.  Call out of sequence?

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
[Thu Aug 23 09:58:57 2007] [crit] Parent: child process exited with
status 3 -- Aborting.

Last access log file:

10.26.242.56 - - [23/Aug/2007:09:58:56 +0300] "GET / HTTP/1.1" 200 723
10.26.242.83 - - [23/Aug/2007:09:58:56 +0300] "GET / HTTP/1.1" 200 723
10.26.242.56 - - [23/Aug/2007:09:58:56 +0300] "GET / HTTP/1.1" 200 723
10.26.242.56 - - [23/Aug/2007:09:58:56 +0300] "GET / HTTP/1.1" 200 723
10.26.242.83 - - [23/Aug/2007:09:58:57 +0300] "GET / HTTP/1.1" 200 723
10.26.242.83 - - [23/Aug/2007:09:58:57 +0300] "GET / HTTP/1.1" 200 723
10.26.242.56 - - [23/Aug/2007:09:58:57 +0300] "GET / HTTP/1.1" 200 723

Html page:

<html>

<head>
<title>Sample mod_websh page</title>

		<META http-equiv=Content-Type content="text/html;
charset=windows-1255">
		<meta http-equiv="refresh" content="3">

</head>

<body>

<h1>Welcome to Websh</h1>


<p>Time on your server is currently {web::put [clock format [clock
seconds]]}.<br>
Note that the above line is written as:<pre>Time on your server is
currently \{web::put [clock format [clock seconds]]\}.</pre>
</p>

<p>Test different Websh <a href="other.html">markup in HTML</a></p>

<p>Test sample App <a href="myApp.ws3">myApp.ws3</a> that shows command
dispatching on the same URL</p>

<p>For Websh documentation refer to 
<a
href="http://tcl.apache.org/websh">http://tcl.apache.org/websh</a></p>

</body>

</html>

Apache: 2.2.4
Tcl: 8.5b8
Websh: Websh 3.6.b4 (2006-03-05)
what I am doing wrong? 
thank and regards Zacky 



Re: Apache crash with websh

Posted by Ronnie Brunner <ro...@netcetera.ch>.
> After opening 20 pages the server is crash.

The TclStackFree problem is new to me. (Seems new in Tcl8.5).

As written to your post on c.l.t, it could easily be Tcl itelf with a
problem. I'll try to run some tests in the next couple of days. In the
mean time I suggest, you try Websh against Tcl8.4. I expect it to work
there.

I'm also following up on your post on c.l.t. So as of now I won't
answer redundantly.

hth
Ronnie
-- 
Ronnie Brunner | ronnie.brunner@netcetera.ch
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org