Issue34919
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2018-10-07 10:04 by cwickens, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
py37bug-master.zip | cwickens, 2018-10-07 10:04 | |||
Python_2018-10-13-141913_Karthikeyans-MacBook-Air.crash | xtreak, 2018-10-13 08:55 |
Messages (9) | |||
---|---|---|---|
msg327270 - (view) | Author: (cwickens) | Date: 2018-10-07 10:04 | |
Clone the following repo and follow the repro steps described in the readme: https://github.com/oTree-org/py37bug It seems that using certain non-ASCII characters in parts of a string crashes Python. In the README I listed the strings that are OK and those that crash. Also attaching the repo. |
|||
msg327291 - (view) | Author: Karthikeyan Singaravelan (xtreak) * | Date: 2018-10-07 16:57 | |
Thanks for the report. Can you please try this with 3.7.0 RC1 to see if it's reproducible? I think this similar to issue34087 that was present only in 3.7 and master which also has a Django project. There was a similar report with issue34241 with a similar Django project POC causing this in the templates layer. 3.7.0 RC1 : https://www.python.org/downloads/release/python-370rc1/ |
|||
msg327603 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2018-10-12 17:24 | |
The report is based on a crash running the otree plugin (proper term?) for the Django framework. For a bug to be our responsibility, it must be present in the cpython repository, and should be reproducible without installing 3rd party modules. For instance, while #34807 and #34241 reported crashes while using Django, the test added to the test suite involved a trivial expression: int/float/complex('\u3053\u3093\u306b\u3061\u306f') The fix in #34807 was merged after 3.7.0 was released, hence the request to test with 3.7.1rc1 (or the upcoming soon 3.7.1rc2) or an updated clone. The literal "¿AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" by itself does not cause a crash. If the crash persists with 3.7.1, please find the code that processes the label string and extract the minimal code that results in a crash. |
|||
msg327629 - (view) | Author: (cwickens) | Date: 2018-10-13 06:46 | |
OK thank you for the explanations. It does indeed sound a lot like issue 34241. I will test as soon as I get a chance. Anyway, I am OK with this bug being closed. |
|||
msg327630 - (view) | Author: Karthikeyan Singaravelan (xtreak) * | Date: 2018-10-13 07:04 | |
Just noticed that you have mentioned that it doesn't crash in Linux in the GitHub repo. I tried the same in Ubuntu and if it's due to the mentioned issue I think it should crash in Linux too. Anyway it's worth giving 3.7RC1 a try to validate this. You can also attach the core dump stack trace file if possible. Unfortunately, I don't have a Windows machine to test this. Thanks |
|||
msg327634 - (view) | Author: (cwickens) | Date: 2018-10-13 08:16 | |
Actually I was mistaken: it does reproduce with 3.7.0 on MacOS. I just tried it again; I guess the first time I must have copied the problematic string incorrectly (as even changing by 1 char seems to affect whether it crashes). Below is the crash report. Anyway, my next step will be to try with the 3.7.1 RC. Though I guess I need to uninstall my existing 3.7 and I wonder how this will affect my existing projects and virtualenvs. Process: Python [558] Path: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 3.7.0 (3.7.0) Code Type: X86-64 (Native) Parent Process: bash [476] Responsible: Terminal [467] User ID: 502 Date/Time: 2018-10-13 16:59:09.845 +0900 OS Version: Mac OS X 10.11.2 (15C50) Report Version: 11 Anonymous UUID: 091D73EC-486B-5A63-9222-A9291F26FB6E Time Awake Since Boot: 330 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.python.python 0x00000001017f75aa pymalloc_alloc + 74 1 org.python.python 0x00000001017f5493 _PyObject_Calloc + 35 2 org.python.python 0x00000001017d1cdb PyList_New + 123 3 org.python.python 0x00000001017d4758 list_subscript + 280 4 org.python.python 0x00000001017a1068 PyObject_GetItem + 72 5 org.python.python 0x0000000101871514 _PyEval_EvalFrameDefault + 4596 6 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 7 org.python.python 0x00000001017b97e4 _PyFunction_FastCallDict + 148 8 org.python.python 0x00000001017bab4f _PyObject_FastCall_Prepend + 127 9 org.python.python 0x000000010180ea00 slot_mp_subscript + 160 10 org.python.python 0x00000001017a1068 PyObject_GetItem + 72 11 org.python.python 0x0000000101871514 _PyEval_EvalFrameDefault + 4596 12 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 13 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 14 org.python.python 0x00000001018795bb call_function + 795 15 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 16 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 17 org.python.python 0x00000001018795bb call_function + 795 18 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 19 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 20 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 21 org.python.python 0x00000001018795bb call_function + 795 22 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 23 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 24 org.python.python 0x00000001018795bb call_function + 795 25 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 26 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 27 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 28 org.python.python 0x00000001018795bb call_function + 795 29 org.python.python 0x0000000101876560 _PyEval_EvalFrameDefault + 25152 30 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 31 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 32 org.python.python 0x00000001018795bb call_function + 795 33 org.python.python 0x0000000101876560 _PyEval_EvalFrameDefault + 25152 34 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 35 org.python.python 0x00000001018795bb call_function + 795 36 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 37 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 38 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 39 org.python.python 0x00000001018795bb call_function + 795 40 org.python.python 0x0000000101876560 _PyEval_EvalFrameDefault + 25152 41 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 42 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 43 org.python.python 0x00000001018795bb call_function + 795 44 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 45 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 46 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 47 org.python.python 0x00000001018795bb call_function + 795 48 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 49 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 50 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 51 org.python.python 0x00000001018795bb call_function + 795 52 org.python.python 0x0000000101876546 _PyEval_EvalFrameDefault + 25126 53 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 54 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 55 org.python.python 0x00000001018795bb call_function + 795 56 org.python.python 0x0000000101876546 _PyEval_EvalFrameDefault + 25126 57 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 58 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 59 org.python.python 0x00000001018795bb call_function + 795 60 org.python.python 0x0000000101876560 _PyEval_EvalFrameDefault + 25152 61 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 62 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 63 org.python.python 0x00000001018795bb call_function + 795 64 org.python.python 0x00000001018766a7 _PyEval_EvalFrameDefault + 25479 65 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 66 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 67 org.python.python 0x00000001018795bb call_function + 795 68 org.python.python 0x00000001018766a7 _PyEval_EvalFrameDefault + 25479 69 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 70 org.python.python 0x00000001018795bb call_function + 795 71 org.python.python 0x0000000101876546 _PyEval_EvalFrameDefault + 25126 72 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 73 org.python.python 0x00000001017b995b _PyFunction_FastCallDict + 523 74 org.python.python 0x00000001017bac2f _PyObject_Call_Prepend + 143 75 org.python.python 0x00000001017b9ee7 PyObject_Call + 135 76 org.python.python 0x0000000101876871 _PyEval_EvalFrameDefault + 25937 77 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 78 org.python.python 0x00000001017b995b _PyFunction_FastCallDict + 523 79 org.python.python 0x00000001017bac2f _PyObject_Call_Prepend + 143 80 org.python.python 0x00000001017b9ee7 PyObject_Call + 135 81 org.python.python 0x0000000101876871 _PyEval_EvalFrameDefault + 25937 82 org.python.python 0x00000001017ba1f0 function_code_fastcall + 128 83 org.python.python 0x00000001018795bb call_function + 795 84 org.python.python 0x0000000101876546 _PyEval_EvalFrameDefault + 25126 85 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 86 org.python.python 0x00000001017b9d81 _PyFunction_FastCallKeywords + 257 87 org.python.python 0x00000001018795bb call_function + 795 88 org.python.python 0x0000000101876601 _PyEval_EvalFrameDefault + 25313 89 org.python.python 0x000000010187a096 _PyEval_EvalCodeWithName + 2422 90 org.python.python 0x0000000101870244 PyEval_EvalCode + 100 91 org.python.python 0x00000001018ad041 PyRun_FileExFlags + 209 92 org.python.python 0x00000001018ac8eb PyRun_SimpleFileExFlags + 859 93 org.python.python 0x00000001018ca93c pymain_main + 8044 94 org.python.python 0x00000001018cada1 _Py_UnixMain + 129 95 libdyld.dylib 0x00007fff9b9395ad start + 1 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000103324000 rbx: 0x0000000000000000 rcx: 0x207463656a626f20 rdx: 0x000000010198c660 rdi: 0x00007fff5e465380 rsi: 0x000000010198c670 rbp: 0x00007fff5e465370 rsp: 0x00007fff5e465340 r8: 0xffffffffffffffff r9: 0x00000001019f41e0 r10: 0x00000000000000ff r11: 0x0015bba8bea50dc9 r12: 0x0000000000000000 r13: 0x0000000102030e08 r14: 0x00007fff5e465380 r15: 0x0000000000000000 rip: 0x00000001017f75aa rfl: 0x0000000000010206 cr2: 0x00000001044a1020 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 13 Binary Images: 0x101796000 - 0x101796fff +org.python.python (3.7.0 - 3.7.0) <4B030EC4-815E-34B7-90E7-D0720C31E072> /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python 0x101799000 - 0x10196fff7 +org.python.python (3.7.0, [c] 2001-2018 Python Software Foundation. - 3.7.0) <4C64F346-20C8-3CBF-B1BD-134CC385C83F> /Library/Frameworks/Python.framework/Versions/3.7/Python 0x101f5c000 - 0x101f5dfff +_heapq.cpython-37m-darwin.so (0) <E8B35F18-1B5A-3C9E-B1F4-0BE0432459A2> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_heapq.cpython-37m-darwin.so 0x102022000 - 0x102025ff7 +zlib.cpython-37m-darwin.so (0) <CB41B121-E928-3213-92CE-7A26C3F668BF> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/zlib.cpython-37m-darwin.so 0x1020ab000 - 0x1020acff7 +_bz2.cpython-37m-darwin.so (0) <382FBB0E-773D-3087-B299-0BA7E84EE925> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_bz2.cpython-37m-darwin.so 0x1020b0000 - 0x1020e0ff7 +_lzma.cpython-37m-darwin.so (0) <9FA6A0AA-2744-3173-87D4-B1346E700996> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_lzma.cpython-37m-darwin.so 0x1020ea000 - 0x1020eaff7 +grp.cpython-37m-darwin.so (0) <7C368BF4-6AA8-3B5C-9E18-74281C3ECE9A> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/grp.cpython-37m-darwin.so 0x1020ed000 - 0x1020f1fff +_struct.cpython-37m-darwin.so (0) <2379780F-4AB4-394B-B5AB-55A517D6627E> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_struct.cpython-37m-darwin.so 0x1020fa000 - 0x1020fdff7 +binascii.cpython-37m-darwin.so (0) <088500A1-3BAE-31D2-9F50-CD4708778D6A> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/binascii.cpython-37m-darwin.so 0x10218a000 - 0x10218bff7 +_posixsubprocess.cpython-37m-darwin.so (0) <0636949E-6CED-3FF2-B9FD-272A08A1BEEA> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_posixsubprocess.cpython-37m-darwin.so 0x10218f000 - 0x102191fff +select.cpython-37m-darwin.so (0) <869F8AE3-73B4-35C4-82CA-3D954FD00F78> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/select.cpython-37m-darwin.so 0x102197000 - 0x10219bfff +math.cpython-37m-darwin.so (0) <E18B0A65-B44F-3F1D-96A8-C29A7F794019> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/math.cpython-37m-darwin.so 0x1021e2000 - 0x1021f0ff7 +_datetime.cpython-37m-darwin.so (0) <96B5C955-7E6C-3CF9-B307-8C6ADFE919AE> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_datetime.cpython-37m-darwin.so 0x1021fb000 - 0x102224fff +pyexpat.cpython-37m-darwin.so (0) <F48C98BB-FCAA-318D-AF45-54DCC0DAE46E> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/pyexpat.cpython-37m-darwin.so 0x1022b7000 - 0x1022b9ff7 +_hashlib.cpython-37m-darwin.so (0) <2AEB8626-9BAA-318E-B041-15914DAE6098> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_hashlib.cpython-37m-darwin.so 0x1022be000 - 0x1022ffff7 +libssl.1.1.dylib (0) <13A15B8F-4D8A-39CA-B43F-738443A66D95> /Library/Frameworks/Python.framework/Versions/3.7/lib/libssl.1.1.dylib 0x102320000 - 0x1024fc6a7 +libcrypto.1.1.dylib (0) <F4D57673-8F11-3BDD-931C-705C9095746B> /Library/Frameworks/Python.framework/Versions/3.7/lib/libcrypto.1.1.dylib 0x10257c000 - 0x102581ff7 +_blake2.cpython-37m-darwin.so (0) <307B827A-5804-3D9A-B975-65BE192D02EB> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_blake2.cpython-37m-darwin.so 0x102586000 - 0x102596fff +_sha3.cpython-37m-darwin.so (0) <565BB110-FFC3-36D5-A854-7D617A0A1107> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_sha3.cpython-37m-darwin.so 0x10259c000 - 0x10259cff7 +_bisect.cpython-37m-darwin.so (0) <A4FCF31A-2AA6-3EAC-AF46-2F2D10EC1AB1> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_bisect.cpython-37m-darwin.so 0x10259f000 - 0x1025a0ff7 +_random.cpython-37m-darwin.so (0) <CE043712-0C0E-3DA4-AAF2-35654CC67C6D> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_random.cpython-37m-darwin.so 0x1025a4000 - 0x1025adff7 +_socket.cpython-37m-darwin.so (0) <2ED26552-1156-396E-93EB-E190096E567D> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_socket.cpython-37m-darwin.so 0x10267a000 - 0x10267aff7 +_opcode.cpython-37m-darwin.so (0) <11A650B3-FF7B-3DF1-81E2-A906553221C9> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_opcode.cpython-37m-darwin.so 0x102a0d000 - 0x102a12fff +_json.cpython-37m-darwin.so (0) <15DD9506-43B8-3BAF-A0DE-2A23C18746D0> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_json.cpython-37m-darwin.so 0x102a57000 - 0x102a9bff7 +_decimal.cpython-37m-darwin.so (0) <84654D81-C934-3938-B3D0-432E1D6D0E1B> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_decimal.cpython-37m-darwin.so 0x102c3c000 - 0x102c3cfff +_uuid.cpython-37m-darwin.so (0) <4283C23E-E755-3642-9450-F25DED17AE4D> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_uuid.cpython-37m-darwin.so 0x102c3f000 - 0x102d3cfff +unicodedata.cpython-37m-darwin.so (0) <24E54F7A-66F5-36C7-BD07-D8AAED82B232> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/unicodedata.cpython-37m-darwin.so 0x102f82000 - 0x102f83fff +fcntl.cpython-37m-darwin.so (0) <ADADACC0-C00C-3386-9709-CCB56A7C95E0> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/fcntl.cpython-37m-darwin.so 0x103087000 - 0x103088ff7 +termios.cpython-37m-darwin.so (0) <A1A8F79D-1BA9-3217-961C-66720158D6A4> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/termios.cpython-37m-darwin.so 0x10314d000 - 0x10315aff7 +_ssl.cpython-37m-darwin.so (0) <882A8463-F574-30B6-A0A6-2AE0CC05785F> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so 0x1031eb000 - 0x1031feff7 +_pickle.cpython-37m-darwin.so (0) <EE441B9A-9F7A-319F-B223-BB8C247419E9> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_pickle.cpython-37m-darwin.so 0x10320a000 - 0x10320bff7 +_queue.cpython-37m-darwin.so (0) <96B587F0-3902-3377-9E68-CAE6B521876C> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_queue.cpython-37m-darwin.so 0x10338f000 - 0x10339fff7 +_ctypes.cpython-37m-darwin.so (0) <78FCD5A2-0B47-331E-A406-2876C1289C15> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so 0x1034f0000 - 0x1035bafff +_sqlite3.cpython-37m-darwin.so (0) <56ADC430-4CB3-3DB6-A1EE-7C38626DA630> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_sqlite3.cpython-37m-darwin.so 0x103a65000 - 0x103a65ff7 +_scproxy.cpython-37m-darwin.so (0) <CEB3C644-E218-3688-8111-7C84B3E11E12> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_scproxy.cpython-37m-darwin.so 0x103ce8000 - 0x103cebff7 +_csv.cpython-37m-darwin.so (0) <95274561-6355-3870-BAB8-FD52767BAC79> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_csv.cpython-37m-darwin.so 0x104271000 - 0x104276ff7 +array.cpython-37m-darwin.so (0) <B1C7F85C-02CE-3CED-933B-B06B1405D0D8> /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/array.cpython-37m-darwin.so 0x7fff65c82000 - 0x7fff65cb8fa7 dyld (360.18) <1A7F8274-FC32-3B86-9979-66B8F2B7B5E2> /usr/lib/dyld 0x7fff88de2000 - 0x7fff88e0bfff libsystem_info.dylib (477.20.1) <6513635B-4ADE-3B45-BF63-ED7AC565B0C9> /usr/lib/system/libsystem_info.dylib 0x7fff88e6e000 - 0x7fff88e9dffb libsystem_m.dylib (3105) <26655445-CA97-321E-B221-801CB378D1AA> /usr/lib/system/libsystem_m.dylib 0x7fff89145000 - 0x7fff89153ff7 libbz2.1.0.dylib (38) <28E54258-C0FE-38D4-AB76-1734CACCB344> /usr/lib/libbz2.1.0.dylib 0x7fff8a217000 - 0x7fff8a22efff libsystem_asl.dylib (322) <3C2D3ACD-0DD1-337A-8247-44A910D67A65> /usr/lib/system/libsystem_asl.dylib 0x7fff8bb09000 - 0x7fff8bb19fff libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib 0x7fff8ca93000 - 0x7fff8ca9aff7 libcompiler_rt.dylib (62) <D3C4AB40-23B4-3BC6-8C38-5B8758D14E80> /usr/lib/system/libcompiler_rt.dylib 0x7fff8cc8f000 - 0x7fff8cd06fe7 libcorecrypto.dylib (335.20.1) <C6BD205F-4ECE-37EE-BCAB-A76F39CDCFFA> /usr/lib/system/libcorecrypto.dylib 0x7fff8ce1e000 - 0x7fff8ce26fff libcopyfile.dylib (127) <F5133269-0B22-388C-A57C-079667B6291E> /usr/lib/system/libcopyfile.dylib 0x7fff8d3c3000 - 0x7fff8d3ecfff libxpc.dylib (756.20.4) <61AB4610-9304-354C-9E9B-D57198AE9866> /usr/lib/system/libxpc.dylib 0x7fff8d3ed000 - 0x7fff8d47afff libsystem_c.dylib (1082.20.4) <EAB38A6C-8671-3B13-B500-90EC1B912063> /usr/lib/system/libsystem_c.dylib 0x7fff8d4ef000 - 0x7fff8d518fff libc++abi.dylib (125) <DCCC8177-3D09-35BC-9784-2A04FEC4C71B> /usr/lib/libc++abi.dylib 0x7fff8d51c000 - 0x7fff8d51cff7 libunc.dylib (29) <1D0F8265-F026-3CBD-93D3-F8DF14FFCE68> /usr/lib/system/libunc.dylib 0x7fff8d79a000 - 0x7fff8d79bfff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib 0x7fff8d92b000 - 0x7fff8d97eff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib 0x7fff8dab1000 - 0x7fff8dab3ff7 libsystem_configuration.dylib (802.20.7) <5FD79070-36CC-3D02-BEA7-BB5D2AE97D5D> /usr/lib/system/libsystem_configuration.dylib 0x7fff8dd43000 - 0x7fff8dd4bffb libsystem_dnssd.dylib (625.20.4) <945B5FB1-DA91-3D45-A961-A8FAD53C1E7E> /usr/lib/system/libsystem_dnssd.dylib 0x7fff8de81000 - 0x7fff8de9ffff libsystem_kernel.dylib (3248.20.55) <0E688457-4915-36DD-8798-5C2EDEE3F1A3> /usr/lib/system/libsystem_kernel.dylib 0x7fff8f970000 - 0x7fff8f971fff libsystem_secinit.dylib (20) <FD6ECF2C-1489-32CA-981B-9045B5EB1FAA> /usr/lib/system/libsystem_secinit.dylib 0x7fff90184000 - 0x7fff9018dff7 libsystem_pthread.dylib (138.10.4) <327CECD0-B881-3153-8FCC-4FD4818B7F16> /usr/lib/system/libsystem_pthread.dylib 0x7fff90195000 - 0x7fff901f3fff com.apple.SystemConfiguration (1.14 - 1.14) <A6ABDEA0-88BB-3EA2-8C97-FC1A33ABB1D7> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x7fff92017000 - 0x7fff92018ffb libremovefile.dylib (41) <B8D1A5FC-CFD5-3AAB-8A10-14DDC129710A> /usr/lib/system/libremovefile.dylib 0x7fff929e3000 - 0x7fff92a44ff7 libsystem_network.dylib (583.20.10) <1C0410F3-F66E-3B0D-B8AD-0D49AB15A529> /usr/lib/system/libsystem_network.dylib 0x7fff946e5000 - 0x7fff946e8ff7 libsystem_sandbox.dylib (460.20.9) <1C891336-1B25-365D-B43E-96D5B3BE66B0> /usr/lib/system/libsystem_sandbox.dylib 0x7fff94d90000 - 0x7fff94d92ff7 libquarantine.dylib (80) <163CF63A-7455-3D1F-AE57-8C4475A9204C> /usr/lib/system/libquarantine.dylib 0x7fff95e01000 - 0x7fff95e03fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib 0x7fff962ef000 - 0x7fff964fcffb libicucore.A.dylib (551.41) <CFFD7342-A7D6-323A-AC14-B9EECF6EFFED> /usr/lib/libicucore.A.dylib 0x7fff9839d000 - 0x7fff986fff3f libobjc.A.dylib (680) <9F45830D-F1D5-3CDF-9461-1A5477ED7D1E> /usr/lib/libobjc.A.dylib 0x7fff98f48000 - 0x7fff98f49fff libsystem_blocks.dylib (65) <49D42329-7DE9-3413-92C3-A473A7E9CF35> /usr/lib/system/libsystem_blocks.dylib 0x7fff99239000 - 0x7fff9923eff3 libunwind.dylib (35.3) <124E0F05-2350-3774-A32C-7F5BF38EDE73> /usr/lib/system/libunwind.dylib 0x7fff9942b000 - 0x7fff99471ff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib 0x7fff9a4c0000 - 0x7fff9a4c1ffb libSystem.B.dylib (1226.10.1) <54388DF0-3813-33E4-BE8D-7743A81ACF4D> /usr/lib/libSystem.B.dylib 0x7fff9b737000 - 0x7fff9b73ffff libsystem_networkextension.dylib (385.20.6) <DC8A102A-BF02-31A4-8914-65C34DF6B592> /usr/lib/system/libsystem_networkextension.dylib 0x7fff9b79c000 - 0x7fff9b7b2ff7 libsystem_coretls.dylib (83.20.8) <30AF7134-6CA7-3582-B9D3-507D6ED19A88> /usr/lib/system/libsystem_coretls.dylib 0x7fff9b8f7000 - 0x7fff9b900ff3 libsystem_notify.dylib (150.20.3) <243FADE1-255A-3B78-8033-F336CD64B817> /usr/lib/system/libsystem_notify.dylib 0x7fff9b936000 - 0x7fff9b939ffb libdyld.dylib (360.18) <5F3777A7-F07E-3D5F-BFA3-A920FF4170ED> /usr/lib/system/libdyld.dylib 0x7fff9b93a000 - 0x7fff9b93fff7 libmacho.dylib (875.1) <CB745E1F-4885-3F96-B38B-2093DF488FD5> /usr/lib/system/libmacho.dylib 0x7fff9bc42000 - 0x7fff9bc5eff7 libsystem_malloc.dylib (67) <9EECAB18-F025-34C4-8E32-7EFFA6720EFC> /usr/lib/system/libsystem_malloc.dylib 0x7fff9c0a7000 - 0x7fff9c0b2ff7 libcommonCrypto.dylib (60075.20.1) <766BC3F5-41F3-3315-BABC-72718A98EA92> /usr/lib/system/libcommonCrypto.dylib 0x7fff9c3ac000 - 0x7fff9c3acff7 libkeymgr.dylib (28) <09397E01-6066-3179-A50C-2CE666FDA929> /usr/lib/system/libkeymgr.dylib 0x7fff9cb03000 - 0x7fff9cf79fff com.apple.CoreFoundation (6.9 - 1256.14) <068D1BA9-3859-34C7-986A-97EDF739C5C8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff9d248000 - 0x7fff9d250fe7 libsystem_platform.dylib (74.10.3) <D3A27E10-7F08-3603-ACC8-7A92B2C04BAB> /usr/lib/system/libsystem_platform.dylib 0x7fff9d5e5000 - 0x7fff9d5f6ff7 libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib 0x7fff9d916000 - 0x7fff9d91afff libcache.dylib (75) <6B245C0A-F3EA-383B-A542-5B0D0456A41B> /usr/lib/system/libcache.dylib 0x7fff9f41d000 - 0x7fff9f42eff7 libsystem_trace.dylib (201.10.3) <F0B7622B-FB6B-31E1-8703-38F57BE84553> /usr/lib/system/libsystem_trace.dylib 0x7fff9f4b1000 - 0x7fff9f4defff libdispatch.dylib (501.20.1) <324C9189-2AF3-3356-847F-6F4CE1C6E901> /usr/lib/system/libdispatch.dylib 0x7fff9f4df000 - 0x7fff9f4dfff7 liblaunch.dylib (756.20.4) <EDF719D6-D2BB-38DD-8C94-4272BEFDA2CD> /usr/lib/system/liblaunch.dylib External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 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: 405 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=114.4M resident=0K(0%) swapped_out_or_unallocated=114.4M(100%) Writable regions: Total=91.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=91.6M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 2048K 2 Kernel Alloc Once 4K 2 MALLOC 72.8M 34 MALLOC guard page 16K 4 MALLOC_LARGE (reserved) 384K 3 reserved VM address space (unallocated) STACK GUARD 4K 2 Stack 16.0M 2 VM_ALLOCATE 8K 3 __DATA 4004K 89 __LINKEDIT 92.9M 40 __TEXT 21.5M 85 __UNICODE 552K 2 shared memory 12K 4 =========== ======= ======= TOTAL 210.1M 259 TOTAL, minus reserved VM space 209.8M 259 Model: Macmini7,1, BootROM MM71.0220.B06, 2 processors, Intel Core i5, 1.4 GHz, 4 GB, SMC 2.24f32 Graphics: Intel HD Graphics 5000, Intel HD Graphics 5000, Built-In Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4B3445384533303445452D45474345000000 Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4B3445384533303445452D45474345000000 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x13B), Broadcom BCM43xx 1.0 (7.21.94.136.1a1) Bluetooth: Version 4.4.3f4 16616, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en1 Serial ATA Device: APPLE HDD HTS545050A7E362, 500.11 GB USB Device: USB 3.0 Bus USB Device: USB Receiver USB Device: IR Receiver USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: Kinesis Keyboard Hub USB Device: Composite Device Thunderbolt Bus: Mac mini, Apple Inc., 26.1 |
|||
msg327639 - (view) | Author: Karthikeyan Singaravelan (xtreak) * | Date: 2018-10-13 08:55 | |
Thanks @cwickens for the confirmation. It's still weird that I used one of the problematic strings in the repo and it didn't crash with 3.7.0 on my Ubuntu machine. I tried testing with Mac OS again since you mentioned it was reproducible now. I cloned the repo and even with the normal repo it crashes with 3.7.0 on Mac. I installed 3.7.1 RC1 and it fixes the issue. Please find my testing as below with the default clone from git : Python 3.7.0 for Mac OS installed from python.org segfaults : ➜ py37bug git:(master) python3.7 -m ../venv py37-venv ➜ py37bug git:(master) source ../venv py37-venv/bin/activate (py37-venv) ➜ py37bug git:(master) python3.7 Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> ^D (py37-venv) ➜ py37bug git:(master) pip install otree (py37-venv) ➜ py37bug git:(master) otree resetdb --noinput [1] 2590 segmentation fault otree resetdb --noinput Python 3.7.1 RC 1 for Mac OS installed from python.org works fine : ➜ py37bug git:(master) python3.7 -m ../venv py37-rc-1-venv ➜ py37bug git:(master) source ../venv py37-rc-1-venv/bin/activate (py37-rc-1-venv) ➜ py37bug git:(master) python3.7 Python 3.7.1rc1 (v3.7.1rc1:2064bcf6ce, Sep 26 2018, 03:09:51) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> ^D (py37-rc-1-venv) ➜ py37bug git:(master) pip install otree (py37-rc-1-venv) ➜ py37bug git:(master) otree resetdb --noinput INFO Database engine: SQLite INFO Retrieving Existing Tables... INFO Dropping Tables... INFO Creating Database 'default'... Operations to perform: Synchronize unmigrated apps: auth, channels, contenttypes, demoapp, djhuey, forms, idmap, messages, otree, sessions, staticfiles Apply all migrations: (none) Synchronizing apps without migrations: Creating tables... Creating table otree_pagecompletion Creating table otree_pagetimeout Creating table otree_completedgroupwaitpage Creating table otree_completedsubsessionwaitpage Creating table otree_participanttoplayerlookup Creating table otree_participantlockmodel Creating table otree_undefinedformmodel Creating table otree_roomtosession Creating table otree_failedsessioncreation Creating table otree_participantroomvisit Creating table otree_browserbotslaunchersessioncode Creating table otree_chatmessage Creating table otree_session Creating table otree_participant Creating table auth_permission Creating table auth_group Creating table auth_user Creating table django_content_type Creating table django_session Creating table demoapp_subsession Creating table demoapp_group Creating table demoapp_player Running deferred SQL... Running migrations: No migrations to apply. INFO Created new tables and columns. For some odd reason even with Python 3.7.0 installed the segfault still shows 3.7.1RC1 in my Mac OS report. I had RC1 installed first and then did an install of 3.7.0 for testing this so I don't know why it's not updated to 3.7.0 in the segfault but my tests show with 3.7.1RC1 it works fine. If you can try with 3.7.1 RC1 as you are available then it will be a helpful confirmation. Attaching the core dump similar to yours for reference. Hope it helps. Thanks |
|||
msg327664 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2018-10-13 19:29 | |
An upgrade of the same version and bitness binary by the PSF Windows and Mac installers is done, by default, in place, so your Python scripts should not notice the difference, except for the bug fixes. At least on Windows, downgrading requires uninstall, but one can choose to leave the directory and added files, including packages in site-packages, alone, so that installing the older maintenance version should again leave everything the same except for adding bugs back. |
|||
msg397038 - (view) | Author: Irit Katriel (iritkatriel) * | Date: 2021-07-06 13:42 | |
As per message https://bugs.python.org/issue34919#msg327639, the issue was fixed in 3.7.1. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:06 | admin | set | github: 79100 |
2021-07-06 13:42:50 | iritkatriel | set | status: open -> closed nosy: + iritkatriel messages: + msg397038 resolution: fixed stage: resolved |
2018-10-13 19:29:11 | terry.reedy | set | messages: + msg327664 |
2018-10-13 08:55:55 | xtreak | set | files:
+ Python_2018-10-13-141913_Karthikeyans-MacBook-Air.crash messages: + msg327639 |
2018-10-13 08:16:54 | cwickens | set | components: - Windows |
2018-10-13 08:16:33 | cwickens | set | messages: + msg327634 |
2018-10-13 07:04:26 | xtreak | set | messages: + msg327630 |
2018-10-13 06:46:17 | cwickens | set | messages: + msg327629 |
2018-10-12 17:24:01 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg327603 |
2018-10-07 16:57:07 | xtreak | set | nosy:
+ xtreak messages: + msg327291 |
2018-10-07 10:04:26 | cwickens | create |