From tracker at bugs.pypy.org Wed Jun 1 10:07:06 2011 From: tracker at bugs.pypy.org (Gontran) Date: Wed, 01 Jun 2011 08:07:06 +0000 Subject: [pypy-issue] [issue734] bz2 seek rewinds unnecessarily In-Reply-To: <1306915626.9.0.456152379219.issue734@bugs.pypy.org> Message-ID: <1306915626.9.0.456152379219.issue734@bugs.pypy.org> New submission from Gontran : bz2 rewinds are costly, here is a fix to avoid them when seeking forward. This makes tarfile.getmembers linear instead of quadratic, and much faster on large files. pip installs suffered without this. I haven't been able to translate pypy, so I'd be grateful for some testing. Long-term, the cpython stdlib has a mostly-python implementation of bz2 that could be interesting to reuse: http://hg.python.org/cpython/file/tip/Lib/bz2.py ---------- assignedto: Gontran files: bz2_seek.patch messages: 2577 nosy: pypy-issue priority: bug release: 1.5.1 status: in-progress title: bz2 seek rewinds unnecessarily ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 11:13:36 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Wed, 01 Jun 2011 09:13:36 +0000 Subject: [pypy-issue] [issue734] bz2 seek rewinds unnecessarily In-Reply-To: <1306915626.9.0.456152379219.issue734@bugs.pypy.org> Message-ID: <1306919616.93.0.689418618356.issue734@bugs.pypy.org> Armin Rigo added the comment: Argh. Well spotted, thank you. Translation-wise, we need to initialize the 'read' variable with an r_longlong(0), to ensure that it is translated as a long long. Testing translation now. ---------- nosy: +arigo ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 15:18:34 2011 From: tracker at bugs.pypy.org (Vetoshkin Nikita) Date: Wed, 01 Jun 2011 13:18:34 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306934314.65.0.815186971099.issue729@bugs.pypy.org> Vetoshkin Nikita added the comment: [root at minefield tmp]# time /opt/pypy-1.6a-linux32/bin/pypy zipread.py 20096 real 0m1.507s user 0m0.423s sys 0m1.072s #### add bufsize=-1 to args of Popen [root at minefield tmp]# time /opt/pypy-1.6a-linux32/bin/pypy zipread.py 20096 real 0m0.063s user 0m0.031s sys 0m0.019s Here you go! =) ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 15:28:31 2011 From: tracker at bugs.pypy.org (viktiglemma) Date: Wed, 01 Jun 2011 13:28:31 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306934911.29.0.722835273056.issue729@bugs.pypy.org> viktiglemma added the comment: OK, with the bufsize=-1 option to Popen I got the same speed, still slow though, but I think pypy might have been compiled the wrong way. I didn't do it myself, this is at work. Markig it as resolved! Thanks! ---------- status: chatting -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 17:22:18 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Wed, 01 Jun 2011 15:22:18 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306941738.13.0.720864382751.issue729@bugs.pypy.org> Armin Rigo added the comment: Re-opening. I'm not completely sure I follow, but it seems that Popen created without bufsize=-1 are incredibly slower on PyPy; if so then it is definitely worth a bug report. ---------- nosy: +arigo status: resolved -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 17:31:40 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Wed, 01 Jun 2011 15:31:40 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306942300.76.0.620602123508.issue729@bugs.pypy.org> Amaury Forgeot d Arc added the comment: FWIW, CPython documentation says: http://docs.python.org/library/subprocess.html#using-the-subprocess-module If you experience performance issues, it is recommended that you try to enable buffering by setting bufsize to either -1 or a large enough positive value (such as 4096). ---------- nosy: +afa ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 17:51:38 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Wed, 01 Jun 2011 15:51:38 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306943498.06.0.910410875225.issue729@bugs.pypy.org> Da_Blitz added the comment: running the benchmark through strace for the zipfile case shows pypy doing alot of single byte reads and python doing reads of 10240 bytes. this would explain why manually forcing the buffer size speeds up the subprocess module taking a look into the subprocess module now to see what i can find ---------- nosy: +dablitz ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 18:53:39 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Wed, 01 Jun 2011 16:53:39 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306947219.45.0.278041108031.issue729@bugs.pypy.org> Da_Blitz added the comment: opening a file descriptor with a buffersize of "0" causes pypy to read a byte at a time whereas python will default to 8192 bytes on my system confirmed this behavior for both pipes and files subprocess sets bufsize to 0 in the __init__ of Popen, meaning if buffering is not specified as an arg the unwanted behavior happens ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 1 19:17:23 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Wed, 01 Jun 2011 17:17:23 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1306948643.4.0.729448285021.issue729@bugs.pypy.org> Da_Blitz added the comment: looking deeper and without looking at python's src, it appears to allocate a buffer for the file that is 10x the specified buffer size. setting the buffer appears to only limit the length of the returned item and not the length of the actual os level read call pypy differs in that it limits the read syscall to the specified buffer length and i assume just returns that instead of performing actual buffering could be diffrent, please flame me. this was just inferring from syscalls one quick way to see this is with strace -e read to dump the read syscalls and their args and look at the requested read size simple test program: #!/usr/bin/env python """Uncomment the print line to confirm the length of the returned data (without strace'ing) run with "strace -e read " where is either python or pypy and is a textfile from allfiles.zip or similar large (> 20kB) file length of the requested read is the third field """ import sys import os fd = os.open(sys.argv[1], os.RD_ONLY) f = os.open(fd, "r", 1000) for line in f: # print len(line) pass ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 2 12:32:13 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Thu, 02 Jun 2011 10:32:13 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1307010733.1.0.465672494721.issue729@bugs.pypy.org> Armin Rigo added the comment: Da_Blitz: ah, it's because CPython has special code for iterating over a file. It's not equivalent to calling f.readline() to get the next line. It's doing some read-ahead and caching on its own... ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 2 13:06:46 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Thu, 02 Jun 2011 11:06:46 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1307012806.59.0.906759256211.issue729@bugs.pypy.org> Da_Blitz added the comment: arigo: after changing to a while loop and using readline directly i can confirm you are correct. pypy and python have the same behavior when passing small values of bufsize to fdopen when using readline direct but not when using iteration i assume it would be best to match cpython's implementation for iteration as it is both a common idiom and using that pattern it is likely you will be reading the file in its entirety due to the nature of the idiom. this should hopefully get rid of some of those "fileio is slow in pypy" complaints ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 2 13:43:38 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Thu, 02 Jun 2011 11:43:38 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1307015018.36.0.692175471927.issue729@bugs.pypy.org> Armin Rigo added the comment: I did that in the branch 'buffer-readline', but did not test it much so far. Due to the different levels we use, it needs a new layer in streamio.py that does minimal buffering for readline() even in otherwise non-buffered streams. As a side-effect, the app-level readline() is faster too, not just iteration (i.e. next()). It needs careful review, and also thinking if doing buffering when the app-level readline() is called is reasonable, or potentially breaks subtle cases. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 2 23:47:59 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Thu, 02 Jun 2011 21:47:59 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> New submission from Jacek Furmankiewicz : Installed latest Pypy 1.5 on Ubuntu 10.10: Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:38) [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2 Then installed 'pypy distribute_setup.py' to get easy_install. Next tried to install twisted 'pypy -m easy_install twisted' Gets to download it, but hangs at the very end and never completes. Verified this on one PC with Ubuntu 10.10 and on a laptop with 11.04 pypy -m easy_install twisted Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://twistedmatrix.com/projects/core/ Best match: Twisted 11.0.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted- 11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8c8d0146d4cfe54 Processing Twisted-11.0.0.tar.bz2 Just hangs on that last line, never completes ---------- messages: 2589 nosy: jfurmankiewicz, pypy-issue priority: bug status: unread title: Unable to install Twisted via easy_install ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 00:03:10 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Thu, 02 Jun 2011 22:03:10 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307052190.66.0.116247403893.issue735@bugs.pypy.org> Jacek Furmankiewicz added the comment: Messages msg2589 (view) Author: jfurmankiewicz Date: 2011-06-02.21:47:59 Installed latest Pypy 1.5 on Ubuntu 10.10: Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:38) [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2 Then installed 'pypy distribute_setup.py' to get easy_install. Next tried to install twisted 'pypy -m easy_install twisted' Gets to download it, but hangs at the very end and never completes. Verified this on one PC with Ubuntu 10.10 and on a laptop with 11.04 pypy -m easy_install twisted Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://twistedmatrix.com/projects/core/ Best match: Twisted 11.0.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted- 11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8c8d0146d4cfe54 Processing Twisted-11.0.0.tar.bz2 Just hangs on that last line, never completes. Checked via htop, was running a long time, very busy consuming 80/90% CPU...but never actually completing ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 15:07:37 2011 From: tracker at bugs.pypy.org (Jonas H.) Date: Fri, 03 Jun 2011 13:07:37 +0000 Subject: [pypy-issue] [issue736] 'finally' suite not invoked in generator function In-Reply-To: <1307106457.85.0.861166231957.issue736@bugs.pypy.org> Message-ID: <1307106457.85.0.861166231957.issue736@bugs.pypy.org> New submission from Jonas H. : Consider this code sample: def g(): try: yield 1 finally: print 'finally' g().next() CPython behaves differently from PyPy: $ python2.7 asd.py finally --- $ pypy asd.py --- The finally suite is executed only if the generator is exhausted in such way that StopIteration is raised. ---------- messages: 2591 nosy: jonash, pypy-issue priority: bug status: unread title: 'finally' suite not invoked in generator function ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 15:11:12 2011 From: tracker at bugs.pypy.org (Antonio Cuni) Date: Fri, 03 Jun 2011 13:11:12 +0000 Subject: [pypy-issue] [issue736] 'finally' suite not invoked in generator function In-Reply-To: <1307106457.85.0.861166231957.issue736@bugs.pypy.org> Message-ID: <1307106672.15.0.817022223892.issue736@bugs.pypy.org> Antonio Cuni added the comment: The finally is printed when the generator object is garbage collected. Since CPython has reference counting, the generator is collected immediately, while on PyPy is not. If you add "import gc; gc.collect()" at the end of the script, the "finally" is printed also on Pypy ---------- status: unread -> wontfix ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 15:22:09 2011 From: tracker at bugs.pypy.org (Jean-Paul Calderone) Date: Fri, 03 Jun 2011 13:22:09 +0000 Subject: [pypy-issue] [issue737] Crash on OS X, maybe in RPyThreadAfterFork In-Reply-To: <1307107329.87.0.9341809675.issue737@bugs.pypy.org> Message-ID: <1307107329.87.0.9341809675.issue737@bugs.pypy.org> New submission from Jean-Paul Calderone : I tried to deploy a BuildBot slave on PyPy, but found the processes it was trying to run would crash seemingly at random. I managed to reproduce the behavior with this short Twisted-using example: from twisted.python.log import err from twisted.internet import reactor from twisted.internet.utils import getProcessValue from twisted.internet.task import LoopingCall def main(): def launch(): print 'Launching' d = getProcessValue("/bin/bash", ["-c", "echo $((1+2))"]) def report(result): assert result == 0 return d.addCallback(report) call = LoopingCall(launch) call.start(0.01).addErrback(err) reactor.resolve("www.google.com") reactor.run() if __name__ == '__main__': main() The expected correct behavior is for it to run forever launching short-lived bash children. The observed behavior is that after 5 or 10 seconds the assertion fails, indicating that the child process exited with either a non-zero exit status or due to a signal. OS X generates a crash report at the same time indicating that the child process crashed before it had exec'd bash due to either SIGSEGV or SIGBUS (sometimes one, sometimes the other). ---------- messages: 2593 nosy: calderone, pypy-issue priority: bug release: 1.5 status: unread title: Crash on OS X, maybe in RPyThreadAfterFork ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 15:57:56 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Fri, 03 Jun 2011 13:57:56 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307109476.67.0.381442878506.issue735@bugs.pypy.org> Jacek Furmankiewicz added the comment: Tried again with latest nightly build (Jun 03). Does not hang any more, but fails to install: pypy -m easy_install twisted cyclone Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://twistedmatrix.com/projects/core/ Best match: Twisted 11.0.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted- 11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8c8d0146d4cfe54 Processing Twisted-11.0.0.tar.bz2 Running Twisted-11.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install- P4fjcj/Twisted-11.0.0/egg-dist-tmp-NUcbfK twisted/test/raiser.c: In function ?__Pyx_ErrRestore?: twisted/test/raiser.c:672: warning: implicit declaration of function ?PyThreadState_GET? twisted/test/raiser.c:672: warning: initialization makes pointer from integer without a cast twisted/test/raiser.c:674: error: ?PyThreadState? has no member named ?curexc_type? twisted/test/raiser.c:675: error: ?PyThreadState? has no member named ?curexc_value? twisted/test/raiser.c:676: error: ?PyThreadState? has no member named ?curexc_traceback? twisted/test/raiser.c:677: error: ?PyThreadState? has no member named ?curexc_type? twisted/test/raiser.c:678: error: ?PyThreadState? has no member named ?curexc_value? twisted/test/raiser.c:679: error: ?PyThreadState? has no member named ?curexc_traceback? twisted/test/raiser.c: In function ?__Pyx_ErrFetch?: twisted/test/raiser.c:686: warning: initialization makes pointer from integer without a cast twisted/test/raiser.c:687: error: ?PyThreadState? has no member named ?curexc_type? twisted/test/raiser.c:688: error: ?PyThreadState? has no member named ?curexc_value? twisted/test/raiser.c:689: error: ?PyThreadState? has no member named ?curexc_traceback? twisted/test/raiser.c:691: error: ?PyThreadState? has no member named ?curexc_type? twisted/test/raiser.c:692: error: ?PyThreadState? has no member named ?curexc_value? twisted/test/raiser.c:693: error: ?PyThreadState? has no member named ?curexc_traceback? twisted/test/raiser.c: In function ?__Pyx_Raise?: twisted/test/raiser.c:707: warning: implicit declaration of function ?PyTraceBack_Check? twisted/test/raiser.c: In function ?__Pyx_FindPy2Metaclass?: twisted/test/raiser.c:819: error: ?PyClass_Type? undeclared (first use in this function) twisted/test/raiser.c:819: error: (Each undeclared identifier is reported only once twisted/test/raiser.c:819: error: for each function it appears in.) twisted/test/raiser.c: In function ?__Pyx_AddTraceback?: twisted/test/raiser.c:1312: warning: passing argument 1 of ?PyFrame_New? makes pointer from integer without a cast /home/jacekf/bin/pypy/include/pypy_decl.h:127: note: expected ?struct PyThreadState *? but argument is of type ?int? twisted/test/raiser.c: In function ?__Pyx_PyIndex_AsSsize_t?: twisted/test/raiser.c:1409: warning: implicit declaration of function ?PyNumber_Index? twisted/test/raiser.c:1409: warning: initialization makes pointer from integer without a cast twisted/test/raiser.c: In function ?__Pyx_PyInt_FromSize_t?: twisted/test/raiser.c:1426: warning: implicit declaration of function ?PyInt_FromSize_t? twisted/test/raiser.c:1426: warning: return makes pointer from integer without a cast error: Setup script exited with error: command 'cc' failed with exit status 1 ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 16:06:21 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Fri, 03 Jun 2011 14:06:21 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307109981.97.0.862576799149.issue735@bugs.pypy.org> Amaury Forgeot d Arc added the comment: It does not "hang" anymore probably thanks to a recent optimization in the bz2 module: https://bitbucket.org/pypy/pypy/changeset/1dc4d44ed272 Now, PyPy does not work with Pyrex modules. Is it possible to disable it? This one is a test module after all... ---------- nosy: +afa, calderone ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 16:19:42 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Fri, 03 Jun 2011 14:19:42 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307110782.95.0.931459639449.issue735@bugs.pypy.org> Jacek Furmankiewicz added the comment: how do you guys install twisted for your benchmarks using recent pypy builds? ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 16:23:53 2011 From: tracker at bugs.pypy.org (Fijal) Date: Fri, 03 Jun 2011 14:23:53 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307111033.6.0.596261259826.issue735@bugs.pypy.org> Fijal added the comment: By setting PYTHONPATH ---------- nosy: +fijal ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 19:08:27 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Fri, 03 Jun 2011 17:08:27 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307120907.72.0.977781435282.issue735@bugs.pypy.org> Armin Rigo added the comment: I think that fijal's extremely verbose answer means: we don't actually install it with easy_install on top of pypy, but instead we just point pypy to an existing installation of twisted, using PYTHONPATH. (This does not mean that this bug is irrelevant, though.) ---------- nosy: +arigo ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 19:20:41 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Fri, 03 Jun 2011 17:20:41 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307121641.39.0.116975060248.issue735@bugs.pypy.org> Jacek Furmankiewicz added the comment: Yes, I understood that :-) it's just that easy_install is probably the first thing a new user would trying to evaluate pypy vs cpython. We are evaluating adopting Twisted/Cyclone for some of our server-side work and wanted to compare it against some of our existing Java solutions. In case we found significant perf differences I wanted to know if I have the option of running the Cyclone app via pypy and reducing any raw code performance issues between Java and Python. It also makes it easier for deployment for our Ops team, which is an important consideration as well. Thank you for all your replies ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 3 23:37:07 2011 From: tracker at bugs.pypy.org (behackett) Date: Fri, 03 Jun 2011 21:37:07 +0000 Subject: [pypy-issue] [issue738] utcfromtimestamp handles time before the epoch differently in pypy and cpython In-Reply-To: <1307137027.04.0.840663501808.issue738@bugs.pypy.org> Message-ID: <1307137027.04.0.840663501808.issue738@bugs.pypy.org> New submission from behackett : pypy 1.5: >>>> datetime.datetime.utcfromtimestamp(-62135593139.0) datetime.datetime(1, 1, 1, 1, 1) cpython 2.7: >>> datetime.datetime.utcfromtimestamp(-62135593139.0) datetime.datetime(1, 1, 1, 1, 1, 1) ---------- messages: 2600 nosy: behackett, pypy-issue priority: bug status: unread title: utcfromtimestamp handles time before the epoch differently in pypy and cpython ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 4 09:12:21 2011 From: tracker at bugs.pypy.org (Fijal) Date: Sat, 04 Jun 2011 07:12:21 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307171541.78.0.192736487772.issue735@bugs.pypy.org> Fijal added the comment: In my opinion this is really twisted's bug. It should be able to install itself somehow without (optional) C extensions, like for example zope.interface does. On the other hand, convincing setup.py to do that is not particularly easy :-/ ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 6 15:12:04 2011 From: tracker at bugs.pypy.org (Jacek Furmankiewicz) Date: Mon, 06 Jun 2011 13:12:04 +0000 Subject: [pypy-issue] [issue735] Unable to install Twisted via easy_install In-Reply-To: <1307051279.56.0.530071542923.issue735@bugs.pypy.org> Message-ID: <1307365924.21.0.110528981762.issue735@bugs.pypy.org> Jacek Furmankiewicz added the comment: I can understand the challenge. Maybe a simple solution (more than acceptable for an end user like me) is creating a section on the main Twisted page with a list of common packages that work with Twisted but cannot be installed via pip or easy_install? We understand PyPy's limitations in regards to C extensions, so as long as it is clearly documented somewhere that for running Twisted we need to install it via a separate Python interpreter and then modify the PyPy PYTHONPATH I think that is an acceptable workaround. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 6 15:56:14 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Mon, 06 Jun 2011 13:56:14 +0000 Subject: [pypy-issue] [issue739] os.tmpname does not produce a RuntimeWarning In-Reply-To: <1307368574.32.0.161625132158.issue739@bugs.pypy.org> Message-ID: <1307368574.32.0.161625132158.issue739@bugs.pypy.org> New submission from Da_Blitz : when using os.tmpnam or os.tempnam on cpython a runtime warning is produced warning about the security risks of using the function. pypy-1.5 does not produce this warning. a patch to change this behavior in pypy to match cpython is attached also a thanks to Benjamin Peterson for pointing out that RuntimeWarning is a builtin ---------- messages: 2603 nosy: dablitz, pypy-issue priority: bug status: unread title: os.tmpname does not produce a RuntimeWarning ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 6 15:57:15 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Mon, 06 Jun 2011 13:57:15 +0000 Subject: [pypy-issue] [issue740] os.tmpname does not produce a RuntimeWarning In-Reply-To: <1307368635.52.0.0825586342258.issue740@bugs.pypy.org> Message-ID: <1307368635.52.0.0825586342258.issue740@bugs.pypy.org> New submission from Da_Blitz : when using os.tmpnam or os.tempnam on cpython a runtime warning is produced warning about the security risks of using the function. pypy-1.5 does not produce this warning. a patch to change this behavior in pypy to match cpython is attached also a thanks to Benjamin Peterson for pointing out that RuntimeWarning is a builtin ---------- files: patch.txt messages: 2604 nosy: dablitz, pypy-issue priority: bug status: unread title: os.tmpname does not produce a RuntimeWarning ________________________________________ PyPy bug tracker ________________________________________ -------------- next part -------------- diff -r b590cf6de419 pypy/module/posix/app_posix.py --- a/pypy/module/posix/app_posix.py Fri Apr 29 17:42:40 2011 +0200 +++ b/pypy/module/posix/app_posix.py Mon Jun 06 23:52:07 2011 +1000 @@ -107,6 +107,10 @@ def tmpnam(): """Return an absolute pathname of a file that did not exist at the time the call is made.""" + from warnings import warn + warn(RuntimeWarning("tmpnam is a potential security risk to your program")) + import tempfile return tempfile.mktemp() @@ -114,6 +118,10 @@ """Return an absolute pathname of a file that did not exist at the time the call is made. The directory and a prefix may be specified as strings; they may be omitted or None if not needed.""" + from warnings import warn + warn(RuntimeWarning("tempnam is a potential security risk to your program")) + import tempfile return tempfile.mktemp('', prefix or 'tmp', dir) From tracker at bugs.pypy.org Mon Jun 6 15:58:53 2011 From: tracker at bugs.pypy.org (Da_Blitz) Date: Mon, 06 Jun 2011 13:58:53 +0000 Subject: [pypy-issue] [issue739] os.tmpname does not produce a RuntimeWarning In-Reply-To: <1307368574.32.0.161625132158.issue739@bugs.pypy.org> Message-ID: <1307368733.77.0.558274079261.issue739@bugs.pypy.org> Da_Blitz added the comment: issue740 is the same ticket with more info ---------- status: unread -> duplicate ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 7 19:04:25 2011 From: tracker at bugs.pypy.org (Jose Antonio Martin H.) Date: Tue, 07 Jun 2011 17:04:25 +0000 Subject: [pypy-issue] [issue741] nightly build for windows In-Reply-To: <1307466265.62.0.905331161874.issue741@bugs.pypy.org> Message-ID: <1307466265.62.0.905331161874.issue741@bugs.pypy.org> New submission from Jose Antonio Martin H. : Please, I want an updated build for windows,there are many bugs that have been corrected since the last windows build. ---------- messages: 2606 nosy: jamartinh, pypy-issue priority: wish status: unread title: nightly build for windows ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 7 19:07:27 2011 From: tracker at bugs.pypy.org (Fijal) Date: Tue, 07 Jun 2011 17:07:27 +0000 Subject: [pypy-issue] [issue717] missing codecs In-Reply-To: <1304940943.84.0.976581533442.issue717@> Message-ID: <1307466447.4.0.676589596415.issue717@bugs.pypy.org> Fijal added the comment: Is this fixed by now? ---------- nosy: +fijal ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 7 20:07:24 2011 From: tracker at bugs.pypy.org (Fijal) Date: Tue, 07 Jun 2011 18:07:24 +0000 Subject: [pypy-issue] [issue742] pyrepl bug with tuple.__ In-Reply-To: <1307470044.73.0.248410014433.issue742@bugs.pypy.org> Message-ID: <1307470044.73.0.248410014433.issue742@bugs.pypy.org> New submission from Fijal : Run pypy. Do as in title. My traceback: http://paste.pocoo.org/show/402282/ ---------- messages: 2608 nosy: fijal, pypy-issue priority: bug status: unread title: pyrepl bug with tuple.__ ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 7 22:09:24 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Tue, 07 Jun 2011 20:09:24 +0000 Subject: [pypy-issue] [issue717] missing codecs In-Reply-To: <1304940943.84.0.976581533442.issue717@> Message-ID: <1307477364.14.0.882897816147.issue717@bugs.pypy.org> Alex Gaynor added the comment: Yes, we support all of these, not incremental encode/decode but that's even less used, and I might work on it. File a seperate ticket for that if you need it. ---------- nosy: +agaynor ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 8 12:28:28 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Wed, 08 Jun 2011 10:28:28 +0000 Subject: [pypy-issue] [issue742] pyrepl bug with tuple.__ In-Reply-To: <1307470044.73.0.248410014433.issue742@bugs.pypy.org> Message-ID: <1307528908.6.0.416330978065.issue742@bugs.pypy.org> Armin Rigo added the comment: You are running a PyPy with extra stuff installed, because my own PyPy does not print "Welcome to rlcompleter2 0.96" when you start. I cannot reproduce it on a plain PyPy. ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 8 12:30:08 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Wed, 08 Jun 2011 10:30:08 +0000 Subject: [pypy-issue] [issue742] pyrepl bug with tuple.__ In-Reply-To: <1307470044.73.0.248410014433.issue742@bugs.pypy.org> Message-ID: <1307529008.75.0.548597641999.issue742@bugs.pypy.org> Alex Gaynor added the comment: I think fijal is saying we have a bug in pyrepl that causes it. I don't have issues with ipython ATM so it's something obscure of course. ---------- nosy: +agaynor ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 8 12:56:05 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Wed, 08 Jun 2011 10:56:05 +0000 Subject: [pypy-issue] [issue742] pyrepl bug with tuple.__ In-Reply-To: <1307470044.73.0.248410014433.issue742@bugs.pypy.org> Message-ID: <1307530565.58.0.785681325432.issue742@bugs.pypy.org> Armin Rigo added the comment: Fijal, please be more precise :-) Explaining how we can reproduce the bug from a plain PyPy would be a really excellent start. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 9 07:30:19 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Thu, 09 Jun 2011 05:30:19 +0000 Subject: [pypy-issue] [issue740] os.tmpname does not produce a RuntimeWarning In-Reply-To: <1307368635.52.0.0825586342258.issue740@bugs.pypy.org> Message-ID: <1307597419.02.0.953359402459.issue740@bugs.pypy.org> Armin Rigo added the comment: Thanks. 7b32ed6e8374 ---------- nosy: +arigo status: unread -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 9 16:44:06 2011 From: tracker at bugs.pypy.org (Thomas Heller) Date: Thu, 09 Jun 2011 14:44:06 +0000 Subject: [pypy-issue] [issue743] Patch: comtypes works with these changes In-Reply-To: <1307630646.08.0.209251613631.issue743@bugs.pypy.org> Message-ID: <1307630646.08.0.209251613631.issue743@bugs.pypy.org> New submission from Thomas Heller : This patch is against the 1.5 released windows version. ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 10 00:05:52 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Thu, 09 Jun 2011 22:05:52 +0000 Subject: [pypy-issue] [issue744] try/finally in not fully consumed generator In-Reply-To: <1307657152.57.0.0663906266149.issue744@bugs.pypy.org> Message-ID: <1307657152.57.0.0663906266149.issue744@bugs.pypy.org> New submission from Alex Gaynor : When you write a generator with a try/finally and it will not be fully consumed (e.g. https://github.com/mitsuhiko/django-template- compilation/commit/7900c4d98f2021ec8e15c681a2892f54b347eb38) this is bad on pypy, finally is only called on GC. We need a clear explanation on the website of how people should fix this in their code. ---------- messages: 2615 nosy: agaynor, pypy-issue priority: wish status: unread title: try/finally in not fully consumed generator ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 10 08:52:56 2011 From: tracker at bugs.pypy.org (Fijal) Date: Fri, 10 Jun 2011 06:52:56 +0000 Subject: [pypy-issue] [issue744] try/finally in not fully consumed generator In-Reply-To: <1307657152.57.0.0663906266149.issue744@bugs.pypy.org> Message-ID: <1307688776.24.0.255139462207.issue744@bugs.pypy.org> Fijal added the comment: Already documented: http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences- related-to-garbage-collection-strategies ---------- nosy: +fijal status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 10 09:53:49 2011 From: tracker at bugs.pypy.org (Jonas H.) Date: Fri, 10 Jun 2011 07:53:49 +0000 Subject: [pypy-issue] [issue745] datetime microseconds rounded differently in CPython In-Reply-To: <1307692429.43.0.0957017155516.issue745@bugs.pypy.org> Message-ID: <1307692429.43.0.0957017155516.issue745@bugs.pypy.org> New submission from Jonas H. : from https://jira.mongodb.org/browse/PYTHON-254? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel&focusedCommentId=36896#comment-36896 cpython: >>> datetime.datetime.fromtimestamp(1293843661.191) datetime.datetime(2010, 12, 31, 20, 1, 1, 191000) pypy: >>>> datetime.datetime.fromtimestamp(1293843661.191) datetime.datetime(2010, 12, 31, 20, 1, 1, 190999) ---------- messages: 2617 nosy: jonash, pypy-issue priority: bug status: unread title: datetime microseconds rounded differently in CPython ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 10 10:05:00 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Fri, 10 Jun 2011 08:05:00 +0000 Subject: [pypy-issue] [issue744] try/finally in not fully consumed generator In-Reply-To: <1307657152.57.0.0663906266149.issue744@bugs.pypy.org> Message-ID: <1307693100.7.0.351084806589.issue744@bugs.pypy.org> Alex Gaynor added the comment: It's actually a little more subtle than that, if the generator isn't fully consumed because it exits via an exception stuff still works. Anyway mostly I was looking for documentation on how to fix code, which is still not obvious IMO. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 10 10:12:20 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Fri, 10 Jun 2011 08:12:20 +0000 Subject: [pypy-issue] [issue745] datetime microseconds rounded differently in CPython In-Reply-To: <1307692429.43.0.0957017155516.issue745@bugs.pypy.org> Message-ID: <1307693540.99.0.140501793529.issue745@bugs.pypy.org> Alex Gaynor added the comment: For funsies I downloaded the datetime.py from CPython 3.2, after changing a few things (making all classes newstyle) it runs this code correctly. Perhaps we should replace our version with the upstream one? ---------- nosy: +agaynor status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 11 09:03:22 2011 From: tracker at bugs.pypy.org (Nirbheek Chauhan) Date: Sat, 11 Jun 2011 07:03:22 +0000 Subject: [pypy-issue] [issue747] fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB) In-Reply-To: <1307775802.38.0.717100903574.issue747@bugs.pypy.org> Message-ID: <1307775802.38.0.717100903574.issue747@bugs.pypy.org> New submission from Nirbheek Chauhan : While trying to lock a file with a pre-existing lock on it, lockf() doesn't raise EACCESS, and just silently returns instead. This behaviour is both wrong, and inconsistent with PyPy's flock() behaviour, and CPython's lockf() and flock() behaviour. The script attached should demonstrate the problem. Run it under CPython, and it'll exit fine, execute with PyPy, and it fails. Replace fcntl.lockf with fcntl.flock and it works fine again. ---------- files: test_lock_nonblock.py messages: 2621 nosy: nirbheek, pypy-issue priority: bug release: 1.5 status: unread title: fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB) ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 11 21:39:55 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sat, 11 Jun 2011 19:39:55 +0000 Subject: [pypy-issue] [issue745] datetime microseconds rounded differently in CPython In-Reply-To: <1307692429.43.0.0957017155516.issue745@bugs.pypy.org> Message-ID: <1307821195.83.0.391607674378.issue745@bugs.pypy.org> Armin Rigo added the comment: I just went ahead and fixed this particular issue in c5617952be56. Alex: this might be a good idea, but I don't feel like making sure there are really no differences between 3.2 and 2.7... :-/ ---------- nosy: +arigo ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 12 12:26:27 2011 From: tracker at bugs.pypy.org (squiddy) Date: Sun, 12 Jun 2011 10:26:27 +0000 Subject: [pypy-issue] [issue748] Failure in sqlite3 fetchall In-Reply-To: <1307874387.72.0.702167811825.issue748@bugs.pypy.org> Message-ID: <1307874387.72.0.702167811825.issue748@bugs.pypy.org> New submission from squiddy : sqlite3 fails with "AttributeError: 'Statement' object has no attribute 'item'" when using fetchall. Find attached a simple test. ---------- files: sqlite_fetchall_failure.py messages: 2623 nosy: pypy-issue, squiddy priority: bug status: unread title: Failure in sqlite3 fetchall ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 12 15:59:18 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 12 Jun 2011 13:59:18 +0000 Subject: [pypy-issue] [issue749] "-Ojit no-allworkingmodules" fails In-Reply-To: <1307887158.99.0.818878124685.issue749@bugs.pypy.org> Message-ID: <1307887158.99.0.818878124685.issue749@bugs.pypy.org> New submission from Armin Rigo : ./translate.py -Ojit targetpypystandalone.py --no-allworkingmodules ...fails at compilation-time because "ffi_type" is not defined. It is used in a few functions coming from metainterp/optimizeopt/fficall.py, but the #include is not there (correctly). I suppose we need to remove OptFfiCall from the list ALL_OPTS depending on the config. ---------- messages: 2624 nosy: arigo, pypy-issue priority: bug status: unread title: "-Ojit no-allworkingmodules" fails ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 13 16:03:23 2011 From: tracker at bugs.pypy.org (ayanamist) Date: Mon, 13 Jun 2011 14:03:23 +0000 Subject: [pypy-issue] [issue750] sqlite3.connect dont accept argument "check_same_thread" In-Reply-To: <1307973803.42.0.628691373824.issue750@bugs.pypy.org> Message-ID: <1307973803.42.0.628691373824.issue750@bugs.pypy.org> New submission from ayanamist : in CPython 2.7.1, sqlite3.connect can accept an undocumented argument "check_same_thread". can pypy support it? ---------- messages: 2625 nosy: ayanamist, pypy-issue priority: bug status: unread title: sqlite3.connect dont accept argument "check_same_thread" ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 13 16:58:20 2011 From: tracker at bugs.pypy.org (Irmen de Jong) Date: Mon, 13 Jun 2011 14:58:20 +0000 Subject: [pypy-issue] [issue751] Pypy doesn't allow some unicode keyword arguments In-Reply-To: <1307977100.79.0.446667423654.issue751@bugs.pypy.org> Message-ID: <1307977100.79.0.446667423654.issue751@bugs.pypy.org> New submission from Irmen de Jong : There is a small problem with Pypy and unicode keyword arguments: >>>> def f(**kwargs): .... print kwargs .... >>>> f(**{'foo':42}) {'foo': 42} >>>> f(**{u'foo':42}) {'foo': 42} >>>> f(**{u'\u20ac':42}) Traceback (most recent call last): File "", line 1, in TypeError: keyword cannot be encoded to ascii u'foo' works fine, however u'\u20ac' (the Euro-currency sign) fails. This works fine on CPython 2.6.5 and newer. ---------- messages: 2626 nosy: irmen, pypy-issue priority: bug status: unread title: Pypy doesn't allow some unicode keyword arguments ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 13 20:37:30 2011 From: tracker at bugs.pypy.org (Antonio Cuni) Date: Mon, 13 Jun 2011 18:37:30 +0000 Subject: [pypy-issue] [issue749] "-Ojit no-allworkingmodules" fails In-Reply-To: <1307887158.99.0.818878124685.issue749@bugs.pypy.org> Message-ID: <1307990250.57.0.192904566907.issue749@bugs.pypy.org> Antonio Cuni added the comment: fixed by 8d6cdc44d544 ---------- status: unread -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 14 01:33:08 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Mon, 13 Jun 2011 23:33:08 +0000 Subject: [pypy-issue] [issue750] sqlite3.connect dont accept argument "check_same_thread" In-Reply-To: <1307973803.42.0.628691373824.issue750@bugs.pypy.org> Message-ID: <1308007988.29.0.777471590264.issue750@bugs.pypy.org> Amaury Forgeot d Arc added the comment: Done in 0a6cc0d7268e, thanks for the report! ---------- nosy: +afa status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 14 03:18:24 2011 From: tracker at bugs.pypy.org (Benjamin Peterson) Date: Tue, 14 Jun 2011 01:18:24 +0000 Subject: [pypy-issue] [issue751] Pypy doesn't allow some unicode keyword arguments In-Reply-To: <1307977100.79.0.446667423654.issue751@bugs.pypy.org> Message-ID: <1308014304.1.0.978206334052.issue751@bugs.pypy.org> Benjamin Peterson added the comment: 2978e535782d ---------- nosy: +benjamin status: unread -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 14 16:33:55 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Tue, 14 Jun 2011 14:33:55 +0000 Subject: [pypy-issue] [issue748] Failure in sqlite3 fetchall In-Reply-To: <1307874387.72.0.702167811825.issue748@bugs.pypy.org> Message-ID: <1308062035.21.0.922126501358.issue748@bugs.pypy.org> Amaury Forgeot d Arc added the comment: Of course, normally you don't need to fetch data after a "create table"! The dbapi doc says: "An Error (or subclass) exception is raised if the previous call to .execute*() did not produce any result set". But if CPython says so, PyPy should follow... ---------- nosy: +afa status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 14 17:11:42 2011 From: tracker at bugs.pypy.org (squiddy) Date: Tue, 14 Jun 2011 15:11:42 +0000 Subject: [pypy-issue] [issue748] Failure in sqlite3 fetchall In-Reply-To: <1307874387.72.0.702167811825.issue748@bugs.pypy.org> Message-ID: <1308064302.45.0.528514361323.issue748@bugs.pypy.org> squiddy added the comment: I totally agree. But I've tried to get a different project running with PyPy, and they have a thin wrapper around sqlite3, that does some stuff with the results, no matter what query was executed. I'll probably fix it there, but thought I should mention it anyway. Even if PyPy was not to mimic CPython, it probably should throw a prettier exception. :-) ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 14 22:29:52 2011 From: tracker at bugs.pypy.org (Todd Letsche) Date: Tue, 14 Jun 2011 20:29:52 +0000 Subject: [pypy-issue] [issue752] Support for dtypes in numpy-exp branches' micronumpy In-Reply-To: <1308083392.77.0.675236112429.issue752@bugs.pypy.org> Message-ID: <1308083392.77.0.675236112429.issue752@bugs.pypy.org> New submission from Todd Letsche : Hi, I ported the older micronumpy dtype stuff to the numpy-exp branch. At the moment, all tests pass (and pypy is buildable) except for a problem with the fake space in test_zjit.py. A diff against 44238:dd3bcd84b145 is attached. Posting here as suggest on IRC (and because I don't have commit privs). ---------- files: micronumpy.patch messages: 2632 nosy: letsche, pypy-issue priority: feature status: unread title: Support for dtypes in numpy-exp branches' micronumpy ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 15 19:46:26 2011 From: tracker at bugs.pypy.org (Stephen Bell) Date: Wed, 15 Jun 2011 17:46:26 +0000 Subject: [pypy-issue] [issue753] pypy python interpreter MemoryError/crash In-Reply-To: <1308159986.79.0.719588073362.issue753@bugs.pypy.org> Message-ID: <1308159986.79.0.719588073362.issue753@bugs.pypy.org> New submission from Stephen Bell : I'm not sure if this is the correct place to ask this, so please forgive me if this should be somewhere else. I'm trying out pypy on my Windows XP 32 bit machine but when I run a simple benchmark script, PyPy keeps crashing on me. Specifically: * the pypy process balloons up to ~2GB in size * I see the following traceback: RPython traceback: File "implement.c", line 839, in entry_point File "implement_5.c", line 5243, in funccall__star_1 File "implement_5.c", line 5272, in funccall__star_1 File "implement_5.c", line 7266, in MiniMarkGC_collect_and_reserve File "implement_5.c", line 3243, in MiniMarkGC_minor_collection File "implement_6.c", line 36662, in MiniMarkGC_collect_oldrefs_to_nursery File "implement_7.c", line 43701, in trace___trace_drag_out File "implement_7.c", line 43222, in MiniMarkGC__trace_drag_out File "implement_6.c", line 43542, in ArenaCollection_malloc File "implement_7.c", line 54691, in ArenaCollection_allocate_new_page File "implement_13.c", line 43205, in ArenaCollection_allocate_new_arena Fatal RPython error: MemoryError * My Visual Studio Just-In-Time Debugger appears telling me that there was an unhandled exception in pypy.exe, and asks me if I want to debug it This script I'm running is attached (it is a slightly modified version of what is found here: http://txzone.net/2010/04/python-is-x-is-better-than-y-round-1- deque- vs-list/ ). If I reduce the number of iterations to 1000, the script works fine. Should I be doing something to tell pypy to tweak the JIT compiler for the larger number of iterations? I installed using the pypy1.5 windows installer. My questions are: * can anyone help me out with this error? * In trying to trouble shoot the problem, I noticed several --jit command line options, but can't find documentation for these anywhere. How do I use these? ---------- messages: 2633 nosy: bahejl, pypy-issue priority: bug status: unread title: pypy python interpreter MemoryError/crash ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 15 23:36:55 2011 From: tracker at bugs.pypy.org (Vincent Legoll) Date: Wed, 15 Jun 2011 21:36:55 +0000 Subject: [pypy-issue] [issue653] fix for test_absolute_import_without_future In-Reply-To: <1298997204.59.0.724697529998.issue653@> Message-ID: <1308173815.16.0.571471753985.issue653@bugs.pypy.org> Vincent Legoll added the comment: looks fixed ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 16 03:41:35 2011 From: tracker at bugs.pypy.org (Fabio Zadrozny) Date: Thu, 16 Jun 2011 01:41:35 +0000 Subject: [pypy-issue] [issue754] ImportError expected but KeyError given instead on import fail. In-Reply-To: <1308188495.68.0.949527285764.issue754@bugs.pypy.org> Message-ID: <1308188495.68.0.949527285764.issue754@bugs.pypy.org> New submission from Fabio Zadrozny : Happens on pypy-1.5.0a0-win32. To reproduce, create 2 modules: mod1: import mod2 <-- ImportError expected here (KeyError raised instead) mod2: import sys del sys.modules['mod2'] #Remove itself from the modules ---------- messages: 2635 nosy: fabioz, pypy-issue priority: bug release: 1.5 status: unread title: ImportError expected but KeyError given instead on import fail. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 16 09:09:04 2011 From: tracker at bugs.pypy.org (Fijal) Date: Thu, 16 Jun 2011 07:09:04 +0000 Subject: [pypy-issue] [issue653] fix for test_absolute_import_without_future In-Reply-To: <1298997204.59.0.724697529998.issue653@> Message-ID: <1308208144.64.0.758481831452.issue653@bugs.pypy.org> Fijal added the comment: Closing then ---------- nosy: +fijal status: testing -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 16 09:48:59 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Thu, 16 Jun 2011 07:48:59 +0000 Subject: [pypy-issue] [issue753] pypy python interpreter MemoryError/crash In-Reply-To: <1308159986.79.0.719588073362.issue753@bugs.pypy.org> Message-ID: <1308210539.95.0.301674250558.issue753@bugs.pypy.org> Armin Rigo added the comment: I see no attachment, can you try again? Moreover, how much memory does running exactly the same script uses on top of CPython? If the answer is more than 1.5GB, then yes, it's reasonable that on top of PyPy it goes up to 2GB, and it's the maximum on Win32. (I agree that it should try to crash more cleanly than the fatal RPython traceback; even if it's hard to guarantee in all cases, we should really try.) ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 16 10:21:36 2011 From: tracker at bugs.pypy.org (Radu Voicilas) Date: Thu, 16 Jun 2011 08:21:36 +0000 Subject: [pypy-issue] [issue747] fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB) In-Reply-To: <1307775802.38.0.717100903574.issue747@bugs.pypy.org> Message-ID: <1308212496.14.0.713918570432.issue747@bugs.pypy.org> Radu Voicilas added the comment: I can confirm that this is happening. I tried to see why it is happening, but I didn't get to any resolution. As far as I can tell, this seems to be happening with fcntl.flock() as well, when the platform running has no C flock. ---------- nosy: +rvoicilas status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 16 14:41:55 2011 From: tracker at bugs.pypy.org (Stephen Bell) Date: Thu, 16 Jun 2011 12:41:55 +0000 Subject: [pypy-issue] [issue753] pypy python interpreter MemoryError/crash In-Reply-To: <1308159986.79.0.719588073362.issue753@bugs.pypy.org> Message-ID: <1308228115.44.0.605051375747.issue753@bugs.pypy.org> Stephen Bell added the comment: Sorry, I've attached the file now. For some stupid reason, I never thought to test on CPython after I saw this problem. Running the script on CPython, the script balloons up to the same size (~2GB) and also crashes. Looks like it's my problem ;) Sorry for the confusion ---------- status: chatting -> wontfix ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 09:41:43 2011 From: tracker at bugs.pypy.org (Fijal) Date: Fri, 17 Jun 2011 07:41:43 +0000 Subject: [pypy-issue] [issue752] Support for dtypes in numpy-exp branches' micronumpy In-Reply-To: <1308083392.77.0.675236112429.issue752@bugs.pypy.org> Message-ID: <1308296503.3.0.276984890866.issue752@bugs.pypy.org> Fijal added the comment: Hi. Thanks for porting this stuff. Unfortunately the patch as it is has a very adverse effect on performance - and this would likely be caught by test_zjit, even if fake space was not a problem. Essentially passing around wrapped types in things like initializers should be avoided, because it creates a massive performance hit. I suggest starting from scratch (or some heavy refactoring). Feel free to ask questions on IRC. Cheers, fijal ---------- nosy: +fijal status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 11:15:47 2011 From: tracker at bugs.pypy.org (Radu Voicilas) Date: Fri, 17 Jun 2011 09:15:47 +0000 Subject: [pypy-issue] [issue747] fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB) In-Reply-To: <1307775802.38.0.717100903574.issue747@bugs.pypy.org> Message-ID: <1308302147.81.0.239284891166.issue747@bugs.pypy.org> Radu Voicilas added the comment: I've made some changes to the interp_fcntl.py that would help nail this problem down. You can pull the changes from https://bitbucket.org/rvoicilas/pypy (especially commit 6f93f08b59a6). ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 14:39:39 2011 From: tracker at bugs.pypy.org (Attila Nagy) Date: Fri, 17 Jun 2011 12:39:39 +0000 Subject: [pypy-issue] [issue755] pypy trunk fails to build/run on FreeBSD In-Reply-To: <1308314379.97.0.0230222296775.issue755@bugs.pypy.org> Message-ID: <1308314379.97.0.0230222296775.issue755@bugs.pypy.org> New submission from Attila Nagy : I'm trying to build pypy trunk (changeset: 44937:17cc5ab72684) on the following FreeBSD: FreeBSD buildervm 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat May 21 22:05:26 CEST 2011 root at buildervm:/data/usr/obj/data/usr/src/sys/BOOTCLNT amd64 gcc is the standard system compiler: Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.2 20070831 prerelease [FreeBSD] python is 64 bit 2.7.1 Compiling with python translate.py -Ojit fails with the following errors at the end of the build process (skip to ---8<---, it marks the end of the log): [c] 599328 nodes [ array: 85726 framework rtti: 1879 func: 22277 group: 1 struct: 489445 ] [c:database] Completed [translation:info] database for generating C source was created [translation:info] Generating c source... [c:writing] structdef.h [c:writing] forwarddecl.h [c:writing] structimpl.c [c:writing] nonfuncnodes.c [c:writing] nonfuncnodes_1.c [c:writing] nonfuncnodes_2.c [c:writing] nonfuncnodes_3.c [c:writing] nonfuncnodes_4.c [c:writing] nonfuncnodes_5.c [c:writing] nonfuncnodes_6.c [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -DPy_BUILD_CORE -I/data/pypy/pypy/module/cpyext/include -I/tmp/usession-unknown-8 -I/usr/local/include /tmp/usession-unknown-8/platcheck_45.c -o /tmp/usession-unknown-8/platcheck_45.o [platform:execute] gcc /tmp/usession-unknown-8/platcheck_45.o -L/usr/local/lib -pthread -o /tmp/usession-unknown-8/platcheck_45 [c:writing] nonfuncnodes_7.c [c:writing] nonfuncnodes_8.c [c:writing] nonfuncnodes_9.c [c:writing] nonfuncnodes_10.c [c:writing] nonfuncnodes_11.c [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -I/usr/local/include -I/usr/local/include /tmp/usession-unknown-8/platcheck_46.c -o /tmp/usession-unknown-8/platcheck_46.o [platform:execute] gcc /tmp/usession-unknown-8/platcheck_46.o -L/usr/local/lib -L/usr/local/lib -pthread -lffi -o /tmp/usession-unknown-8/platcheck_46 [c:writing] nonfuncnodes_12.c [c:writing] nonfuncnodes_13.c [c:writing] nonfuncnodes_14.c [c:writing] nonfuncnodes_15.c [c:writing] nonfuncnodes_16.c [c:writing] nonfuncnodes_17.c [c:writing] nonfuncnodes_18.c [c:writing] nonfuncnodes_19.c [c:writing] nonfuncnodes_20.c [c:writing] nonfuncnodes_21.c [c:writing] nonfuncnodes_22.c [c:writing] nonfuncnodes_23.c [c:writing] nonfuncnodes_24.c [c:writing] nonfuncnodes_25.c [c:writing] nonfuncnodes_26.c [c:writing] nonfuncnodes_27.c [c:writing] nonfuncnodes_28.c [c:writing] nonfuncnodes_29.c [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -I/usr/local/include /tmp/usession-unknown-8/platcheck_47.c -o /tmp/usession-unknown-8/platcheck_47.o [platform:execute] gcc /tmp/usession-unknown-8/platcheck_47.o -L/usr/local/lib -pthread -o /tmp/usession-unknown-8/platcheck_47 [c:writing] nonfuncnodes_30.c [c:writing] nonfuncnodes_31.c [c:writing] nonfuncnodes_32.c [c:writing] nonfuncnodes_33.c [c:writing] nonfuncnodes_34.c [c:writing] nonfuncnodes_35.c [c:writing] nonfuncnodes_36.c [c:writing] nonfuncnodes_37.c [c:writing] nonfuncnodes_38.c [c:writing] nonfuncnodes_39.c [c:writing] nonfuncnodes_40.c [c:writing] nonfuncnodes_41.c [c:writing] nonfuncnodes_42.c [c:writing] nonfuncnodes_43.c [c:writing] nonfuncnodes_44.c [c:writing] nonfuncnodes_45.c [c:writing] nonfuncnodes_46.c [c:writing] implement.c [backendopt:WARNING] constant-folding v0 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v1 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v3 = gc_gettypeptr_group(v4, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v14 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v17 = gc_gettypeptr_group(v18, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v19 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v22 = gc_gettypeptr_group(v23, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v31 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v33 = gc_gettypeptr_group(v34, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v35 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v38 = gc_gettypeptr_group(v39, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v55 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v58 = gc_gettypeptr_group(v59, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v69 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v71 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v72 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [c:writing] implement_3.c [backendopt:WARNING] constant-folding v74 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v73 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v75 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v76 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v78 = gc_gettypeptr_group(v79, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v81 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [c:writing] implement_4.c [c:writing] implement_5.c [c:writing] implement_6.c [c:writing] implement_7.c [c:writing] implement_8.c [c:writing] implement_9.c [c:writing] implement_10.c [c:writing] implement_11.c [c:writing] implement_12.c [c:writing] implement_13.c [c:writing] implement_14.c [c:writing] implement_15.c [c:writing] implement_16.c [c:writing] implement_17.c [c:writing] implement_18.c [c:writing] implement_19.c [c:writing] implement_20.c [c:writing] implement_21.c [c:writing] implement_22.c [c:writing] implement_23.c [c:writing] implement_24.c [c:writing] implement_25.c [c:writing] implement_26.c [c:writing] implement_27.c [c:writing] implement_28.c [c:writing] implement_29.c [c:writing] implement_30.c [c:writing] implement_31.c [c:writing] implement_32.c [c:writing] implement_33.c [c:writing] implement_34.c [c:writing] implement_35.c [c:writing] implement_36.c [c:writing] implement_37.c [c:writing] implement_38.c [c:writing] implement_39.c [c:writing] implement_40.c [c:writing] implement_41.c [c:writing] implement_42.c [c:writing] implement_43.c [c:writing] implement_44.c [c:writing] implement_45.c [c:writing] implement_46.c [c:writing] implement_47.c [c:writing] implement_48.c [c:writing] implement_49.c [c:writing] implement_50.c [c:writing] implement_51.c [c:writing] implement_52.c [c:writing] implement_53.c [c:writing] implement_54.c [backendopt:WARNING] constant-folding v104 = gc_gettypeptr_group(v105, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (( [platform:Error] tracker.process(f, g, filename=fn) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1832, in process [platform:Error] tracker = parser.process_function(lines, filename) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1354, in process_function [platform:Error] table = tracker.computegcmaptable(self.verbose) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 65, in computegcmaptable [platform:Error] return self.gettable() [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 99, in gettable [platform:Error] localvar) [platform:Error] AssertionError: pypy_g_dispatcher_139: %rsi [platform:Error] gmake: *** [implement_21.gcmap] Error 1 [Timer] Timings: [Timer] annotate --- 1013.4 s [Timer] rtype_lltype --- 661.3 s [Timer] pyjitpl_lltype --- 704.5 s [Timer] backendopt_lltype --- 193.7 s [Timer] stackcheckinsertion_lltype --- 51.9 s [Timer] database_c --- 250.8 s [Timer] source_c --- 471.4 s [Timer] compile_c --- 311.4 s [Timer] =========================================== [Timer] Total: --- 3658.3 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 306, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 810, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/data/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 286, in _do [translation:ERROR] res = func() [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 573, in task_compile_c [translation:ERROR] cbuilder.compile(**kwds) [translation:ERROR] File "/data/pypy/pypy/translator/c/genc.py", line 515, in compile [translation:ERROR] extra_opts) [translation:ERROR] File "/data/pypy/pypy/translator/platform/posix.py", line 188, in execute_makefile [translation:ERROR] self._handle_error(returncode, stdout, stderr, path.join('make')) [translation:ERROR] File "/data/pypy/pypy/translator/platform/__init__.py", line 130, in _handle_error [translation:ERROR] raise CompilationError(stdout, stderr) [translation:ERROR] CompilationError: CompilationError(err=""" [translation:ERROR] nonfuncnodes_1.c:40758: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40866: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40902: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40926: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40962: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40974: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:40998: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41010: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41346: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41358: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41394: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41478: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41514: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41538: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41586: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41598: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41628: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41646: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41742: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41814: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41874: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41880: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41892: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41910: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41952: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41958: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41970: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:41982: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42018: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42066: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42366: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42426: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42456: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42468: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42498: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42558: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42588: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42594: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42630: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42660: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42786: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42798: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42846: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42870: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42894: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42906: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42918: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:42990: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43086: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43164: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43182: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43218: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43236: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43254: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43302: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43308: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43326: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43350: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43404: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43458: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43494: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43542: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43554: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43578: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43590: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43596: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43614: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43650: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43710: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_1.c:43758: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37629: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37637: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37645: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37649: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37689: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37693: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37701: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37721: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37725: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37729: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37733: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37741: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37745: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37757: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37761: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37765: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37793: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37809: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37817: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37821: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37829: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37849: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37853: warning: initialization from incompatible pointer type [translation:ERROR] nonfuncnodes_34.c:37857: warning: initialization from incompatible pointer type [translation:ERROR] implement_3.c: In function 'pypy_g_setup_root_walker': [translation:ERROR] implement_3.c:39480: warning: assignment makes pointer from integer without a cast [translation:ERROR] implement_4.c: In function 'pypy_g_Py_FindMethod': [translation:ERROR] implement_4.c:39046: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_4.c:39052: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_4.c:39072: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_4.c:39304: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_6.c: In function 'pypy_g_convert_method_defs': [translation:ERROR] implement_6.c:54125: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_6.c:54131: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_6.c:54137: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_6.c:54271: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_6.c: In function 'pypy_g_GcRootMap_asmgcc_freeing_block': [translation:ERROR] implement_6.c:60169: warning: passing argument 4 of 'qsort' from incompatible pointer type [translation:ERROR] implement_7.c: In function 'pypy_g_descr_typecheck_get_doc': [translation:ERROR] implement_7.c:57206: warning: assignment discards qualifiers from pointer target type [translation:ERROR] implement_10.c: In function 'pypy_g_W_PyCTypeObject___init__': [translation:ERROR] implement_10.c:15722: warning: assignment discards qualifiers from pointer target type [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1939, in [translation:ERROR] tracker.process(f, g, filename=fn) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1832, in process [translation:ERROR] tracker = parser.process_function(lines, filename) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1354, in process_function [translation:ERROR] table = tracker.computegcmaptable(self.verbose) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 65, in computegcmaptable [translation:ERROR] return self.gettable() [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 99, in gettable [translation:ERROR] localvar) [translation:ERROR] AssertionError: pypy_g_dispatcher_139: %rsi [translation:ERROR] gmake: *** [implement_21.gcmap] Error 1 [translation:ERROR] """) [translation] start debugger... > /data/pypy/pypy/translator/platform/__init__.py(130)_handle_error() -> raise CompilationError(stdout, stderr) (Pdb+) ---8<--- I've also tried to compile with gcc4.6 from FreeBSD ports, the result is: [c] 599436 nodes [ array: 85772 framework rtti: 1879 func: 22277 group: 1 struct: 489507 ] [c:database] Completed [translation:info] database for generating C source was created [translation:info] Generating c source... [c:writing] structdef.h [c:writing] forwarddecl.h [c:writing] structimpl.c [c:writing] nonfuncnodes.c [c:writing] nonfuncnodes_1.c [c:writing] nonfuncnodes_2.c [c:writing] nonfuncnodes_3.c [c:writing] nonfuncnodes_4.c [c:writing] nonfuncnodes_5.c [c:writing] nonfuncnodes_6.c [platform:execute] gcc46 -c -O3 -pthread -fomit-frame-pointer -DPy_BUILD_CORE -I/data/pypy/pypy/module/cpyext/include -I/tmp/usession-unknown-9 -I/usr/local/include /tmp/usession-unknown-9/platcheck_45.c -o /tmp/usession-unknown-9/platcheck_45.o [platform:execute] gcc46 /tmp/usession-unknown-9/platcheck_45.o -L/usr/local/lib -pthread -o /tmp/usession-unknown-9/platcheck_45 [c:writing] nonfuncnodes_7.c [c:writing] nonfuncnodes_8.c [c:writing] nonfuncnodes_9.c [c:writing] nonfuncnodes_10.c [c:writing] nonfuncnodes_11.c [platform:execute] gcc46 -c -O3 -pthread -fomit-frame-pointer -I/usr/local/include -I/usr/local/include /tmp/usession-unknown-9/platcheck_46.c -o /tmp/usession-unknown-9/platcheck_46.o [platform:execute] gcc46 /tmp/usession-unknown-9/platcheck_46.o -L/usr/local/lib -L/usr/local/lib -pthread -lffi -o /tmp/usession-unknown-9/platcheck_46 [c:writing] nonfuncnodes_12.c [c:writing] nonfuncnodes_13.c [c:writing] nonfuncnodes_14.c [c:writing] nonfuncnodes_15.c [c:writing] nonfuncnodes_16.c [c:writing] nonfuncnodes_17.c [c:writing] nonfuncnodes_18.c [c:writing] nonfuncnodes_19.c [c:writing] nonfuncnodes_20.c [c:writing] nonfuncnodes_21.c [c:writing] nonfuncnodes_22.c [c:writing] nonfuncnodes_23.c [c:writing] nonfuncnodes_24.c [c:writing] nonfuncnodes_25.c [c:writing] nonfuncnodes_26.c [c:writing] nonfuncnodes_27.c [c:writing] nonfuncnodes_28.c [c:writing] nonfuncnodes_29.c [platform:execute] gcc46 -c -O3 -pthread -fomit-frame-pointer -I/usr/local/include /tmp/usession-unknown-9/platcheck_47.c -o /tmp/usession-unknown-9/platcheck_47.o [platform:execute] gcc46 /tmp/usession-unknown-9/platcheck_47.o -L/usr/local/lib -pthread -o /tmp/usession-unknown-9/platcheck_47 [c:writing] nonfuncnodes_30.c [c:writing] nonfuncnodes_31.c [c:writing] nonfuncnodes_32.c [c:writing] nonfuncnodes_33.c [c:writing] nonfuncnodes_34.c [c:writing] nonfuncnodes_35.c [c:writing] nonfuncnodes_36.c [c:writing] nonfuncnodes_37.c [c:writing] nonfuncnodes_38.c [c:writing] nonfuncnodes_39.c [c:writing] nonfuncnodes_40.c [c:writing] nonfuncnodes_41.c [c:writing] nonfuncnodes_42.c [c:writing] nonfuncnodes_43.c [c:writing] nonfuncnodes_44.c [c:writing] nonfuncnodes_45.c [c:writing] nonfuncnodes_46.c [c:writing] implement.c [backendopt:WARNING] constant-folding v0 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v1 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v3 = gc_gettypeptr_group(v4, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v14 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v17 = gc_gettypeptr_group(v18, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v20 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v22 = gc_gettypeptr_group(v23, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v31 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v33 = gc_gettypeptr_group(v34, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v35 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v38 = gc_gettypeptr_group(v39, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v55 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v58 = gc_gettypeptr_group(v59, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v70 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v71 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v72 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [c:writing] implement_3.c [backendopt:WARNING] constant-folding v74 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v73 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v76 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v75 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v78 = gc_gettypeptr_group(v79, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (()): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [backendopt:WARNING] constant-folding v80 = cast_pointer((<* struct object { typ...=... }>)): [backendopt:WARNING] RuntimeError: widening <* GcStruct object { typeptr }> inside instead of [c:writing] implement_4.c [c:writing] implement_5.c [c:writing] implement_6.c [c:writing] implement_7.c [c:writing] implement_8.c [c:writing] implement_9.c [c:writing] implement_10.c [c:writing] implement_11.c [c:writing] implement_12.c [c:writing] implement_13.c [c:writing] implement_14.c [c:writing] implement_15.c [c:writing] implement_16.c [c:writing] implement_17.c [c:writing] implement_18.c [c:writing] implement_19.c [c:writing] implement_20.c [c:writing] implement_21.c [c:writing] implement_22.c [c:writing] implement_23.c [c:writing] implement_24.c [c:writing] implement_25.c [c:writing] implement_26.c [c:writing] implement_27.c [c:writing] implement_28.c [c:writing] implement_29.c [c:writing] implement_30.c [c:writing] implement_31.c [c:writing] implement_32.c [c:writing] implement_33.c [c:writing] implement_34.c [c:writing] implement_35.c [c:writing] implement_36.c [c:writing] implement_37.c [c:writing] implement_38.c [c:writing] implement_39.c [c:writing] implement_40.c [c:writing] implement_41.c [c:writing] implement_42.c [c:writing] implement_43.c [c:writing] implement_44.c [c:writing] implement_45.c [c:writing] implement_46.c [c:writing] implement_47.c [c:writing] implement_48.c [c:writing] implement_49.c [c:writing] implement_50.c [c:writing] implement_51.c [c:writing] implement_52.c [c:writing] implement_53.c [c:writing] implement_54.c [backendopt:WARNING] constant-folding v104 = gc_gettypeptr_group(v105, (<* >), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), ((>), ( 1>), (( [platform:Error] tracker.process(f, g, filename=fn) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1832, in process [platform:Error] tracker = parser.process_function(lines, filename) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1354, in process_function [platform:Error] table = tracker.computegcmaptable(self.verbose) [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 65, in computegcmaptable [platform:Error] return self.gettable() [platform:Error] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 99, in gettable [platform:Error] localvar) [platform:Error] AssertionError: pypy_g_unicode_encode_ucs1_helper: %rcx [platform:Error] gmake: *** [implement_7.gcmap] Error 1 [Timer] Timings: [Timer] annotate --- 1012.1 s [Timer] rtype_lltype --- 667.0 s [Timer] pyjitpl_lltype --- 718.1 s [Timer] backendopt_lltype --- 193.6 s [Timer] stackcheckinsertion_lltype --- 44.2 s [Timer] database_c --- 264.7 s [Timer] source_c --- 474.0 s [Timer] compile_c --- 131.5 s [Timer] =========================================== [Timer] Total: --- 3505.2 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 306, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 810, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/data/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 286, in _do [translation:ERROR] res = func() [translation:ERROR] File "/data/pypy/pypy/translator/driver.py", line 573, in task_compile_c [translation:ERROR] cbuilder.compile(**kwds) [translation:ERROR] File "/data/pypy/pypy/translator/c/genc.py", line 515, in compile [translation:ERROR] extra_opts) [translation:ERROR] File "/data/pypy/pypy/translator/platform/posix.py", line 188, in execute_makefile [translation:ERROR] self._handle_error(returncode, stdout, stderr, path.join('make')) [translation:ERROR] File "/data/pypy/pypy/translator/platform/__init__.py", line 130, in _handle_error [translation:ERROR] raise CompilationError(stdout, stderr) [translation:ERROR] CompilationError: CompilationError(err=""" [translation:ERROR] nonfuncnodes_1.c:40748:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40748:3: warning: (near initialization for 'pypy_g_array_492.a.items[4].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40814:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40814:3: warning: (near initialization for 'pypy_g_array_492.a.items[15].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40826:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40826:3: warning: (near initialization for 'pypy_g_array_492.a.items[17].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40850:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40850:3: warning: (near initialization for 'pypy_g_array_492.a.items[21].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40892:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40892:3: warning: (near initialization for 'pypy_g_array_492.a.items[28].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40922:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:40922:3: warning: (near initialization for 'pypy_g_array_492.a.items[33].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41138:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41138:3: warning: (near initialization for 'pypy_g_array_492.a.items[69].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41150:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41150:3: warning: (near initialization for 'pypy_g_array_492.a.items[71].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41282:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41282:3: warning: (near initialization for 'pypy_g_array_492.a.items[93].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41294:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41294:3: warning: (near initialization for 'pypy_g_array_492.a.items[95].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41312:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41312:3: warning: (near initialization for 'pypy_g_array_492.a.items[98].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41342:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41342:3: warning: (near initialization for 'pypy_g_array_492.a.items[103].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41390:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41390:3: warning: (near initialization for 'pypy_g_array_492.a.items[111].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41462:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41462:3: warning: (near initialization for 'pypy_g_array_492.a.items[123].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41474:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41474:3: warning: (near initialization for 'pypy_g_array_492.a.items[125].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41486:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41486:3: warning: (near initialization for 'pypy_g_array_492.a.items[127].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41546:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41546:3: warning: (near initialization for 'pypy_g_array_492.a.items[137].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41570:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41570:3: warning: (near initialization for 'pypy_g_array_492.a.items[141].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41582:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41582:3: warning: (near initialization for 'pypy_g_array_492.a.items[143].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41678:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41678:3: warning: (near initialization for 'pypy_g_array_492.a.items[159].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41690:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41690:3: warning: (near initialization for 'pypy_g_array_492.a.items[161].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41804:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41804:3: warning: (near initialization for 'pypy_g_array_492.a.items[180].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41822:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41822:3: warning: (near initialization for 'pypy_g_array_492.a.items[183].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41834:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41834:3: warning: (near initialization for 'pypy_g_array_492.a.items[185].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41912:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:41912:3: warning: (near initialization for 'pypy_g_array_492.a.items[198].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42026:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42026:3: warning: (near initialization for 'pypy_g_array_492.a.items[217].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42098:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42098:3: warning: (near initialization for 'pypy_g_array_492.a.items[229].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42158:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42158:3: warning: (near initialization for 'pypy_g_array_492.a.items[239].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42164:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42164:3: warning: (near initialization for 'pypy_g_array_492.a.items[240].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42206:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42206:3: warning: (near initialization for 'pypy_g_array_492.a.items[247].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42236:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42236:3: warning: (near initialization for 'pypy_g_array_492.a.items[252].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42284:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42284:3: warning: (near initialization for 'pypy_g_array_492.a.items[260].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42296:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42296:3: warning: (near initialization for 'pypy_g_array_492.a.items[262].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42314:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42314:3: warning: (near initialization for 'pypy_g_array_492.a.items[265].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42386:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42386:3: warning: (near initialization for 'pypy_g_array_492.a.items[277].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42398:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42398:3: warning: (near initialization for 'pypy_g_array_492.a.items[279].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42482:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42482:3: warning: (near initialization for 'pypy_g_array_492.a.items[293].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42506:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42506:3: warning: (near initialization for 'pypy_g_array_492.a.items[297].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42554:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42554:3: warning: (near initialization for 'pypy_g_array_492.a.items[305].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42578:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42578:3: warning: (near initialization for 'pypy_g_array_492.a.items[309].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42602:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42602:3: warning: (near initialization for 'pypy_g_array_492.a.items[313].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42626:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42626:3: warning: (near initialization for 'pypy_g_array_492.a.items[317].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42722:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42722:3: warning: (near initialization for 'pypy_g_array_492.a.items[333].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42734:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42734:3: warning: (near initialization for 'pypy_g_array_492.a.items[335].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42746:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42746:3: warning: (near initialization for 'pypy_g_array_492.a.items[337].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42842:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42842:3: warning: (near initialization for 'pypy_g_array_492.a.items[353].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42866:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42866:3: warning: (near initialization for 'pypy_g_array_492.a.items[357].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42878:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42878:3: warning: (near initialization for 'pypy_g_array_492.a.items[359].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42956:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42956:3: warning: (near initialization for 'pypy_g_array_492.a.items[372].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42974:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42974:3: warning: (near initialization for 'pypy_g_array_492.a.items[375].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42986:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42986:3: warning: (near initialization for 'pypy_g_array_492.a.items[377].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42998:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:42998:3: warning: (near initialization for 'pypy_g_array_492.a.items[379].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43010:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43010:3: warning: (near initialization for 'pypy_g_array_492.a.items[381].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43034:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43034:3: warning: (near initialization for 'pypy_g_array_492.a.items[385].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43064:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43064:3: warning: (near initialization for 'pypy_g_array_492.a.items[390].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43106:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43106:3: warning: (near initialization for 'pypy_g_array_492.a.items[397].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43202:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43202:3: warning: (near initialization for 'pypy_g_array_492.a.items[413].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43250:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43250:3: warning: (near initialization for 'pypy_g_array_492.a.items[421].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43262:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43262:3: warning: (near initialization for 'pypy_g_array_492.a.items[423].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43322:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43322:3: warning: (near initialization for 'pypy_g_array_492.a.items[433].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43364:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43364:3: warning: (near initialization for 'pypy_g_array_492.a.items[440].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43466:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43466:3: warning: (near initialization for 'pypy_g_array_492.a.items[457].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43550:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43550:3: warning: (near initialization for 'pypy_g_array_492.a.items[471].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43568:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43568:3: warning: (near initialization for 'pypy_g_array_492.a.items[474].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43586:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43586:3: warning: (near initialization for 'pypy_g_array_492.a.items[477].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43634:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43634:3: warning: (near initialization for 'pypy_g_array_492.a.items[485].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43646:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43646:3: warning: (near initialization for 'pypy_g_array_492.a.items[487].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43682:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43682:3: warning: (near initialization for 'pypy_g_array_492.a.items[493].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43742:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43742:3: warning: (near initialization for 'pypy_g_array_492.a.items[503].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43760:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_1.c:43760:3: warning: (near initialization for 'pypy_g_array_492.a.items[506].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37603:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37603:3: warning: (near initialization for 'pypy_g_array_26132.a.items[0].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37611:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37611:3: warning: (near initialization for 'pypy_g_array_26132.a.items[2].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37619:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37619:3: warning: (near initialization for 'pypy_g_array_26132.a.items[4].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37623:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37623:3: warning: (near initialization for 'pypy_g_array_26132.a.items[5].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37663:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37663:3: warning: (near initialization for 'pypy_g_array_26132.a.items[15].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37667:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37667:3: warning: (near initialization for 'pypy_g_array_26132.a.items[16].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37675:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37675:3: warning: (near initialization for 'pypy_g_array_26132.a.items[18].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37695:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37695:3: warning: (near initialization for 'pypy_g_array_26132.a.items[23].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37699:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37699:3: warning: (near initialization for 'pypy_g_array_26132.a.items[24].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37703:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37703:3: warning: (near initialization for 'pypy_g_array_26132.a.items[25].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37707:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37707:3: warning: (near initialization for 'pypy_g_array_26132.a.items[26].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37715:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37715:3: warning: (near initialization for 'pypy_g_array_26132.a.items[28].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37719:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37719:3: warning: (near initialization for 'pypy_g_array_26132.a.items[29].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37731:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37731:3: warning: (near initialization for 'pypy_g_array_26132.a.items[32].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37735:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37735:3: warning: (near initialization for 'pypy_g_array_26132.a.items[33].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37739:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37739:3: warning: (near initialization for 'pypy_g_array_26132.a.items[34].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37767:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37767:3: warning: (near initialization for 'pypy_g_array_26132.a.items[41].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37783:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37783:3: warning: (near initialization for 'pypy_g_array_26132.a.items[45].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37791:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37791:3: warning: (near initialization for 'pypy_g_array_26132.a.items[47].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37795:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37795:3: warning: (near initialization for 'pypy_g_array_26132.a.items[48].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37803:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37803:3: warning: (near initialization for 'pypy_g_array_26132.a.items[50].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37823:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37823:3: warning: (near initialization for 'pypy_g_array_26132.a.items[55].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37827:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37827:3: warning: (near initialization for 'pypy_g_array_26132.a.items[56].d_value') [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37831:3: warning: initialization from incompatible pointer type [enabled by default] [translation:ERROR] nonfuncnodes_34.c:37831:3: warning: (near initialization for 'pypy_g_array_26132.a.items[57].d_value') [enabled by default] [translation:ERROR] implement_3.c: In function 'pypy_g_setup_root_walker': [translation:ERROR] implement_3.c:38732:2: warning: assignment makes pointer from integer without a cast [enabled by default] [translation:ERROR] implement_4.c: In function 'pypy_g_Py_FindMethod': [translation:ERROR] implement_4.c:38030:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_4.c:38036:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_4.c:38056:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_4.c:38288:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_6.c: In function 'pypy_g_convert_method_defs': [translation:ERROR] implement_6.c:53068:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_6.c:53074:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_6.c:53080:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_6.c:53214:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] implement_6.c: In function 'pypy_g_GcRootMap_asmgcc_freeing_block': [translation:ERROR] implement_6.c:59129:2: warning: passing argument 4 of 'qsort' from incompatible pointer type [enabled by default] [translation:ERROR] /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.1/include-fixed/stdlib.h:118:7: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void *, void *)' [translation:ERROR] implement_7.c: In function 'pypy_g_descr_typecheck_get_doc': [translation:ERROR] implement_7.c:56487:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1939, in [translation:ERROR] tracker.process(f, g, filename=fn) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1832, in process [translation:ERROR] tracker = parser.process_function(lines, filename) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 1354, in process_function [translation:ERROR] table = tracker.computegcmaptable(self.verbose) [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 65, in computegcmaptable [translation:ERROR] return self.gettable() [translation:ERROR] File "/data/pypy/pypy/translator/c/gcc/trackgcroot.py", line 99, in gettable [translation:ERROR] localvar) [translation:ERROR] AssertionError: pypy_g_unicode_encode_ucs1_helper: %rcx [translation:ERROR] gmake: *** [implement_7.gcmap] Error 1 [translation:ERROR] """) [translation] start debugger... > /data/pypy/pypy/translator/platform/__init__.py(130)_handle_error() -> raise CompilationError(stdout, stderr) (Pdb+) ---8<--- Compiling with python translate.py --gcrootfinder=shadowstack -Ojit produces a pypy-c binary: # ./pypy-c Python 2.7.1 (?, Jun 15 2011, 06:34:47) [PyPy 1.5.0-alpha0 with GCC 4.2.2] on freebsd8 Type "help", "copyright", "credits" or "license" for more information. And now for something completely different: ``"you can always kill -9 or os._exit() if you're in a hurry"'' >>>> BTW on subsequent builds it sometimes fails even to start like the above (I couldn't reproduce it now). Trying to compile pypy with itself crashes immediately (I hope it's not because they are in the same dir): # ./pypy-c translate.py -Ojit Segmentation fault (core dumped) gdb says: gdb pypy-c pypy-c.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `pypy-c'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.9 Reading symbols from /usr/lib/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/lib/libbz2.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbz2.so.4 Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.5 Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /usr/local/lib/libffi.so.5...done. Loaded symbols for /usr/local/lib/libffi.so.5 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libutil.so.8...done. Loaded symbols for /lib/libutil.so.8 Reading symbols from /lib/libncurses.so.8...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000000573d8e in pypy_g_MiniMarkGC_deal_with_objects_with_finalizers () [New Thread 802a041c0 (LWP 100348/initial thread)] (gdb) bt #0 0x0000000000573d8e in pypy_g_MiniMarkGC_deal_with_objects_with_finalizers () #1 0x0000000000549653 in pypy_g_MiniMarkGC_major_collection () #2 0x00000000004e144a in pypy_g_MiniMarkGC_collect_and_reserve () #3 0x00000000007ee391 in pypy_g_Parser_shift () #4 0x00000000007216a4 in pypy_g_Parser_add_token () #5 0x000000000067ffee in pypy_g_PythonParser_parse_source () #6 0x00000000005f7ad9 in pypy_g_PythonAstCompiler__compile_to_ast () #7 0x00000000005f7f7c in pypy_g_PythonAstCompiler_compile () #8 0x00000000005f8a7e in pypy_g_load_source_module () #9 0x0000000000533c57 in pypy_g_load_module () #10 0x0000000000db14cf in pypy_g_load_part () #11 0x0000000000c85bb4 in pypy_g__absolute_import () #12 0x0000000000b79106 in pypy_g_importhook () #13 0x00000000005693dc in pypy_g_BuiltinCode_funcrun_obj () #14 0x00000000004f5784 in pypy_g_funccall__star_4 () #15 0x0000000000541420 in pypy_g_call_function__star_4 () #16 0x000000000095fb28 in pypy_g_IMPORT_NAME__AccessDirect_None () #17 0x00000000008bd999 in pypy_g_dispatch_bytecode__AccessDirect_None () #18 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #19 0x000000000077c56a in pypy_g_portal_1 () #20 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #21 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () ---Type to continue, or q to quit--- #22 0x000000000054e27f in pypy_g_PyFrame_run () #23 0x00000000005f8b39 in pypy_g_load_source_module () #24 0x0000000000533c57 in pypy_g_load_module () #25 0x0000000000db14cf in pypy_g_load_part () #26 0x0000000000c85bb4 in pypy_g__absolute_import () #27 0x0000000000b79106 in pypy_g_importhook () #28 0x00000000005693dc in pypy_g_BuiltinCode_funcrun_obj () #29 0x00000000004f5784 in pypy_g_funccall__star_4 () #30 0x0000000000541420 in pypy_g_call_function__star_4 () #31 0x000000000095fb28 in pypy_g_IMPORT_NAME__AccessDirect_None () #32 0x00000000008bd999 in pypy_g_dispatch_bytecode__AccessDirect_None () #33 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #34 0x000000000077c56a in pypy_g_portal_1 () #35 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #36 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #37 0x000000000054e27f in pypy_g_PyFrame_run () #38 0x00000000005f8b39 in pypy_g_load_source_module () #39 0x0000000000533c57 in pypy_g_load_module () #40 0x0000000000db14cf in pypy_g_load_part () #41 0x0000000000c85bb4 in pypy_g__absolute_import () #42 0x0000000000b797b8 in pypy_g_importhook () #43 0x00000000005693dc in pypy_g_BuiltinCode_funcrun_obj () #44 0x00000000004f5784 in pypy_g_funccall__star_4 () ---Type to continue, or q to quit--- #45 0x0000000000541420 in pypy_g_call_function__star_4 () #46 0x000000000095fb28 in pypy_g_IMPORT_NAME__AccessDirect_None () #47 0x00000000008bd999 in pypy_g_dispatch_bytecode__AccessDirect_None () #48 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #49 0x000000000077c56a in pypy_g_portal_1 () #50 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #51 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #52 0x000000000054e27f in pypy_g_PyFrame_run () #53 0x000000000095c5ed in pypy_g_EXEC_STMT__AccessDirect_None () #54 0x00000000008bce18 in pypy_g_dispatch_bytecode__AccessDirect_None () #55 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #56 0x000000000077c56a in pypy_g_portal_1 () #57 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #58 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #59 0x000000000054e27f in pypy_g_PyFrame_run () #60 0x00000000004e318b in pypy_g_call_args () #61 0x0000000000958815 in pypy_g_call_function__AccessDirect_None () #62 0x00000000008be6c4 in pypy_g_dispatch_bytecode__AccessDirect_None () #63 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #64 0x000000000077c56a in pypy_g_portal_1 () #65 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () ---Type to continue, or q to quit--- #66 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #67 0x000000000054e27f in pypy_g_PyFrame_run () #68 0x00000000004e318b in pypy_g_call_args () #69 0x0000000000958815 in pypy_g_call_function__AccessDirect_None () #70 0x00000000008be5a0 in pypy_g_dispatch_bytecode__AccessDirect_None () #71 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #72 0x000000000077c56a in pypy_g_portal_1 () #73 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #74 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #75 0x000000000054e27f in pypy_g_PyFrame_run () #76 0x00000000004e318b in pypy_g_call_args () #77 0x0000000000958815 in pypy_g_call_function__AccessDirect_None () #78 0x00000000008be62a in pypy_g_dispatch_bytecode__AccessDirect_None () #79 0x0000000000847b9a in pypy_g_handle_bytecode__AccessDirect_None () #80 0x000000000077c56a in pypy_g_portal_1 () #81 0x000000000071a4aa in pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () #82 0x0000000000566fa9 in pypy_g_PyFrame_execute_frame () #83 0x000000000054e27f in pypy_g_PyFrame_run () #84 0x00000000004f5ead in pypy_g_funccall__star_3 () #85 0x00000000004de5a1 in pypy_g_call_function__star_3 () #86 0x000000000043940b in pypy_g_entry_point () #87 0x00000000004120c1 in pypy_main_function () ---Type to continue, or q to quit--- #88 0x0000000000410b4e in _start () #89 0x0000000801400000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000003 in ?? () #93 0x00007fffffffed28 in ?? () #94 0x00007fffffffed3a in ?? () #95 0x00007fffffffed47 in ?? () #96 0x0000000000000000 in ?? () #97 0x00007fffffffed4d in ?? () #98 0x00007fffffffed57 in ?? () #99 0x00007fffffffed64 in ?? () #100 0x00007fffffffed6f in ?? () #101 0x00007fffffffed83 in ?? () #102 0x00007fffffffede9 in ?? () #103 0x00007fffffffedf4 in ?? () #104 0x00007fffffffee09 in ?? () #105 0x00007fffffffee15 in ?? () #106 0x00007fffffffee24 in ?? () #107 0x00007fffffffee46 in ?? () #108 0x00007fffffffee78 in ?? () #109 0x00007fffffffee8c in ?? () #110 0x00007fffffffee9d in ?? () #111 0x00007fffffffeeac in ?? () ---Type to continue, or q to quit--- #112 0x00007fffffffeebb in ?? () #113 0x00007fffffffeecc in ?? () #114 0x00007fffffffeed4 in ?? () #115 0x00007fffffffeef8 in ?? () #116 0x00007fffffffef04 in ?? () #117 0x00007fffffffef24 in ?? () #118 0x00007fffffffef3d in ?? () #119 0x00007fffffffef5f in ?? () #120 0x00007fffffffef80 in ?? () #121 0x00007fffffffef8a in ?? () #122 0x00007fffffffef95 in ?? () #123 0x00007fffffffef9e in ?? () #124 0x0000000000000000 in ?? () #125 0x0000000000000003 in ?? () #126 0x0000000000400040 in ?? () #127 0x0000000000000004 in ?? () #128 0x0000000000000038 in ?? () #129 0x0000000000000005 in ?? () #130 0x0000000000000008 in ?? () #131 0x0000000000000006 in ?? () #132 0x0000000000001000 in ?? () #133 0x0000000000000008 in ?? () #134 0x0000000000000000 in ?? () #135 0x0000000000000009 in ?? () ---Type to continue, or q to quit--- #136 0x0000000000410ac0 in ?? () #137 0x0000000000000007 in ?? () #138 0x00000008013ce000 in ?? () #139 0x000000000000000f in ?? () #140 0x00007fffffffffae in ?? () #141 0x0000000000000000 in ?? () #142 0x0000000000000000 in ?? () #143 0x0000000000000000 in ?? () #144 0x0000000000000000 in ?? () #145 0x0000000000000000 in ?? () #146 0x0000000000000000 in ?? () #147 0x0000000000000000 in ?? () #148 0x0000000000000000 in ?? () #149 0x0000000000000000 in ?? () #150 0x0000000000000000 in ?? () #151 0x0000000000000000 in ?? () #152 0x0000000000000000 in ?? () #153 0x0000000000000000 in ?? () #154 0x0000000000000000 in ?? () #155 0x0000000000000000 in ?? () #156 0x0000000000000000 in ?? () #157 0x0000000000000000 in ?? () #158 0x0000000000000000 in ?? () #159 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #160 0x0000000000000000 in ?? () #161 0x0000000000000000 in ?? () #162 0x0000000000000000 in ?? () #163 0x0000000000000000 in ?? () #164 0x0000000000000000 in ?? () #165 0x0000000000000000 in ?? () #166 0x0000000000000000 in ?? () #167 0x0000000000000000 in ?? () #168 0x0000000000000000 in ?? () #169 0x0000000000000000 in ?? () #170 0x0000000000000000 in ?? () #171 0x0000000000000000 in ?? () #172 0x0000000000000000 in ?? () #173 0x0000000000000000 in ?? () #174 0x0000000000000000 in ?? () #175 0x79702f617461642f in ?? () #176 0x2d797079702f7970 in ?? () #177 0x6c736e6172740063 in ?? () #178 0x2d0079702e657461 in ?? () #179 0x4553550074696a4f in ?? () #180 0x4c00746f6f723d52 in ?? () #181 0x723d454d414e474f in ?? () #182 0x454d4f4800746f6f in ?? () #183 0x4d00746f6f722f3d in ?? () ---Type to continue, or q to quit--- #184 0x7261762f3d4c4941 in ?? () #185 0x6f722f6c69616d2f in ?? () #186 0x3d4854415000746f in ?? () #187 0x622f3a6e6962732f in ?? () #188 0x2f7273752f3a6e69 in ?? () #189 0x73752f3a6e696273 in ?? () #190 0x752f3a6e69622f72 in ?? () #191 0x73656d61672f7273 in ?? () #192 0x6f6c2f7273752f3a in ?? () #193 0x6e6962732f6c6163 in ?? () #194 0x6f6c2f7273752f3a in ?? () #195 0x3a6e69622f6c6163 in ?? () #196 0x3131582f7273752f in ?? () #197 0x2f3a6e69622f3652 in ?? () #198 0x6e69622f746f6f72 in ?? () #199 0x74783d4d52455400 in ?? () #200 0x5f505446006d7265 in ?? () #201 0x5f45564953534150 in ?? () #202 0x5345593d45444f4d in ?? () #203 0x49534b434f4c4200 in ?? () #204 0x454853004b3d455a in ?? () #205 0x2f6e69622f3d4c4c in ?? () #206 0x5f48535300687363 in ?? () #207 0x313d544e45494c43 in ?? () ---Type to continue, or q to quit--- #208 0x32312e36312e3237 in ?? () #209 0x3334352032372e39 in ?? () #210 0x5353003232203639 in ?? () #211 0x43454e4e4f435f48 in ?? () #212 0x3237313d4e4f4954 in ?? () #213 0x2e3932312e36312e in ?? () #214 0x3639333435203237 in ?? () #215 0x2e38322e32373120 in ?? () #216 0x00323220342e3631 in ?? () #217 0x3d5954545f485353 in ?? () #218 0x7374702f7665642f in ?? () #219 0x54534f480034312f in ?? () #220 0x6572463d45505954 in ?? () #221 0x4e45560044534265 in ?? () #222 0x6e6b6e753d524f44 in ?? () #223 0x5954534f006e776f in ?? () #224 0x42656572463d4550 in ?? () #225 0x544843414d004453 in ?? () #226 0x6e6b6e753d455059 in ?? () #227 0x564c4853006e776f in ?? () #228 0x3d44575000313d4c in ?? () #229 0x79702f617461642f in ?? () #230 0x2f797079702f7970 in ?? () #231 0x74616c736e617274 in ?? () ---Type to continue, or q to quit--- #232 0x006c616f672f726f in ?? () #233 0x68773d50554f5247 in ?? () #234 0x54534f48006c6565 in ?? () #235 0x7265646c6975623d in ?? () #236 0x6c6e6f2d742e6d76 in ?? () #237 0x766972702e656e69 in ?? () #238 0x4f4d455200657461 in ?? () #239 0x313d54534f484554 in ?? () #240 0x32312e36312e3237 in ?? () #241 0x7474680032372e39 in ?? () #242 0x3d79786f72705f70 in ?? () #243 0x312f2f3a70747468 in ?? () #244 0x312e302e302e3732 in ?? () #245 0x66002f383231333a in ?? () #246 0x79786f72705f7074 in ?? () #247 0x2f2f3a707474683d in ?? () #248 0x2e302e302e373231 in ?? () #249 0x002f383231333a31 in ?? () #250 0x763d524f54494445 in ?? () #251 0x3d52454741500069 in ?? () #252 0x3d43430065726f6d in ?? () #253 0x5843003634636367 in ?? () #254 0x0036342b2b673d58 in ?? () #255 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #256 0x0000000000000000 in ?? () #257 0x0000000000000000 in ?? () #258 0x0000000000000000 in ?? () #259 0x0000000000000000 in ?? () #260 0x0000000000000000 in ?? () #261 0x0000000000000000 in ?? () #262 0x0000000000000000 in ?? () #263 0x0000000000000000 in ?? () #264 0x0000000000000000 in ?? () #265 0x0000000000000000 in ?? () #266 0x0000000000000000 in ?? () #267 0x0000000000000000 in ?? () #268 0x0000000000000000 in ?? () #269 0x0000000000000000 in ?? () #270 0x0000000000000000 in ?? () #271 0x0000000000000000 in ?? () #272 0x0000000000000000 in ?? () #273 0x0000000000000000 in ?? () #274 0x0000000000000000 in ?? () #275 0x0000000000000000 in ?? () #276 0x0000000000000000 in ?? () #277 0x0000000000000000 in ?? () #278 0x0000000000000000 in ?? () #279 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #280 0x0000000000000000 in ?? () #281 0x0000000000000000 in ?? () #282 0x0000000000000000 in ?? () #283 0x0000000000000000 in ?? () #284 0x0000000000000000 in ?? () #285 0x0000000000000000 in ?? () #286 0x0000000000000000 in ?? () #287 0x0000000000000000 in ?? () #288 0x0000000000000000 in ?? () #289 0x0000000000000000 in ?? () #290 0x0000000000000000 in ?? () #291 0x0000000000000000 in ?? () #292 0x0000000000000000 in ?? () #293 0x0000000000000000 in ?? () #294 0x0000000000000000 in ?? () #295 0x0000000000000000 in ?? () #296 0x0000000000000000 in ?? () #297 0x0000000000000000 in ?? () #298 0x0000000000000000 in ?? () #299 0x0000000000000000 in ?? () #300 0x0000000000000000 in ?? () #301 0x0000000000000000 in ?? () #302 0x0000000000000000 in ?? () #303 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #304 0x0000000000000000 in ?? () #305 0x0000000000000000 in ?? () #306 0x0000000000000000 in ?? () #307 0x0000000000000000 in ?? () #308 0x0000000000000000 in ?? () #309 0x0000000000000000 in ?? () #310 0x0000000000000000 in ?? () #311 0x0000000000000000 in ?? () #312 0x0000000000000000 in ?? () #313 0x0000000000000000 in ?? () #314 0x0000000000000000 in ?? () #315 0x0000000000000000 in ?? () #316 0x0000000000000000 in ?? () #317 0x0000000000000000 in ?? () #318 0x0000000000000000 in ?? () #319 0x0000000000000000 in ?? () #320 0x0000000000000000 in ?? () #321 0x0000000000000000 in ?? () #322 0x0000000000000000 in ?? () #323 0x0000000000000000 in ?? () #324 0x0000000000000000 in ?? () #325 0x0000000000000000 in ?? () #326 0x0000000000000000 in ?? () #327 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #328 0x0000000000000000 in ?? () #329 0x0000000000000000 in ?? () #330 0x0000000000000000 in ?? () #331 0x0000000000000000 in ?? () #332 0x0000000000000000 in ?? () #333 0x0000000000000000 in ?? () #334 0x0000000000000000 in ?? () #335 0x0000000000000000 in ?? () #336 0x0000000000000000 in ?? () #337 0x0000000000000000 in ?? () #338 0x0000000000000000 in ?? () #339 0x0000000000000000 in ?? () #340 0x0000000000000000 in ?? () #341 0x0000000000000000 in ?? () #342 0x0000000000000000 in ?? () #343 0x0000000000000000 in ?? () #344 0x0000000000000000 in ?? () #345 0x0000000000000000 in ?? () #346 0x0000000000000000 in ?? () #347 0x0000000000000000 in ?? () #348 0x0000000000000000 in ?? () #349 0x0000000000000000 in ?? () #350 0x0000000000000000 in ?? () #351 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #352 0x0000000000000000 in ?? () #353 0x0000000000000000 in ?? () #354 0x0000000000000000 in ?? () #355 0x0000000000000000 in ?? () #356 0x0000000000000000 in ?? () #357 0x0000000000000000 in ?? () #358 0x0000000000000000 in ?? () #359 0x0000000000000000 in ?? () #360 0x0000000000000000 in ?? () #361 0x0000000000000000 in ?? () #362 0x0000000000000000 in ?? () #363 0x0000000000000000 in ?? () #364 0x0000000000000000 in ?? () #365 0x0000000000000000 in ?? () #366 0x0000000000000000 in ?? () #367 0x0000000000000000 in ?? () #368 0x0000000000000000 in ?? () #369 0x0000000000000000 in ?? () #370 0x0000000000000000 in ?? () #371 0x0000000000000000 in ?? () #372 0x0000000000000000 in ?? () #373 0x0000000000000000 in ?? () #374 0x0000000000000000 in ?? () #375 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #376 0x0000000000000000 in ?? () #377 0x0000000000000000 in ?? () #378 0x0000000000000000 in ?? () #379 0x0000000000000000 in ?? () #380 0x0000000000000000 in ?? () #381 0x0000000000000000 in ?? () #382 0x0000000000000000 in ?? () #383 0x0000000000000000 in ?? () #384 0x0000000000000000 in ?? () #385 0x0000000000000000 in ?? () #386 0x0000000000000000 in ?? () #387 0x0000000000000000 in ?? () #388 0x0000000000000000 in ?? () #389 0x0000000000000000 in ?? () #390 0x0000000000000000 in ?? () #391 0x0000000000000000 in ?? () #392 0x0000000000000000 in ?? () #393 0x0000000000000000 in ?? () #394 0x0000000000000000 in ?? () #395 0x0000000000000000 in ?? () #396 0x0000000000000000 in ?? () #397 0x0000000000000000 in ?? () #398 0x0000000000000000 in ?? () #399 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #400 0x0000000000000000 in ?? () #401 0x0000000000000000 in ?? () #402 0x0000000000000000 in ?? () #403 0x0000000000000000 in ?? () #404 0x0000000000000000 in ?? () #405 0x0000000000000000 in ?? () #406 0x0000000000000000 in ?? () #407 0x0000000000000000 in ?? () #408 0x0000000000000000 in ?? () #409 0x0000000000000000 in ?? () #410 0x0000000000000000 in ?? () #411 0x0000000000000000 in ?? () #412 0x0000000000000000 in ?? () #413 0x0000000000000000 in ?? () #414 0x0000000000000000 in ?? () #415 0x0000000000000000 in ?? () #416 0x0000000000000000 in ?? () #417 0x0000000000000000 in ?? () #418 0x0000000000000000 in ?? () #419 0x0000000000000000 in ?? () #420 0x0000000000000000 in ?? () #421 0x0000000000000000 in ?? () #422 0x0000000000000000 in ?? () #423 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #424 0x0000000000000000 in ?? () #425 0x0000000000000000 in ?? () #426 0x0000000000000000 in ?? () #427 0x0000000000000000 in ?? () #428 0x0000000000000000 in ?? () #429 0x0000000000000000 in ?? () #430 0x0000000000000000 in ?? () #431 0x0000000000000000 in ?? () #432 0x0000000000000000 in ?? () #433 0x0000000000000000 in ?? () #434 0x0000000000000000 in ?? () #435 0x0000000000000000 in ?? () #436 0x0000000000000000 in ?? () #437 0x0000000000000000 in ?? () #438 0x0000000000000000 in ?? () #439 0x0000000000000000 in ?? () #440 0x0000000000000000 in ?? () #441 0x0000000000000000 in ?? () #442 0x0000000000000000 in ?? () #443 0x0000000000000000 in ?? () #444 0x0000000000000000 in ?? () #445 0x0000000000000000 in ?? () #446 0x0000000000000000 in ?? () #447 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #448 0x0000000000000000 in ?? () #449 0x0000000000000000 in ?? () #450 0x0000000000000000 in ?? () #451 0x0000000000000000 in ?? () #452 0x0000000000000000 in ?? () #453 0x0000000000000000 in ?? () #454 0x0000000000000000 in ?? () #455 0x0000000000000000 in ?? () #456 0x0000000000000000 in ?? () #457 0x0000000000000000 in ?? () #458 0x0000000000000000 in ?? () #459 0x0000000000000000 in ?? () #460 0x0000000000000000 in ?? () #461 0x0000000000000000 in ?? () #462 0x0000000000000000 in ?? () #463 0x0000000000000000 in ?? () #464 0x0000000000000000 in ?? () #465 0x0000000000000000 in ?? () #466 0x0000000000000000 in ?? () #467 0x0000000000000000 in ?? () #468 0x0000000000000000 in ?? () #469 0x0000000000000000 in ?? () #470 0x0000000000000000 in ?? () #471 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #472 0x0000000000000000 in ?? () #473 0x0000000000000000 in ?? () #474 0x0000000000000000 in ?? () #475 0x0000000000000000 in ?? () #476 0x0000000000000000 in ?? () #477 0x0000000000000000 in ?? () #478 0x0000000000000000 in ?? () #479 0x0000000000000000 in ?? () #480 0x0000000000000000 in ?? () #481 0x0000000000000000 in ?? () #482 0x0000000000000000 in ?? () #483 0x0000000000000000 in ?? () #484 0x0000000000000000 in ?? () #485 0x0000000000000000 in ?? () #486 0x0000000000000000 in ?? () #487 0x0000000000000000 in ?? () #488 0x0000000000000000 in ?? () #489 0x0000000000000000 in ?? () #490 0x0000000000000000 in ?? () #491 0x0000000000000000 in ?? () #492 0x0000000000000000 in ?? () #493 0x0000000000000000 in ?? () #494 0x0000000000000000 in ?? () #495 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #496 0x0000000000000000 in ?? () #497 0x0000000000000000 in ?? () #498 0x0000000000000000 in ?? () #499 0x0000000000000000 in ?? () #500 0x0000000000000000 in ?? () #501 0x0000000000000000 in ?? () #502 0x0000000000000000 in ?? () #503 0x0000000000000000 in ?? () #504 0x0000000000000000 in ?? () #505 0x0000000000000000 in ?? () #506 0x0000000000000000 in ?? () #507 0x0000000000000000 in ?? () #508 0x0000000000000000 in ?? () #509 0x0000000000000000 in ?? () #510 0x0000000000000000 in ?? () #511 0x0000000000000000 in ?? () #512 0x0000000000000000 in ?? () #513 0x0000000000000000 in ?? () #514 0x0000000000000000 in ?? () #515 0x0000000000000000 in ?? () #516 0x0000000000000000 in ?? () #517 0x0000000000000000 in ?? () #518 0x0000000000000000 in ?? () #519 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #520 0x0000000000000000 in ?? () #521 0x0000000000000000 in ?? () #522 0x0000000000000000 in ?? () #523 0x0000000000000000 in ?? () #524 0x0000000000000000 in ?? () #525 0x0000000000000000 in ?? () #526 0x0000000000000000 in ?? () #527 0x0000000000000000 in ?? () #528 0x0000000000000000 in ?? () #529 0x0000000000000000 in ?? () #530 0x0000000000000000 in ?? () #531 0x0000000000000000 in ?? () #532 0x0000000000000000 in ?? () #533 0x0000000000000000 in ?? () #534 0x0000000000000000 in ?? () #535 0x0000000000000000 in ?? () #536 0x0000000000000000 in ?? () #537 0x0000000000000000 in ?? () #538 0x0000000000000000 in ?? () #539 0x0000000000000000 in ?? () #540 0x0000000000000000 in ?? () #541 0x0000000000000000 in ?? () #542 0x0000000000000000 in ?? () #543 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #544 0x0000000000000000 in ?? () #545 0x0000000000000000 in ?? () #546 0x0000000000000000 in ?? () #547 0x0000000000000000 in ?? () #548 0x0000000000000000 in ?? () #549 0x0000000000000000 in ?? () #550 0x0000000000000000 in ?? () #551 0x0000000000000000 in ?? () #552 0x0000000000000000 in ?? () #553 0x0000000000000000 in ?? () #554 0x0000000000000000 in ?? () #555 0x0000000000000000 in ?? () #556 0x0000000000000000 in ?? () #557 0x0000000000000000 in ?? () #558 0x0000000000000000 in ?? () #559 0x0000000000000000 in ?? () #560 0x0000000000000000 in ?? () #561 0x0000000000000000 in ?? () #562 0x0000000000000000 in ?? () #563 0x0000000000000000 in ?? () #564 0x0000000000000000 in ?? () #565 0x0000000000000000 in ?? () #566 0x0000000000000000 in ?? () #567 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #568 0x0000000000000000 in ?? () #569 0x0000000000000000 in ?? () #570 0x0000000000000000 in ?? () #571 0x0000000000000000 in ?? () #572 0x0000000000000000 in ?? () #573 0x0000000000000000 in ?? () #574 0x0000000000000000 in ?? () #575 0x0000000000000000 in ?? () #576 0x0000000000000000 in ?? () #577 0x0000000000000000 in ?? () #578 0x0000000000000000 in ?? () #579 0x0000000000000000 in ?? () #580 0x0000000000000000 in ?? () #581 0x0000000000000000 in ?? () #582 0x0000000000000000 in ?? () #583 0x0000000000000000 in ?? () #584 0x0000000000000000 in ?? () #585 0x0000000000000000 in ?? () #586 0x0000000000000000 in ?? () #587 0x0000000000000000 in ?? () #588 0x0000000000000000 in ?? () #589 0x0000000000000000 in ?? () #590 0x0000000000000000 in ?? () #591 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #592 0x0000000000000000 in ?? () #593 0x0000000000000000 in ?? () #594 0x0000000000000000 in ?? () #595 0x0000000000000000 in ?? () #596 0x0000000000000000 in ?? () #597 0x0000000000000000 in ?? () #598 0x0000000000000000 in ?? () #599 0x0000000000000000 in ?? () #600 0x0000000000000000 in ?? () #601 0x0000000000000000 in ?? () #602 0x0000000000000000 in ?? () #603 0x0000000000000000 in ?? () #604 0x0000000000000000 in ?? () #605 0x0000000000000000 in ?? () #606 0x0000000000000000 in ?? () #607 0x0000000000000000 in ?? () #608 0x0000000000000000 in ?? () #609 0x0000000000000000 in ?? () #610 0x0000000000000000 in ?? () #611 0x0000000000000000 in ?? () #612 0x0000000000000000 in ?? () #613 0x0000000000000000 in ?? () #614 0x0000000000000000 in ?? () #615 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #616 0x0000000000000000 in ?? () #617 0x0000000000000000 in ?? () #618 0x0000000000000000 in ?? () #619 0x0000000000000000 in ?? () #620 0x0000000000000000 in ?? () #621 0x0000000000000000 in ?? () #622 0x0000000000000000 in ?? () #623 0x0000000000000000 in ?? () #624 0x0000000000000000 in ?? () #625 0x0000000000000000 in ?? () #626 0x0000000000000000 in ?? () #627 0x0000000000000000 in ?? () #628 0x0000000000000000 in ?? () #629 0x0000000000000000 in ?? () #630 0x0000000000000000 in ?? () #631 0x0000000000000000 in ?? () #632 0x0000000000000000 in ?? () #633 0x0000000000000000 in ?? () #634 0x0000000000000000 in ?? () #635 0x0000000000000000 in ?? () #636 0x0000000000000000 in ?? () #637 0x0000000000000000 in ?? () #638 0x0000000000000000 in ?? () #639 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #640 0x0000000000000000 in ?? () #641 0x0000000000000000 in ?? () #642 0x0000000000000000 in ?? () #643 0x0000000000000000 in ?? () #644 0x0000000000000000 in ?? () #645 0x0000000000000000 in ?? () #646 0x0000000000000000 in ?? () #647 0x0000000000000000 in ?? () #648 0x0000000000000000 in ?? () #649 0x0000000000000000 in ?? () #650 0x0000000000000000 in ?? () #651 0x0000000000000000 in ?? () #652 0x0000000000000000 in ?? () #653 0x0000000000000000 in ?? () #654 0x0000000000000000 in ?? () #655 0x0000000000000000 in ?? () #656 0x0000000000000000 in ?? () #657 0x0000000000000000 in ?? () #658 0x0000000000000000 in ?? () #659 0x0000000000000000 in ?? () #660 0x0000000000000000 in ?? () #661 0x0000000000000000 in ?? () #662 0x0000000000000000 in ?? () #663 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #664 0x0000000000000000 in ?? () #665 0x0000000000000000 in ?? () #666 0x0000000000000000 in ?? () #667 0x0000000000000000 in ?? () #668 0x0000000000000000 in ?? () #669 0x0000000000000000 in ?? () #670 0x0000000000000000 in ?? () #671 0x0000000000000000 in ?? () #672 0x0000000000000000 in ?? () #673 0x0000000000000000 in ?? () #674 0x0000000000000000 in ?? () #675 0x0000000000000000 in ?? () #676 0x0000000000000000 in ?? () #677 0x0000000000000000 in ?? () #678 0x0000000000000000 in ?? () #679 0x0000000000000000 in ?? () #680 0x0000000000000000 in ?? () #681 0x0000000000000000 in ?? () #682 0x0000000000000000 in ?? () #683 0x0000000000000000 in ?? () #684 0x0000000000000000 in ?? () #685 0x0000000000000000 in ?? () #686 0x0000000000000000 in ?? () #687 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #688 0x0000000000000000 in ?? () #689 0x0000000000000000 in ?? () #690 0x0000000000000000 in ?? () #691 0x0000000000000000 in ?? () #692 0x0000000000000000 in ?? () #693 0x0000000000000000 in ?? () #694 0x0000000000000000 in ?? () #695 0x0000000000000000 in ?? () #696 0x0000000000000000 in ?? () #697 0x0000000000000000 in ?? () #698 0x0000000000000000 in ?? () #699 0x0000000000000000 in ?? () #700 0x0000000000000000 in ?? () #701 0x0000000000000000 in ?? () #702 0x0000000000000000 in ?? () #703 0x0000000000000000 in ?? () #704 0x0000000000000000 in ?? () #705 0x0000000000000000 in ?? () #706 0x0000000000000000 in ?? () #707 0x0000000000000000 in ?? () #708 0x0000000000000000 in ?? () #709 0x0000000000000000 in ?? () #710 0x0000000000000000 in ?? () #711 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #712 0x0000000000000000 in ?? () #713 0x0000000000000000 in ?? () #714 0x0000000000000000 in ?? () #715 0x0000000000000000 in ?? () #716 0x0000000000000000 in ?? () #717 0x0000000000000000 in ?? () #718 0x0000000000000000 in ?? () #719 0x0000000000000000 in ?? () #720 0x0000000000000000 in ?? () #721 0x0000000000000000 in ?? () #722 0x0000000000000000 in ?? () #723 0x0000000000000000 in ?? () #724 0x0000000000000000 in ?? () #725 0x0000000000000000 in ?? () #726 0x0000000000000000 in ?? () #727 0x0000000000000000 in ?? () #728 0x0000000000000000 in ?? () #729 0x0000000000000000 in ?? () #730 0x0000000000000000 in ?? () #731 0x0000000000000000 in ?? () #732 0x0000000000000000 in ?? () #733 0x0000000000000000 in ?? () #734 0x0000000000000000 in ?? () #735 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #736 0x0000000000000000 in ?? () #737 0x0000000000000000 in ?? () #738 0x0000000000000000 in ?? () #739 0x0000000000000000 in ?? () #740 0x0000000000000000 in ?? () #741 0x0000000000000000 in ?? () #742 0x0000000000000000 in ?? () #743 0x0000000000000000 in ?? () #744 0x0000000000000000 in ?? () #745 0x0000000000000000 in ?? () #746 0x0000000000000000 in ?? () #747 0x0000000000000000 in ?? () #748 0x0000000000000000 in ?? () #749 0x0000000000000000 in ?? () #750 0x0000000000000000 in ?? () #751 0x0000000000000000 in ?? () #752 0x0000000000000000 in ?? () #753 0x0000000000000000 in ?? () #754 0x0000000000000000 in ?? () #755 0x0000000000000000 in ?? () #756 0x0000000000000000 in ?? () #757 0x0000000000000000 in ?? () #758 0x0000000000000000 in ?? () #759 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #760 0x0000000000000000 in ?? () #761 0x0000000000000000 in ?? () #762 0x0000000000000000 in ?? () #763 0x0000000000000000 in ?? () #764 0x0000000000000000 in ?? () #765 0x0000000000000000 in ?? () #766 0x0000000000000000 in ?? () #767 0x642f000000000000 in ?? () #768 0x797079702f617461 in ?? () #769 0x00632d797079702f in ?? () #770 0x247c8d48002454ff in ?? () #771 0x01a1c0c748006a10 in ?? () #772 0x66fdebf4050f0000 in ?? () #773 0x9066669066669066 in ?? () #774 0x00007fffffffea98 in ?? () #775 0x0000000000000003 in ?? () #776 0x00007fffffffeab8 in ?? () #777 0x000000000000001b in ?? () Cannot access memory at address 0x800000000000 (gdb) ---8<--- ---------- messages: 2642 nosy: pypy-issue priority: critical release: 1.5 status: unread title: pypy trunk fails to build/run on FreeBSD ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 15:41:30 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Fri, 17 Jun 2011 13:41:30 +0000 Subject: [pypy-issue] [issue755] pypy trunk fails to build/run on FreeBSD In-Reply-To: <1308314379.97.0.0230222296775.issue755@bugs.pypy.org> Message-ID: <1308318090.97.0.498685546105.issue755@bugs.pypy.org> Armin Rigo added the comment: 1. I think that we're slowly going to deprecate --gcrootfinder=asmgcc, because it's giving more and more of errors like the one you report, just because it's a slightly different compiler or compiler options than the ones we are using. 2. the --gcrootfinder=shadowstack should however work. That it crashes immediately in MiniMarkGC_deal_with_objects_with_finalizers is strange. I fear that we cannot debug this remotely. We would need access to a FreeBSD machine... or reproduce the crash on Linux, if possible. ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 16:19:46 2011 From: tracker at bugs.pypy.org (Attila Nagy) Date: Fri, 17 Jun 2011 14:19:46 +0000 Subject: [pypy-issue] [issue755] pypy trunk fails to build/run on FreeBSD In-Reply-To: <1308314379.97.0.0230222296775.issue755@bugs.pypy.org> Message-ID: <1308320386.94.0.715951246896.issue755@bugs.pypy.org> Attila Nagy added the comment: If you have time to debug this, I will gladly provide access to a machine. Could you please send me an ssh pubkey in e-mail? Thanks, ---------- nosy: +bra ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 20:22:24 2011 From: tracker at bugs.pypy.org (Thomas Heller) Date: Fri, 17 Jun 2011 18:22:24 +0000 Subject: [pypy-issue] [issue743] Patch: comtypes works with these changes In-Reply-To: <1307630646.08.0.209251613631.issue743@bugs.pypy.org> Message-ID: <1308334944.66.0.130081869828.issue743@bugs.pypy.org> Thomas Heller added the comment: Another patch (pypy-comtypes.patch) against current tip revision. This makes large parts (but not all) of comtypes work. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 17 20:24:44 2011 From: tracker at bugs.pypy.org (Thomas Heller) Date: Fri, 17 Jun 2011 18:24:44 +0000 Subject: [pypy-issue] [issue743] Patch: comtypes works with these changes In-Reply-To: <1307630646.08.0.209251613631.issue743@bugs.pypy.org> Message-ID: <1308335084.19.0.556329111718.issue743@bugs.pypy.org> Thomas Heller added the comment: Here is a unittest (test_commethods.py) that tests basic functionality of ctypes' commethod calls. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 19 14:29:06 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 19 Jun 2011 12:29:06 +0000 Subject: [pypy-issue] [issue756] _ffi out-of-bound integer In-Reply-To: <1308486546.04.0.248507094962.issue756@bugs.pypy.org> Message-ID: <1308486546.04.0.248507094962.issue756@bugs.pypy.org> New submission from Armin Rigo : You can call a ctypes function with an out-of-bound integer (e.g. passing sys.maxint+1 to a function whose argtypes say c_int). But with _ffi you get an OverflowError. ---------- messages: 2647 nosy: arigo, pypy-issue priority: bug status: unread title: _ffi out-of-bound integer ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 19 16:45:06 2011 From: tracker at bugs.pypy.org (Friedel Wolff) Date: Sun, 19 Jun 2011 14:45:06 +0000 Subject: [pypy-issue] [issue757] unicode.isspace() incorrect In-Reply-To: <1308494706.45.0.0564979731036.issue757@bugs.pypy.org> Message-ID: <1308494706.45.0.0564979731036.issue757@bugs.pypy.org> New submission from Friedel Wolff : There is a difference in behaviour between cpython (I have 2.6.1 here) and pypy1.5 in the implementation of unicode.isspace(). It can be seen like this: python -c 'print u"\u200b".isspace()' True pypy -c 'print u"\u200b".isspace()' False The character in involved is ZWSP (zero width space) which isn't indicated as a space character in my reading of Unicode, so this could be a bug in cpython - I'm just not sure if they meant .isspace() to map to these Unicode properties. ---------- messages: 2648 nosy: fwolff, pypy-issue priority: bug status: unread title: unicode.isspace() incorrect ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 19 16:55:32 2011 From: tracker at bugs.pypy.org (Friedel Wolff) Date: Sun, 19 Jun 2011 14:55:32 +0000 Subject: [pypy-issue] [issue757] unicode.isspace() incorrect In-Reply-To: <1308494706.45.0.0564979731036.issue757@bugs.pypy.org> Message-ID: <1308495332.81.0.365964661945.issue757@bugs.pypy.org> Friedel Wolff added the comment: Here is another difference that could be related, and I'm reasonably sure it is a bug: python -c 'print u"a\u200bb".split()' [u'a', u'b'] pypy -c 'print u"a\u200bb".split()' [u'a\u200bb'] \u200b is used in some languages to separate words for the sake of line wrapping or other word based processing, but without actually inserting a visual space in rendering. ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 19 17:00:31 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Sun, 19 Jun 2011 15:00:31 +0000 Subject: [pypy-issue] [issue757] unicode.isspace() incorrect In-Reply-To: <1308494706.45.0.0564979731036.issue757@bugs.pypy.org> Message-ID: <1308495631.92.0.829809275923.issue757@bugs.pypy.org> Amaury Forgeot d Arc added the comment: No, it's a difference between the unicode databases used by the different versions of Python: python 2.6 uses 5.1.0, python 2.7 (and pypy1.5) uses 5.2.0: c:\python26\python.exe -c "print u'a\u200bb'.split()" [u'a', u'b'] c:\python27\python.exe -c "print u'a\u200bb'.split()" [u'a\u200bb'] ---------- nosy: +afa ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 19 17:29:46 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 19 Jun 2011 15:29:46 +0000 Subject: [pypy-issue] [issue757] unicode.isspace() incorrect In-Reply-To: <1308494706.45.0.0564979731036.issue757@bugs.pypy.org> Message-ID: <1308497386.7.0.769003530142.issue757@bugs.pypy.org> Armin Rigo added the comment: Moreover, python2.7 -c 'print u"\u200b".isspace()' prints False, like PyPy. So it seems that PyPy is doing the right thing here. ---------- nosy: +arigo status: chatting -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 21 13:58:09 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Tue, 21 Jun 2011 11:58:09 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> New submission from Dan Villiom Podlaski Christiansen : I just pulled a0cda5b61ae5 and built PyPy on Mac OS X using ??python2.7 ./translate.py --batch -Ojit --gcrootfinder=shadowstack??. The resulting binary fails to run: $ ./pypy-c RPython traceback: File "implement_29.c", line 53419, in maybe_compile_and_run__star_5_1 File "implement_32.c", line 29718, in compile_and_run_once___pypy_jit_metainterp_jitdr_1 File "implement_32.c", line 46576, in Assembler386_setup_once File "implement_36.c", line 37296, in Assembler386__build_failure_recovery File "implement_39.c", line 44376, in Assembler386__call_footer Fatal RPython error: AssertionError I've attached the block in the generated C code that fails. ---------- files: failing-block.c messages: 2652 nosy: danchr, pypy-issue priority: bug status: unread title: Shadowstack root finder broken on Mac OS X ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 21 18:26:40 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Tue, 21 Jun 2011 16:26:40 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1308673600.75.0.065170166224.issue758@bugs.pypy.org> Armin Rigo added the comment: The attached block is from maybe_compile_and_run(), i.e. where the AssertionError was caught, not from where it was raised. This seems to be Assembler386._call_footer(), but as there is no assert there, I expect it to be from some function that was inlined in it. I strongly suspect it's the assert in Assembler386._call_footer_shadowstack(). (Are you building a 64-bit version? If not, then I'm wrong.) To check if this is the error, you can try to add anywhere in the C sources (for example in pypy/translator/c/src/main.h, pypy_main_function): void* p = &pypy_g_pypy_rpython_memory_gctypelayout_GCData.gcd_inst_root_stack_top; assert((void*)(int)p == p); If this assert fails, then I know what's wrong. :-) ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 21 19:14:04 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Tue, 21 Jun 2011 17:14:04 +0000 Subject: [pypy-issue] [issue754] ImportError expected but KeyError given instead on import fail. In-Reply-To: <1308188495.68.0.949527285764.issue754@bugs.pypy.org> Message-ID: <1308676444.54.0.759351494711.issue754@bugs.pypy.org> Armin Rigo added the comment: Should be fixed by 996958fbec67. ---------- nosy: +arigo status: unread -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 21 21:25:00 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Tue, 21 Jun 2011 19:25:00 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1308684300.47.0.824036072777.issue758@bugs.pypy.org> Dan Villiom Podlaski Christiansen added the comment: Yes, it's a 64-bit build. I'll try your suggestion tomorrow! ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 22 05:44:02 2011 From: tracker at bugs.pypy.org (Kenneth Reitz) Date: Wed, 22 Jun 2011 03:44:02 +0000 Subject: [pypy-issue] [issue759] Support for PYTHONDONTWRITEBYTECODE In-Reply-To: <1308714242.93.0.904795431305.issue759@bugs.pypy.org> Message-ID: <1308714242.93.0.904795431305.issue759@bugs.pypy.org> New submission from Kenneth Reitz : cPython 2.6+ supports an environment variable "PYTHONDONTWRITEBYTECODE". When this is set, it won't write *.pyc files to disk. PyPy v1.5 doesn't support this. More info: http://docs.python.org/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE ---------- messages: 2656 nosy: kennethreitz, pypy-issue priority: bug status: unread title: Support for PYTHONDONTWRITEBYTECODE ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 22 09:55:42 2011 From: tracker at bugs.pypy.org (Fijal) Date: Wed, 22 Jun 2011 07:55:42 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1308729342.25.0.683000273648.issue729@bugs.pypy.org> Fijal added the comment: Can this be closed? ---------- nosy: +fijal ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 22 17:20:41 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Wed, 22 Jun 2011 15:20:41 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1308756041.51.0.159954539851.issue758@bugs.pypy.org> Dan Villiom Podlaski Christiansen added the comment: Okay, I inserted the line in testing_1.c, just below: pypy_g_frameworkgc_setup(); And got: $ ./pypy-c Assertion failed: ((void*)(int)p == p), function RPython_StartupCode, file testing_1.c, line 188. I'm guessing this means that shadowstack isn't 64-bit safe? ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 24 23:30:04 2011 From: tracker at bugs.pypy.org (lvh) Date: Fri, 24 Jun 2011 21:30:04 +0000 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> Message-ID: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> New submission from lvh <_ at lvh.cc>: Pypy is to succeptible to being talked sternly to. If I politely (in lowercase), tell it to explode, it will correctly raise BytecodeCorruption: import new new.function(new.code(0, 5, 8, 0, "kaboom", (), (),(), "", "", 0, ""), {})() However, if I start to yell instead, it segfaults: new.function(new.code(0, 5, 8, 0, "KABOOM", (), (),(), "", "", 0, ""), {})() In all seriousness, this is because the ordinals in "kaboom" are too high, and those bytecode ops don't actually exist. "KABOOM" produces entirely valid (although nonsensical) bytecode, though. Here's the dis.dis output: >>> dis.dis(f) 0 0 INPLACE_LSHIFT 1 BINARY_XOR 2 BINARY_OR 3 INPLACE_OR 4 INPLACE_OR 5 INPLACE_AND The theory is that it is trying to apply the operation to things that should be on its stack, but there is emphatically nothing there. Explosions ensue. ---------- messages: 2659 nosy: lac, lvh, pypy-issue priority: bug status: chatting title: Malicious code object segfaults ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 24 23:33:09 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Fri, 24 Jun 2011 21:33:09 +0000 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> Message-ID: <1308951189.38.0.273398497519.issue760@bugs.pypy.org> Alex Gaynor added the comment: CPython segfaults on both for me, what behavior would we like? ---------- nosy: +agaynor ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Fri Jun 24 23:38:41 2011 From: tracker at bugs.pypy.org (Ronny Pfannschmidt) Date: Fri, 24 Jun 2011 21:38:41 +0000 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> Message-ID: <1308951521.41.0.670346294677.issue760@bugs.pypy.org> Ronny Pfannschmidt added the comment: pypy does : def popvalue(self): depth = self.valuestackdepth - 1 > assert depth >= 0, "pop from empty value stack" E AssertionError: pop from empty value stack so its probably a translator bug ---------- nosy: +ronny ________________________________________ PyPy bug tracker ________________________________________ From benjamin at python.org Fri Jun 24 23:41:56 2011 From: benjamin at python.org (Benjamin Peterson) Date: Fri, 24 Jun 2011 16:41:56 -0500 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951521.41.0.670346294677.issue760@bugs.pypy.org> References: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> <1308951521.41.0.670346294677.issue760@bugs.pypy.org> Message-ID: 2011/6/24 Ronny Pfannschmidt : > > Ronny Pfannschmidt added the comment: > > pypy does : > > ? ?def popvalue(self): > ? ? ? ?depth = self.valuestackdepth - 1 >> ? ? ? assert depth >= 0, "pop from empty value stack" > E ? ? ? AssertionError: pop from empty value stack > > so its probably a translator bug Why would that be a translator bug? -- Regards, Benjamin From tracker at bugs.pypy.org Fri Jun 24 23:44:21 2011 From: tracker at bugs.pypy.org (Ronny Pfannschmidt) Date: Fri, 24 Jun 2011 21:44:21 +0000 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> Message-ID: <1308951861.88.0.0656920902873.issue760@bugs.pypy.org> Ronny Pfannschmidt added the comment: the interpreter does a assertionerror, the translated interpreter does a segfault seems fishy ________________________________________ PyPy bug tracker ________________________________________ From benjamin at python.org Fri Jun 24 23:45:28 2011 From: benjamin at python.org (Benjamin Peterson) Date: Fri, 24 Jun 2011 16:45:28 -0500 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951861.88.0.0656920902873.issue760@bugs.pypy.org> References: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> <1308951861.88.0.0656920902873.issue760@bugs.pypy.org> Message-ID: 2011/6/24 Ronny Pfannschmidt : > > Ronny Pfannschmidt added the comment: > > the interpreter does a assertionerror, the translated interpreter does a segfault Well, assertions are removed. -- Regards, Benjamin From tracker at bugs.pypy.org Sat Jun 25 09:58:27 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sat, 25 Jun 2011 07:58:27 +0000 Subject: [pypy-issue] [issue760] Malicious code object segfaults In-Reply-To: <1308951004.79.0.050366847121.issue760@bugs.pypy.org> Message-ID: <1308988707.86.0.910777142338.issue760@bugs.pypy.org> Armin Rigo added the comment: That's not a bug. We're compatible with CPython even down to the segfault :-) ---------- nosy: +arigo status: chatting -> wontfix ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 10:01:19 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sat, 25 Jun 2011 08:01:19 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1308988879.84.0.87215077039.issue758@bugs.pypy.org> Armin Rigo added the comment: Not quite; it means that we found out a 64-bit platform on which the static data of a program is not within the first 31 bits. (I don't see why it wouldn't be, but it isn't, so we need to work around...) ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 15:21:32 2011 From: tracker at bugs.pypy.org (Nicola Larosa) Date: Sat, 25 Jun 2011 13:21:32 +0000 Subject: [pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package In-Reply-To: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> Message-ID: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> New submission from Nicola Larosa : Here's the output of trying to build the Storm 1.8 package under PyPy 1.5. Luckily the C extension is optional and building it is easily skipped by editing the setup.py file, but this could still be interesting. user at host:~/src/Database/storm-0.18$ PYTHON=~/pypy-1.5/bin/pypy make build ~/pypy-1.5/bin/pypy setup.py build_ext -i ~/pypy-1.5/lib-python/modified-2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) ~/pypy-1.5/lib-python/modified-2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) running build_ext building 'storm.cextensions' extension creating build creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/storm cc -fPIC -Wimplicit -I~/pypy-1.5/include -c storm/cextensions.c -o build/temp.linux-i686-2.7/storm/cextensions.o storm/cextensions.c: In function ?EventSystem_hook?: storm/cextensions.c:307:5: warning: implicit declaration of function ?PyTuple_GetSlice? storm/cextensions.c:307:10: warning: assignment makes pointer from integer without a cast storm/cextensions.c:319:17: warning: implicit declaration of function ?PySet_New? storm/cextensions.c:319:27: warning: assignment makes pointer from integer without a cast storm/cextensions.c:335:21: warning: implicit declaration of function ?PySet_Add? storm/cextensions.c: In function ?EventSystem_unhook?: storm/cextensions.c:363:10: warning: assignment makes pointer from integer without a cast storm/cextensions.c:378:17: warning: implicit declaration of function ?PySet_Discard? storm/cextensions.c: In function ?EventSystem_emit?: storm/cextensions.c:439:10: warning: assignment makes pointer from integer without a cast storm/cextensions.c:442:9: warning: implicit declaration of function ?PyWeakref_GET_OBJECT? storm/cextensions.c:442:27: warning: initialization makes pointer from integer without a cast storm/cextensions.c:449:13: warning: implicit declaration of function ?PySet_GET_SIZE? storm/cextensions.c: In function ?Compile_single?: storm/cextensions.c:1556:9: warning: implicit declaration of function ?PyUnicode_Format? storm/cextensions.c:1556:13: warning: assignment makes pointer from integer without a cast storm/cextensions.c: In function ?Compile_one_or_many?: storm/cextensions.c:1682:9: warning: implicit declaration of function ?PyUnicode_Join? storm/cextensions.c:1682:9: warning: assignment makes pointer from integer without a cast storm/cextensions.c: In function ?ObjectInfo_get_obj?: storm/cextensions.c:1932:21: warning: initialization makes pointer from integer without a cast cc -shared build/temp.linux-i686-2.7/storm/cextensions.o -o ~/src/Database/storm-0.18/storm/cextensions.pypy-15.so ---------- messages: 2667 nosy: pypy-issue, tekNico priority: bug release: 1.5 status: unread title: Cannot build an optional C extension in the Storm 1.8 package ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 15:55:23 2011 From: tracker at bugs.pypy.org (Nicola Larosa) Date: Sat, 25 Jun 2011 13:55:23 +0000 Subject: [pypy-issue] [issue762] Error trying to build a C extension in the zope.proxy 3.6.1 package In-Reply-To: <1309010123.83.0.488090929289.issue762@bugs.pypy.org> Message-ID: <1309010123.83.0.488090929289.issue762@bugs.pypy.org> New submission from Nicola Larosa : Here's the output of trying to build the zope.proxy 3.6.1 package under PyPy 1.5. Unfortunately the C extension is mandatory, so this error effectively prevents this package from building. user at host:~/zope.proxy-3.6.1$ PYTHONPATH=. ~/pypy-1.5/bin/pypy setup.py build running build running build_py ... cc -fPIC -Wimplicit -I~/pypy-1.5/include -c src/zope/proxy/_zope_proxy_proxy.c -o build/temp.linux-i686-2.7/src/zope/proxy/_zope_proxy_proxy.o src/zope/proxy/_zope_proxy_proxy.c: In function ?WrapperType_Lookup?: src/zope/proxy/_zope_proxy_proxy.c:177:47: error: ?PyClassObject? has no member named ?cl_dict? src/zope/proxy/_zope_proxy_proxy.c: In function ?wrap_coerce?: src/zope/proxy/_zope_proxy_proxy.c:561:5: warning: implicit declaration of function ?PyNumber_CoerceEx? src/zope/proxy/_zope_proxy_proxy.c: In function ?wrap_slice?: src/zope/proxy/_zope_proxy_proxy.c:634:9: warning: implicit declaration of function ?PyList_GetSlice? src/zope/proxy/_zope_proxy_proxy.c:634:9: warning: return makes pointer from integer without a cast src/zope/proxy/_zope_proxy_proxy.c:637:9: warning: implicit declaration of function ?PyTuple_GetSlice? src/zope/proxy/_zope_proxy_proxy.c:637:9: warning: return makes pointer from integer without a cast error: command 'cc' failed with exit status 1 ---------- messages: 2668 nosy: pypy-issue, tekNico priority: bug release: 1.5 status: unread title: Error trying to build a C extension in the zope.proxy 3.6.1 package ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 15:59:16 2011 From: tracker at bugs.pypy.org (Ronny Pfannschmidt) Date: Sat, 25 Jun 2011 13:59:16 +0000 Subject: [pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package In-Reply-To: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> Message-ID: <1309010356.08.0.615140883425.issue761@bugs.pypy.org> Ronny Pfannschmidt added the comment: some of those are fixed on trunk, i'll see to fix some more on this sprint ---------- nosy: +ronny status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 16:04:30 2011 From: tracker at bugs.pypy.org (Antonio Cuni) Date: Sat, 25 Jun 2011 14:04:30 +0000 Subject: [pypy-issue] [issue762] Error trying to build a C extension in the zope.proxy 3.6.1 package In-Reply-To: <1309010123.83.0.488090929289.issue762@bugs.pypy.org> Message-ID: <1309010670.97.0.313847030295.issue762@bugs.pypy.org> Antonio Cuni added the comment: some of those are missing functions from cpyext, but the following looks like a "bug" in zope: ?PyClassObject? has no member named ?cl_dict? it cannot directly access the field in the structure, but it should use the corresponding C API ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 16:07:22 2011 From: tracker at bugs.pypy.org (Ronny Pfannschmidt) Date: Sat, 25 Jun 2011 14:07:22 +0000 Subject: [pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package In-Reply-To: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> Message-ID: <1309010842.42.0.254860440043.issue761@bugs.pypy.org> Ronny Pfannschmidt added the comment: ?PyTuple_GetSlice? - fixed on default missing: ?PySet_New? ?PySet_Add? ?PySet_Discard? ?PySet_GET_SIZE? ?PyWeakref_GET_OBJECT? ?PyUnicode_Format? ?PyUnicode_Join? ---------- assignedto: -> ronny ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 16:57:51 2011 From: tracker at bugs.pypy.org (Francisco) Date: Sat, 25 Jun 2011 14:57:51 +0000 Subject: [pypy-issue] [issue716] Crashes with md5.hexdigest In-Reply-To: <1304768621.71.0.0122636956595.issue716@> Message-ID: <1309013871.99.0.204359885351.issue716@bugs.pypy.org> Francisco added the comment: Works fine for me on Mac OS X ---------- nosy: +fgarciar ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 18:31:46 2011 From: tracker at bugs.pypy.org (Ronny Pfannschmidt) Date: Sat, 25 Jun 2011 16:31:46 +0000 Subject: [pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package In-Reply-To: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> Message-ID: <1309019506.87.0.89266615008.issue761@bugs.pypy.org> Ronny Pfannschmidt added the comment: all of the missing functions are implemented now, needs some more testing ---------- status: chatting -> testing ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 18:56:52 2011 From: tracker at bugs.pypy.org (Fijal) Date: Sat, 25 Jun 2011 16:56:52 +0000 Subject: [pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package In-Reply-To: <1309008092.87.0.698796204065.issue761@bugs.pypy.org> Message-ID: <1309021012.97.0.528318128861.issue761@bugs.pypy.org> Fijal added the comment: One important note here is that once you build this C extension, it's very likely to become a C slowdown on PyPy (instead of a C speedup). ---------- nosy: +fijal ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 21:53:41 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Sat, 25 Jun 2011 19:53:41 +0000 Subject: [pypy-issue] [issue763] set() uses 2x the memory as on CPython In-Reply-To: <1309031621.16.0.774199841352.issue763@bugs.pypy.org> Message-ID: <1309031621.16.0.774199841352.issue763@bugs.pypy.org> New submission from Alex Gaynor : this is because it's implemented as a dict which still has the values field in each entry ---------- messages: 2675 nosy: agaynor, pypy-issue priority: feature status: unread title: set() uses 2x the memory as on CPython ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 21:54:44 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Sat, 25 Jun 2011 19:54:44 +0000 Subject: [pypy-issue] [issue764] segfault with identity_dict In-Reply-To: <1309031684.91.0.783421956965.issue764@bugs.pypy.org> Message-ID: <1309031684.91.0.783421956965.issue764@bugs.pypy.org> New submission from Alex Gaynor : Running http://paste.pocoo.org/show/419425/ segfaults, if you replace the identity_dict with a normal dict it works. ---------- messages: 2676 nosy: agaynor, pypy-issue priority: bug status: unread title: segfault with identity_dict ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sat Jun 25 21:56:07 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Sat, 25 Jun 2011 19:56:07 +0000 Subject: [pypy-issue] [issue765] Fields get written on frame that is about to be dead In-Reply-To: <1309031767.75.0.0268190716619.issue765@bugs.pypy.org> Message-ID: <1309031767.75.0.0268190716619.issue765@bugs.pypy.org> New submission from Alex Gaynor : http://paste.pocoo.org/show/418371/ ---------- messages: 2677 nosy: agaynor, pypy-issue priority: feature status: unread title: Fields get written on frame that is about to be dead ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 10:54:27 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 08:54:27 +0000 Subject: [pypy-issue] [issue765] Fields get written on frame that is about to be dead In-Reply-To: <1309031767.75.0.0268190716619.issue765@bugs.pypy.org> Message-ID: <1309078467.42.0.1697686638.issue765@bugs.pypy.org> Armin Rigo added the comment: The problem is that we don't know for sure that the frame is about to be dead. It could be the case that someone grabbed a reference to it and stored it away somewhere. ---------- nosy: +arigo status: unread -> wontfix ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 10:58:40 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 08:58:40 +0000 Subject: [pypy-issue] [issue763] set() uses 2x the memory as on CPython In-Reply-To: <1309031621.16.0.774199841352.issue763@bugs.pypy.org> Message-ID: <1309078720.04.0.0944611170348.issue763@bugs.pypy.org> Armin Rigo added the comment: No, your explanation is wrong. It's implemented as a dict in the RPython level, and the values are always None, which means that they are implemented as Void. I don't know why they would consume more memory. Do you have a benchmark showing the problem? ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 11:52:16 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 09:52:16 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1309081936.06.0.769122767681.issue758@bugs.pypy.org> Armin Rigo added the comment: Should be fixed now, can you try again? ---------- status: chatting -> testing ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 11:59:00 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 09:59:00 +0000 Subject: [pypy-issue] [issue764] segfault with identity_dict In-Reply-To: <1309031684.91.0.783421956965.issue764@bugs.pypy.org> Message-ID: <1309082340.76.0.522110408413.issue764@bugs.pypy.org> Armin Rigo added the comment: Works for me (linux64, 8657bda17ff2) ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 12:02:45 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 10:02:45 +0000 Subject: [pypy-issue] [issue764] segfault with identity_dict In-Reply-To: <1309031684.91.0.783421956965.issue764@bugs.pypy.org> Message-ID: <1309082565.11.0.125970330105.issue764@bugs.pypy.org> Armin Rigo added the comment: Oups, wrong, sorry. Segfaults for me too. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 12:16:14 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Sun, 26 Jun 2011 10:16:14 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1309083374.7.0.32257124052.issue758@bugs.pypy.org> Dan Villiom Podlaski Christiansen added the comment: I'll try again on Monday. The 2GB of RAM in my personal machine doesn't quite suffice for the memory requirements of PyPy, and especially not in 64-bit mode? ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 12:20:23 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Sun, 26 Jun 2011 10:20:23 +0000 Subject: [pypy-issue] [issue764] segfault with identity_dict In-Reply-To: <1309031684.91.0.783421956965.issue764@bugs.pypy.org> Message-ID: <1309083623.94.0.343881583694.issue764@bugs.pypy.org> Armin Rigo added the comment: The segfault is due to out-of-stack conditions. I'm unsure why this relates to identity_dict. Under a debugging pypy-c, it also crashes with "dict" instead of "identity_dict". The root of the problem is sys.setrecursionlimit(100000), and I don't think it's reasonable to consider this as a bug, basically. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 13:28:47 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Sun, 26 Jun 2011 11:28:47 +0000 Subject: [pypy-issue] [issue766] Shadowstack root finder should be competitive with asmgcc in speed In-Reply-To: <1309087727.89.0.866221341976.issue766@bugs.pypy.org> Message-ID: <1309087727.89.0.866221341976.issue766@bugs.pypy.org> New submission from Dan Villiom Podlaski Christiansen : I just ran a benchmark comparison between two 32-bit builds of PyPy; one using asmgcc and the other using shadowstack. The shadowstack root finder is slower than asmgcc by 6-20% on the four benchmarks with significant differences. On the remainder, it's either slower, but insignificant, or approximately the same in speed. The asmgcc root finder seems like a dead end on Mac OS X: It only works with the ancient Apple GCC 4.0, a compiler which probably won't be available on the upcoming release of Mac OS X. For this reason, it would be nice to make shadowstack the default on Mac OS X. I've included the summary below, and attached an indented copy of JSON results. (For some reason or other, many of the benchmarks didn't work. I'll investigate later and report back.) Report on Darwin dookie.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 i386 Total CPU cores: 2 ### ai ### Min: 0.419934 -> 0.489262: 1.1651x slower Avg: 0.443812 -> 0.510724: 1.1508x slower Significant (t=-11.569626, a=0.95) Stddev: 0.02938 -> 0.02845: 1.0325x smaller ### chaos ### Min: 0.031458 -> 0.031927: 1.0149x slower Avg: 0.046057 -> 0.045682: 1.0082x faster Not significant Stddev: 0.06498 -> 0.06411: 1.0135x smaller ### crypto_pyaes ### Min: 0.174995 -> 0.181307: 1.0361x slower Avg: 0.209730 -> 0.205039: 1.0229x faster Not significant Stddev: 0.10432 -> 0.11878: 1.1386x larger ### fannkuch ### Min: 0.608829 -> 0.624988: 1.0265x slower Avg: 1.833948 -> 1.976551: 1.0778x slower Not significant Stddev: 8.57532 -> 9.48609: 1.1062x larger ### float ### Min: 0.104113 -> 0.102358: 1.0171x faster Avg: 0.115848 -> 0.111435: 1.0396x faster Not significant Stddev: 0.02712 -> 0.01561: 1.7378x smaller ### go ### Min: 0.129704 -> 0.133338: 1.0280x slower Avg: 0.197544 -> 0.204464: 1.0350x slower Not significant Stddev: 0.06363 -> 0.06910: 1.0860x larger ### meteor-contest ### Min: 0.342629 -> 0.411106: 1.1999x slower Avg: 0.350464 -> 0.417532: 1.1914x slower Significant (t=-24.259370, a=0.95) Stddev: 0.01634 -> 0.01073: 1.5232x smaller ### nbody_modified ### Min: 0.102595 -> 0.100291: 1.0230x faster Avg: 0.104505 -> 0.102977: 1.0148x faster Not significant Stddev: 0.00611 -> 0.01208: 1.9769x larger ### pyflate-fast ### Min: 1.816023 -> 1.924431: 1.0597x slower Avg: 1.863659 -> 2.016530: 1.0820x slower Significant (t=-14.342805, a=0.95) Stddev: 0.03321 -> 0.06765: 2.0369x larger ### raytrace-simple ### Min: 0.101490 -> 0.102709: 1.0120x slower Avg: 0.133066 -> 0.154666: 1.1623x slower Not significant Stddev: 0.03908 -> 0.12808: 3.2777x larger ### richards ### Min: 0.009366 -> 0.009467: 1.0108x slower Avg: 0.012987 -> 0.013818: 1.0640x slower Not significant Stddev: 0.00578 -> 0.00697: 1.2061x larger ### slowspitfire ### Min: 1.585539 -> 1.706415: 1.0762x slower Avg: 1.607377 -> 1.736389: 1.0803x slower Significant (t=-23.094884, a=0.95) Stddev: 0.02139 -> 0.03321: 1.5522x larger ### spectral-norm ### Min: 0.039061 -> 0.039828: 1.0196x slower Avg: 0.043881 -> 0.043506: 1.0086x faster Not significant Stddev: 0.02074 -> 0.01282: 1.6182x smaller ### telco ### Min: 0.207924 -> 0.207921: 1.0000x faster Avg: 0.223767 -> 0.223237: 1.0024x faster Not significant Stddev: 0.02803 -> 0.02889: 1.0307x larger ### waf ### Min: 13.688543 -> 13.493718: 1.0144x faster Avg: 13.806294 -> 15.223909: 1.1027x slower Not significant Stddev: 0.11723 -> 3.58803: 30.6075x larger ---------- files: result-indented.json messages: 2685 nosy: danchr, pypy-issue priority: wish status: unread title: Shadowstack root finder should be competitive with asmgcc in speed ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 23:20:35 2011 From: tracker at bugs.pypy.org (Ismael) Date: Sun, 26 Jun 2011 21:20:35 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> New submission from Ismael : ismael at chaos:~/workspace/testsum/src$ python dc.py Time: 10.9600381851 ismael at chaos:~/workspace/testsum/src$ ~/pypy/bin/pypy dc.py Time: 18.0004570484 script: import time import random import copy r = [] for i in xrange(40): l = [round(random.random()*100000) for i in xrange(10*3*60*60)] r.append(l) ini = time.time() copy.deepcopy(r) print "Time: ", time.time() - ini ---------- messages: 2686 nosy: Ismael, pypy-issue priority: bug release: 1.5 status: unread title: copy.deepcopy is slower than cpython ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 23:23:35 2011 From: tracker at bugs.pypy.org (Ismael) Date: Sun, 26 Jun 2011 21:23:35 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309123415.27.0.085778651023.issue767@bugs.pypy.org> Ismael added the comment: Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 And Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34) [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2 ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Sun Jun 26 23:26:52 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Sun, 26 Jun 2011 21:26:52 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309123612.65.0.124153669583.issue767@bugs.pypy.org> Alex Gaynor added the comment: Runnign on trunk, and using the logparser draw-time util I'm seeing: 64.5% gc 35.1% jit-running 59.4% gc-minor 5.0% gc-collect ---------- nosy: +agaynor ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 03:48:41 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Mon, 27 Jun 2011 01:48:41 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309139321.59.0.117260243277.issue767@bugs.pypy.org> Alex Gaynor added the comment: My assumption (no idea how to test this) is that the immense GC pressure is coming from the identityhash always reserving space in the tenured region. My suggested solution is (on minimark): for objects in nursery return their address, and set a bit in the header saying that their hash was taken, then if they are moved to the tenured region, allocate an extra word in their header and store their previous address there to use as the identity hash. This was it is basically free for young objects, and only slightly more expensive for old objects. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 09:48:58 2011 From: tracker at bugs.pypy.org (Fijal) Date: Mon, 27 Jun 2011 07:48:58 +0000 Subject: [pypy-issue] [issue765] Fields get written on frame that is about to be dead In-Reply-To: <1309031767.75.0.0268190716619.issue765@bugs.pypy.org> Message-ID: <1309160938.38.0.31459999681.issue765@bugs.pypy.org> Fijal added the comment: Wouldn't the virtualizable be forced in that case? Ie. Can't we have guard_not_forced() and only stores in the fail case? Also, we know if we have function traced from start with nothing that can force it in between. ---------- nosy: +fijal status: wontfix -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 09:50:53 2011 From: tracker at bugs.pypy.org (Fijal) Date: Mon, 27 Jun 2011 07:50:53 +0000 Subject: [pypy-issue] [issue763] set() uses 2x the memory as on CPython In-Reply-To: <1309031621.16.0.774199841352.issue763@bugs.pypy.org> Message-ID: <1309161053.33.0.842697829269.issue763@bugs.pypy.org> Fijal added the comment: I have a benchmark an explanation and a branch. Ask anto or pop up on IRC, but in short, pypy's dicts/sets have everused, because annotation of args is W_Root or None. ---------- nosy: +fijal ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 12:20:37 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Mon, 27 Jun 2011 10:20:37 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309170037.79.0.832399426038.issue767@bugs.pypy.org> Armin Rigo added the comment: I'm confused, because this script seems not to have many young objects at all. Almost all float objects in the list should be old by the time we call copy.deepcopy(). Can you try to see in the logparser if the 64.5% of gc time come mostly from the later time in which copy.deepcopy() in running, or from the earlier time in which we build the list of floats? ---------- nosy: +arigo ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 16:27:48 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Mon, 27 Jun 2011 14:27:48 +0000 Subject: [pypy-issue] [issue765] Fields get written on frame that is about to be dead In-Reply-To: <1309031767.75.0.0268190716619.issue765@bugs.pypy.org> Message-ID: <1309184868.87.0.215805621739.issue765@bugs.pypy.org> Alex Gaynor added the comment: The problem is how do you prove that, because some other trace has "new(frame); call_assembler()" so you can't really see that there's no escaping, maybe somehow frame allocation could be moved into the other trace, would require thinking about organization though I guess. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 16:38:09 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Mon, 27 Jun 2011 14:38:09 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309185489.59.0.653958174993.issue767@bugs.pypy.org> Alex Gaynor added the comment: http://i.imgur.com/P7bAp.png is the log image, as you can see the first half of execution has the "obvious" .append() behavior, however later behavior is basically tiny stretches of JIT, followed by super long gc-minor, I don't know what the explanation is. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 20:22:21 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Mon, 27 Jun 2011 18:22:21 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309198941.26.0.345246054979.issue767@bugs.pypy.org> Alex Gaynor added the comment: We found the explanation, it's due to the expanding memo dict filled with immutable objects. This is now being tracked upstream: http://bugs.python.org/issue12422 ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Mon Jun 27 20:27:35 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Mon, 27 Jun 2011 18:27:35 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309199255.43.0.918585413144.issue767@bugs.pypy.org> Alex Gaynor added the comment: As Amaury pointed out to me, this is not strictly about immutable objects, but rather objects who are their own copy. ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 28 01:18:12 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Mon, 27 Jun 2011 23:18:12 +0000 Subject: [pypy-issue] [issue762] Error trying to build a C extension in the zope.proxy 3.6.1 package In-Reply-To: <1309010123.83.0.488090929289.issue762@bugs.pypy.org> Message-ID: <1309216692.99.0.732175701421.issue762@bugs.pypy.org> Amaury Forgeot d Arc added the comment: There is no specific API to get 'cl_dict'; the best compatible approximation is PyObject_GetAttrString(obj, "__dict__") ...and DECREF the result object when you are done. I'm not sure this change will be accept by the developers of zope.proxy: this function is basically an adaptation of PyType_Lookup. ---------- nosy: +afa ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 28 11:19:11 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Tue, 28 Jun 2011 09:19:11 +0000 Subject: [pypy-issue] [issue758] Shadowstack root finder broken on Mac OS X In-Reply-To: <1308657489.0.0.184699086383.issue758@bugs.pypy.org> Message-ID: <1309252751.45.0.522579534086.issue758@bugs.pypy.org> Dan Villiom Podlaski Christiansen added the comment: Yup, it works; just had a successful shadowstack+clang build! Thanks! ---------- status: testing -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 28 14:14:53 2011 From: tracker at bugs.pypy.org (Dan Villiom Podlaski Christiansen) Date: Tue, 28 Jun 2011 12:14:53 +0000 Subject: [pypy-issue] [issue766] Shadowstack root finder should be competitive with asmgcc in speed In-Reply-To: <1309087727.89.0.866221341976.issue766@bugs.pypy.org> Message-ID: <1309263293.86.0.631199961801.issue766@bugs.pypy.org> Dan Villiom Podlaski Christiansen added the comment: Okay, a new benchmark comparison. This time, it's asmgcc & Apple GCC 4.0 vs. shadowstack & Clang, both x86_64 builds. I'd say it's getting close to a tie: only three benchmarks show statistically significant results, from 4% to 15% slower. Significantly different benchmarks: ### ai ### Min: 0.423298 -> 0.474566: 1.1211x slower Avg: 0.440061 -> 0.490685: 1.1150x slower Significant (t=-9.968230, a=0.95) Stddev: 0.02571 -> 0.02507: 1.0255x smaller ### meteor-contest ### Min: 0.349847 -> 0.403567: 1.1536x slower Avg: 0.357621 -> 0.410803: 1.1487x slower Significant (t=-22.379921, a=0.95) Stddev: 0.01273 -> 0.01097: 1.1610x smaller ### pyflate-fast ### Min: 1.437436 -> 1.498530: 1.0425x slower Avg: 1.498347 -> 1.569198: 1.0473x slower Significant (t=-10.849142, a=0.95) Stddev: 0.02689 -> 0.03754: 1.3962x larger ---------- status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Tue Jun 28 17:13:54 2011 From: tracker at bugs.pypy.org (Dario) Date: Tue, 28 Jun 2011 15:13:54 +0000 Subject: [pypy-issue] [issue767] copy.deepcopy is slower than cpython In-Reply-To: <1309123235.59.0.562866927911.issue767@bugs.pypy.org> Message-ID: <1309274034.38.0.912862661974.issue767@bugs.pypy.org> Dario added the comment: commit 7b1d0c454f8a (and the previous 2) has a change to try to improve the performance by avoiding to use id() (I reverted the commit, since it's dubious that we may want to mantain a modified copy.py) I tested this (on the script on the bottom of this page) after applying agaynor's patch, and it takes 5% less time with a list of 500k elements, and 10% less time with a 1M elements list ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 29 12:37:20 2011 From: tracker at bugs.pypy.org (Xavier Morel) Date: Wed, 29 Jun 2011 10:37:20 +0000 Subject: [pypy-issue] [issue769] Hard crash when trying to pip install packages with recent nightly builds on OSX In-Reply-To: <1309343840.41.0.910777346081.issue769@bugs.pypy.org> Message-ID: <1309343840.41.0.910777346081.issue769@bugs.pypy.org> New submission from Xavier Morel : Tried the two most recent nightly builds (from http://buildbot.pypy.org/nightly/trunk/), on 10.6.8, in a virtualenv each time. There is apparently a bug related to tarfiles handling in 1.5 (resulting in pip install pytz taking a long time, and the same with feedparser not terminating in over 10 minutes), so Alex Gaynor suggested I try nightlies where it should be fixed: > python --version Python 2.7.1 (8678888acad7, Jun 26 2011, 02:10:04) [PyPy 1.5.0-alpha0 with GCC 4.0.1] > pip install pytz Downloading/unpacking pytz Downloading pytz-2011h.tar.bz2 (170Kb): 170Kb downloaded Running setup.py egg_info for package pytz python(44017) malloc: *** error for object 0x1024300b8: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Complete output from command python setup.py egg_info: python(44017) malloc: *** error for object 0x1024300b8: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug ---------------------------------------- Command python setup.py egg_info failed with error code -6 Storing complete log in ~/.pip/pip.log > python --version Python 2.7.1 (65b1ed60d7da, Jun 29 2011, 02:06:53) [PyPy 1.5.0-alpha0 with GCC 4.0.1] > pip install pytz Downloading/unpacking pytz Downloading pytz-2011h.tar.bz2 (170Kb): 170Kb downloaded Running setup.py egg_info for package pytz python(44026) malloc: *** error for object 0x1024340b8: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Complete output from command python setup.py egg_info: python(44026) malloc: *** error for object 0x1024340b8: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug ---------------------------------------- Command python setup.py egg_info failed with error code -6 Storing complete log in ~/.pip/pip.log I got similar result with simplejson (simplejson-2.1.6.tar.gz), Babel (Babel- 0.9.6.tar.gz), CherryPy (CherryPy-3.2.0.tar.gz), DateUtil (python-dateutil-1.5.tar.gz) and Werkzeug (Werkzeug-0.6.2.tar.gz), and stopped there. ---------- messages: 2702 nosy: masklinn, pypy-issue priority: bug status: unread title: Hard crash when trying to pip install packages with recent nightly builds on OSX ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 29 13:41:31 2011 From: tracker at bugs.pypy.org (Xavier Morel) Date: Wed, 29 Jun 2011 11:41:31 +0000 Subject: [pypy-issue] [issue770] bzip2 decompression significantly slower than on CPython In-Reply-To: <1309347691.11.0.161586857791.issue770@bugs.pypy.org> Message-ID: <1309347691.11.0.161586857791.issue770@bugs.pypy.org> New submission from Xavier Morel : Using a clone of pypy's hg repo (working copy included) as my tar base, decompressing to fs using `tarfile`. Test archives created using BSDTAR, default options (`tar cjf` and `tar czf`), likewise for tar's decompression baseline (`tar xf` in both cases) hg id of local Pypy clone is 27df060341f0 tip OS is OSX 10.6.8 Decompressors tested: * CPython is Python 2.7.2 * Pypy 1.5 is Python 2.7.1 (?, May 22 2011, 11:59:12) [PyPy 1.5.0-alpha0 with GCC 4.0.1] from macports * Pypy trunk is Pypy-65b1ed60d7da from nightlies * Tar is bsdtar 2.6.2 - libarchive 2.6.2 CPython and Pypy were running the exact same script, which can be found at the end of the comment All measurements were performed via `time` and are in minute:seconds, they're the decompression times. First I tested the behavior for gzipped files, in order to get an idea of what I could expect: * tar: 0:19 * CPython: 0:31 * Pypy 1.5: 0:47 * Pypy trunk: 0:43 Pypy is ~50% slower than CPython, itself ~50% slower than the native tar. Then I tested using a bz2-compressed archive: * tar: 0:54 * CPython: 1:10 * Pypy 1.5: hard crash * Pypy trunk: 2:58 Here, pypy is 200% slower than CPython, which is a significant slowdown. I believe it might be a source of performance issues when installing bz2-packed modules via pip. Decompression script: import tarfile import sys tar = tarfile.open(sys.argv[1]) tar.extractall() tar.close() ---------- messages: 2703 nosy: masklinn, pypy-issue priority: bug status: unread title: bzip2 decompression significantly slower than on CPython ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Wed Jun 29 15:13:15 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Wed, 29 Jun 2011 13:13:15 +0000 Subject: [pypy-issue] [issue729] Pypy strangely slow when reading files In-Reply-To: <1306411206.33.0.468077278939.issue729@bugs.pypy.org> Message-ID: <1309353195.39.0.153968628543.issue729@bugs.pypy.org> Armin Rigo added the comment: Yes, if that's how you want to answer """It needs careful review, and also thinking if doing buffering when the app-level readline() is called is reasonable, or potentially breaks subtle cases.""" ---------- status: chatting -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 05:01:30 2011 From: tracker at bugs.pypy.org (Jay Parlar) Date: Thu, 30 Jun 2011 03:01:30 +0000 Subject: [pypy-issue] [issue771] Major slowdown vs CPython when using sets In-Reply-To: <1309402890.52.0.240126931087.issue771@bugs.pypy.org> Message-ID: <1309402890.52.0.240126931087.issue771@bugs.pypy.org> New submission from Jay Parlar : I've got some code that operates on huge tables from a database. When developing, certain areas were taking too long with CPython, so I compiled an Oracle-enabled version of PyPy (based on 27df060341f0, which I believe merged in a bunch of dict and set improvements), and tried that. The attached code has three main operations. The first ("Adding nodes to graph"), sees an enormous speed-up with PyPy. Yay! The second ("Adding edges to graph") is roughly the same speed with PyPy and CPython. Oh well. It's very quick, so not a huge problem. The third section ("Building top callers") was massively slower with PyPy with my initial implementation of its main function, identify_leaf_nodes(). As a test, I created a different implementation of this function that uses lists instead of sets as the main data-type. This showed a massive improvement in PyPy, and was twice as fast as CPython running this same implementation. I should note that the fake data included in this script seems to be even worse on this step than with my actual data, as it's been running for over 10 minutes thus far on my machine. I've attached a very stripped-down version of the code. One big difference is I'm simulating a large data set, as I can't give access to my Oracle db. It's close enough to how my real data looks, and shows the problem. Running the script with no arguments will use my original implementation of identify_leaf_nodes(), now called identify_leaf_nodes_set_implementation(). Passing an argument to the script will cause it to use the list-based implementation. For reference, these are the times I found when running, on a very fast 64-bit Linux machine with 32GB of RAM: --------------------------- PyPy, set implementation --------------------------- Adding nodes to graph Completed in 2.57755994797 Adding edges to graph Completed in 1.20558595657 Building top callers ... It's been at this stage for over 10 minutes on my machine --------------------------- CPython, set implementation --------------------------- Adding nodes to graph Completed in 81.4090509415 Adding edges to graph Completed in 2.46576595306 Building top callers Completed in 5.50244784355 --------------------------- PyPy, list implementation --------------------------- Adding nodes to graph Completed in 2.82616519928 Adding edges to graph Completed in 1.51707386971 Building top callers Completed in 2.70521807671 ---------------------------- CPython, list implementation ---------------------------- Adding nodes to graph Completed in 81.5100169182 Adding edges to graph Completed in 2.52105903625 Building top callers Completed in 5.27169704437 In case it helps, the goal of this script is to analyze graphs of caller/callee relationships. The end goal is to give it a set of callees, and have it report on the set of any callers that call at least one of the callees, as well as return the full set of all nodes visited in the search. My actual code does much more than this, but this minimal example illustrates the performance problem. ---------- files: graphbuilder.py messages: 2705 nosy: parlarjb, pypy-issue priority: bug status: unread title: Major slowdown vs CPython when using sets ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 09:12:44 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Thu, 30 Jun 2011 07:12:44 +0000 Subject: [pypy-issue] [issue771] Major slowdown vs CPython when using sets In-Reply-To: <1309402890.52.0.240126931087.issue771@bugs.pypy.org> Message-ID: <1309417964.78.0.146205287623.issue771@bugs.pypy.org> Alex Gaynor added the comment: Significantly reduced test case attached, basically set.pop is slow (O(n)). ---------- nosy: +agaynor status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 09:42:00 2011 From: tracker at bugs.pypy.org (Janzert) Date: Thu, 30 Jun 2011 07:42:00 +0000 Subject: [pypy-issue] [issue772] Bad permissions in release tar In-Reply-To: <1309419720.49.0.602165830584.issue772@bugs.pypy.org> Message-ID: <1309419720.49.0.602165830584.issue772@bugs.pypy.org> New submission from Janzert : Release tars have broken permissions for multi-user/system wide installs. The main change needed seems to be setting binary and directory execute bits for group and others. ---------- messages: 2707 nosy: Janzert, pypy-issue priority: bug status: unread title: Bad permissions in release tar ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 10:01:04 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Thu, 30 Jun 2011 08:01:04 +0000 Subject: [pypy-issue] [issue771] Major slowdown vs CPython when using sets In-Reply-To: <1309402890.52.0.240126931087.issue771@bugs.pypy.org> Message-ID: <1309420864.37.0.650890998494.issue771@bugs.pypy.org> Alex Gaynor added the comment: Fixed in 4a333a111dac alex at alex-gaynor-laptop:~/Downloads$ python graphbuilder.py Adding nodes to graph Completed in 6.96686196327 Adding edges to graph Completed in 1.55254220963 Building top callers Completed in 3.58611679077 alex at alex-gaynor-laptop:~/Downloads$ ~/projects/pypy/pypy-c graphbuilder.py Adding nodes to graph Completed in 1.75469303131 Adding edges to graph Completed in 0.80689907074 Building top callers Completed in 2.17418193817 ---------- status: chatting -> resolved ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 14:13:38 2011 From: tracker at bugs.pypy.org (Federico Scrinzi) Date: Thu, 30 Jun 2011 12:13:38 +0000 Subject: [pypy-issue] [issue773] pyre2 fails import In-Reply-To: <1309436018.13.0.321306729758.issue773@bugs.pypy.org> Message-ID: <1309436018.13.0.321306729758.issue773@bugs.pypy.org> New submission from Federico Scrinzi : pyre2 is a Python wrapper for the google re2 lib. http://code.google.com/p/re2/ There are different wrappers available: this is in cython so i don't have any hope of seeing it running under pypy https://github.com/axiak/pyre2 This is in python+C extension https://github.com/facebook/pyre2 It builds without any problem but when i try to import the module i get: >>>> import re2 Traceback (most recent call last): File "", line 1, in File "/opt/pypy/site-packages/re2.py", line 33, in import _re2 ImportError: function init_re2 not found in library /opt/pypy/site-packages/_re2.pypy-15.so System info: ?> pypy --version Python 2.7.1 (65b1ed60d7da, Jun 27 2011, 02:07:45) [PyPy 1.5.0-alpha0 with GCC 4.4.3] ?> gcc -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.2/work/gcc-4.5.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-ppl-version-check --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.2 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.2 (Gentoo 4.5.2 p1.0, pie-0.4.5) ?> uname -a Linux MachI 2.6.39.2-fox #1 SMP PREEMPT Mon Jun 27 23:15:58 CEST 2011 x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel GNU/Linux Is it a pypy bug? It's possibile to use pyre2 under pypy (maybe using another wrapper)? ---------- messages: 2709 nosy: fox, pypy-issue priority: bug status: unread title: pyre2 fails import ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 14:29:57 2011 From: tracker at bugs.pypy.org (Amaury Forgeot d Arc) Date: Thu, 30 Jun 2011 12:29:57 +0000 Subject: [pypy-issue] [issue773] pyre2 fails import In-Reply-To: <1309436018.13.0.321306729758.issue773@bugs.pypy.org> Message-ID: <1309436997.24.0.285377207727.issue773@bugs.pypy.org> Amaury Forgeot d Arc added the comment: _re.cc is a C++ file, the init_re2 function is probably exported as a C++ symbol. Can you try to add this line at the beginning of _re2.cc? extern "C" void init_re2(void); Then we'll have to find how CPython deals with this. ---------- nosy: +afa status: unread -> chatting ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 14:50:19 2011 From: tracker at bugs.pypy.org (Federico Scrinzi) Date: Thu, 30 Jun 2011 12:50:19 +0000 Subject: [pypy-issue] [issue773] pyre2 fails import In-Reply-To: <1309436018.13.0.321306729758.issue773@bugs.pypy.org> Message-ID: <1309438219.24.0.654368696733.issue773@bugs.pypy.org> Federico Scrinzi added the comment: now it works! I get only one warning: >>>> import re2 re2.py:33: RuntimeWarning: PyImport_ImportModuleNoBlock() is not non-blocking import _re2 Unfortunately the wrapper i used was the cython one, i realized now that this one misses some features (like for example regexp flags) :( ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 14:54:26 2011 From: tracker at bugs.pypy.org (Armin Rigo) Date: Thu, 30 Jun 2011 12:54:26 +0000 Subject: [pypy-issue] [issue772] Bad permissions in release tar In-Reply-To: <1309419720.49.0.602165830584.issue772@bugs.pypy.org> Message-ID: <1309438466.8.0.249323039433.issue772@bugs.pypy.org> Armin Rigo added the comment: Resolved by 19b6a4d6992f already. If this is an issue for you, you will have to wait until the next release 1.5.1, though. ---------- nosy: +arigo status: unread -> duplicate ________________________________________ PyPy bug tracker ________________________________________ From tracker at bugs.pypy.org Thu Jun 30 23:13:35 2011 From: tracker at bugs.pypy.org (Alex Gaynor) Date: Thu, 30 Jun 2011 21:13:35 +0000 Subject: [pypy-issue] [issue763] set() uses 2x the memory as on CPython In-Reply-To: <1309031621.16.0.774199841352.issue763@bugs.pypy.org> Message-ID: <1309468415.88.0.587805040001.issue763@bugs.pypy.org> Alex Gaynor added the comment: fijal fixed this, nice! ---------- status: chatting -> resolved ________________________________________ PyPy bug tracker ________________________________________