[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2014-11-01 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2014-11-01 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
resolution:  - out of date
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2013-10-10 Thread STINNER Victor

STINNER Victor added the comment:

@ichael Herrmann: ping? Without feedback, I will close the issue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2013-09-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2013-09-19 Thread Michael Herrmann

New submission from Michael Herrmann:

I'm on 32 bit Python 2.7.3 and 64 bit Windows 7. I am working on a complex, 
multithreaded application which uses COM to communicate with other processes.

My application uses regular expressions in a few (but not very many) places. An 
example re I am trying to match is 'quit(\\(.*\\))?', an example input would be 
'quit()'. Nothing exciting.

Very frustratingly, even though the regular expressions and inputs are the 
same, I spuriously get errors of the following form:

Traceback (most recent call last):
  ...
  File re.pyc, line 137, in match
SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

I have seen the bug many times on 2.7.3. I briefly tried to reproduce it on 
2.7.5 and it did not occur. This may be because the bug only occurs spuriously 
and I was unlucky, or because the bug no longer exists in 2.7.5. My 
(unverified) hunch is that the bug is not in 2.7.5 anymore. 

I have a C unhandled exception handler installed in my application. What's 
interesting is that the bug frequently seems to occur together with an 
unhandled memory access violation (exception code C005). When this is the 
case, the Python interpreter hangs or crashes.

I have not seen similar crashes in my application at other points; only when 
working with regular expressions and seeing the above stack trace.

--
components: Regular Expressions, Windows
messages: 198045
nosy: ezio.melotti, mherrmann.at, mrabarnett
priority: normal
severity: normal
status: open
title: SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal 
function
type: crash
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19046] SystemError: ..\Objects\weakrefobject.c:903: bad argument to internal function

2013-09-19 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Is there any reason why you don't switch to 2.7.5 and let your application run 
longer?

(FWIW, this may be issue #16602)

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com