Piyush Sinha | 27 Jul 23:41 2015
Picon

guidance about working with pypy

Hi, I'm a student developer interested in getting some open source experience and I was wondering if anyone could suggest some bugs that are suitable for a beginner in this project?"
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Antonio Cuni | 24 Jul 00:40 2015
Picon

syntax sugar for stm TransactionQueue

hi Armin,
following the discussion we had today, that TransactionQueue could be easier to understand for people if you explain it as "a for loop in which you don't know the order of the iteration", I figured out that we might even introduce some syntactic sugar for it; not sure if it makes things simpler or more complicated, though :).
Anyway, I'm thinking of something like this:

def parallel(iterable):
    def decorator(f):
        tr = TransactionQueue()
        for item in iterable:
            tr.add(f, item)
        tr.run()
    return decorator


to be used in this way:

mylist = [1, 2, 3]

<at> parallel(mylist)
def for_(item):
    # do something with item
    pass


ciao,
Anto
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Maciej Fijalkowski | 23 Jul 13:34 2015
Picon

Re: Increase the default stack limit

On Thu, Jul 23, 2015 at 11:39 AM, Dima Tisnek <dimaqq <at> gmail.com> wrote:
> Pardon me if I don't know what I'm talking about:
>
> Can the stack limit not be read from ulimit/getrlimit? Or from failure
> to push stack?

failure is segfault

> That used to work for PHP, at least in the past.
> It also gives users the flexibility between highly recursive
> computation (very high limit) and insane multithreading (low limit to
> conserve memory).
>
> Alternatively, pypi could stick to CPython fixed number of Python
> frames limit, and demand as much system stack as pypi requires to
> implement that.
>
> my 2c.

That's a terrible idea. You can create cases where CPython crashes
with fat frames with the default recursion limit. On the other hand
some JIT code does not consume any stack (so counting frames is
unnecessary computation to start with)
Oscar Benjamin | 22 Jul 18:58 2015
Picon

FFT crash in numpy fork

Hi all,

What's the current status of numpy in pypy? Previously the interpreter would suggest to import numpypy which would then provide a subset of numpy. Is the suggestion now to install this fork

    https://bitbucket.org/pypy/numpy

which installs under the ordinary numpy name? I just installed that and attempted to use fft and got:

