Bug 493141

Summary: cannot build emacs from srpm
Product: [Fedora] Fedora Reporter: Carl Roth <roth>
Component: emacsAssignee: Daniel Novotny <dnovotny>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: debarshir, dnovotny, jonathan.underwood
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-06 08:29:53 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
gdb backtrace from emacs none

Description Carl Roth 2009-03-31 18:46:24 UTC
Description of problem:

This looks suspiciously like BUG174736.  It affects the current emacs for F10, as well as emacs-23 snapshots I've tried from Emacs CVS.

When I build emacs from srpm, it fails sometimes with a segfault when running bootstrap-emacs.  It fails pretty consistently if I try to build the emacs SRPM using mock.

...
/bin/sh: line 2: 14800 Segmentation fault      EMACSLOADPATH=/builddir/build/BUILD/emacs-22.3/lisp ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file "/builddir/build/BUILD/emacs-22.3/lisp/loaddefs.el")' -f batch-update-autoloads $wins
...

I'm attaching a backtrace to the bug report; it appears that the solib static constructors are stumbling over the malloc implementation built-in to emacs.

Version-Release number of selected component (if applicable):

emacs-22.3-4.fc10

How reproducible:

Often (not always).  Currently my system is failing consistently in mock.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Carl Roth 2009-03-31 18:48:31 UTC
Created attachment 337387 [details]
gdb backtrace from emacs

Comment 2 Carl Roth 2009-04-06 08:29:53 UTC
I rebooted my system, now mock is working again.  Yay?

I reserve the right to re-open this the next time the bug prevents me from building a future emacs snapshot...