Bug 582494

Summary: [abrt] crash in lynx-2.8.6-24.fc12: Process /usr/bin/lynx was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Anatoly Pugachev <matorola>
Component: lynxAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: kdudka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:0dfda0290784608b3d73a68bdd6f64252ef58825
Fixed In Version: lynx-2.8.6-25.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 582544 (view as bug list) Environment:
Last Closed: 2010-05-04 06:11:48 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:
Bug Depends On:    
Bug Blocks: 582544    
Attachments:
Description Flags
File: backtrace
none
[PATCH] LYCurses: do not crash when there is no terminal none

Description Anatoly Pugachev 2010-04-15 07:28:00 UTC
abrt 1.0.8 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: lynx -
comment: wrong command line parsing when feeding lynx args with trash-data.
component: lynx
executable: /usr/bin/lynx
kernel: 2.6.31.12-174.2.19.fc12.x86_64
package: lynx-2.8.6-24.fc12
rating: 4
reason: Process /usr/bin/lynx was killed by signal 11 (SIGSEGV)
release: Fedora release 12 (Constantine)

How to reproduce
-----
1. create a sample file /tmp/1.eml file:

$ cat /tmp/1.eml 
From tech-bounces Wed Apr 14 20:48:57 2010
Return-Path: <tech-bounces>
Received: from mx.domain.com ([1.2.3.4] verified)
  by smtp.domain.com (CommuniGate Pro SMTP 5.2.19)
  with ESMTP id 825691; Wed, 14 Apr 2010 20:48:57 +0400

2. feed it to lynx :

$ cat /tmp/1.eml | lynx -

3. lynx will coredump

Comment 1 Anatoly Pugachev 2010-04-15 07:28:04 UTC
Created attachment 406694 [details]
File: backtrace

Comment 2 Kamil Dudka 2010-04-15 09:24:14 UTC
Thank you for filling the bug!  I can confirm the crash.  It seems to be fixed in rawhide.  I'll prepare a backport.

Comment 3 Kamil Dudka 2010-04-15 09:44:05 UTC
Created attachment 406721 [details]
[PATCH] LYCurses: do not crash when there is no terminal

Comment 4 Fedora Update System 2010-04-15 09:57:46 UTC
lynx-2.8.6-25.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/lynx-2.8.6-25.fc12

Comment 5 Fedora Update System 2010-04-16 23:39:05 UTC
lynx-2.8.6-25.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lynx'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lynx-2.8.6-25.fc12

Comment 6 Fedora Update System 2010-05-04 06:11:44 UTC
lynx-2.8.6-25.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.