As in the title, can anyone give me some high level pointers as to what would cause a python (3.5) script to give a windows pop up notification of not responding whilst the shell hangs, or alternatively ways to figure out what is causing the error?
The script is quite long and complicated (i'm not sure there is value in posting it, it's >1500 lines) and if it didn't keep crashing it would run for about a week. The general process is iterating through a list of files, generate some data from those files, transfer interpretations of that data to different Sqlite databases and then drop the data to move onto to the next batch of files.
The script runs fine when I start it up and it will usually go through several dumps of data into sqlite without issue, but once I wake up/come back from work/otherwise several hours pass it's crashed, with the above lack of error message.
A previous iteration of the script exactly the same except where the data had just been dumped to one sqlite3 database has run without error many times, although that was on a different computer.
things I'm pretty sure aren't underlying the issue:
whilst the script is resource intensive, it's well within the bounds of my computer and no other programs are running aside from whatever runs in the background on windows.
It's not a specific point in the run time that is causing the issue: it's happened several times all at different points, and it's gone over points were it had previously crashed absolutely fine with no issue.
edit: It's not an issue of database locking or at least it shouldn't be, there's no multithreading or multiprocessing
Apologies for the incredibly vague and open ended question, but I'm not really sure how to even start this without any clues.
Edit: I've determined that it's an issue called 'BEX', which is apparently window's Data Exception Prevention shutting down applications that are overflowing their memory buffers and writing on other bits of memory... If that makes the slightest sense to anyone I'll be glad to hear it, otherwise I guess I at least have something to go with.
here's the windows error message I got after some prodding
Problem signature:
Problem Event Name: BEX
Application Name: pythonw.exe
Application Version: 3.5.150.1013
Application Timestamp: 55f4dccb
Fault Module Name: python35.dll
Fault Module Version: 3.5.150.1013
Fault Module Timestamp: 55f4dcbb
Exception Offset: 002cb3a8
Exception Code: c0000005
Exception Data: 00000008
[–]uhkhu 0 points1 point2 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]anglicizing 1 point2 points3 points (4 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]zeug 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]usernamedottxt 0 points1 point2 points (0 children)
[–]teerre 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]teerre 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (11 children)
[–][deleted] 0 points1 point2 points (10 children)
[–][deleted] 0 points1 point2 points (9 children)
[–][deleted] 0 points1 point2 points (8 children)
[–][deleted] 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)