RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1805017 - fuse-overlayfs segfault [stream-container-tools-rhel8-rhel-8.2.0/fuse-overlayfs]
Summary: fuse-overlayfs segfault [stream-container-tools-rhel8-rhel-8.2.0/fuse-overlayfs]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fuse-overlayfs
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Jindrich Novy
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1804849
TreeView+ depends on / blocked
 
Reported: 2020-02-20 06:00 UTC by Jindrich Novy
Modified: 2022-05-02 00:56 UTC (History)
6 users (show)

Fixed In Version: fuse-overlayfs-0.7.2-5.el8, container-tools-rhel8-8020020200319160326.0d58ad57
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:53:22 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-37721 0 None None None 2022-05-02 00:56:51 UTC
Red Hat Product Errata RHSA-2020:1650 0 None None None 2020-04-28 15:54:06 UTC

Description Jindrich Novy 2020-02-20 06:00:47 UTC
This is a tracking bug assuring the fix for [bug 1804849] gets applied in stream-container-tools-rhel8-rhel-8.2.0 branch of fuse-overlayfs.

Comment 4 Alex Jia 2020-02-21 09:38:47 UTC
I can reproduce this bug in podman-1.6.4-4.module+el8.2.0+5766+7cb5dfc5.x86_64
w/ fuse-overlayfs-0.7.2-2.module+el8.2.0+5768+3759792f.x86_64, and it works well
for fuse-overlayfs-0.7.2-3.module+el8.2.0+5808+3aafbc8f.x86_64 w/o abrting and
crashing.

[ajia@kvm-08-guest15 ~]$ id
uid=1001(ajia) gid=1001(ajia) groups=1001(ajia) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[ajia@kvm-08-guest15 ~]$ podman unshare cat /proc/self/uid_map
         0       1001          1
         1     165536      65536

1. in fuse-overlayfs-0.7.2-2.module+el8.2.0+5768+3759792f

[ajia@kvm-08-guest15 ~]$ podman run ohpc-gnu9-easybuild:1.9.9 'eb --robot lz4-1.9.2-GCCcore-8.3.0.eb'
== temporary log file in case of crash /tmp/eb-5lw21ryf/easybuild-0u_4m65b.log
== resolving dependencies ...
== processing EasyBuild easyconfig /opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/easybuild/easyconfigs/m/M4/M4-1.4.18.eb
== building and installing M4/1.4.18...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
ERROR: Traceback (most recent call last):
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/base/fancylogger.py", line 585, in logToFile
    os.makedirs(directory)
  File "/usr/lib64/python3.6/os.py", line 220, in makedirs
FileExistsError: [Errno 17] File exists: '/tmp/eb-5lw21ryf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/main.py", line 113, in build_and_install_software
    (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/framework/easyblock.py", line 3206, in build_and_install_one
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/framework/easyblock.py", line 296, in close_log
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/base/fancylogger.py", line 588, in logToFile
    raise_with_traceback(exc, "Cannot create logdirectory %s: %s \n detail: %s" % (directory, ex, detail), tb)
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/tools/py2vs3/py3.py", line 75, in raise_with_traceback
  File "/opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/lib/python3.6/site-packages/easybuild/base/fancylogger.py", line 585, in logToFile
    os.makedirs(directory)
  File "/usr/lib64/python3.6/os.py", line 220, in makedirs
FileExistsError: Cannot create logdirectory /tmp/eb-5lw21ryf: [Errno 17] File exists: '/tmp/eb-5lw21ryf'
 detail: [Errno 17] File exists: '/tmp/eb-5lw21ryf'


[ajia@kvm-08-guest15 ~]$ cat /var/log/messages

---------8<---------
Feb 21 04:13:38 kvm-08-guest15 systemd[1]: Started Process Core Dump (PID 287045/UID 0).
Feb 21 04:13:39 kvm-08-guest15 systemd-coredump[287046]: Process 282511 (fuse-overlayfs) of user 1001 dumped core.#012#012Stack trace of thread 282511:#012#0  0x000000000040d5c0 hash_get_first (fuse-overlayfs)#012#1  0x0000000000405074 count_dir_entries (fuse-overlayfs)#012#2  0x000000000040c1cc do_rm (fuse-overlayfs)#012#3  0x00007f1ca274cafa fuse_session_process_buf_int (libfuse3.so.3)#012#4  0x00007f1ca2747f5b fuse_session_loop (libfuse3.so.3)#012#5  0x0000000000403835 main (fuse-overlayfs)#012#6  0x00007f1ca1f726a3 __libc_start_main (libc.so.6)#012#7  0x00000000004038ee _start (fuse-overlayfs)
---------8<---------

2. in fuse-overlayfs-0.7.2-3.module+el8.2.0+5808+3aafbc8f

[ajia@kvm-08-guest15 ~]$ podman run ohpc-gnu9-easybuild:1.9.9 'eb --robot lz4-1.9.2-GCCcore-8.3.0.eb'
ERROR: Build of /opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/easybuild/easyconfigs/b/binutils/binutils-2.32.eb failed (err: 'build failed (first 300 chars): cmd " env LIBS=\'-Wl,-rpath=/usr/lib -Wl,-rpath=/usr/lib64\'  make -j 2  CFLAGS="-g -O2 -fPIC" " exited with exit code 2 and output:\nmake[1]: Entering directory \'/home/openhpc/.local/easybuild/build/binutils/2.32/system-system/binutils-2.32\'\nConfiguring in ./libiberty\nConfiguring in ./intl\nconfigure: ')
== temporary log file in case of crash /tmp/eb-_2jpjrt8/easybuild-ux7phtho.log
== resolving dependencies ...
== processing EasyBuild easyconfig /opt/ohpc/pub/libs/easybuild/4.1.1/software/EasyBuild/4.1.1/easybuild/easyconfigs/m/M4/M4-1.4.18.eb
== building and installing M4/1.4.18...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...

...ignore...

== configuring...
== building...
== FAILED: Installation ended unsuccessfully (build directory: /home/openhpc/.local/easybuild/build/binutils/2.32/system-system): build failed (first 300 chars): cmd " env LIBS='-Wl,-rpath=/usr/lib -Wl,-rpath=/usr/lib64'  make -j 2  CFLAGS="-g -O2 -fPIC" " exited with exit code 2 and output:
make[1]: Entering directory '/home/openhpc/.local/easybuild/build/binutils/2.32/system-system/binutils-2.32'
Configuring in ./libiberty
Configuring in ./intl
configure:  (took 1 min 14 sec)
== Results of the build can be found in the log file(s) /tmp/eb-_2jpjrt8/easybuild-binutils-2.32-20200221.092719.acCFc.log

Comment 8 Alex Jia 2020-03-26 03:18:07 UTC
please also see https://bugzilla.redhat.com/show_bug.cgi?id=1804849#c16

Comment 9 Tom Sweeney 2020-03-26 21:47:51 UTC
Alex I'm a little confused about your prior comment.  The link you provided points to the same issue in another stream that has been verified.  Has this stream also been verified and if so, can you update this BZ as appropriate please?

Comment 10 Alex Jia 2020-03-30 03:43:59 UTC
(In reply to Tom Sweeney from comment #9)
> Alex I'm a little confused about your prior comment.  The link you provided
> points to the same issue in another stream that has been verified.  Has this
> stream also been verified and if so, can you update this BZ as appropriate
> please?

Because this bug is a tracker, I only added comment in here, I will close it
as verified now.

Comment 12 errata-xmlrpc 2020-04-28 15:53:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1650


Note You need to log in before you can comment on or make changes to this bug.