$ pypy
Python 2.7.9 (295ee98b6928, May 31 2015, 07:29:04)
[PyPy 2.6.0 with GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> from numpy.fft import fft
>>>> fft([1] * 100)
*** glibc detected *** pypy: malloc(): memory corruption: 0x000000000389da80 ***

At this point pypy has to be killed. It's not using any CPU but completely unresponsive.

Changing it to fft([1] * 4) I get a core dump:

$ pypy test.py
*** glibc detected *** pypy: munmap_chunk(): invalid pointer: 0x000000000106df70 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7db26)[0x7f5a560d6b26]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1921459)[0x7f5a57f55459]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x16ad1e1)[0x7f5a57ce11e1]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18882d4)[0x7f5a57ebc2d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x187ee1a)[0x7f5a57eb2e1a]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18622fd)[0x7f5a57e962fd]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1e3786e)[0x7f5a5846b86e]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8a76)[0x7f5a57eeca76]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ad20e)[0x7f5a57ee120e]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8446)[0x7f5a57eec446]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ad20e)[0x7f5a57ee120e]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8446)[0x7f5a57eec446]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ad20e)[0x7f5a57ee120e]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8446)[0x7f5a57eec446]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18adab1)[0x7f5a57ee1ab1]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b72a6)[0x7f5a57eeb2a6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ace53)[0x7f5a57ee0e53]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b881c)[0x7f5a57eec81c]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ace53)[0x7f5a57ee0e53]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8701)[0x7f5a57eec701]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18ace53)[0x7f5a57ee0e53]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18b8785)[0x7f5a57eec785]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18bc059)[0x7f5a57ef0059]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x1dc8ffe)[0x7f5a583fcffe]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x22b96c5)[0x7f5a588ed6c5]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x18a02d4)[0x7f5a57ed42d4]
/space/enojb/current/poly/venv/bin/libpypy-c.so(pypy_execute_frame_trampoline+0x6)[0x7f5a58c692f6]
/space/enojb/current/poly/venv/bin/libpypy-c.so(+0x184ca5e)[0x7f5a57e80a5e]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:07 1184381                            /space/enojb/current/poly/venv/bin/pypy
00600000-00601000 r--p 00000000 08:07 1184381                            /space/enojb/current/poly/venv/bin/pypy
00601000-00602000 rw-p 00001000 08:07 1184381                            /space/enojb/current/poly/venv/bin/pypy
00a5c000-02832000 rw-p 00000000 00:00 0                                  [heap]
7f5a50ef6000-7f5a50efc000 r-xp 00000000 08:07 1840435                    /space/enojb/current/poly/venv/site-packages/numpy/random/lib_mtrand.so
7f5a50efc000-7f5a510fb000 ---p 00006000 08:07 1840435                    /space/enojb/current/poly/venv/site-packages/numpy/random/lib_mtrand.so
7f5a510fb000-7f5a510fc000 r--p 00005000 08:07 1840435                    /space/enojb/current/poly/venv/site-packages/numpy/random/lib_mtrand.so
7f5a510fc000-7f5a510fd000 rw-p 00006000 08:07 1840435                    /space/enojb/current/poly/venv/site-packages/numpy/random/lib_mtrand.so
7f5a510fd000-7f5a51104000 r-xp 00000000 08:07 1840444                    /space/enojb/current/poly/venv/site-packages/numpy/fft/__pycache__/_cffi__gf1c0eb94x67809c30.pypy-26.so
7f5a51104000-7f5a51303000 ---p 00007000 08:07 1840444                    /space/enojb/current/poly/venv/site-packages/numpy/fft/__pycache__/_cffi__gf1c0eb94x67809c30.pypy-26.so
7f5a51303000-7f5a51304000 r--p 00006000 08:07 1840444                    /space/enojb/current/poly/venv/site-packages/numpy/fft/__pycache__/_cffi__gf1c0eb94x67809c30.pypy-26.so
7f5a51304000-7f5a51305000 rw-p 00007000 08:07 1840444                    /space/enojb/current/poly/venv/site-packages/numpy/fft/__pycache__/_cffi__gf1c0eb94x67809c30.pypy-26.so
7f5a51305000-7f5a51322000 r-xp 00000000 08:07 1840434                    /space/enojb/current/poly/venv/site-packages/numpy/linalg/libumath_linalg_cffi.so
7f5a51322000-7f5a51521000 ---p 0001d000 08:07 1840434                    /space/enojb/current/poly/venv/site-packages/numpy/linalg/libumath_linalg_cffi.so
7f5a51521000-7f5a51522000 r--p 0001c000 08:07 1840434                    /space/enojb/current/poly/venv/site-packages/numpy/linalg/libumath_linalg_cffi.so
7f5a51522000-7f5a51523000 rw-p 0001d000 08:07 1840434                    /space/enojb/current/poly/venv/site-packages/numpy/linalg/libumath_linalg_cffi.so
7f5a51523000-7f5a51558000 r-xp 00000000 08:01 665692                     /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0
7f5a51558000-7f5a51757000 ---p 00035000 08:01 665692                     /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0
7f5a51757000-7f5a51758000 r--p 00034000 08:01 665692                     /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0
7f5a51758000-7f5a51759000 rw-p 00035000 08:01 665692                     /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0
7f5a51759000-7f5a5176e000 r-xp 00000000 08:01 267011                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5a5176e000-7f5a5196d000 ---p 00015000 08:01 267011                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5a5196d000-7f5a5196e000 r--p 00014000 08:01 267011                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5a5196e000-7f5a5196f000 rw-p 00015000 08:01 267011                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5a5196f000-7f5a51a83000 r-xp 00000000 08:01 681056                     /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
7f5a51a83000-7f5a51c83000 ---p 00114000 08:01 681056                     /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
7f5a51c83000-7f5a51c84000 r--p 00114000 08:01 681056                     /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
7f5a51c84000-7f5a51c86000 rw-p 00115000 08:01 681056                     /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
7f5a51c86000-7f5a51d1f000 r-xp 00000000 08:01 682100                     /usr/lib/libblas/libblas.so.3gf.0
7f5a51d1f000-7f5a51f1e000 ---p 00099000 08:01 682100                     /usr/lib/libblas/libblas.so.3gf.0
7f5a51f1e000-7f5a51f1f000 r--p 00098000 08:01 682100                     /usr/lib/libblas/libblas.so.3gf.0
7f5a51f1f000-7f5a51f20000 rw-p 00099000 08:01 682100                     /usr/lib/libblas/libblas.so.3gf.0
7f5a51f20000-7f5a52805000 r-xp 00000000 08:01 946355                     /usr/lib/lapack/liblapack.so.3gf.0
7f5a52805000-7f5a52a04000 ---p 008e5000 08:01 946355                     /usr/lib/lapack/liblapack.so.3gf.0
7f5a52a04000-7f5a52a05000 r--p 008e4000 08:01 946355                     /usr/lib/lapack/liblapack.so.3gf.0
7f5a52a05000-7f5a52a09000 rw-p 008e5000 08:01 946355                     /usr/lib/lapack/liblapack.so.3gf.0
7f5a52a09000-7f5a52b97000 rw-p 00000000 00:00 0
7f5a52c98000-7f5a52d9a000 rw-p 00000000 00:00 0
7f5a52d9a000-7f5a52d9d000 r-xp 00000000 08:01 665639                     /usr/lib/x86_64-linux-gnu/libpanel.so.5.9
7f5a52d9d000-7f5a52f9c000 ---p 00003000 08:01 665639                     /usr/lib/x86_64-linux-gnu/libpanel.so.5.9
7f5a52f9c000-7f5a52f9d000 r--p 00002000 08:01 665639                     /usr/lib/x86_64-linux-gnu/libpanel.so.5.9
7f5a52f9d000-7f5a52f9e000 rw-p 00003000 08:01 665639                     /usr/lib/x86_64-linux-gnu/libpanel.so.5.9
7f5a52f9e000-7f5a52fbd000 r-xp 00000000 08:01 267028                     /lib/x86_64-linux-gnu/libncurses.so.5.9
7f5a52fbd000-7f5a531bd000 ---p 0001f000 08:01 267028                     /lib/x86_64-linux-gnu/libncurses.so.5.9
7f5a531bd000-7f5a531be000 r--p 0001f000 08:01 267028                     /lib/x86_64-linux-gnu/libncurses.so.5.9
7f5a531be000-7f5a531bf000 rw-p 00020000 08:01 267028                     /lib/x86_64-linux-gnu/libncurses.so.5.9
7f5a531bf000-7f5a531ca000 r-xp 00000000 08:06 143128                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_curses_cffi.pypy-26.so
7f5a531ca000-7f5a533ca000 ---p 0000b000 08:06 143128                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_curses_cffi.pypy-26.so
7f5a533ca000-7f5a533cd000 r--p 0000b000 08:06 143128                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_curses_cffi.pypy-26.so
7f5a533cd000-7f5a533ce000 rw-p 0000e000 08:06 143128                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_curses_cffi.pypy-26.so
7f5a533ce000-7f5a535d2000 rw-p 00000000 00:00 0
7f5a535d2000-7f5a535d4000 r-xp 00000000 08:06 143111                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_pwdgrp_cffi.pypy-26.so
7f5a535d4000-7f5a537d3000 ---p 00002000 08:06 143111                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_pwdgrp_cffi.pypy-26.so
7f5a537d3000-7f5a537d4000 r--p 00001000 08:06 143111                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_pwdgrp_cffi.pypy-26.so
7f5a537d4000-7f5a537d5000 rw-p 00002000 08:06 143111                     /users/enojb/.local/pypy-2.6.0-linux64/lib_pypy/_pwdgrp_cffi.pypy-26.so
7f5a537d5000-7f5a53856000 rw-p 00000000 00:00 0
7f5a53856000-7f5a53956000 rwxp 00000000 00:00 0
7f5a53956000-7f5a5403a000 r--p 00000000 08:01 663686                     /usr/lib/locale/locale-archive
7f5a5403a000-7f5a5445c000 rw-p 00000000 00:00 0
7f5a5445c000-7f5a5447e000 r-xp 00000000 08:01 267087                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f5a5447e000-7f5a5467e000 ---p 00022000 08:01 267087                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f5a5467e000-7f5a54682000 r--p 00022000 08:01 267087                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f5a54682000-7f5a54683000 rw-p 00026000 08:01 267087                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f5a54683000-7f5a54685000 r-xp 00000000 08:01 280141                     /lib/x86_64-linux-gnu/libutil-2.15.so
7f5a54685000-7f5a54884000 ---p 00002000 08:01 280141                     /lib/x86_64-linux-gnu/libutil-2.15.so
7f5a54884000-7f5a54885000 r--p 00001000 08:01 280141                     /lib/x86_64-linux-gnu/libutil-2.15.so
7f5a54885000-7f5a54886000 rw-p 00002000 08:01 280141                     /lib/x86_64-linux-gnu/libutil-2.15.so
7f5a54886000-7f5a5488d000 r-xp 00000000 08:01 665395                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0
7f5a5488d000-7f5a54a8c000 ---p 00007000 08:01 665395                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0
7f5a54a8c000-7f5a54a8d000 r--p 00006000 08:01 665395                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0
7f5a54a8d000-7f5a54a8e000 rw-p 00007000 08:01 665395                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.0
7f5a54a8e000-7f5a54a95000 r-xp 00000000 08:01 289152                     /lib/x86_64-linux-gnu/librt-2.15.so
7f5a54a95000-7f5a54c94000 ---p 00007000 08:01 289152                     /lib/x86_64-linux-gnu/librt-2.15.so
7f5a54c94000-7f5a54c95000 r--p 00006000 08:01 289152                     /lib/x86_64-linux-gnu/librt-2.15.so
7f5a54c95000-7f5a54c96000 rw-p 00007000 08:01 289152                     /lib/x86_64-linux-gnu/librt-2.15.so
7f5a54c96000-7f5a54c9f000 r-xp 00000000 08:01 280140                     /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f5a54c9f000-7f5a54e9f000 ---p 00009000 08:01 280140                     /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f5a54e9f000-7f5a54ea0000 r--p 00009000 08:01 280140                     /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f5a54ea0000-7f5a54ea1000 rw-p 0000a000 08:01 280140                     /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f5a54ea1000-7f5a54ecf000 rw-p 00000000 00:00 0
7f5a54ecf000-7f5a54ef6000 r-xp 00000000 08:01 267008                     /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7f5a54ef6000-7f5a550f6000 ---p 00027000 08:01 267008                     /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7f5a550f6000-7f5a550f8000 r--p 00027000 08:01 267008                     /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7f5a550f8000-7f5a550f9000 rw-p 00029000 08:01 267008                     /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7f5a550f9000-7f5a552ab000 r-xp 00000000 08:01 266972                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f5a552ab000-7f5a554aa000 ---p 001b2000 08:01 266972                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f5a554aa000-7f5a554c5000 r--p 001b1000 08:01 266972                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f5a554c5000-7f5a554d0000 rw-p 001cc000 08:01 266972                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f5a554d0000-7f5a554d4000 rw-p 00000000 00:00 0
7f5a554d4000-7f5a55529000 r-xp 00000000 08:01 263454                     /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f5a55529000-7f5a55728000 ---p 00055000 08:01 263454                     /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f5a55728000-7f5a5572b000 r--p 00054000 08:01 263454                     /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f5a5572b000-7f5a55732000 rw-p 00057000 08:01 263454                     /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f5a55732000-7f5a55748000 r-xp 00000000 08:01 267101                     /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5a55748000-7f5a55947000 ---p 00016000 08:01 267101                     /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5a55947000-7f5a55948000 r--p 00015000 08:01 267101                     /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5a55948000-7f5a55949000 rw-p 00016000 08:01 267101                     /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5a55949000-7f5a55a44000 r-xp 00000000 08:01 288645                     /lib/x86_64-linux-gnu/libm-2.15.so
7f5a55a44000-7f5a55c43000 ---p 000fb000 08:01 288645                     /lib/x86_64-linux-gnu/libm-2.15.so
7f5a55c43000-7f5a55c44000 r--p 000fa000 08:01 288645                     /lib/x86_64-linux-gnu/libm-2.15.so
7f5a55c44000-7f5a55c45000 rw-p 000fb000 08:01 288645                     /lib/x86_64-linux-gnu/libm-2.15.so
7f5a55c45000-7f5a55c54000 r-xp 00000000 08:01 266989                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7f5a55c54000-7f5a55e53000 ---p 0000f000 08:01 266989                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7f5a55e53000-7f5a55e54000 r--p 0000e000 08:01 266989                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7f5a55e54000-7f5a55e55000 rw-p 0000f000 08:01 266989                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7f5a55e55000-7f5a55e57000 r-xp 00000000 08:01 289529                     /lib/x86_64-linux-gnu/libdl-2.15.so
7f5a55e57000-7f5a56057000 ---p 00002000 08:01 289529                     /lib/x86_64-linux-gnu/libdl-2.15.so
7f5a56057000-7f5a56058000 r--p 00002000 08:01 289529                     /lib/x86_64-linux-gnu/libdl-2.15.so
7f5a56058000-7f5a56059000 rw-p 00003000 08:01 289529                     /lib/x86_64-linux-gnu/libdl-2.15.so
7f5a56059000-7f5a5620d000 r-xp 00000000 08:01 289524                     /lib/x86_64-linux-gnu/libc-2.15.so
7f5a5620d000-7f5a5640c000 ---p 001b4000 08:01 289524                     /lib/x86_64-linux-gnu/libc-2.15.so
7f5a5640c000-7f5a56410000 r--p 001b3000 08:01 289524                     /lib/x86_64-linux-gnu/libc-2.15.so
7f5a56410000-7f5a56412000 rw-p 001b7000 08:01 289524                     /lib/x86_64-linux-gnu/libc-2.15.so
7f5a56412000-7f5a56417000 rw-p 00000000 00:00 0
7f5a56417000-7f5a5642f000 r-xp 00000000 08:01 288670                     /lib/x86_64-linux-gnu/libpthread-2.15.so
7f5a5642f000-7f5a5662e000 ---p 00018000 08:01 288670                     /lib/x86_64-linux-gnu/libpthread-2.15.so
7f5a5662e000-7f5a5662f000 r--p 00017000 08:01 288670                     /lib/x86_64-linux-gnu/libpthread-2.15.so
7f5a5662f000-7f5a56630000 rw-p 00018000 08:01 288670                     /lib/x86_64-linux-gnu/libpthread-2.15.so
7f5a56630000-7f5a56634000 rw-p 00000000 00:00 0
7f5a56634000-7f5a58fc1000 r-xp 00000000 08:06 3471                       /users/enojb/.local/pypy-2.6.0-linux64/bin/libpypy-c.so
7f5a58fc1000-7f5a591c0000 ---p 0298d000 08:06 3471                       /users/enojb/.local/pypy-2.6.0-linux64/bin/libpypy-c.so
7f5a591c0000-7f5a591dc000 r--p 0298c000 08:06 3471                       /users/enojb/.local/pypy-2.6.0-linux64/bin/libpypy-c.so
7f5a591dc000-7f5a5a83f000 rw-p 029a8000 08:06 3471                       /users/enojb/.local/pypy-2.6.0-linux64/bin/libpypy-c.so
7f5a5a83f000-7f5a5a866000 rw-p 00000000 00:00 0
7f5a5a866000-7f5a5a888000 r-xp 00000000 08:01 289150                     /lib/x86_64-linux-gnu/ld-2.15.so
7f5a5a8e0000-7f5a5aa6b000 rw-p 00000000 00:00 0
7f5a5aa84000-7f5a5aa85000 rw-p 00000000 00:00 0
7f5a5aa85000-7f5a5aa86000 rwxp 00000000 00:00 0
7f5a5aa86000-7f5a5aa88000 rw-p 00000000 00:00 0
7f5a5aa88000-7f5a5aa89000 r--p 00022000 08:01 289150                     /lib/x86_64-linux-gnu/ld-2.15.so
7f5a5aa89000-7f5a5aa8b000 rw-p 00023000 08:01 289150                     /lib/x86_64-linux-gnu/ld-2.15.so
7ffd2d70f000-7ffd2d72f000 rwxp 00000000 00:00 0                          [stack]
7ffd2d72f000-7ffd2d730000 rw-p 00000000 00:00 0
7ffd2d73b000-7ffd2d73d000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

