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 2156389 - lvresize_fs_helper crashes
Summary: lvresize_fs_helper crashes
Keywords:
Status: CLOSED DUPLICATE of bug 2157591
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-26 18:15 UTC by Katerina Koukiou
Modified: 2023-01-02 12:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-02 12:59:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
coredump (3.01 MB, application/octet-stream)
2022-12-26 18:15 UTC, Katerina Koukiou
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-143193 0 None None None 2022-12-26 18:16:31 UTC

Description Katerina Koukiou 2022-12-26 18:15:14 UTC
Created attachment 1934508 [details]
coredump

Description of problem:
With the recent update lvreduce started crashing

From coredumpctl:


          PID: 10580 (lvresize_fs_hel)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Mon 2022-12-26 12:48:03 EST (13min ago)
  Command Line: /usr/bin/bash /usr/libexec/lvresize_fs_helper --cryptresize --cryptpath /dev/dm-1 --newsizebytes 209715200
    Executable: /usr/bin/bash
 Control Group: /user.slice/user-0.slice/session-6.scope
          Unit: session-6.scope
         Slice: user-0.slice
       Session: 6
     Owner UID: 0 (root)
       Boot ID: 7302608256b3486baa1839421367395c
    Machine ID: c4d88cad93f7425cacadf3286c657396
      Hostname: rhel-9-2-127-0-0-2-2201
       Storage: /var/lib/systemd/coredump/core.lvresize_fs_hel.0.7302608256b3486baa1839421367395c.10580.1672076883000000.zst (present)
     Disk Size: 3.0M
       Message: Process 10580 (lvresize_fs_hel) of user 0 dumped core.
                
                Module linux-vdso.so.1 with build-id 1f1e0afc3ba23b2f20b478cbddd708dfcdbec6ef
                Module ld-linux-x86-64.so.2 with build-id d76902bfc7dd89768b1d0a6b62e8801cbe8471b5
                Module libc.so.6 with build-id da648ed737090ccb922bf9be96d93346eb28912a
                Module libtinfo.so.6 with build-id 7745adf36f8d068cdf99dc45bab9352ade38b6eb
                Module bash with build-id 5d82a44f2a4466ff21f763af86b004d1fcb3a8f1
                Stack trace of thread 10580:
                #0  0x00007f981f2ae193 _int_malloc (libc.so.6 + 0xae193)
                #1  0x00007f981f2af532 __libc_malloc (libc.so.6 + 0xaf532)
                #2  0x000055935e207774 quote_string.part.0 (bash + 0x7c774)
                #3  0x000055935e201828 param_expand (bash + 0x76828)
                #4  0x000055935e20a698 expand_word_internal (bash + 0x7f698)
                #5  0x000055935e1fc3a2 expand_arith_string (bash + 0x713a2)
                #6  0x000055935e201614 param_expand (bash + 0x76614)
                #7  0x000055935e20a698 expand_word_internal (bash + 0x7f698)
                #8  0x000055935e1f50e7 expand_string_assignment (bash + 0x6a0e7)
                #9  0x000055935e1fb896 expand_string_if_necessary (bash + 0x70896)
                #10 0x000055935e1fbed6 do_assignment_internal (bash + 0x70ed6)
                #11 0x000055935e210fe7 expand_word_list_internal.lto_priv.0 (bash + 0x85fe7)
                #12 0x000055935e1d5b5f execute_simple_command (bash + 0x4ab5f)
                #13 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #14 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #15 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #16 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #17 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #18 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #19 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #20 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #21 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #22 0x000055935e1d7193 execute_command_internal (bash + 0x4c193)
                #23 0x000055935e1dfda0 execute_function (bash + 0x54da0)
                #24 0x000055935e1d639a execute_simple_command (bash + 0x4b39a)
                #25 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #26 0x000055935e1d83db execute_command_internal (bash + 0x4d3db)
                #27 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #28 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #29 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #30 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #31 0x000055935e1d7193 execute_command_internal (bash + 0x4c193)
                #32 0x000055935e1dfda0 execute_function (bash + 0x54da0)
                #33 0x000055935e1d639a execute_simple_command (bash + 0x4b39a)
                #34 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #35 0x000055935e1d83db execute_command_internal (bash + 0x4d3db)
                #36 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #37 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #38 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #39 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #40 0x000055935e1d7193 execute_command_internal (bash + 0x4c193)
                #41 0x000055935e1dfda0 execute_function (bash + 0x54da0)
                #42 0x000055935e1d639a execute_simple_command (bash + 0x4b39a)
                #43 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #44 0x000055935e1d83db execute_command_internal (bash + 0x4d3db)
                #45 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #46 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #47 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #48 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #49 0x000055935e1d7193 execute_command_internal (bash + 0x4c193)
                #50 0x000055935e1dfda0 execute_function (bash + 0x54da0)
                #51 0x000055935e1d639a execute_simple_command (bash + 0x4b39a)
                #52 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #53 0x000055935e1d83db execute_command_internal (bash + 0x4d3db)
                #54 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #55 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #56 0x000055935e1d9758 execute_command (bash + 0x4e758)
                #57 0x000055935e1d839e execute_command_internal (bash + 0x4d39e)
                #58 0x000055935e1d7193 execute_command_internal (bash + 0x4c193)
                #59 0x000055935e1dfda0 execute_function (bash + 0x54da0)
                #60 0x000055935e1d639a execute_simple_command (bash + 0x4b39a)
                #61 0x000055935e1d75ba execute_command_internal (bash + 0x4c5ba)
                #62 0x000055935e1d83db execute_command_internal (bash + 0x4d3db)
                #63 0x000055935e1d9758 execute_command (bash + 0x4e758)
                ELF object binary architecture: AMD x86-64


If this is not sufficient please let me know how to get the proper backtrace. I tried with gdb but it's giving massive amout of logs with all threads full mode.


Version-Release number of selected component (if applicable):

lvm2-libs-2.03.17-3.el9.x86_64
lvm2-2.03.17-3.el9.x86_64


How reproducible:

Always

Steps to Reproduce:
lvreduce command 

For example:
lvreduce --yes --fs resize -L -50M TEST/vol

Comment 1 Martin Pitt 2023-01-02 12:59:39 UTC
I didn't find this bug when reporting bug #2157591, sorry! The latter has a more complete reproducer, so duplicating this way around.

*** This bug has been marked as a duplicate of bug 2157591 ***


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