Bug 1416277
Summary: | [abrt] abrt-addon-ccpp: download(): debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | collura | ||||||||||||||
Component: | abrt | Assignee: | abrt <abrt-devel-list> | ||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||
Priority: | unspecified | ||||||||||||||||
Version: | 26 | CC: | a.ahanj, abrt-devel-list, alexngkaho, bruno.thomsen, brunovern.a, c.crispino8611, collura, dario.pudlo+bugzilla, Eugene.Dolgoff, ezwen-redhatbugzilla, fedora, hernantz, hsushipei1, iprikryl, jakub, Jasper.Hartline, javiertury, jfrieben, jkasuku, mhabrnal, michal.toman, mmilata, phelia, tcfxfzoi, twaugh, vedran, z.dolezal | ||||||||||||||
Target Milestone: | --- | ||||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/77bb4ec3ad8c20a500c202c4651bfedc32d24568 | ||||||||||||||||
Whiteboard: | abrt_hash:bb74d4e1eb43c78ad6bb95202c0f1dc1077d2c6e;VARIANT_ID=workstation; | ||||||||||||||||
Fixed In Version: | abrt-2.10.5-1.fc27 | Doc Type: | If docs needed, set a value | ||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2017-11-11 03:12:52 UTC | Type: | --- | ||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Attachments: |
|
Description
collura
2017-01-25 06:36:05 UTC
Created attachment 1244164 [details]
File: backtrace
Created attachment 1244165 [details]
File: cgroup
Created attachment 1244166 [details]
File: environ
Created attachment 1244167 [details]
File: mountinfo
Created attachment 1244168 [details]
File: namespaces
Created attachment 1244169 [details]
File: open_fds
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. Similar problem has been detected: I think that I lost my internet connection during the process, which may have caused the crash. reporter: libreport-2.9.1 cmdline: /usr/bin/python3 -u /usr/bin/abrt-action-install-debuginfo --ids /proc/self/fd/3 --releasever 26 --tmpdir /var/tmp/abrt-tmp-debuginfo.qN5kRK -- crash_function: download exception_type: TypeError executable: /usr/bin/abrt-action-install-debuginfo kernel: 4.11.6-301.fc26.x86_64 package: abrt-addon-ccpp-2.10.3-1.fc26 reason: debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType runlevel: N 5 type: Python3 uid: 173 Similar problem has been detected: Pulseaudio crashed, so after that I went to upload a report to bugzilla using the abrt tool. The pulseaudio coredump was quite big, around 1.3GB, and the computer was unresponsive after beginning to report the crash with abrt. It said that I couldn't upload the coredump because it was larger than 1.2GB so it had to generate locally a trace. For this it needed to download some packages which I agreed. At this point the computer was barely responsive. Then abrt crashed as well. reporter: libreport-2.9.1 cmdline: /usr/bin/python3 -u /usr/bin/abrt-action-install-debuginfo --ids /proc/self/fd/3 --releasever 26 --tmpdir /var/tmp/abrt-tmp-debuginfo.6nRRXh -- crash_function: download exception_type: TypeError executable: /usr/bin/abrt-action-install-debuginfo kernel: 4.11.10-300.fc26.x86_64 package: abrt-addon-ccpp-2.10.3-1.fc26 reason: debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType runlevel: N 5 type: Python3 uid: 173 *** Bug 1473830 has been marked as a duplicate of this bug. *** Similar problem has been detected: Reporting a bug. reporter: libreport-2.9.1 cmdline: /usr/bin/python3 -u /usr/bin/abrt-action-install-debuginfo --ids /proc/self/fd/3 --releasever 26 --tmpdir /var/tmp/abrt-tmp-debuginfo.Bwmmwn -- crash_function: download exception_type: TypeError executable: /usr/bin/abrt-action-install-debuginfo kernel: 4.11.10-300.fc26.x86_64 package: abrt-addon-ccpp-2.10.3-1.fc26 reason: debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType runlevel: N 5 type: Python3 uid: 173 *** Bug 1476832 has been marked as a duplicate of this bug. *** *** Bug 1478617 has been marked as a duplicate of this bug. *** *** Bug 1480043 has been marked as a duplicate of this bug. *** Similar problem has been detected: I was trying to report a firefox crash and this happened during install of missing packages to do local backtrace. reporter: libreport-2.9.1 cmdline: /usr/bin/python3 -u /usr/bin/abrt-action-install-debuginfo --ids /proc/self/fd/3 --releasever 26 --tmpdir /var/tmp/abrt-tmp-debuginfo.NlGPrG -- crash_function: download exception_type: TypeError executable: /usr/bin/abrt-action-install-debuginfo kernel: 4.11.11-300.fc26.x86_64 package: abrt-addon-ccpp-2.10.3-1.fc26 reason: debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType runlevel: N 5 type: Python3 uid: 173 *** Bug 1485715 has been marked as a duplicate of this bug. *** *** Bug 1488212 has been marked as a duplicate of this bug. *** Thank you for the reports. I've found a way to replicate this: Prerequisites: Make sure that debuginfos for the crashed component are missing 1) Try to report crash 2) Answer NO to get into local retracing 3) When asked if you want to download debuginfos turn off you internet connection 4) Answer yes Since I was able to replicate and test this, I've made a simple fix https://github.com/abrt/libreport/commit/60c8ec5 in upstream *** Bug 1493391 has been marked as a duplicate of this bug. *** *** Bug 1502261 has been marked as a duplicate of this bug. *** abrt-2.10.5-1.fc27 libreport-2.9.3-1.fc27 satyr-0.24-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-93746c426a abrt-2.10.5-1.fc27, libreport-2.9.3-1.fc27, satyr-0.24-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-93746c426a abrt-2.10.5-1.fc27, libreport-2.9.3-1.fc27, satyr-0.24-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1515460 has been marked as a duplicate of this bug. *** *** Bug 1541119 has been marked as a duplicate of this bug. *** Similar problem has been detected: --- Running report_uReport --- ('report_uReport' completed successfully) --- Running analyze_CCpp --- Ok to upload core dump? (It may contain sensitive data). If your answer is 'No', a stack trace will be generated locally. (It may download a huge amount of data). 'YES' Querying server settings Retrace server is unable to process package 'control-center-3.26.1-1.fc27.x86_64'. Is it a part of official 'Fedora 27 (Workstation Edition)' repositories? Unknown package sent to Retrace server. Do you want to generate a stack trace locally? (It may download a huge amount of data but reporting can't continue without stack trace). 'YES' Analyzing coredump 'coredump' Coredump references 288 debuginfo files, 130 of them are not installed Initializing package manager Setting up repositories Looking for needed packages in repositories Packages to download: 59 Downloading 1084.76Mb, installed size: 4068.22Mb. Continue? 'YES' Downloading (1 of 59) gstreamer1-plugins-bad-free-debuginfo-1.12.3-1.fc27.x86_64.rpm: 48% Downloading (1 of 59) gstreamer1-plugins-bad-free-debuginfo-1.12.3-1.fc27.x86_64.rpm: 85% Downloading (1 of 59) gstreamer1-plugins-bad-free-debuginfo-1.12.3-1.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/gstreamer1-plugins-bad-free-debuginfo-1.12.3-1.fc27.x86_64.rpm Caching files from unpacked.cpio made from gstreamer1-plugins-bad-free-debuginfo-1.12.3-1.fc27.x86_64.rpm Downloading (2 of 59) libwayland-server-debuginfo-1.14.0-1.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/libwayland-server-debuginfo-1.14.0-1.fc27.x86_64.rpm Caching files from unpacked.cpio made from libwayland-server-debuginfo-1.14.0-1.fc27.x86_64.rpm Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 18% Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 36% Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 53% Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 72% Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 90% Downloading (3 of 59) samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm Caching files from unpacked.cpio made from samba-client-libs-debuginfo-4.7.0-12.fc27.x86_64.rpm Downloading (4 of 59) librsvg2-debuginfo-2.40.19-1.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/librsvg2-debuginfo-2.40.19-1.fc27.x86_64.rpm Caching files from unpacked.cpio made from librsvg2-debuginfo-2.40.19-1.fc27.x86_64.rpm Downloading (5 of 59) libwbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/libwbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm Caching files from unpacked.cpio made from libwbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm Downloading (6 of 59) libsmbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/libsmbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm Caching files from unpacked.cpio made from libsmbclient-debuginfo-4.7.0-12.fc27.x86_64.rpm Downloading (7 of 59) libtdb-debuginfo-1.3.15-1.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/libtdb-debuginfo-1.3.15-1.fc27.x86_64.rpm Caching files from unpacked.cpio made from libtdb-debuginfo-1.3.15-1.fc27.x86_64.rpm Downloading (8 of 59) cogl-debuginfo-1.22.2-7.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/cogl-debuginfo-1.22.2-7.fc27.x86_64.rpm Caching files from unpacked.cpio made from cogl-debuginfo-1.22.2-7.fc27.x86_64.rpm Downloading (9 of 59) control-center-debuginfo-3.26.1-1.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/control-center-debuginfo-3.26.1-1.fc27.x86_64.rpm Caching files from unpacked.cpio made from control-center-debuginfo-3.26.1-1.fc27.x86_64.rpm Downloading (10 of 59) colord-gtk-debuginfo-0.1.26-6.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/colord-gtk-debuginfo-0.1.26-6.fc27.x86_64.rpm Caching files from unpacked.cpio made from colord-gtk-debuginfo-0.1.26-6.fc27.x86_64.rpm Downloading (11 of 59) rest-debuginfo-0.8.0-4.fc27.x86_64.rpm: 100% Extracting cpio from /var/tmp/dnf-abrt-h0azwjoo/fedora-debuginfo-8fdd178160cf0a84/packages/rest-debuginfo-0.8.0-4.fc27.x86_64.rpm Caching files from unpacked.cpio made from rest-debuginfo-0.8.0-4.fc27.x86_64.rpm Traceback (most recent call last): File "/usr/bin/abrt-action-install-debuginfo", line 250, in <module> result = downloader.download(missing, download_exact_files=exact_fls) File "/usr/lib64/python3.6/site-packages/reportclient/debuginfo.py", line 377, in download os.unlink(package_full_path) TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType No processing for event 'analyze_BodhiUpdates' is defined reporter: libreport-2.9.2 cmdline: /usr/bin/python3 -u /usr/bin/abrt-action-install-debuginfo --ids /proc/self/fd/3 --releasever 27 --tmpdir /var/tmp/abrt-tmp-debuginfo.kgPjlH -- crash_function: download exception_type: TypeError executable: /usr/bin/abrt-action-install-debuginfo kernel: 4.16.14-200.fc27.x86_64 package: abrt-addon-ccpp-2.10.4-3.fc27 reason: debuginfo.py:377:download:TypeError: unlink: path should be string, bytes or os.PathLike, not NoneType runlevel: N 5 type: Python3 uid: 173 *** Bug 1597520 has been marked as a duplicate of this bug. *** |