Message272557
When I use Python 3.5.2 some of the time will be a crash.displayed crash module is python35.dll.
I run Python environment is Windows Server 2012R2.I think crash dump maybe will be helpful.Report.wer and carsh dump can be downloaded via the following link.
http://o8z0k9748.bkt.clouddn.com/Python_crash_Dump_20160813_AF1A29AF.7z
I have another question when i using managers lib multiprocessing Maybe have exception.
my code is:
Session_lock.G_Process_Lock = multiprocessing.Manager().Lock()
def execute_select_command(command):
try:
with Session_lock.G_Process_Lock:
values = []
conn = sqlite3.connect(SQLite_DB_NAME)
cursor = conn.cursor()
try:
cursor.execute(command)
values = cursor.fetchall()
except Exception as e:
pass
finally:
cursor.close()
conn.close()
return values
except Exception as e:
print(e)
traceback.print_exc()
finally:
pass
This code is possible to print out the information.
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/Monitor_URL\Monitor_SQL.py", line 44, in execute_select_command
return values
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\multiprocessing\managers.py", line 949, in __exit__
return self._callmethod('release')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\multiprocessing\managers.py", line 716, in _callmethod
conn.send((self._id, methodname, args, kwds))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\multiprocessing\connection.py", line 206, in send
self._send_bytes(ForkingPickler.dumps(obj))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\multiprocessing\connection.py", line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
TypeError: WriteFile() argument 1 must be int, not None
This maybe seem like a lib problem. |
|
Date |
User |
Action |
Args |
2016-08-12 18:59:30 | wevsty | set | recipients:
+ wevsty |
2016-08-12 18:59:30 | wevsty | set | messageid: <1471028370.6.0.516756873542.issue27749@psf.upfronthosting.co.za> |
2016-08-12 18:59:30 | wevsty | link | issue27749 messages |
2016-08-12 18:59:30 | wevsty | create | |
|