--
Oscar
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Maciej Fijalkowski | 17 Jul 10:59 2015
Picon

Increase the default stack limit

Hi

The default stack limit is (conservatively) set at 700k or so. Can we
push it to ~3M by default? (this is still far below 8M or so which is
the default on linux)
Robert Grosse | 16 Jul 18:21 2015
Picon

Using Pypy as a zygote process to avoid jit warmup

One of the main problems with a JIT as opposed to AOT compilation is the warm-up overhead. I thought that you could achieve a similar effect as AOT by starting up a program in Pypy, running it on a hardcoded workload to warm it up, and then pause the process. Then when you want to run the program, you fork the already warmed up process and run it on your desired input. 

Is this something that is possible to do with Pypy?
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Yicong Huang | 15 Jul 09:59 2015
Picon

Are there any methods to view pypy gc log?

From the document, we saw there are some GC tuning parameters.
But we've no ideas how to evaluate the tuning.
As for java, it is able to output friendly gc log.
Are there any similar output avaiable in pypy?
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Maciej Fijalkowski | 11 Jul 20:52 2015
Picon

Docker images for "try pypy"

Hi

Would anyone be willing to make some docker images that can be used to
"try pypy"?

Cheers,
fijal
Matti Picus | 8 Jul 21:17 2015
Picon

