Bug 1095405

Summary: [abrt] xemacs-xft: __find_specmb(): xemacs-xft-21.5-b34 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: jan p. springer <jsd>
Component: xemacsAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jsd, loganjerry, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/449abf5fefb9a50227532cc16d1b2bde01ed8ba8
Whiteboard: abrt_hash:c8f3310e0d07620446adbfbc42a5417484038af5
Fixed In Version: xemacs-21.5.34-6.20140605hgacf1c26e3019.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-17 23:24:41 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: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description jan p. springer 2014-05-07 15:49:05 UTC
Version-Release number of selected component:
xemacs-xft-21.5.34-5.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        xemacs main.tex
crash_function: __find_specmb
executable:     /usr/bin/xemacs-xft-21.5-b34
kernel:         3.14.2-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __find_specmb at printf-parse.h:108
 #1 _IO_vfprintf_internal at vfprintf.c:1308
 #2 ___vsprintf_chk at vsprintf_chk.c:85
 #3 ___sprintf_chk at sprintf_chk.c:31
 #4 sprintf at /usr/include/bits/stdio2.h:33
 #5 emacs_doprnt_1 at doprnt.c:841
 #6 emacs_doprnt_va at doprnt.c:863
 #7 emacs_vsprintf_malloc at doprnt.c:1045
 #8 write_fmt_string at print.c:771
 #9 print_compiled_function at bytecode.c:2290

Comment 1 jan p. springer 2014-05-07 15:49:12 UTC
Created attachment 893339 [details]
File: backtrace

Comment 2 jan p. springer 2014-05-07 15:49:14 UTC
Created attachment 893340 [details]
File: cgroup

Comment 3 jan p. springer 2014-05-07 15:49:16 UTC
Created attachment 893341 [details]
File: core_backtrace

Comment 4 jan p. springer 2014-05-07 15:49:18 UTC
Created attachment 893342 [details]
File: dso_list

Comment 5 jan p. springer 2014-05-07 15:49:20 UTC
Created attachment 893343 [details]
File: environ

Comment 6 jan p. springer 2014-05-07 15:49:22 UTC
Created attachment 893344 [details]
File: exploitable

Comment 7 jan p. springer 2014-05-07 15:49:24 UTC
Created attachment 893345 [details]
File: limits

Comment 8 jan p. springer 2014-05-07 15:49:26 UTC
Created attachment 893346 [details]
File: maps

Comment 9 jan p. springer 2014-05-07 15:49:28 UTC
Created attachment 893347 [details]
File: open_fds

Comment 10 jan p. springer 2014-05-07 15:49:30 UTC
Created attachment 893348 [details]
File: proc_pid_status

Comment 11 jan p. springer 2014-05-07 15:49:32 UTC
Created attachment 893349 [details]
File: var_log_messages

Comment 12 Jerry James 2014-05-07 16:35:30 UTC
Thanks for the report, Jan.  This looks like infinite recursion while trying to print a recursive structure, namely a vector that contains at least one function that contains a pointer back to the same vector.  If you created the recursive structure on purpose, then you need to bind print-circle to t before printing.  If you did not create it on purpose, can you tell me what you did that triggered the crash?

Comment 13 jan p. springer 2014-05-08 07:01:44 UTC
nothing unusual, just opened a latex file. opening any other file works, but loading a latex file crashes xemacs. i've also tried to starting xemacs w/ -q and -vanilla, but that still crashes if loading a latex file.

Comment 14 Jerry James 2014-05-08 13:48:03 UTC
Aha.  Now I can reproduce the crash.  Thanks, Jan, I will look into how to fix this.

Comment 15 Jerry James 2014-05-08 15:53:40 UTC
This crash is specific to the XFT build.  The non-XFT build should be usable for opening LaTeX files.  Still trying to figure out how to fix the XFT build...

Comment 16 jan p. springer 2014-06-02 14:01:07 UTC
just wanted to see if there's any progress on this?

Comment 17 Jerry James 2014-06-02 15:12:43 UTC
Yes, the crash (actually 2 separate bugs working together) has been identified and fixed upstream.  A new upstream release is in the works.  As soon as that comes out, I will build it for Fedora.

If it appears that the new release will take awhile, I will attempt to backport the bug fixes.  I will talk to the release manager to see what his estimated time to release is.

Comment 18 Fedora Update System 2014-06-05 17:41:12 UTC
xemacs-21.5.34-6.20140605hgacf1c26e3019.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xemacs-21.5.34-6.20140605hgacf1c26e3019.fc20

Comment 19 Fedora Update System 2014-06-05 17:41:19 UTC
xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19

Comment 20 Fedora Update System 2014-06-10 02:54:38 UTC
Package xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7123/xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19
then log in and leave karma (feedback).

Comment 21 jan p. springer 2014-06-10 09:28:31 UTC
tested on f20 and works like a charm, thanks.

Comment 22 Jerry James 2014-06-10 14:38:30 UTC
Great.  Thanks for the feedback.

Comment 23 Fedora Update System 2014-06-17 23:24:41 UTC
xemacs-21.5.34-6.20140605hgacf1c26e3019.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2014-06-17 23:27:29 UTC
xemacs-21.5.34-6.20140605hgacf1c26e3019.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.