Bug 1418663
Summary: | virt-viewer exited during repeated migration with large c/p transfer taking place | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Victor Toso <victortoso> |
Component: | spice-gtk | Assignee: | Uri Lublin <uril> |
Status: | CLOSED ERRATA | QA Contact: | SPICE QE bug list <spice-qe-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | --- | CC: | baiesi, cfergeau, djasa, fjin, juzhou, mtessun, mxie, rbalakri, rh-spice-bugs, spice-qe-bugs, srevivo, tpelka, tzheng, uril, victortoso, xiaodwan |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spice-gtk-0.38-6.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1017261 | Environment: | |
Last Closed: | 2021-05-18 15:42:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Spice | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1017261 |
Comment 2
baiesi
2017-06-06 18:23:11 UTC
(In reply to baiesi from comment #2) > RED HAT CONFIDENTIAL Not sure what is confidential in your message? You can mark your comment as private if you really want to hide it to external people, but I'd say it's fine as is. > Remote-Viewer Client/Guest Copy/Paste Test Scenario: > > Test Scenario - Script is Automated > ------------------------ > 1: Connect remote-viewer to vm guest > 2: client -> guest: > -client generates random string 100k-200k > -client put sting to clipboard > -client generates md5 checksum on the string > -guest pulls clipboard > -guest generates md5 checksum on the string > -client compares, client and guest checksum for verification > 3: guest -> client: > -guest generates random string 100k-200k > -guest put sting to clipboard > -guest generates md5 checksum on the string > -client pulls clipboard > -client generates md5 checksum on the string > -client compares, client and guest checksum for verification > 4: Duration > - Loop for 10 minutes, steps 2 and 3 otherwise exit to step 5 on val failure > 5: Terminate remote-viewer > 6:Done Would you be able to share these scripts? > > abrt-cli list > ------------------------ > [root@dhcp-41-161 src]# abrt-cli list > id f2460101e89391da3be5896088405a6911a9013a > reason: remote-viewer killed by SIGTRAP > time: Tue 06 Jun 2017 12:18:54 PM EDT > cmdline: remote-viewer -t vm3-rhel6-workstation --spice-ca-file > rhevm.cer --spice-host-subject O=localdomain,CN=10.16.134.73 > spice://10.16.134.73/?password=XXXX&tls-port=5902 Hopefully this is a one-time password which is regenerated each time? > package: virt-viewer-2.0-12.el7 > uid: 1000 (baiesi) > count: 2 > Directory: /var/spool/abrt/ccpp-2017-06-06-12:18:54-3177 > Run 'abrt-cli report /var/spool/abrt/ccpp-2017-06-06-12:18:54-3177' for > creating a case in Red Hat Customer Portal > > The Autoreporting feature is disabled. Please consider enabling it by issuing > 'abrt-auto-reporting enabled' as a user with root privileges Could you provide the backtrace for the crash? I think abrt can give you that, not sure about the exact steps ;) I'd run debuginfo-install virt-viewer first to get a backtrace as accurate as possible. > abrt directory: > ------------------------ > I have a directory of files associated with the crash information available > if needed > -rw-r----- 1 baiesi abrt 6 Jun 6 12:18 abrt_version > -rw-r----- 1 baiesi abrt 4 Jun 6 12:18 analyzer > -rw-r----- 1 baiesi abrt 6 Jun 6 12:18 architecture > -rw-r----- 1 baiesi abrt 200 Jun 6 12:18 cgroup > -rw-r----- 1 baiesi abrt 173 Jun 6 12:18 cmdline > -rw-r----- 1 baiesi abrt 11 Jun 6 12:18 component > -rw-r----- 1 baiesi abrt 13006 Jun 6 12:18 core_backtrace > -rw-r----- 1 baiesi abrt 196669440 Jun 6 12:18 coredump This coredump file might be interesting to for a post-mortem investigation. Can you paste core_backtrace as a comment? This should be a text file. Would you be able to share these scripts? >>Sure let me to attach the 2 scripts, One runs on the guest and on runs on the client. Give me some time to correlate them. Hopefully this is a one-time password which is regenerated each time? >>Right this is a one time password, I use rhevms rest-api to query the manager, requesting a ticket value for the vm wanting to run with remote-viewer This coredump file might be interesting to for a post-mortem investigation. Can you paste core_backtrace as a comment? This should be a text file. >>Sure let me past it into the comment here below... abrt-cli list id f2460101e89391da3be5896088405a6911a9013a reason: remote-viewer killed by SIGTRAP time: Tue 06 Jun 2017 12:18:54 PM EDT cmdline: remote-viewer -t vm3-rhel6-workstation --spice-ca-file rhevm.cer --spice-host-subject O=localdomain,CN=10.16.134.73 spice://10.16.134.73/?password=DKXVaGKDEbcz&tls-port=5902 package: virt-viewer-2.0-12.el7 uid: 1000 (baiesi) count: 2 Directory: /var/spool/abrt/ccpp-2017-06-06-12:18:54-3177 Run 'abrt-cli report /var/spool/abrt/ccpp-2017-06-06-12:18:54-3177' for creating a case in Red Hat Customer Portal [baiesi@dhcp-41-161 ~]$ cd /var/spool/abrt/ccpp-2017-06-06-12:18:54-3177 cat core_backtrace { "signal": 5 , "executable": "/usr/bin/remote-viewer" , "stacktrace": [ { "crash_thread": true , "frames": [ { "address": 140284990748227 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 329283 , "function_name": "g_logv" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140284990748607 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 329663 , "function_name": "g_log" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140285016837281 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 285857 , "function_name": "_gdk_x11_display_error_event" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140285016872465 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 321041 , "function_name": "gdk_x_error" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140284979040251 , "build_id": "e1be9f019054c722c97d0a6e378e379a2685c66a" , "build_id_offset": 282619 , "function_name": "_XError" , "file_name": "/usr/lib64/libX11.so.6.3.0" } , { "address": 140284979028055 , "build_id": "e1be9f019054c722c97d0a6e378e379a2685c66a" , "build_id_offset": 270423 , "function_name": "handle_error" , "file_name": "/usr/lib64/libX11.so.6.3.0" } , { "address": 140284979028245 , "build_id": "e1be9f019054c722c97d0a6e378e379a2685c66a" , "build_id_offset": 270613 , "function_name": "handle_response" , "file_name": "/usr/lib64/libX11.so.6.3.0" } , { "address": 140284979032072 , "build_id": "e1be9f019054c722c97d0a6e378e379a2685c66a" , "build_id_offset": 274440 , "function_name": "_XReply" , "file_name": "/usr/lib64/libX11.so.6.3.0" } , { "address": 140284979014093 , "build_id": "e1be9f019054c722c97d0a6e378e379a2685c66a" , "build_id_offset": 256461 , "function_name": "XSync" , "file_name": "/usr/lib64/libX11.so.6.3.0" } , { "address": 140285016873338 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 321914 , "function_name": "_gdk_x11_display_send_xevent" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140285016889769 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 338345 , "function_name": "_gdk_x11_display_send_selection_notify" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140285025104361 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2540009 , "function_name": "_gtk_selection_request" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285024589854 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2025502 , "function_name": "_gtk_marshal_BOOLEAN__BOXEDv" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140284996020911 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 64175 , "function_name": "_g_closure_invoke_va" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996124951 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 168215 , "function_name": "g_signal_emit_valist" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996128159 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 171423 , "function_name": "g_signal_emit" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140285025834732 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 3270380 , "function_name": "gtk_widget_event_internal" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285024586942 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2022590 , "function_name": "gtk_main_do_event" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285016860242 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 308818 , "function_name": "gdk_event_source_dispatch" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140284990721402 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 302458 , "function_name": "g_main_context_dispatch" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140284990722232 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 303288 , "function_name": "g_main_context_iterate.isra.24" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140284990722954 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 304010 , "function_name": "g_main_loop_run" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140285031738551 , "build_id": "51773723fa6cfaa2e00a65b226d8817b76a9afe6" , "build_id_offset": 40119 , "function_name": "clipboard_get" , "file_name": "/usr/lib64/libspice-client-gtk-3.0.so.4.0.0" } , { "address": 140284996020488 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 63752 , "function_name": "g_closure_invoke" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996094493 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 137757 , "function_name": "signal_emit_unlocked_R" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996127409 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 170673 , "function_name": "g_signal_emit_valist" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996129512 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 172776 , "function_name": "g_signal_emit_by_name" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140285025096539 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2532187 , "function_name": "gtk_selection_invoke_handler" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285025103815 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2539463 , "function_name": "_gtk_selection_request" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285024589854 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2025502 , "function_name": "_gtk_marshal_BOOLEAN__BOXEDv" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140284996021047 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 64311 , "function_name": "_g_closure_invoke_va" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996124951 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 168215 , "function_name": "g_signal_emit_valist" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140284996128159 , "build_id": "89696128e2a22b0c8f0e2312cfe37db90cf01d6d" , "build_id_offset": 171423 , "function_name": "g_signal_emit" , "file_name": "/usr/lib64/libgobject-2.0.so.0.4600.2" } , { "address": 140285025834732 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 3270380 , "function_name": "gtk_widget_event_internal" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285024586942 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2022590 , "function_name": "gtk_main_do_event" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 140285016860242 , "build_id": "ec2532ff4d42e5c2ce7209061272aeb7d4ea8daf" , "build_id_offset": 308818 , "function_name": "gdk_event_source_dispatch" , "file_name": "/usr/lib64/libgdk-3.so.0.1400.13" } , { "address": 140284990721402 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 302458 , "function_name": "g_main_context_dispatch" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140284990722232 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 303288 , "function_name": "g_main_context_iterate.isra.24" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140284990722954 , "build_id": "6ffb6fa5850d3e05e7ff9088f112bf8f130180aa" , "build_id_offset": 304010 , "function_name": "g_main_loop_run" , "file_name": "/usr/lib64/libglib-2.0.so.0.4600.2" } , { "address": 140285024583749 , "build_id": "8b6bc06c7244688d0e9779e3b81005bde4a2fd2d" , "build_id_offset": 2019397 , "function_name": "gtk_main" , "file_name": "/usr/lib64/libgtk-3.so.0.1400.13" } , { "address": 4266754 , "build_id": "64335f94c74a4b890ea7fc3900d27b7cbf0dac8a" , "build_id_offset": 72450 , "function_name": "main" , "file_name": "/usr/bin/remote-viewer" } ] } ] (In reply to baiesi from comment #4) > Hopefully this is a one-time password which is regenerated each time? > >>Right this is a one time password, I use rhevms rest-api to query the manager, requesting a ticket value for the vm wanting to run with remote-viewer > Unrelated to this bug, but "remote-viewer ovirt://ovirt-instance/$vm-name" should be able to do that for you. Moving to 7.6 Moving to 7.7 Repeated migration is corner case. Need to reproduce but looking into c/p code, I think it is better to move to 8.0 instead of closing (due lack of simple reproducer). 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 (spice-gtk bug fix and enhancement update), 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/RHBA-2021:1821 |