Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75635

Python crashing when script is running against live system

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ikorot01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'debug': 0.07; 'debugger': 0.09; 'subject:script': 0.09; 'python': 0.11; 'windows': 0.15; "(i'm": 0.16; 'calculates': 0.16; 'sp3': 0.16; 'subject:when': 0.16; 'all,': 0.19; 'not,': 0.20; 'issue.': 0.22; 'saying': 0.22; 'fine': 0.24; 'file.': 0.24; 'script': 0.25; 'skip:" 20': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'crash': 0.31; 'directory,': 0.31; 'file': 0.32; 'run': 0.32; 'running': 0.33; 'are:': 0.33; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'processed': 0.36; 'hi,': 0.36; 'should': 0.36; 'starting': 0.37; 'thank': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'catch': 0.60; 'tracking': 0.61; 'further': 0.61; 'such': 0.63; 'situation': 0.65; '2.7.': 0.84; 'subject:system': 0.84; 'underneath': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=K5WLXka0Z6InwrU5Se391XwOer3NTHY5YPi4YIWCBcA=; b=UUSxbt5Q+Kbo+DshiPnY6xtXgcR6oQ8H3ActsOUIRk/is4c/rSDl44i75Ggyde+J5w BarvGby2EC5MRVq50jlMcUqizT+VH9nkt5acE+Y6umPUaaATcJeKPM4+Keg52WL0Ygbr sh3Ebau9o91zV4ACDcCGzIHrHxyKtZa1Xdtbfzr7j7m8bcx3oPALjH/xk8mY2ohaMdjw 1cuuEDCUg3iuWeveQtJrDydNH5uMf2c97ooAz0KNqxyqvSMb3pdDu5zBaCS3T/8mYdAp WlAy3XnwSzEQhijJXCFKEgscC5ctb3SzBdri9+le1oTVzlmSYXbK2EIq9t0NZ8NXaNHe g2TQ==
MIME-Version 1.0
X-Received by 10.52.27.16 with SMTP id p16mr5193344vdg.14.1407111628591; Sun, 03 Aug 2014 17:20:28 -0700 (PDT)
Date Sun, 3 Aug 2014 17:20:28 -0700
Subject Python crashing when script is running against live system
From Igor Korot <ikorot01@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12608.1407111636.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407111636 news.xs4all.nl 2937 [2001:888:2000:d::a6]:39543
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75635

Show key headers only | View raw


Hi, ALL,
I'm working on the script that should starting from the given
directory enumerate all directories and files underneath and
calculates the hash value of such file.
It works fine when I start it from some particular directory, but when
I give the "C:\" it crashes python.

The last thing the script processes is the file in cmdcons directory,
which is AFAIU from the ComboFix run.
I have Windows XP SP3 with python 2.7.

Now, I'm confused.
My questions are:

1. Am I able to catch such situation and see where the crash occur?
2. If not, what is the proper way to debug such situation?

I am getting the window saying that python.exe has encountered a
problem and needs to close.

The last file processed was "c:\cmdcons\dpti20.sy_".

What strange about it that when I run the script under debugger (I'm
using winpdb), it is running further and crashing on some other file.

Thank you for any help tracking down the issue.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Python crashing when script is running against live system Igor Korot <ikorot01@gmail.com> - 2014-08-03 17:20 -0700

csiph-web