Hey guys,
I upgraded to PyPy 1.6 on my 2 Windows XP 32 bit machines. It crashes on
both system when running the GarlicSim test suite.
It shows a Windows error dialog saying pypy.exe has encountered a problem
and needs to close. We are sorry for the inconvenience. and giving this
data:
AppName:
1. Switch to linux. It helps.
2. To get a meaningful error log try to run the pypy from terminal. To do
copy-paste you will need 3-rd party terminal, i.e. power shell. Then you'll be
able to copy the error messages. Without them it is pretty much impossible to
identify the problem.
3. Another
2011/10/5 Ram Rachum r...@rachum.com:
Hey guys,
I upgraded to PyPy 1.6 on my 2 Windows XP 32 bit machines. It crashes on
both system when running the GarlicSim test suite.
It shows a Windows error dialog saying pypy.exe has encountered a problem
and needs to close. We are sorry for the
On Wed, Oct 5, 2011 at 1:49 PM, Alex Pyattaev alex.pyatt...@gmail.comwrote:
1. Switch to linux. It helps.
Not funny.
2. To get a meaningful error log try to run the pypy from terminal. To do
copy-paste you will need 3-rd party terminal, i.e. power shell. Then you'll
be
able to copy the
On Wed, Oct 5, 2011 at 2:07 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
2011/10/5 Ram Rachum r...@rachum.com:
I am running PyPy from terminal, bash provided by msys. The error still
comes up in a dialog and the shell contains only the output from `nose`
up
to the failure, with no
2011/10/5 Ram Rachum r...@rachum.com:
I have hundreds of tests, and PyPy fails before a single one begins. It
seems that PyPy crashes somewhere in nose's initialization.
Isn't there a way to find the last Python line run before the crash without
stepping with a finer granularity every time?
On Wed, Oct 5, 2011 at 2:11 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
2011/10/5 Ram Rachum r...@rachum.com:
I have hundreds of tests, and PyPy fails before a single one begins. It
seems that PyPy crashes somewhere in nose's initialization.
Isn't there a way to find the last Python
2011/10/5 Ram Rachum r...@rachum.com:
How do I run the Nose test suite on Pypy with a debugger? I usually use Wing
IDE, but it doesn't support PyPy. I'm also aware of Nose's `--pdb` flag
which drops you into the debugger after an error, but it doesn't work here
because this crash seems to be
Generally, any binary-level debugger such as gdb or MSVC should work with
pypy. At the very least you will find which operation crashed.
If it is something really specific, for example
sin/log/sign, it might be quite easy to map it back to python code. If it is
not, it will be nearly
On Wed, Oct 5, 2011 at 2:22 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
2011/10/5 Ram Rachum r...@rachum.com:
How do I run the Nose test suite on Pypy with a debugger? I usually use
Wing
IDE, but it doesn't support PyPy. I'm also aware of Nose's `--pdb` flag
which drops you into the
If I use a Python debugger, can't I just step forward line by line, see
where I get the crash, and then isolate the offending line?
The way pypy works - no you can not really do that. In Cpython it works
somewhat better, but not in PYPY. Basically you have to use C debugger to
locate the crash
2011/10/5 Alex Pyattaev alex.pyatt...@gmail.com:
In Cpython it works
somewhat better, but not in PYPY
How is CPython behavior better with segfaults?
--
Amaury Forgeot d'Arc
___
pypy-dev mailing list
pypy-dev@python.org
2011/10/5 Michael Foord fuzzy...@gmail.com:
Well, in recent versions it gained the faulthandler module... :-)
http://pypi.python.org/pypi/faulthandler/
Yes, and this was a *great* improvement!
I hope we will be able to adapt it to pypy.
--
Amaury Forgeot d'Arc
Hello all.
I make some experiments with pypy in our twisted project and get strange
error in standard urlparse.urlunparse function
def urlunparse(data):
Put a parsed URL back together again. This may result in a
slightly different, but equivalent URL, if the URL that was parsed
On Wed, Oct 5, 2011 at 08:22, Amaury Forgeot d'Arc amaur...@gmail.com wrote:
2011/10/5 Michael Foord fuzzy...@gmail.com:
Well, in recent versions it gained the faulthandler module... :-)
http://pypi.python.org/pypi/faulthandler/
Yes, and this was a *great* improvement!
I hope we will be
On Wed, Oct 5, 2011 at 2:23 PM, Alex Pyattaev alex.pyatt...@gmail.comwrote:
Generally, any binary-level debugger such as gdb or MSVC should work with
pypy. At the very least you will find which operation crashed.
As I said to Amaury, I don't know how to use those... Python is the only
2011/10/5 Brian Curtin brian.cur...@gmail.com:
On Wed, Oct 5, 2011 at 08:22, Amaury Forgeot d'Arc amaur...@gmail.com wrote:
2011/10/5 Michael Foord fuzzy...@gmail.com:
Well, in recent versions it gained the faulthandler module... :-)
http://pypi.python.org/pypi/faulthandler/
Yes, and this
2011/10/5 Max Lavrenov max.lavre...@gmail.com:
after ~500 successfull responses i am starting to get error on line if
params
Looks like a JIT error to me, which has a default threshold of 1000 iterations.
Can you try again with
pypy --jit threshold=-1
to completely disable the JIT?
--
On Wed, Oct 5, 2011 at 4:11 PM, Ram Rachum r...@rachum.com wrote:
On Wed, Oct 5, 2011 at 2:23 PM, Alex Pyattaev alex.pyatt...@gmail.comwrote:
Another option is to edit the sources of the test suite adding print
statements incrementally until you spot the place where it crashes. It is
a
2011/10/5 Ram Rachum r...@rachum.com:
Okay, I've spent a few hours print-debugging, and I think I've almost got
it.
The crash happens on a line:
st = os.stat(s)
inside `os.path.isdir`, where `s` is a string 'C:\\Documents and
Settings\\User\\My Documents\\Python
On Wed, Oct 5, 2011 at 6:51 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
2011/10/5 Ram Rachum r...@rachum.com:
Okay, I've spent a few hours print-debugging, and I think I've almost got
it.
The crash happens on a line:
st = os.stat(s)
inside `os.path.isdir`, where `s` is a
Hi Amaury,
On Wed, Oct 5, 2011 at 21:54, Amaury Forgeot d'Arc amaur...@gmail.com wrote:
Is there any other way to do the equivalent of `sys.gettrace` in PyPy?
Hum, it was probably ovelooked.
Seems trivial to implement, will give a try.
Indeed, sys.gettrace() and sys.getprofile() were added
2011/10/5 Armin Rigo ar...@tunes.org:
Indeed, sys.gettrace() and sys.getprofile() were added in Python 2.6,
with proper unit tests in test_sys_settrace.py. We should try to
understand why this test didn't fail so far on PyPy... Do we run it
at all? If not, it's kind of bad.
On Wed, Oct 5, 2011 at 12:59 PM, Igor Katson igor.kat...@gmail.com wrote:
So I've launched a few tests for all PostgreSQL python drivers
out there, and optimized PyPq a bit along the way.
*IntergerInsert* test does this 3 times (i wanted more, but pg8000
bloats
postgres memory usage to
Can you fill in something for #Do something that uses lots of RAM? Because
I'm not sure I'll get it right.
On Thu, Oct 6, 2011 at 12:02 AM, Alex Pyattaev alex.pyatt...@gmail.comwrote:
I've had a very similar stuff, as in something crashing only when run many
times when I had a bug in a
25 matches
Mail list logo