Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1115296

Summary: [abrt] virt-viewer: do_pre_parse_initialization(): virt-viewer killed by SIGTRAP
Product: Red Hat Enterprise Linux 7 Reporter: Gerd Hoffmann <kraxel>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, dblechte, kraxel, marcandre.lureau
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a6cf975737b8751ace0ba273624db658e3a34b35
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-03 06:35:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Gerd Hoffmann 2014-07-02 07:22:26 UTC
Description of problem:
crashed at startup

Version-Release number of selected component:
virt-viewer-0.5.7-7.el7

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        virt-viewer --wait -c qemu+ssh://root.kraxel.org/system 565e21e8-df96-cc45-2801-07dd6ede6787
crash_function: do_pre_parse_initialization
executable:     /usr/bin/virt-viewer
kernel:         3.10.0-123.4.2.el7.x86_64
runlevel:       N 5
type:           CCpp
uid:            500

Truncated backtrace:
Thread no. 1 (3 frames)
 #2 do_pre_parse_initialization at gtkmain.c:636
 #3 pre_parse_hook at gtkmain.c:744
 #4 g_option_context_parse at goption.c:1791

Comment 1 Gerd Hoffmann 2014-07-02 07:22:30 UTC
Created attachment 914016 [details]
File: backtrace

Comment 2 Gerd Hoffmann 2014-07-02 07:22:32 UTC
Created attachment 914017 [details]
File: cgroup

Comment 3 Gerd Hoffmann 2014-07-02 07:22:34 UTC
Created attachment 914018 [details]
File: core_backtrace

Comment 4 Gerd Hoffmann 2014-07-02 07:22:37 UTC
Created attachment 914019 [details]
File: dso_list

Comment 5 Gerd Hoffmann 2014-07-02 07:22:39 UTC
Created attachment 914020 [details]
File: environ

Comment 6 Gerd Hoffmann 2014-07-02 07:22:41 UTC
Created attachment 914021 [details]
File: limits

Comment 7 Gerd Hoffmann 2014-07-02 07:22:45 UTC
Created attachment 914022 [details]
File: maps

Comment 8 Gerd Hoffmann 2014-07-02 07:22:47 UTC
Created attachment 914023 [details]
File: open_fds

Comment 9 Gerd Hoffmann 2014-07-02 07:22:49 UTC
Created attachment 914024 [details]
File: proc_pid_status

Comment 10 Gerd Hoffmann 2014-07-02 07:22:52 UTC
Created attachment 914025 [details]
File: var_log_messages

Comment 12 Marc-Andre Lureau 2014-07-02 10:29:01 UTC
The error:
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

Comment 13 Marc-Andre Lureau 2014-07-02 13:25:02 UTC
I don't get such error, can you check your ldd?

[elmarco@localhost ~]$ rpm -qa | grep virt-viewer
virt-viewer-0.5.7-7.el7.x86_64

[elmarco@localhost ~]$ ldd /usr/bin/virt-viewer | grep gtk
	libgtk-vnc-2.0.so.0 => /lib64/libgtk-vnc-2.0.so.0 (0x00007fd5993bf000)
	libspice-client-gtk-3.0.so.4 => /lib64/libspice-client-gtk-3.0.so.4 (0x00007fd597e5e000)
	libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007fd597782000)

Comment 14 Gerd Hoffmann 2014-07-02 14:04:12 UTC
nilsson kraxel ~# ldd /usr/bin/virt-viewer | grep gtk
        libgtk-vnc-2.0.so.0 => /lib64/libgtk-vnc-2.0.so.0 (0x00007f538643b000)
        libspice-client-gtk-3.0.so.4 => /lib64/libspice-client-gtk-3.0.so.4 (0x00007f5384eda000)
        libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f53847fe000)
        libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0 (0x00007f53747f3000)

Comment 15 Marc-Andre Lureau 2014-07-02 14:23:15 UTC
Since I can't reproduce, hopefully you can isolate the binary pulling x11. It shouldn't be spice-gtk, which wouldn't compile with gtk 3.0. And I don't see virt-viewer pulling it either.

Comment 16 Gerd Hoffmann 2014-07-03 06:35:32 UTC
Turned out to be /usr/local/lib/libcacard.so.0
Recompiled qemu in /usr/local/bin with gtk3 -> problem gone.