Bug 914903

Summary: Segmentation fault when using external editor to compose newsgroup postings
Product: [Fedora] Fedora Reporter: Noel Duffy <noelduffy>
Component: panAssignee: Alexander Dalloz <alex>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: alex, mpeters, pkovar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-27 21:26:39 UTC Type: Bug
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
gdb backtrace of crash.
none
Core backtrace
none
/var/log/messages snippet produced by abrt none

Description Noel Duffy 2013-02-23 10:17:56 UTC
Created attachment 701550 [details]
gdb backtrace of crash.

Description of problem:

Pan segfaults when the user has configured an external editor, hits F to post a follow-up to a newsgroup, then closes the Pan message window before closing the window in the external editor.

Version-Release number of selected component (if applicable):pan-0.139-2.fc18.x86_64


How reproducible: Always


Steps to Reproduce:
1. Configure Pan to edit messages in an external editor. Select emacs.
2. Browse to a newsgroup message in Pan, hit F to compose a follow-up to the group. A window in Pan opens and the message is also opened in the editor window, in this case emacs.
3. Close the new message window in Pan. Leave the main window open.
4. In Emacs, hit C-X # to close the buffer in which the message is being composed.
  
Actual results: Pan segfaults.


Expected results: Pan should do nothing.

Additionally, abrt won't report this bug because of a failure to parse the backtrace so I have submit everything manually.

Comment 1 Noel Duffy 2013-02-23 10:19:06 UTC
Created attachment 701551 [details]
Core backtrace

This is the file core_backtrace generated by abrt.

Comment 2 Noel Duffy 2013-02-23 10:20:51 UTC
Created attachment 701552 [details]
/var/log/messages snippet produced by abrt

Comment 3 Petr Kovar 2013-02-27 21:26:39 UTC
Thank you for your bug report. This problem has been reported upstream.