pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emacs coredumping during pkg build



On Thu, Mar 03, 2011 at 09:44:02AM -0500, Greg Troxel wrote:
> 
> (@wiz: previous message was sent prematurely - I was editing a draft
> while making notes.   I still have more to try, but this may be enough
> to be of interest.)
> 
> On pkgsrc head, NetBSD/i386 5.1ish, with everything pretty up to date
> via pkg_rr:
> 
>s I'm trying to rebuild emacs 23.2nb4 (following png abi change), and the
> build fails while compiling elisp with an emacs crash.   I had
> PKG_OPTIONS set to
> 
>   PKG_OPTIONS.emacs=          xaw -dbus -svg
> 
> (to avoid gtk bloat), and I tried it with
> 
>   PKG_OPTIONS.emacs=          gtk -dbus -svg
> 
> and then it worked.   The elisp file did not seem toolkit related.
> 
> 
> The backtrace is fairly uninstructive, and the core file is only 10M.
> 
> Program terminated with signal 11, Segmentation fault.
> #0  0xbb73fd47 in kill () from /usr/lib/libc.so.12
> (gdb) bt
> #0  0xbb73fd47 in kill () from /usr/lib/libc.so.12
> #1  0x080f7564 in fatal_error_signal ()
> #2  <signal handler called>
> #3  0x0813da85 in re_search_2 ()
> #4  0x08134abc in search_buffer ()
> #5  0x081369f0 in search_command ()
> #6  0x0815b19c in Ffuncall ()
> #7  0x0818e36b in Fbyte_code ()
> #8  0x0815ac62 in funcall_lambda ()
> #9  0x0815b053 in Ffuncall ()
> #10 0x0818e36b in Fbyte_code ()
> #11 0x0815ac62 in funcall_lambda ()
> #12 0x0815b053 in Ffuncall ()
> #13 0x0818e36b in Fbyte_code ()
> #14 0x0815ac62 in funcall_lambda ()
> #15 0x0815b053 in Ffuncall ()
> #16 0x0818e36b in Fbyte_code ()
> #17 0x0815ac62 in funcall_lambda ()
> #18 0x0815ae44 in apply_lambda ()
> #19 0x0815a61a in Feval ()
> #20 0x080fde5d in top_level_2 ()
> #21 0x08159cd5 in internal_condition_case ()
> #22 0x08101bc1 in top_level_1 ()
> #23 0x08159d76 in internal_catch ()
> #24 0x08101c5b in command_loop ()
> #25 0x08101f74 in recursive_edit_1 ()
> #27 0x080f8031 in main ()
> (gdb)


Any news with that? I have same problem. I was compiling emacs on NetBSD 
5.1/amd64, 
pkgsrc-current, emacs-23.3a. Funny thing - compilation as root in chroot 
(pkg_comp +
pkg_chk) doesn't work, as root and user without chroot builds fine. 
I remember that raising limits (datasize) worked, but now it didn't.

Rgds,

-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org
HAIL ERIS!
BOFH since 1999.


Home | Main Index | Thread Index | Old Index