Laura Creighton | 4 Sep 12:40 2015

W3C web accessibility (WCAG 2.0)

Somebody mailed webmaster wanting to know how Python documentation
faired w.r.t. the WCAG 2.0 Standard.

What he really wants to know is how hard is it for blind people to
read the docs, and whether significant whitespace is a problem for
blind python developers. I've referred him to some blind-users mailing
lists so he can ask real blind people those questions, but have we ever
tried to make the Python docs WCAG compliant?  And if we tried, is
there something we can direct interested people to?

Thanks very much,
Christian Walder | 3 Sep 02:58 2015

segmentation fault 11 on OS X


I'm running into a segmentation fault on pypy.

Is the attached OS X crash report useful for diagnosing the problem? 

I haven't succeeded in making a minimal example of this issue, as it occurs in the middle of a complex program, and the same program even runs correctly when processing a smaller amount of data.

I'm using the latest nightly build but the same thing happens if I compile the latest pypy from git.

Thanks again for pypy.


Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
    __TEXT                 0000000100000000-0000000100001000 [    4K] r-x/rwx SM=COW  /Users/USER/*

Thread 0 Crashed:: Dispatch queue:
0   libpypy-c.dylib               	0x0000000100d35800 pypy_g_OptRewrite_optimize_GUARD_VALUE + 1280
1   libpypy-c.dylib               	0x0000000100d55626 pypy_g_dispatch_optimize___star_0_6 + 2870
2   libpypy-c.dylib               	0x0000000100d33b60 pypy_g_OptRewrite_propagate_forward + 256
3   libpypy-c.dylib               	0x0000000100d035d1 pypy_g_OptIntBounds_optimize_GUARD_TRUE + 145
4   libpypy-c.dylib               	0x0000000100d5619d pypy_g_dispatch_optimize___star_0_7 + 1069
5   libpypy-c.dylib               	0x0000000100d03536 pypy_g_OptIntBounds_propagate_forward + 6
6   libpypy-c.dylib               	0x0000000100d4f57c pypy_g_UnrollOptimizer__inline_short_preamble + 748
7   libpypy-c.dylib               	0x0000000100d49c58 pypy_g_UnrollOptimizer_jump_to_already_compiled_trace + 6824
8   libpypy-c.dylib               	0x0000000100d42e14 pypy_g_UnrollOptimizer_propagate_all_forward + 3316
9   libpypy-c.dylib               	0x0000000100cf60d6 pypy_g_optimize_trace + 390
10  libpypy-c.dylib               	0x0000000100ccfbe3 pypy_g_compile_trace + 1811
11  libpypy-c.dylib               	0x0000000100e0bfb1 pypy_g_MetaInterp_compile_trace + 1265
12  libpypy-c.dylib               	0x0000000100dd5e96 pypy_g_MetaInterp_reached_loop_header + 1478
13  libpypy-c.dylib               	0x0000000100dd4d5a pypy_g_MIFrame_opimpl_jit_merge_point + 970
14  libpypy-c.dylib               	0x0000000100d99378 pypy_g_handler_jit_merge_point_1 + 968
15  libpypy-c.dylib               	0x0000000100d8d808 pypy_g_MIFrame_run_one_step + 72
16  libpypy-c.dylib               	0x0000000100d87aa7 pypy_g_MetaInterp_interpret + 55
17  libpypy-c.dylib               	0x0000000100e36ef5 pypy_g_MetaInterp__handle_guard_failure + 597
18  libpypy-c.dylib               	0x0000000100e36558 pypy_g_MetaInterp_handle_guard_failure + 712
19  libpypy-c.dylib               	0x0000000100cd9a20 pypy_g_ResumeGuardDescr__trace_and_compile_from_bridge
+ 512
20  libpypy-c.dylib               	0x0000000100cd92de pypy_g_ResumeGuardDescr_handle_fail + 174
21  libpypy-c.dylib               	0x0000000100eb2b18 pypy_g_execute_assembler__star_2_2 + 456
22  libpypy-c.dylib               	0x0000000100eb21a8 pypy_g_maybe_compile_and_run__star_5_1 + 984
23  libpypy-c.dylib               	0x0000000100e63eaa
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 58
24  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
25  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
26  libpypy-c.dylib               	0x00000001003d6096 pypy_g_CALL_FUNCTION__AccessDirect_None + 118
27  libpypy-c.dylib               	0x00000001003ce1ab pypy_g_dispatch_bytecode__AccessDirect_None + 6923
28  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
29  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
30  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
31  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
32  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
33  libpypy-c.dylib               	0x00000001009e231b pypy_g_CALL_METHOD__AccessDirect_star_1 + 251
34  libpypy-c.dylib               	0x00000001003ce5dd pypy_g_dispatch_bytecode__AccessDirect_None + 7997
35  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
36  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
37  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
38  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
39  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
40  libpypy-c.dylib               	0x00000001009e2ab9 pypy_g_CALL_METHOD__AccessDirect_star_1 + 2201
41  libpypy-c.dylib               	0x00000001003ce5dd pypy_g_dispatch_bytecode__AccessDirect_None + 7997
42  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
43  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
44  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
45  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
46  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
47  libpypy-c.dylib               	0x00000001003d77f2 pypy_g_EXEC_STMT__AccessDirect_None + 994
48  libpypy-c.dylib               	0x00000001003cd7c8 pypy_g_dispatch_bytecode__AccessDirect_None + 4392
49  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
50  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
51  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
52  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
53  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
54  libpypy-c.dylib               	0x00000001003d6872 pypy_g_call_function__AccessDirect_None + 1762
55  libpypy-c.dylib               	0x00000001003ce428 pypy_g_dispatch_bytecode__AccessDirect_None + 7560
56  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
57  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
58  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
59  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
60  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
61  libpypy-c.dylib               	0x00000001003d6872 pypy_g_call_function__AccessDirect_None + 1762
62  libpypy-c.dylib               	0x00000001003ce34c pypy_g_dispatch_bytecode__AccessDirect_None + 7340
63  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
64  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
65  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
66  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
67  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
68  libpypy-c.dylib               	0x00000001003d6872 pypy_g_call_function__AccessDirect_None + 1762
69  libpypy-c.dylib               	0x00000001003ce3b9 pypy_g_dispatch_bytecode__AccessDirect_None + 7449
70  libpypy-c.dylib               	0x00000001003cc26b pypy_g_handle_bytecode__AccessDirect_None + 43
71  libpypy-c.dylib               	0x0000000100975b6c pypy_g_portal_5 + 76
72  libpypy-c.dylib               	0x0000000100e6408c
pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter + 540
73  libpypy-c.dylib               	0x00000001003bf6b1 pypy_g_PyFrame_execute_frame + 1521
74  libpypy-c.dylib               	0x00000001003bed8c pypy_g_PyFrame_run + 236
75  libpypy-c.dylib               	0x0000000100368272 pypy_g_call_function__star_2 + 306
76  libpypy-c.dylib               	0x00000001002a4542 pypy_g_entry_point + 4642
77  libpypy-c.dylib               	0x00000001011d7e43 pypy_main_function + 131
78  python                        	0x0000000100000f14 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001044eb438  rcx: 0x0000000104300580  rdx: 0x0000000000068e18
  rdi: 0x0000000101f56040  rsi: 0x00000001014f9b60  rbp: 0x00000000ffffffff  rsp: 0x00007fff5fbfe330
   r8: 0x00000001014fada0   r9: 0x0000000101520198  r10: 0x000000000000000f  r11: 0x000000000000000c
  r12: 0x00000001044f3aa0  r13: 0x000000010147a720  r14: 0x00000001044e6fd8  r15: 0x000000010451f118
  rip: 0x0000000100d35800  rfl: 0x0000000000010246  cr2: 0x0000000000000000

Logical CPU:     1
Error Code:      0x00000004
Trap Number:     14

Binary Images:
       0x100000000 -        0x100000ff7 +python (???) <33232343-6431-3299-9B2C-EF3CD6BFD793> /Users/USER/*/python
       0x100003000 -        0x10145dff7 +libpypy-c.dylib (0) <97003214-7E9D-33B0-ADEF-8A858128CFB5> /Users/USER/*/libpypy-c.dylib
       0x1040d7000 -        0x10410dff7  libssl.0.9.8.dylib (52.40.1) <0121FFA1-8332-39FF-9542-3E80BBC323D7> /usr/lib/libssl.0.9.8.dylib
       0x104155000 -        0x10415cfff (0) <E9F35464-6A39-3B0A-9B64-3847D45D9507> /Users/USER/*/
       0x1041dc000 -        0x1041dcff7 (0) <FC95A6F2-8184-3A8D-9800-E09D0A6895D5> /Users/USER/Downloads/*/
       0x1041df000 -        0x1041e1fff (0) <B0691BA8-E998-3EC3-A12B-EDD7EF71E247> /Users/USER/Downloads/*/
       0x1041ea000 -        0x1041ebfff  libpanel.5.4.dylib (44) <FB699180-AF56-34A8-90C7-8C0DC748F22B> /usr/lib/libpanel.5.4.dylib
       0x1041f1000 -        0x1041fafff (0)
