Bug 682216 - [abrt] esc-1.1.0-21.el6: __strcmp_ssse3: Process /usr/lib64/esc-1.1.0/escd was killed by signal 11 (SIGSEGV)
Summary: [abrt] esc-1.1.0-21.el6: __strcmp_ssse3: Process /usr/lib64/esc-1.1.0/escd wa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: esc
Version: 6.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jack Magne
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
: 745169 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-04 13:46 UTC by Siddharth
Modified: 2018-11-26 18:29 UTC (History)
9 users (show)

Fixed In Version: esc-1.1.0-22.el6
Doc Type: Bug Fix
Doc Text:
Previously, during the shut down sequence of the escd daemon, the daemon reported a failure of certain instances. ESC terminated unexpectedly with a segmentation fault as a consequence. This update modifies the daemon to exit quietly. As a result, ESC no longer terminates unexpectedly.
Clone Of:
Environment:
Last Closed: 2011-12-06 17:59:50 UTC
Target Upstream Version:


Attachments (Terms of Use)
backtrace, disassembly (12.13 KB, application/octet-stream)
2011-03-04 13:50 UTC, Siddharth
no flags Details
Backtrace, Dissassembly (68.01 KB, application/octet-stream)
2011-03-24 06:23 UTC, Siddharth
no flags Details
Patch to address this issue. (320 bytes, patch)
2011-08-05 01:37 UTC, Jack Magne
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 44820 0 None None None Never
Red Hat Product Errata RHBA-2011:1718 0 normal SHIPPED_LIVE esc bug fix update 2011-12-06 01:02:15 UTC

Description Siddharth 2011-03-04 13:46:45 UTC
Description of problem:
abrt version: 1.1.13
architecture: x86_64
component: esc
crash_function: __strcmp_ssse3
executable: /usr/lib64/esc-1.1.0/escd
rating: 2
reason: Process /usr/lib64/esc-1.1.0/escd was killed by signal 11 (SIGSEGV)
time: 1292513338
uid: 0

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Workstation release 6.0 (Santiago)
esc-1.1.0-21.el6
kernel: 2.6.32-71.el6.x86_64

How reproducible:
Random Crash

Actual results:
Smart Card Client crashed.

Expected results:
Smart Card Client should not crashed.

Additional info:

Comment 1 Siddharth 2011-03-04 13:50:14 UTC
Created attachment 482291 [details]
backtrace, disassembly

Comment 3 RHEL Program Management 2011-03-04 13:57:45 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Jack Magne 2011-03-04 17:57:41 UTC
Looks like this is happening on cleanup, when the process is on the way out.
Happening during CoolKey shutting down. Thanks for the report. It would help if there is some reasonable way to reproduce this.

Comment 5 Siddharth 2011-03-24 06:23:24 UTC
Created attachment 487224 [details]
Backtrace, Dissassembly

Comment 6 Jack Magne 2011-08-05 01:37:20 UTC
Created attachment 516806 [details]
Patch to address this issue.

Comment 7 Jack Magne 2011-08-05 01:40:39 UTC
The reason why this is occurring is that the pcsc client call "SCardCancel" is hanging when shutting down CoolKey. ESC put in some simple code to exit when it detects this hanging condition. The problem with the seg fault is addressed in ESC , but it would be better if the issue in pcsc-lite could be addressed so this hang does not occur. We have another bug filed for this issue. The reason why this is important is because when Firefox has the Coolkey pkcs#11 module loaded, it is subject to this very hanging condition.

Comment 9 Jack Magne 2011-10-13 23:22:33 UTC
*** Bug 745169 has been marked as a duplicate of this bug. ***

Comment 10 Eliska Slobodova 2011-11-07 12:28:17 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:
Previously, during the shut down sequence of the escd daemon, the daemon reported a failure of certain instances. ESC terminated unexpectedly with a segmentation fault as a consequence. This update modifies the daemon to exit quietly. As a result, ESC no longer terminates unexpectedly.

Comment 11 Asha Akkiangady 2011-11-08 17:48:56 UTC
Executed following tests on a RHEL-6.2 i386 and x86_64 desktop with esc-1.1.0-23.el6 installed, escd does not crash.

1. Make sure "escd" is running (ps -fe | grep escd), if not launch it. 
2. Use the "kill" program to send a signal to shutdown. "kill <pid-of-escd>" 
3. Place a tail on the system log "tail -f /var/log/messages". 
4. Upon repeated trials of this scenario, escd does not register a crash.

Marking the bug verified.

Comment 12 errata-xmlrpc 2011-12-06 17:59:50 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

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


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