Bug 644292

Summary: [abrt] spice-client-0.4.2-18.el6: __strncpy_ssse3: Process /usr/libexec/spicec was killed by signal 11 (SIGSEGV)
Product: Red Hat Enterprise Linux 6 Reporter: Lubos Kocman <lkocman>
Component: spice-clientAssignee: Uri Lublin <uril>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: hdegoede, mkenneth, tcapek
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:7649104cf9b9ccbdd40ac973ab598b9a64fdd603
Fixed In Version: spice-client-0.8.0-1.el6 Doc Type: Bug Fix
Doc Text:
When running the "spicec --controller" command without having set the SPICE_XPI_SOCKET environment variable, users could experience unexpected termination caused by a segmentation fault. This bug has been fixed and spicec now exits cleanly with an error message in this particular scenario.
Story Points: ---
Clone Of:
: 680740 (view as bug list) Environment:
Last Closed: 2011-05-19 13:15:15 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
2nd backtrace
none
~/.spice/spice.log with DEBUG mode none

Description Lubos Kocman 2010-10-19 11:08:48 UTC
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: /usr/libexec/spicec --controller
comment: If this issue will happen again I'll try to provide some step-by-step reproducer. No reproducer is currently available.
component: spice-client
crash_function: __strncpy_ssse3
executable: /usr/libexec/spicec
kernel: 2.6.32-71.el6.x86_64
package: spice-client-0.4.2-18.el6
rating: 4
reason: Process /usr/libexec/spicec was killed by signal 11 (SIGSEGV)
release: Red Hat Enterprise Linux Workstation release 6.0 (Santiago)
time: 1287067460
uid: 501

Comment 1 Lubos Kocman 2010-10-19 11:08:50 UTC
Created attachment 454327 [details]
File: backtrace

Comment 3 Lubos Kocman 2010-11-18 15:16:24 UTC
Created attachment 461319 [details]
2nd backtrace

Another backtrace file related to the same issue

Comment 4 Lubos Kocman 2010-11-18 15:19:57 UTC
Created attachment 461320 [details]
~/.spice/spice.log with DEBUG mode

Comment 5 Hans de Goede 2011-02-27 12:38:09 UTC
The 2 backtraces seem to be completely unrelated:

The first one is caused by calling spicec --controller without having set the SPICE_XPI_SOCKET
environment variable. This can be caused by using a new spicec with an older spice-xpi. We will
add a fix for to make spice exit cleanly with an error message in this case. We will use this bug
to track this. Since this only happens when manually launching spicec, in a bad way or when using an outdated we are targeting 6.2 to fix this.

The second backtrace seems to be a crash deep inside libX11 / libxcb, I'll clone this bug and re-assign the clone to libX11 for tracking this issue.

Comment 6 Uri Lublin 2011-03-01 14:46:06 UTC
Going to fix it in 6.1 after all

Comment 7 Hans de Goede 2011-03-02 16:28:32 UTC
A build containing a fix for this has been done, moving to modified.

Comment 9 Lubos Kocman 2011-04-19 14:57:46 UTC
Never happened to me again. Moving to verified. Checked on spice-client-0.8.0-2.el6.x86_64

Comment 10 Tomas Capek 2011-05-17 11:40:31 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When running the "spicec --controller" command without having set the SPICE_XPI_SOCKET environment variable, users could experience unexpected termination caused by a segmentation fault. This bug has been fixed and spicec now exits cleanly with an error message in this particular scenario.

Comment 11 errata-xmlrpc 2011-05-19 13:15:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0583.html