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.

Author pablogsal
Recipients alex, benjamin.peterson, gregory.p.smith, pablogsal, twouters
Date 2018-11-13.03:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542080086.59.0.788709270274.issue35214@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot initialize the interpreter after compiling with --with-memory-sanitizer:

❯ CC=clang ./configure  --with-memory-sanitizer && make -j
❯ ./python
Python 3.8.0a0 (heads/master:1584a00815, Nov 13 2018, 03:29:18)
[Clang 7.0.0 (tags/RELEASE_700/final)] on linux
Type "help", "copyright", "credits" or "license" for more information.
==10989==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x5592f18005c3  (/home/pablogsal/cpython/python+0x9a55c3)
    #1 0x5592f175c176  (/home/pablogsal/cpython/python+0x901176)
    #2 0x5592f17592da  (/home/pablogsal/cpython/python+0x8fe2da)
    #3 0x5592f1750f82  (/home/pablogsal/cpython/python+0x8f5f82)
    #4 0x5592f174a336  (/home/pablogsal/cpython/python+0x8ef336)
    #5 0x5592f174c906  (/home/pablogsal/cpython/python+0x8f1906)
    #6 0x5592f14ae214  (/home/pablogsal/cpython/python+0x653214)
    #7 0x5592f14a6915  (/home/pablogsal/cpython/python+0x64b915)
    #8 0x5592f14a293c  (/home/pablogsal/cpython/python+0x64793c)
    #9 0x5592f0f5ad88  (/home/pablogsal/cpython/python+0xffd88)
    #10 0x5592f0f5ce73  (/home/pablogsal/cpython/python+0x101e73)
    #11 0x5592f0f4d908  (/home/pablogsal/cpython/python+0xf2908)
    #12 0x7fd1a7381222  (/usr/lib/libc.so.6+0x24222)
    #13 0x5592f0ed3cdd  (/home/pablogsal/cpython/python+0x78cdd)

  Uninitialized value was created by a heap allocation
    #0 0x5592f0f02a0d  (/home/pablogsal/cpython/python+0xa7a0d)
    #1 0x7fd1a73cd790  (/usr/lib/libc.so.6+0x70790)

SUMMARY: MemorySanitizer: use-of-uninitialized-value (/home/pablogsal/github/cpython/python+0x9a55c3)
Exiting

❯ clang --version
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

❯ /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.28.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 8.2.1 20180831.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.archlinux.org/>.

I am missing something or is this expected (as there are more PRs to come)?
History
Date User Action Args
2018-11-13 03:34:46pablogsalsetrecipients: + pablogsal, twouters, gregory.p.smith, benjamin.peterson, alex
2018-11-13 03:34:46pablogsalsetmessageid: <1542080086.59.0.788709270274.issue35214@psf.upfronthosting.co.za>
2018-11-13 03:34:46pablogsallinkissue35214 messages
2018-11-13 03:34:45pablogsalcreate