Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75635
| Date | 2014-08-03 17:20 -0700 |
|---|---|
| Subject | Python crashing when script is running against live system |
| From | Igor Korot <ikorot01@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12608.1407111636.18130.python-list@python.org> (permalink) |
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
Python crashing when script is running against live system Igor Korot <ikorot01@gmail.com> - 2014-08-03 17:20 -0700
csiph-web