X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:from:to:subject
	:content-type:date:content-transfer-encoding; q=dns; s=default; b=
	itZcQGqv3+lT0KTAHj5sOD59OnQhyf519qQ9kn5rZeZsOytsczywcS517/P1BPWp
	OcRmDvps/KNUF8iSscvHp8+mzNNGwC5fGdB6pRVuHd3soN9ZRxnw/8oInUFNfteA
	btWkcK/PLbx0DAvv8paYGc2EvrtWew49+RFtFfKOdKQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:from:to:subject
	:content-type:date:content-transfer-encoding; s=default; bh=95Sn
	WOYq8SDM/hVeG4RRBwsA4bM=; b=AFjbAp9B+7gaw3Z4nZkqUQ9qxQHfkONJcuZL
	+ipdlWeyx8Q3VlFGRWIr+uwpeG41SdZs9hdRYxC6uF9WGymxe3Jxl0acMun7QCJ4
	BNSNTUsk0rKuci82gBTs0204mhVK5gn2eMZrbOZdUDK+9OeucdbbxmhhkZ/eBDrb
	5zLvsg4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.com
MIME-Version: 1.0
Message-ID: <trinity-93872737-2043-4f26-ba9f-e0c2df72ea7c-1442474902727@3capp-mailcom-lxa02>
From: "Leonid Mironov" <lvm@royal.net>
To: "cygwin mail list" <cygwin@cygwin.com>
Subject: squid crashes and won't restart
Content-Type: text/plain; charset=UTF-8
Date: Thu, 17 Sep 2015 09:28:23 +0200
Sensitivity: Normal
X-UI-Out-Filterresults: notjunk:1;V01:K0:QTMHMJZuqeg=:iANAcpyfIjxTFb0Jhv2z9m XBPa1VXUExbNxi/P34t3mJY8m8cYriyKq3NvEbWIBv1Bh8w79qNS+rehdyF9z/tV45I6IzEvO 3kdNisjvPFcV/R153KQbOvd2xzWbV/my5cIm0Nw6kMxZViKQK1PuB0oH9D/lW0YZaXkRPrNVa 0P8Ip1GfxRfLagga9g8LCP89/7PViGLQBi0AAOSBbf3qG0yWGhD8dsDnZi8yNRega80W4AnLQ bmu+axPFFDmtGzRdIf2uTFZQGElBWVw1OWr6eOo+EdR9U31Hz7tUK6czQhNf+a6fmHqA2LDHr 8xSs568rUIksTT2sVhPMuC6g3WlfxTKgjLMGQXDY95fmQ3NgGtJdb80PsxAlvA+CxX2BQ9GCD elRlHAqWTzqpu8li11I/CGXPdsxpVT+qKwxT5/mi8uYBjqDocV9ChsDRBHDMYjxxPLIy2APjW x5KEXy1Bcg==
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8H7ScM5028562

Hello,

I have two compounding problems, one is with squid 3.3.3 crashing with 'assertion failed: store_swapout.cc:307: "mem->swapout.sio == self"' on certain sites e.g. snooker live scores (e.g. http://livescores.worldsnookerdata.com/LiveScoring/Tournament/13849/shanghai-masters?pos=279 but this link will probably become invalid as matches end). Not 100% repeatable - the page may update several times but eventually squid will crash, no such problems when squid runs on linux - only with cygwin port. Googling showed the similar problem with mac port but no solution. The second problem is that squid which is installed as windows service via cygrunsrv won't restart even though service recovery options are configured to restart it after all failures. Squid termination is logged as error in windows Application log with "squid: PID 23572: service `squid' failed: signal 6 raised" message and yet no attempt to restart is made.
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event[http://schemas.microsoft.com/win/2004/08/events/event]">
  <System>
  <Provider Name="squid" />
  <EventID Qualifiers="0">0</EventID>
  <Level>2</Level>
  <Task>0</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2015-09-17T06:46:01.000000000Z" />
  <EventRecordID>53673</EventRecordID>
  <Channel>Application</Channel>
  <Computer>xxxxxxxxxxxxxxxxxxxxxxx</Computer>
  <Security UserID="xxxxxxxx" />
  </System>
  <EventData>
  <Data>squid: PID 23572: service `squid' failed: signal 6 raised</Data>
  </EventData>
  </Event>
 
It is however is logged as a normal service stoppage in windows System log - perhaps this is the reason why it is not restarted. Maybe the error code is not passed properly to windows service manager?
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event[http://schemas.microsoft.com/win/2004/08/events/event]">
  <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
  <EventID Qualifiers="16384">7036</EventID>
  <Version>0</Version>
  <Level>4</Level>
  <Task>0</Task>
  <Opcode>0</Opcode>
  <Keywords>0x8080000000000000</Keywords>
  <TimeCreated SystemTime="2015-09-17T06:46:01.474349700Z" />
  <EventRecordID>89872</EventRecordID>
  <Correlation />
  <Execution ProcessID="624" ThreadID="23068" />
  <Channel>System</Channel>
  <Computer>xxxxxxxxxxxxxxxxxxxxxxx</Computer>
  <Security />
  </System>
  <EventData>
  <Data Name="param1">squid</Data>
  <Data Name="param2">stopped</Data>
  <Binary>730071007500690064002F0031000000</Binary>
  </EventData>
  </Event>
 
Windows 7 professional 32-bit. Any ideas on how to fix at least one of these problems?
 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


