Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

rlib/test/test_rstacklet.py::TestStackletShadowStack::()::test_demo1

self = <rpython.rlib.test.test_rstacklet.TestStackletShadowStack object at 0xfffd5a439c90>

    def test_demo1(self):
>       t, cbuilder = self.compile(entry_point)

rlib/test/test_rstacklet.py:325: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
translator/c/test/test_standalone.py:72: in compile
    exe_name=exe_name)
translator/c/genc.py:178: in generate_source
    db = self.build_database()
translator/c/genc.py:102: in build_database
    self.config.translation.reverse_debugger)
translator/c/database.py:64: in __init__
    self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks)
translator/c/gc.py:452: in gettransformer
    return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks)
memory/gctransform/framework.py:132: in __init__
    GCClass, GC_PARAMS = choose_gc_from_config(translator.config)
memory/gc/base.py:593: in choose_gc_from_config
    globals(), locals(), [classname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    """
    # XXX Should find a way to bound the major collection threshold by the
    # XXX total addressable size.  Maybe by keeping some minimarkpage arenas
    # XXX pre-reserved, enough for a few nursery collections?  What about
    # XXX raw-malloced memory?
    import sys
    from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup
    from rpython.rtyper.lltypesystem.lloperation import llop
    from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage
    from rpython.memory.gc.base import GCBase, MovingGCBase
>   from rpython.memory.gc import env
E     File "/build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py", line 423
E   SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-aarch64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

memory/gc/minimark.py:55: SyntaxError
---------- Captured stderr call ----------
[rtyper] specializing: 100 / 784 blocks   (12%)
[rtyper] specializing: 200 / 989 blocks   (20%)
[rtyper] specializing: 300 / 1044 blocks   (28%)
[rtyper] specializing: 400 / 1146 blocks   (34%)
[rtyper] specializing: 500 / 1157 blocks   (43%)
[rtyper] specializing: 700 / 1356 blocks   (51%)
[rtyper] specializing: 800 / 1358 blocks   (58%)
[rtyper] specializing: 900 / 1358 blocks   (66%)
[rtyper] specializing: 1000 / 1358 blocks   (73%)
[rtyper] specializing: 1100 / 1358 blocks   (81%)
[rtyper] specializing: 1200 / 1358 blocks   (88%)
[rtyper] specializing: 1300 / 1360 blocks   (95%)
[rtyper] -=- specialized 1360 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
[rtyper] -=- specialized 25 more blocks -=-
builder: rpython-linux-aarch64 build #534
test: rlib/test/test_rstacklet/py/TestStackletShadowStack/()/test_demo1