Created attachment 857969 [details] test case that reproduces the error Description of problem: While attempting to parse modules with modulefinder, when modulefinder.ModuleFinder.load_module calls marshal.load(), marshal.load() hangs consuming 100% CPU continually trying to read: ... read(3, "", 4096) = 0 read(3, "", 4096) = 0 read(3, "", 4096) = 0 ... Version-Release number of selected component (if applicable): # rpm -q python3 python3-slip python3-3.3.2-8.fc20.x86_64 python3-slip-0.6.0-1.fc20.noarch How reproducible: 100% Steps to Reproduce: 1. Install python3-slip 2. download the attached t.py file 3. python3 t.py Actual results: Python process consumes 100% CPU in loop. Expected results: Process completes without error.
This is caused by ModuleFinder.load_module skipping a wrong number of bytes in the pyc file (it's skipping 8, but it should be skipping 12 since Python 3.3). I reported it at [1] with a patch, let's see what the upstream thinks about it. [1] http://bugs.python.org/issue20778
Good hunting! I don't know whether you want to release the fix for this in an update; at least, I doubt it's worth an update only to fix this issue. From my perspective as the reporter, closing it as upstream would be a reasonable response, if you want to.
(In reply to Michael K Johnson from comment #2) > Good hunting! > > I don't know whether you want to release the fix for this in an update; at > least, I doubt it's worth an update only to fix this issue. > > From my perspective as the reporter, closing it as upstream would be a > reasonable response, if you want to. Thanks :) I'll wait to see how this gets fixed in upstream (my patch/different patch) and then I'll fix in F20 + rawhide.
python3-3.3.2-11.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python3-3.3.2-11.fc20
Package python3-3.3.2-11.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python3-3.3.2-11.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3505/python3-3.3.2-11.fc20 then log in and leave karma (feedback).
python3-3.3.2-11.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.