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-gtkAssignee: 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: rcKeywords: 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
RED HAT CONFIDENTIAL
Remote-Viewer Client/Guest Copy/Paste Test Scenario:

Although I'm not doing rhevm vm host migration tasks, The remote-viewer keeps core dumping during client/guest "text" copy paste tests.  See test scenario below for more details.  The issues happens more frequent with larger size text strings.  I can easily reproduce the coredump and still have the test environment readily available to test out if interested.  Let me know if can help out with additional testing or information regarding this current setup.

Test Environment / Setup:
------------------------
Red Hat Virtualization Manager
Version: 4.0.7.4-0.1.el7ev

Client:
Red Hat Enterprise Linux Workstation release 7.3 (Maipo)
Linux dhcp-41-161.bos.redhat.com 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat Apr 22 02:41:35 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

Guest:
Red Hat Enterprise Linux Server release 6.9 (Santiago)
Linux dhcp135-153.dqe.lab.eng.bos.redhat.com 2.6.32-696.3.1.el6.x86_64 #1 SMP Thu Apr 20 11:30:02 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
4GBRam
2CPU

Remote-Viewer:
ver 2.0-12.el7
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

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=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

The Autoreporting feature is disabled. Please consider enabling it by issuing
'abrt-auto-reporting enabled' as a user with root privileges

var_log_messages:
------------------------
[System Logs]:
Jun 06 12:18:54 dhcp-41-161.bos.redhat.com kernel: traps: remote-viewer[3177] trap int3 ip:7f96a50a7643 sp:7fff0e9570e0 error:0
Jun 06 12:18:54 dhcp-41-161.bos.redhat.com abrt-hook-ccpp[3574]: Process 3177 (remote-viewer) of user 1000 killed by SIGTRAP - dumping core
[User Logs]:

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
-rw-r-----  1 baiesi abrt         1 Jun  6 12:59 count
-rw-r-----  1 baiesi abrt     14063 Jun  6 12:19 dso_list
-rw-r-----  1 baiesi abrt      2094 Jun  6 12:18 environ
-rw-r-----  1 baiesi abrt         0 Jun  6 12:19 event_log
-rw-r-----  1 baiesi abrt        22 Jun  6 12:18 executable
-rw-r-----  1 baiesi abrt         4 Jun  6 12:18 global_pid
-rw-r-----  1 baiesi abrt        26 Jun  6 12:18 hostname
-rw-r-----  1 baiesi abrt        26 Jun  6 12:18 kernel
-rw-r-----  1 baiesi abrt        10 Jun  6 12:59 last_occurrence
-rw-r-----  1 baiesi abrt      1323 Jun  6 12:18 limits
-rw-r-----  1 baiesi abrt       135 Jun  6 12:19 machineid
-rw-r-----  1 baiesi abrt     71652 Jun  6 12:18 maps
-rw-r-----  1 baiesi abrt      1838 Jun  6 12:18 open_fds
-rw-r-----  1 baiesi abrt       474 Jun  6 12:18 os_info
-rw-r-----  1 baiesi abrt        56 Jun  6 12:18 os_release
-rw-r-----  1 baiesi abrt        22 Jun  6 12:18 package
-rw-r-----  1 baiesi abrt         4 Jun  6 12:18 pid
-rw-r-----  1 baiesi abrt         6 Jun  6 12:18 pkg_arch
-rw-r-----  1 baiesi abrt         1 Jun  6 12:18 pkg_epoch
-rw-r-----  1 baiesi abrt        19 Jun  6 12:18 pkg_fingerprint
-rw-r-----  1 baiesi abrt        11 Jun  6 12:18 pkg_name
-rw-r-----  1 baiesi abrt         6 Jun  6 12:18 pkg_release
-rw-r-----  1 baiesi abrt        13 Jun  6 12:18 pkg_vendor
-rw-r-----  1 baiesi abrt         3 Jun  6 12:18 pkg_version
-rw-r-----  1 baiesi abrt      1177 Jun  6 12:18 proc_pid_status
-rw-r-----  1 baiesi abrt        44 Jun  6 12:18 pwd
-rw-r-----  1 baiesi abrt        31 Jun  6 12:18 reason
-rw-r-----  1 baiesi abrt         4 Jun  6 12:18 runlevel
-rw-r-----  1 baiesi abrt  10737400 Jun  6 12:19 sosreport.tar.xz
-rw-r-----  1 baiesi abrt        10 Jun  6 12:18 time
-rw-r-----  1 baiesi abrt         4 Jun  6 12:18 type
-rw-r-----  1 baiesi abrt         4 Jun  6 12:18 uid
-rw-r-----  1 baiesi abrt         7 Jun  6 12:18 username
-rw-r-----  1 baiesi abrt        40 Jun  6 12:19 uuid
-rw-r-----  1 baiesi abrt       296 Jun  6 12:19 var_log_messages

Terminal Stdout:
------------------------
(remote-viewer:4908): Gdk-ERROR **: The program 'remote-viewer' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 28130 error_code 3 request_code 18 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

/bin/sh: line 1:  4908 Trace/breakpoint trap   (core dumped) 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=SLaw0KcU+PLR\&tls-port=5902

Comment 3 Christophe Fergeau 2017-06-07 09:40:21 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.

Comment 4 baiesi 2017-06-08 11:53:19 UTC
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"
                } ]
        } ]

Comment 5 Christophe Fergeau 2017-06-08 14:22:33 UTC
(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.

Comment 6 Victor Toso 2017-11-14 12:42:44 UTC
Moving to 7.6

Comment 7 Victor Toso 2018-07-23 13:07:38 UTC
Moving to 7.7

Comment 8 Victor Toso 2018-12-13 15:24:43 UTC
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).

Comment 20 errata-xmlrpc 2021-05-18 15:42:39 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 (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