Bug 2095639 - get Segmentation fault (core dumped) while run: qemu-system-s390x -M s390-ccw-virtio -vga help
Summary: get Segmentation fault (core dumped) while run: qemu-system-s390x -M s390-ccw...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 36
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-10 05:08 UTC by JianHong Yin
Modified: 2022-11-10 22:20 UTC (History)
10 users (show)

Fixed In Version: qemu-6.2.0-13.fc36 qemu-6.1.0-16.fc35 qemu-7.0.0-10.fc37
Clone Of:
Environment:
Last Closed: 2022-08-25 10:28:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description JianHong Yin 2022-06-10 05:08:52 UTC
Description of problem:
get Segmentation fault (core dumped) while run command:
   qemu-system-s390x -M s390-ccw-virtio -vga help

Version-Release number of selected component (if applicable):
[jiyin@deskmini-x300 ~]$ rpm -q qemu-system-s390x
qemu-system-s390x-6.2.0-10.fc36.x86_64


How reproducible:
always  #on my three workstations(all fedora-36)

Steps to Reproduce:
[jiyin@deskmini-x300 ~]$ qemu-system-s390x -M s390-ccw-virtio -vga help
Segmentation fault (core dumped)

Actual results:
[jiyin@deskmini-x300 ~]$ qemu-system-s390x -M s390-ccw-virtio -vga help
Segmentation fault (core dumped)
[jiyin@fstest ~]$ qemu-system-s390x -M s390-ccw-virtio -vga help
Segmentation fault (core dumped)
[jiyin@fstest2 ~]$ qemu-system-s390x -M s390-ccw-virtio -vga help
Segmentation fault (core dumped)

Expected results:
no Segmentation fault

Additional info:

Comment 1 JianHong Yin 2022-06-10 05:19:09 UTC
coredump info:
'''
[jiyin@fstest ~]$ coredumpctl info 76885
           PID: 76885 (qemu-system-s39)
           UID: 1000 (jiyin)
           GID: 1000 (jiyin)
        Signal: 11 (SEGV)
     Timestamp: Fri 2022-06-10 13:06:58 CST (9min ago)
  Command Line: qemu-system-s390x -M s390-ccw-virtio -vga help
    Executable: /usr/bin/qemu-system-s390x
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (jiyin)
       Boot ID: ef55f7d8a5a74ceeae0351333eb57d20
    Machine ID: fb7122cef43d4f139e1773bd7e6dab24
      Hostname: fstest.usersys.redhat.com
       Storage: /var/lib/systemd/coredump/core.qemu-system-s39.1000.ef55f7d8a5a74ceeae0351333eb57d20.76885.1654837618000000.zst (present)
     Disk Size: 1.1M
       Message: Process 76885 (qemu-system-s39) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id bbfba337e4ff5782c225df596fd0560be96d05f2
                Module libgpg-error.so.0 with build-id a53c231739d55cc39b97e28c36cd8b3e58a8f8f8
                Metadata for module libgpg-error.so.0 owned by FDO found: {
                        "type" : "rpm",
                        "name" : "libgpg-error",
                        "version" : "1.45-1.fc36",
                        "architecture" : "x86_64",
                        "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libbrotlicommon.so.1 with build-id e2790c03a5c688b7e75e89676cdd2b5fcf247a6f
                Metadata for module libbrotlicommon.so.1 owned by FDO found: {
                        "type" : "rpm",
                        "name" : "brotli",
                        "version" : "1.0.9-7.fc36",
                        "architecture" : "x86_64",
                        "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                }
                
                Module libdatrie.so.1 with build-id 768a842bc0741478ded11a6209b709b6ff6ea43f
                Stack trace of thread 76885:
                #0  0x00007f8f98b4f00f __strcmp_avx2 (libc.so.6 + 0x15b00f)
                #1  0x00007f8f98effa7d g_str_equal (libglib-2.0.so.0 + 0x38a7d)
                #2  0x000055f91c8c58af select_vgahw (qemu-system-s390x + 0x3278af)
                #3  0x000055f91c8c84ba qemu_init (qemu-system-s390x + 0x32a4ba)
                #4  0x000055f91c77c7ad main (qemu-system-s390x + 0x1de7ad)
                #5  0x00007f8f98a1d550 __libc_start_call_main (libc.so.6 + 0x29550)
                #6  0x00007f8f98a1d609 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29609)
                #7  0x000055f91c77ec75 _start (qemu-system-s390x + 0x1e0c75)
                
                Stack trace of thread 76886:
                #0  0x00007f8f98aff25d syscall (libc.so.6 + 0x10b25d)
                #1  0x000055f91cab2852 qemu_event_wait (qemu-system-s390x + 0x514852)
                #2  0x000055f91cabb91a call_rcu_thread (qemu-system-s390x + 0x51d91a)
                #3  0x000055f91cab1e94 qemu_thread_start (qemu-system-s390x + 0x513e94)
                #4  0x00007f8f98a80e1d start_thread (libc.so.6 + 0x8ce1d)
                #5  0x00007f8f98b065e0 __clone3 (libc.so.6 + 0x1125e0)
                ELF object binary architecture: AMD x86-64
'''

Comment 2 Cole Robinson 2022-06-11 16:59:21 UTC
There's a patch for this on the list:

https://www.mail-archive.com/qemu-devel@nongnu.org/msg885568.html

Comment 3 Mauro Matteo Cascella 2022-08-25 10:26:38 UTC
Bodhi update: https://bodhi.fedoraproject.org/updates/FEDORA-2022-74e684a8a7.

Comment 4 Fedora Update System 2022-09-01 14:51:11 UTC
FEDORA-2022-a2c1f1fd64 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a2c1f1fd64

Comment 5 Fedora Update System 2022-09-02 10:44:22 UTC
FEDORA-2022-a2c1f1fd64 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a2c1f1fd64`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a2c1f1fd64

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-09-17 01:54:09 UTC
FEDORA-2022-a2c1f1fd64 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-10-19 20:16:31 UTC
FEDORA-2022-4387579e67 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4387579e67

Comment 8 Fedora Update System 2022-10-20 18:21:12 UTC
FEDORA-2022-4387579e67 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-4387579e67`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4387579e67

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-11-10 22:20:37 UTC
FEDORA-2022-4387579e67 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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