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 1923062 - crash during deactivation
Summary: crash during deactivation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Beniamino Galvani
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 11:06 UTC by Vladimir Benes
Modified: 2021-02-10 13:42 UTC (History)
7 users (show)

Fixed In Version: NetworkManager-1.30.0-0.9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-02 10:37:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Vladimir Benes 2021-02-01 11:06:33 UTC
Description of problem:
we have a crash during deactivation in nm_platform_ethtool_set_link_settings()


(gdb) #0  0x00007f5f9298cf67 in g_logv () at /lib64/libglib-2.0.so.0
#1  0x00007f5f9298d223 in g_log () at /lib64/libglib-2.0.so.0
#2  0x00005612a0a8669f in _nm_g_return_if_fail_warning.lto_priv.98 ()
#3  0x00005612a0bbd418 in nm_platform_ethtool_set_link_settings ()
#4  0x00005612a0cb7fd1 in deactivate.lto_priv ()
#5  0x00005612a0c95047 in nm_device_cleanup ()
#6  0x00005612a0c894d8 in _set_state_full ()
#7  0x00005612a0c93e63 in nm_device_unrealize ()
#8  0x00005612a0caa97f in _platform_link_cb_idle ()
#9  0x00007f5f9298405b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
#10 0x00007f5f92984f8f in g_main_context_dispatch ()
    at /lib64/libglib-2.0.so.0
#11 0x00007f5f929d84d8 in g_main_context_iterate.constprop ()
    at /lib64/libglib-2.0.so.0
#12 0x00007f5f92984673 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#13 0x00005612a0a85dba in main ()
(gdb) quit
           PID: 63781 (NetworkManager)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 5 (TRAP)
     Timestamp: Sun 2021-01-31 18:54:38 EST (44s ago)
  Command Line: /usr/sbin/NetworkManager --no-daemon
    Executable: /usr/sbin/NetworkManager
 Control Group: /system.slice/NetworkManager.service
          Unit: NetworkManager.service
         Slice: system.slice
       Boot ID: cd752e2743ac4c769d09e2a789a481d8
    Machine ID: a2c25aade1884a268497cdccf194ffba
      Hostname: gsm-r5s8-01.wlan.rhts.eng.bos.redhat.com
       Storage: /var/lib/systemd/coredump/core.NetworkManager.0.cd752e2743ac4c769d09e2a789a481d8.63781.1612137278000000.zst
       Message: Process 63781 (NetworkManager) of user 0 dumped core.
                
                Stack trace of thread 63781:
                #0  0x00007f5f9298cf67 g_logv (libglib-2.0.so.0 + 0x5bf67)
                #1  0x00007f5f9298d223 g_log (libglib-2.0.so.0 + 0x5c223)
                #2  0x00005612a0a8669f _nm_g_return_if_fail_warning.lto_priv.0 (NetworkManager + 0x4c69f)
                #3  0x00005612a0bbd418 nm_platform_ethtool_set_link_settings (NetworkManager + 0x183418)
                #4  0x00005612a0cb7fd1 deactivate.lto_priv.1 (NetworkManager + 0x27dfd1)
                #5  0x00005612a0c95047 nm_device_cleanup (NetworkManager + 0x25b047)
                #6  0x00005612a0c894d8 _set_state_full (NetworkManager + 0x24f4d8)
                #7  0x00005612a0c93e63 nm_device_unrealize (NetworkManager + 0x259e63)
                #8  0x00005612a0caa97f _platform_link_cb_idle (NetworkManager + 0x27097f)
                #9  0x00007f5f9298405b g_idle_dispatch (libglib-2.0.so.0 + 0x5305b)
                #10 0x00007f5f92984f8f g_main_context_dispatch (libglib-2.0.so.0 + 0x53f8f)
                #11 0x00007f5f929d84d8 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa74d8)
                #12 0x00007f5f92984673 g_main_loop_run (libglib-2.0.so.0 + 0x53673)
                #13 0x00005612a0a85dba main (NetworkManager + 0x4bdba)
                #14 0x00007f5f92745b75 __libc_start_main (libc.so.6 + 0x27b75)
                #15 0x00005612a0a863ee _start (NetworkManager + 0x4c3ee)
                
                Stack trace of thread 63782:
                #0  0x00007f5f9281462f __GI___poll (libc.so.6 + 0xf662f)
                #1  0x00007f5f929d8476 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa7476)
                #2  0x00007f5f92982343 g_main_context_iteration (libglib-2.0.so.0 + 0x51343)
                #3  0x00007f5f92983f81 glib_worker_main (libglib-2.0.so.0 + 0x52f81)
                #4  0x00007f5f929b3332 g_thread_proxy (libglib-2.0.so.0 + 0x82332)
                #5  0x00007f5f928f7269 start_thread (libpthread.so.0 + 0x9269)
                #6  0x00007f5f9281f2d3 __clone (libc.so.6 + 0x1012d3)
                
                Stack trace of thread 63783:
                #0  0x00007f5f9281462f __GI___poll (libc.so.6 + 0xf662f)
                #1  0x00007f5f929d8476 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa7476)
                #2  0x00007f5f92984673 g_main_loop_run (libglib-2.0.so.0 + 0x53673)
                #3  0x00007f5f92bd657a gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x10f57a)
                #4  0x00007f5f929b3332 g_thread_proxy (libglib-2.0.so.0 + 0x82332)
                #5  0x00007f5f928f7269 start_thread (libpthread.so.0 + 0x9269)
                #6  0x00007f5f9281f2d3 __clone (libc.so.6 + 0x1012d3)



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

How reproducible:


Steps to Reproduce:
1. nmstate test in NMCI (under F34)

Actual results:
crash

Expected results:
no crash

Additional info:

Comment 2 Vladimir Benes 2021-02-02 10:35:19 UTC
Looks good, was running nmstate test suite with NetworkManager-1.30.0-0.3.1.fc34.1.x86_64.rpm and after 10 cycles no crash. After downgrade and single execution with the old package, I saw one new crash. So this looks fixed.

Comment 3 Vladimir Benes 2021-02-02 10:37:51 UTC
we can close this as fixed currentrelease


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