win32 buildslave

Hi Yury. The win32 buildslave anubis64 seems down, is there a chance you could get it working again?
Thanks,
Matti
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Yicong Huang | 8 Jul 11:09 2015
Picon

cffi dlopen error: undefined symbol

Hi,

We tried to use cffi dlopen to load a C shared library.
However, we met the below error message:
Traceback (most recent call last):
  File "<builtin>/app_main.py", line 75, in run_toplevel
  File "distcache.py", line 19, in <module>
    _distcache = ffi.dlopen("./_distcache.so")
  File "/usr/ali/odps-pypy/lib_pypy/cffi/api.py", line 126, in dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "/usr/ali/odps-pypy/lib_pypy/cffi/api.py", line 498, in _make_ffi_library
    backendlib = _load_backend_lib(backend, libname, flags)
  File "/usr/ali/odps-pypy/lib_pypy/cffi/api.py", line 487, in _load_backend_lib
    return backend.load_library(name, flags)
OSError: Cannot load library ./_distcache.so: ./_distcache.so: undefined symbol: _ZTIN6apsara13ExceptionBaseE

Checking the library, there are not speical dependent libraries:
ldd _distcache.so
        linux-vdso.so.1 =>  (0x00007fff16fe5000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7b60ba7000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7b60924000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7b60715000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7b603bd000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003fe9800000)

What might be the cause?

Thanks!
_______________________________________________
pypy-dev mailing list
pypy-dev <at> python.org
https://mail.python.org/mailman/listinfo/pypy-dev
germano carella | 5 Jul 13:44 2015
Picon

problems with pypy and pip

Hi,
I downloaded pypy 2.6.0 and I ran pypy -m ensurepip. All worked correctly.
Now, in some cases, when i do pip install somepackage, it say could not 
find any download that satisfy requirements.
This even if packages apear in pip search command.
I tried wxPython, but i'm unable to install it...
In other cases, pip says that windows ssdk is not found. But I have 
visual studio 2013 installed and windows sdk is on my pc.
There are variables Can I set?
Thanks!

Gmane