[New-bugs-announce] [issue27749] python 3.5.2 maybe crash
wevsty
report at bugs.python.org
Fri Aug 12 14:59:30 EDT 2016
New submission from wevsty:
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.
----------
components: Library (Lib)
messages: 272557
nosy: wevsty
priority: normal
severity: normal
status: open
title: python 3.5.2 maybe crash
type: crash
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27749>
_______________________________________
More information about the New-bugs-announce
mailing list