<56EA04B2-A332-3874-A71C-411CE5A3D1F5> /Users/USER/*/
       0x1047d2000 -        0x1047ebfff (0) <FC8B4CBA-3BA2-3D7C-9761-61F23BDF4503> /Users/USER/*/
       0x1047f1000 -        0x1047f5ff7 (0) <816FB6AD-7D2B-329D-92F6-3D72BAF2D2E1> /Users/USER/*/
       0x1047f8000 -        0x1047f9ff7 (0) <60E10BE3-4215-3A15-B646-64B2C977A7DC> /Users/USER/*/
       0x1053f4000 -        0x1053f9fff (0) <07062A84-67B1-3150-957C-0B1DEFEE95EF> /Users/USER/*/
       0x106fc4000 -        0x106fe6fff +libpng16.16.dylib (0) <4FBB93E7-7294-3B41-AC6D-BFC5B4DA308B> /usr/local/lib/libpng16.16.dylib
       0x106fef000 -        0x106ff2fff (0) <D219A9B9-8D0A-3FF1-AAD2-8A17D339E157> /Users/USER/*/
       0x107480000 -        0x1075cbfff (0) <9F744B71-664A-31D5-89D8-953E1E0B6097> /Users/USER/*/
       0x107792000 -        0x1077bffff (0) <07D37A9D-96D0-3159-BE46-BE12F7CBC34F> /Users/USER/*/
       0x1077d5000 -        0x1077e9fff (0) <29632F52-3C49-3078-94A9-273790AB3C7A> /Users/USER/*/
       0x108a80000 -        0x108ab1fff (0) <F5C4F5CF-F0FC-3181-896C-89E672DA4E69> /Users/USER/*/
       0x108acc000 -        0x108b39ff7 +libfreetype.6.dylib (0) <B5C01F34-7D52-33F3-A2E7-3555388623CE> /usr/local/lib/libfreetype.6.dylib
       0x109ba4000 -        0x109bd4ff7 (0) <74B7C662-23A9-3458-921C-60E18216CB84> /Users/USER/*/
       0x109cae000 -        0x109cc9ff7 (0) <96E286C8-B334-3CFD-A05E-A052D91C6AD4> /Users/USER/*/
       0x109cdc000 -        0x109d06ff7 (0) <8C8B1DD3-47DB-3B70-B1E4-8221760F09C6> /Users/USER/*/
       0x109da1000 -        0x109dbbff7 (0) <94D4361A-1D82-3B4B-9B16-78DEBB78AF45> /Users/USER/*/
       0x109f00000 -        0x109f4eff7 (0) <EDE22BAE-29D0-3577-86A9-74E2055569B7> /Users/USER/*/
    0x7fff6d1c1000 -     0x7fff6d1f7887  dyld (353.2.3) <B1B370A5-479F-3533-8AD7-97B687D4F989> /usr/lib/dyld
    0x7fff881de000 -     0x7fff881f6ff7  libexpat.1.dylib (12) <C5FE8836-E277-3162-9D15-6735321CB2C6> /usr/lib/libexpat.1.dylib
    0x7fff886cc000 -     0x7fff886d1ff7  libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
    0x7fff886d2000 -     0x7fff88702fff  libsystem_m.dylib (3086.1)
<1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
    0x7fff88703000 -     0x7fff88703ff7  liblaunch.dylib (559.40.1)
<4F81CA3A-D2CE-3030-A89D-42F3DAD7BA8F> /usr/lib/system/liblaunch.dylib
    0x7fff88a59000 -     0x7fff88a66ff7  libbz2.1.0.dylib (36) <2DF83FBC-5C08-39E1-94F5-C28653791B5F> /usr/lib/libbz2.1.0.dylib
    0x7fff88b59000 -     0x7fff88b5fff7  libsystem_networkextension.dylib (167.40.3)
<BA58B30B-8377-3B0A-8AE3-4F84021D9D4E> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff88c42000 -     0x7fff88c4dfff  libcommonCrypto.dylib (60061.30.1)
<E789748D-F9A7-3CFF-B317-90DF348B1E95> /usr/lib/system/libcommonCrypto.dylib
    0x7fff890b1000 -     0x7fff890b3fff  libsystem_sandbox.dylib (358.20.5)
<3F5E973F-C702-31AC-97BC-05F5C195683C> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff890b4000 -     0x7fff890e4ff7  libncurses.5.4.dylib (44)
<F09809A4-53B9-3E91-A8FA-D3F584C03AA3> /usr/lib/libncurses.5.4.dylib
    0x7fff893da000 -     0x7fff897e7ff7  libLAPACK.dylib (1128) <F9201AE7-B031-36DB-BCF8-971E994EF7C1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff898f2000 -     0x7fff89c0dfcf (8.0 - 8.0)
<1183FE6A-FDB6-3B3B-928D-50C7909F2308> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8a2a0000 -     0x7fff8a3b2ff7  libvDSP.dylib (516) <151B3CCB-77D3-3715-A3D0-7C74CD5C7FFC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8a5a7000 -     0x7fff8a5abfff  libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
    0x7fff8a671000 -     0x7fff8a68dff7  libsystem_malloc.dylib (53.30.1)
<DDA8928B-CC0D-3255-BD8A-3FEA0982B890> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8a6cf000 -     0x7fff8a6cfff7  libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
    0x7fff8a6d0000 -     0x7fff8a749fe7  libcorecrypto.dylib (233.30.1)
<5779FFA0-4D9A-3AD4-B7F2-618227621DC8> /usr/lib/system/libcorecrypto.dylib
    0x7fff8a74a000 -     0x7fff8a74bfff (2.0 - 25)
<2D61A2C3-C83E-3A3F-8EC1-736DBEC250AB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8ad71000 -     0x7fff8ad71ff7  libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
    0x7fff8ad72000 -     0x7fff8ad75ff7  libdyld.dylib (353.2.3) <CFBBE540-D503-3AFC-B5D6-644F1E69949B> /usr/lib/system/libdyld.dylib
    0x7fff8aee4000 -     0x7fff8aee6ff7  libutil.dylib (38) <471AD65E-B86E-3C4A-8ABD-B8665A2BCE3F> /usr/lib/libutil.dylib
    0x7fff8b530000 -     0x7fff8b538ffb  libcopyfile.dylib (118.1.2)
<0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
    0x7fff8c9fc000 -     0x7fff8c9fcfff (1.10 - Accelerate 1.10)
<2C8AF258-4F11-3BEC-A826-22D7199B3975> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8ca05000 -     0x7fff8ca4bff7  libauto.dylib (186) <A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
    0x7fff8cc0c000 -     0x7fff8cc7efff (2.0.2 - 1050.20.2)
<09C0518C-90DF-3FC3-96D6-34D35F72C8EF> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8d626000 -     0x7fff8d643fff  libsystem_kernel.dylib (2782.40.9)
<16AD15EF-3DAE-3F63-9D26-26CCE1920762> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8e005000 -     0x7fff8e006ff7  libsystem_blocks.dylib (65)
<9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8e309000 -     0x7fff8e311fff  libsystem_dnssd.dylib (576.30.4)
<0CEB5910-843F-315C-A1DE-5D955A48A045> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8e499000 -     0x7fff8e548fe7  libvMisc.dylib (516) <6739E390-46E7-3BFA-9B69-B278562326E6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8ed15000 -     0x7fff8ed4dfff  libsystem_network.dylib (412.20.3)
<6105C134-6722-3C0A-A4CE-5E1261E2E1CC> /usr/lib/system/libsystem_network.dylib
    0x7fff8f0eb000 -     0x7fff8f163ff7 (1.14.4 - 1.14)
<3DFFD7F7-BD23-3F4C-A209-C4A0D99F6573> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8f3e7000 -     0x7fff8f3ecfff  libsystem_stats.dylib (163.30.2)
<D0E96837-3CF6-323D-B711-6DF6F660E530> /usr/lib/system/libsystem_stats.dylib
    0x7fff8f3ee000 -     0x7fff8f3eefff (3.10 - vecLib 3.10)
<9D749502-A228-3BF1-B52F-A182DEEB2C4D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8f3ef000 -     0x7fff8f419ff7  libdispatch.dylib (442.1.4)
<502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
    0x7fff8f41a000 -     0x7fff8f422fff  libsystem_platform.dylib (63)
<64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
    0x7fff8f95a000 -     0x7fff8f985fff  libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
    0x7fff8fb41000 -     0x7fff8fb4cff7  libkxld.dylib (2782.40.9)
<2ADAE067-78A0-371E-A5A8-1E7C892D193C> /usr/lib/system/libkxld.dylib
    0x7fff9025a000 -     0x7fff90270ff7  libsystem_asl.dylib (267)
<F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
    0x7fff90e5c000 -     0x7fff90ee8fe7  libsystem_c.dylib (1044.40.1)
<F0635E0F-FE4B-34DB-ACF9-A58C1E9070E9> /usr/lib/system/libsystem_c.dylib
    0x7fff9113d000 -     0x7fff914d5ff7 (6.9 - 1153.18)
<5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff91624000 -     0x7fff9162dfff  libsystem_pthread.dylib (105.40.1)
<ACE90967-ECD0-3251-AEEB-461E3C6414F7> /usr/lib/system/libsystem_pthread.dylib
    0x7fff91ebf000 -     0x7fff91ec0fff  libsystem_secinit.dylib (18)
<581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
    0x7fff91fb8000 -     0x7fff91fb9fff  libDiagnosticMessagesClient.dylib (100)
<2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff929e1000 -     0x7fff929e3fff  libsystem_configuration.dylib (699.40.2)
<56F94DCE-DBDE-3615-8F07-DE6270D9F8BE> /usr/lib/system/libsystem_configuration.dylib
    0x7fff92a6e000 -     0x7fff92a6fffb  libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
    0x7fff92a70000 -     0x7fff92ac4fff  libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
    0x7fff9301a000 -     0x7fff9301bff3  libSystem.B.dylib (1213) <1866C519-C5F3-3D09-8C17-A8F703664521> /usr/lib/libSystem.B.dylib
    0x7fff93129000 -     0x7fff9312bff7  libsystem_coreservices.dylib (9)
<41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff9312c000 -     0x7fff93133ff7  libcompiler_rt.dylib (35)
<BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
    0x7fff938a7000 -     0x7fff93a35fff  libBLAS.dylib (1128) <497912C1-A98E-3281-BED7-E9C751552F61> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff93a70000 -     0x7fff93a80ff7  libbsm.0.dylib (34) <A3A2E56C-2B65-37C7-B43A-A1F926E1A0BB> /usr/lib/libbsm.0.dylib
    0x7fff93c6e000 -     0x7fff93c96fff  libsystem_info.dylib (459.40.1)
<2E16C4B3-A327-3957-9C41-143911979A1E> /usr/lib/system/libsystem_info.dylib
    0x7fff93e5b000 -     0x7fff93e5dfff  libquarantine.dylib (76.20.1)
<7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
    0x7fff949b2000 -     0x7fff94a96fff  libcrypto.0.9.8.dylib (52.40.1)
<D123FC57-E2EB-3E08-A51B-6C317EA83EB5> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff95d06000 -     0x7fff95d17ff7  libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
    0x7fff96644000 -     0x7fff96655ff3  libsystem_coretls.dylib (35.40.1)
<155DA0A9-2046-332E-BFA3-D7974A51F731> /usr/lib/system/libsystem_coretls.dylib
    0x7fff96670000 -     0x7fff96855ff7  libicucore.A.dylib (531.48)
<3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
    0x7fff9690c000 -     0x7fff96912fff  libsystem_trace.dylib (72.20.1)
<840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
    0x7fff9691a000 -     0x7fff96931ff7  libLinearAlgebra.dylib (1128)
<E78CCBAA-A999-3B65-8EC9-06DB15E67C37> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff96994000 -     0x7fff9699dff7  libsystem_notify.dylib (133.1.1)
<61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
    0x7fff969be000 -     0x7fff96bb846f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
    0x7fff97081000 -     0x7fff97086ff7  libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
    0x7fff97087000 -     0x7fff97088fff  libffi.dylib (18.1) <0F6C6A4D-1210-3585-8DA1-B8A94B9924A5> /usr/lib/libffi.dylib
    0x7fff9724a000 -     0x7fff97272fff  libxpc.dylib (559.40.1) <5C829202-962E-3744-8B50-00D38CC88E84> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 3
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 3069114
    thread_create: 0
    thread_set_state: 9

VM Region Summary:
ReadOnly portion of Libraries: Total=146.0M resident=114.0M(78%) swapped_out_or_unallocated=31.9M(22%)
Writable regions: Total=323.4M written=292.1M(90%) resident=299.4M(93%) swapped_out=0K(0%) unallocated=23.9M(7%)

REGION TYPE                      VIRTUAL
===========                      =======
Kernel Alloc Once                     4K
MALLOC                            312.3M
MALLOC (admin)                       16K
STACK GUARD                        56.0M
Stack                              8192K
VM_ALLOCATE                        2064K
__DATA                             21.0M
__LINKEDIT                         97.6M
__TEXT                             48.3M
__UNICODE                           552K
shared memory                         4K
===========                      =======
TOTAL                             545.8M

pypy-dev mailing list
pypy-dev <at>
Ronny Pfannschmidt | 2 Sep 21:15 2015

[informative] quick git repo experimentation - results wrt repository size


i finished experimenting with converting the pypy repo to git using the
gitifyhg git remote

the basic result being

heisenbug ~/P/p/pypy-git> du -sh .git/{hg,objects}
742M    .git/hg
134M    .git/objects

which is quite a reduction
i did not yet investigate eventually missing metadata and the details
about branch history

the number of active branches seems to fit

heisenbug ~/P/p/pypy-git> git branch -a|wc -l


heisenbug ~/P/p/pypy> hg branches|wc -l

the 2 additial branches in git are due to remote tracking and head
tracking which is not necessary/possible in mercurial.

-- Ronny
Skip Montanaro | 31 Aug 22:09 2015

Dependencies in noon-standard locations

I've encountered a problem building the 2.6.1 distribution from source:

[translation:ERROR] /tmp/usession-release-2.6.1-0/platcheck_54.c:79:19: error: expat.h: No such file or directory

I don't remember encountering this before, but most of my earlier builds were probably on Mac OS X.

My guess is the error results from a non-standard expat location:

% find /opt/TWWfsw/ -name 'expat.h'

I saw nothing about how to deal with this in the instructions. Searching the source, I saw no instances of things like LDFLAGS or CPPFLAGS which I'm used to using in other build environments. How do I specify these oddball locations to PyPy?

I'm using OpenSuSE 12.2, which I doubt will work with any of the PyPy binaries. Would love to be proved incorrect though.


Skip Montanaro

pypy-dev mailing list
pypy-dev <at>
Arno Waschk | 31 Aug 11:54 2015

avoid pypy's csv module

dear list,

i have a problem with pypy's csv module.

Apart from it being somewhat slower than cPython's (i could live with that) i am getting rarely but annoyingly corrupted files written, which have some single corrupted lines.
I cannot provide enough information (yet) for debugging, it looks like a writing race condition, although i am 120% sure that my program does never more than one writing event at any moment.

Everything worked fine in cpython (for years), so my question is, can i simply tell pypy to run my program, but use CPython's implementation of the csv module?

thanks, Arno

Arno Waschk arno <at> +491723149605 +436508950949 (nur während Projekten in Österreich) current and upcoming projects: Wien Burgtheater Goethe: Faust I (Repertoire) Matthias Hartmann Berlin Staatsoper im Schillertheater Satie: Le Piège de Méduse --- Satiesfactionen: Wissen Sie wie man Töne reinigt? (Repertoire) Jürgen Flimm Neuhardenberg/Leipzig u. a. Lesungen mit Klaus Maria Brandauer Via intolleranza II Christoph Schlingensief Wien Burgtheater Mea Culpa (Repertoire) Christoph Schlingensief Berlin Staatsoper im Schillertheater Maxwell Davies & Sciarrino: Miss Donnithorne's Maggot // Infinito Nero (Repertoire) Staatskapelle Berlin Michael von zur Mühlen franz. Klaviertrios Bonn Trio Cartier Freiburg Fanny und Alexander Regie Julia Hölscher CRUSOEStaatstheater Oldenburg Regie: Julia Hölscher Die weisse RoseTheater Koblenz Regie: Anja Nicklich Wie ich Welt wurde (AT) Oper Zürich Regie: Hans Neuenfels
pypy-dev mailing list
pypy-dev <at>
Yicong Huang | 31 Aug 11:00 2015

Segmentation fault at rpyvmprof_f_pypy_rrr ()


We observed the program was cored dump. And examing the core file, we found the call stack:

#0  0x00007f26487e6b82 in rpyvmprof_f_pypy_rrr () from /usr/local/pypy/
#1  0x00007f26494a797a in rpyvmprof_t_pypy_rrr () from /usr/local/pypy/
#2  0x00007f26487a1ad4 in pypy_g_appexec___src__glob___________________import_sys () from /usr/local/pypy/
#3  0x00007f26486f980b in pypy_g.pypy_execute_source () from /usr/local/pypy/
#4  0x00007f26486f9994 in pypy_g_pypy_execute_source_ptr () from /usr/local/pypy/
#5  0x00007f26484e6f42 in pypy_execute_source_ptr () from /usr/local/pypy/
#6  0x00007f26484e6d82 in pypy_execute_source () from /usr/local/pypy/

And debugging the core file, the char* buffer passed to pypy_execute_source() was:
(gdb) print pyExBuffer
$1 = "import sys\nsys.path.insert(0,'job_runtime/lib/python2.7/site-packages/udf')\000/1440989742122"...

The code was to add a directory to sys.path(). 
The error was not reproduceable by extracting the piece of code from the whole programme, and I've no ideas why the segmentation fault happened.

Does anyone knows what the function "rpyvmprof_f_pypy_rrr ()" did? And are there any methods to debug and found out the cause?

pypy-dev mailing list
pypy-dev <at>
Matti Picus | 30 Aug 00:00 2015

PyPy 2.6.1 release candidates available on bitbucket, please test and report

I uploaded 2.6.1 release candidates to , please make sure it is 
packaged properly for your platform and/or that the source bundles work 
for your distro

Comments, criticisms, and critiques of the release notes would be nice too,

Andrey Ayupov | 27 Aug 20:23 2015

type inference error


Hopefully a very simple question. I am trying out RPython toolchain. pypy 2.6, python 2.7. I am using the translator shell.

Here's my simple example:

python bin/

class mtype():
    def __init__(self):
        self.x = 0;

def mmm(x):
    z = x.x + 1
    return z
t = Translation(mmm, [mtype])


and it gives me the following. if you put mtype class and mmm function definitions in a separate module, then you can see it complains about this line:     z = x.x + 1. Why can't it infer type for all arguments and the result here? I know i am missing something basic.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/nfs/site/disks/", line 89, in annotate
    return self.driver.annotate()
  File "/nfs/site/disks/", line 106, in proc
    return self.proceed(backend_goal)
  File "/nfs/site/disks/", line 549, in proceed
    return self._execute(goals, task_skip = self._maybe_skip())
  File "/nfs/site/disks/", line 114, in _execute
    res = self._do(goal, taskcallable, *args, **kwds)
  File "/nfs/site/disks/", line 277, in _do
    res = func()
  File "/nfs/site/disks/", line 314, in task_annotate
    s = annotator.build_types(self.entry_point, self.inputtypes)
  File "/nfs/site/disks/", line 89, in build_types
    return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now)
  File "/nfs/site/disks/", line 135, in build_graph_types
  File "/nfs/site/disks/", line 211, in complete
    raise annmodel.AnnotatorError(text)

Blocked block -- operation cannot succeed

    v0 = getattr(x_0, ('x'))

In <FunctionGraph of (__main__:1)mmm at 0x7ffff2b69ed0>:
no source!
Known variable annotations:
 x_0 = SomeInstance(can_be_None=False, classdef=__main__.mtype)

pypy-dev mailing list
pypy-dev <at>
Vaibhav Sood | 27 Aug 05:46 2015

[newb] Regarding pull requests



I had submitted a pull request earlier ( for a nightly test case fix on the py3.3 branch. I haven’t received any reviews, just wanted to check regarding the same, I apologize if this is not the right way to prod but thought I’ll ask


I also had a query regarding submitting pull requests (this is my first time submitting one), do I need to specify somebody as a reviewer when creating the PR? Or do I just submit and wait for a review?


Thanks you!





DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

pypy-dev mailing list
pypy-dev <at>
Matti Picus | 22 Aug 20:25 2015

2.6.1 and freebsd-9

I would like to add the freebsd-9-x86-64 binary tgz to our released 
downloads. We still have a number of failing tests showing up on
among them many
DLOpenError: "opening '' with ctypes.CDLL() works, but not with 
and the more worrying SIGSEGV in

Could someone proficient in freebsd suggest what is going on?
Vaibhav Sood | 21 Aug 14:14 2015

[newb] fixing a nightly test case failure



I am a newbie to pypy and looking to start making some contributions to the project. I was looking at the buildbot test case failures (after referring to an earlier thread on this forum: ) for the py3.3 branch and to start off picked a test failure to work on:

I was looking for some guidance as to the steps to make a code change contribution. I checked the bug tracking list but didn’t find this test failure listed, would the typical steps be to create a issue in bug tracking system first, work on the change and then submit the patch for commit? My concern is I want to verify I can work on this failure and that I am not duplicating or doing unnecessary work




DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

pypy-dev mailing list
pypy-dev <at>