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 foldr
Recipients foldr, ned.deily, ronaldoussoren
Date 2020-03-16.10:26:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584354397.7.0.17560175577.issue39977@roundup.psfhosted.org>
In-reply-to
Content
Good morning.

I recently updated my system to MacOS Catalina and python crashes if it tries to load libcrypto.dylib. I have attached the crash report generated by MacOS.

Steps to reproduce:

Calling a binary that loads the library causes the crash:
$ luigi
[1]    70375 abort      luigi
$ dex2call
[1]    70451 abort      dex2call

Loading the library from the interpreter triggers the crash too:

$ python
Python 3.7.6 (default, Dec 30 2019, 19:38:28)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import dex2call
[1]    70536 abort      python

I have tested with https://pypi.org/project/luigi/ and https://pypi.org/project/dex2call/.

Invoking python without any script or with (I suppose) a script that does not require libcrypto works fine:

$ python
Python 3.7.6 (default, Dec 30 2019, 19:38:28)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

$ python ~/scripts/yt2nb.py
Traceback (most recent call last):
  File "/Users/foldr/scripts/yt2nb.py", line 6, in <module>
    e = xml.etree.ElementTree.parse(sys.argv[1]).getroot()
IndexError: list index out of range

The content of yt2nb.py is:
 
#!/usr/bin/env python3

import xml.etree.ElementTree
import sys

e = xml.etree.ElementTree.parse(sys.argv[1]).getroot()
for outline in e.iter('outline'):
	if "type" in outline.attrib and outline.attrib["type"] == "rss":
		url = outline.attrib['xmlUrl']
		name = outline.attrib['title']#.encode("utf-8")
		print("%s youtube \"~%s\"" % (url, str(name)))

I have Python installed from brew and the crash report has all the relevant version numbers.

Let me know if you need more information for testing or reproducibility.

Thank you.
Daniel.
History
Date User Action Args
2020-03-16 10:26:37foldrsetrecipients: + foldr, ronaldoussoren, ned.deily
2020-03-16 10:26:37foldrsetmessageid: <1584354397.7.0.17560175577.issue39977@roundup.psfhosted.org>
2020-03-16 10:26:37foldrlinkissue39977 messages
2020-03-16 10:26:36foldrcreate