Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'importing': 0.04; 'binary': 0.05; 'socket': 0.05; 'sys': 0.05; 'sys.platform': 0.07; 'python': 0.09; '2006,': 0.09; 'errno': 0.09; 'imported': 0.09; 'imports': 0.09; '"import': 0.16; "'win32'": 0.16; '_socket': 0.16; '_ssl': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'smtplib': 0.16; 'socket"': 0.16; 'socket.': 0.16; 'socket.py': 0.16; 'subject:night': 0.16; 'subject:started': 0.16; 'wrote:': 0.17; 'tim': 0.18; 'windows': 0.19; 'bit': 0.21; 'import': 0.21; 'libraries': 0.22; 'os,': 0.22; 'installed': 0.23; "i've": 0.23; 'external': 0.24; 'command': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; '"do': 0.29; '>>>>': 0.29; 'chase': 0.29; 'crash': 0.29; 'received:192.168.1.3': 0.29; "i'm": 0.29; "we're": 0.30; 'subject:last': 0.30; 'anybody': 0.32; 'to:addr:python-list': 0.33; '(with': 0.33; 'changed': 0.34; 'but': 0.36; 'modules': 0.36; 'turn': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'nothing': 0.38; 'sure': 0.38; 'system.': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'skip:u 10': 0.60; 'information': 0.63; 'more': 0.63; 'our': 0.65; 'night,': 0.65; 'due': 0.66; 'header :Reply-To:1': 0.68; 'pro': 0.69; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:python.org': 0.84; 'tied': 0.93 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=W6e6pGqk c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=AAvI7MrX_rgA:10 a=5ybzaM9A2zoA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=YcGoUA4pHuEA:10 a=X3I057V8rkKZeCc-9ekA:9 a=wPNLvfGTeEIA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 X-AUTH: mrabarnett:2500 Date: Thu, 13 Sep 2012 14:12:41 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python2.4 on Win32 suddenly started crashing last night References: <5051D49B.1070009@tim.thechases.com> In-Reply-To: <5051D49B.1070009@tim.thechases.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347541957 news.xs4all.nl 6944 [2001:888:2000:d::a6]:52329 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29031 On 13/09/2012 13:42, Tim Chase wrote: > I'm not sure if this is some Win32 update that was silently applied > by our netadmin, but when I simply "import socket" at the command > line, it's crashing (with the "Do you want to send this information > to Microsoft" debug/crash dialog). > > It was working as of last night, and to the best of my knowledge, > nothing was changed on the system. It took a while to track it > down, but it came from importing smtplib which in turn imports socket. > > I've tried "import socket" and it crashes, but then tried importing > each of the modules that are imported in socket.py and nothing dies: > > C:\Program Files\Python24\Lib>python > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import _socket >>>> from _socket import * >>>> import _ssl >>>> from _ssl import * >>>> import os, sys >>>> from errno import EBADF >>>> sys.platform > 'win32' >>>> import socket > [win32 crash happens here] > > > Does anybody have any hints? I'm unfortunately somewhat bound to > 2.4 due to some external binary libraries that we're tied to. > I've just downloaded, installed and tested Python 2.4.4. No crash. This is with Windows XP Pro (32-bit).