* Seg fault during emacs build on FreeBSD (Gentoo) when built without gtk
@ 2007-11-04 21:48 Joe Peterson
2007-11-06 2:15 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Joe Peterson @ 2007-11-04 21:48 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: emacs
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
I am a developer at Gentoo, and I work on the FreeBSD project, which
uses the FreeBSD kernel & userland in a Gentoo-based distribution.
Anyway, we have a strange crash while compiling emacs 22.1.50 when
specific configuration options are set. Specifically, things work when
gtk is included, but if not, then the problem occurs. This is on the
x86 architecture. We have not found the issue yet, but our first hunch
has to do with certain ifdefs that deal with GTK and pthreads (and
perhaps to do with malloc), since these would be affected by building
without gtk. I am attaching two files. One is the build log with
pertinent sections included, and the other is a backtrace obtained when
running the offending emacs command in gdb.
Thanks, Joe
[-- Attachment #2: emacs_fbsd_nogtk_error.log --]
[-- Type: text/plain, Size: 21560 bytes --]
./configure --prefix=/usr --host=i686-gentoo-freebsd6.2 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --program-suffix=-emacs-22-cvs --infodir=/usr/share/info/emacs-22-cvs --without-carbon --without-sound --with-x --without-toolkit-scroll-bars --with-jpeg --with-tiff --with-gif --with-png --with-xpm --with-x-toolkit=no --without-gtk --without-hesiod --build=i686-gentoo-freebsd6.2
checking build system type... i686-gentoo-freebsd6.2
checking host system type... i686-gentoo-freebsd6.2
checking for i686-gentoo-freebsd6.2-gcc... i686-gentoo-freebsd6.2-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-gentoo-freebsd6.2-gcc accepts -g... yes
checking for i686-gentoo-freebsd6.2-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-gentoo-freebsd6.2-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking whether gcc understands -Wno-pointer-sign... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... i686-gentoo-freebsd6.2-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-gentoo-freebsd6.2-ranlib... i686-gentoo-freebsd6.2-ranlib
checking for install-info... /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for PrEvEnTcOmPrEsSiOn... no
checking for -znocombreloc... yes
configure: checking the machine- and system-dependent files to find out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable...
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/timeb.h usability... no
checking sys/timeb.h presence... yes
configure: WARNING: sys/timeb.h: present but cannot be compiled
configure: WARNING: sys/timeb.h: check for missing prerequisite headers?
configure: WARNING: sys/timeb.h: see the Autoconf documentation
configure: WARNING: sys/timeb.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/timeb.h: proceeding with the preprocessor's result
configure: WARNING: sys/timeb.h: in the future, the compiler will take precedence
checking for sys/timeb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking strings.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vlimit.h usability... no
checking sys/vlimit.h presence... no
checking for sys/vlimit.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/_mbstate_t.h usability... no
checking sys/_mbstate_t.h presence... no
checking for sys/_mbstate_t.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking if personality LINUX32 can be set... no
checking for term.h... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for function prototypes... yes
checking for working volatile... yes
checking for an ANSI C-conforming const... yes
checking for void * support... yes
checking whether gmake sets $(MAKE)... yes
checking for long file names... yes
checking for X... libraries , headers
checking for malloc_get_state... no
checking for malloc_set_state... no
checking whether __after_morecore_hook exists... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking for XSetWMProtocols... yes
checking X11 version 6... 6 or newer
checking X11 version 5... 5 or newer
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_get_channels in -lpng... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for EGifPutExtensionLast in -lgif... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking whether netdb declares h_errno... yes
checking for working alloca.h... no
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... no
checking for getrusage... yes
checking for get_current_dir_name... no
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... no
checking for res_init... yes
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for __fpending... no
checking for mblen... yes
checking for mbrlen... yes
checking for mbsinit... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockopt... yes
checking for setsockopt... yes
checking for getsockname... yes
checking for getpeername... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for getline... no
checking for getdelim... no
checking for mremap... no
checking for memmove... yes
checking for fsync... yes
checking for sync... yes
checking for bzero... yes
checking for memset... yes
checking for memcmp... yes
checking for difftime... yes
checking for memcpy... yes
checking for mempcpy... no
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for posix_memalign... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... yes
checking whether getpgrp requires zero arguments... yes
checking for strftime... yes
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... yes
checking for dgettext in -lintl... yes
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether system supports dynamic ptys... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for mbstate_t... yes
checking for C restrict keyword... __restrict
checking for C restricted array declarations... yes
Configured for `i686-gentoo-freebsd6.2'.
Where should the build process find the source code? /var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22
What operating system and machine description files should Emacs use?
`s/freebsd.h' and `m/intel386.h'
What compiler should emacs be built with? i686-gentoo-freebsd6.2-gcc -ggdb -mtune=i686 -pipe
Should Emacs use the GNU version of malloc? yes
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? yes
What window system should Emacs use? x11
What toolkit should Emacs use? none
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? Standard dirs
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? yes
Does Emacs use -ljpeg? yes
Does Emacs use -ltiff? yes
Does Emacs use -lgif? yes
Does Emacs use -lpng? yes
Does Emacs use X toolkit scroll bars? no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating man/Makefile
config.status: creating lwlib/Makefile
config.status: creating src/Makefile.c
config.status: creating lisp/Makefile
config.status: creating lispref/Makefile
config.status: creating lispintro/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: executing default commands
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile
(cd src; gmake mostlyclean)
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/src'
rm -f temacs prefix-args core *.core \#* *.o libXMenu11.a liblw.a
rm -f ../etc/DOC
rm -f bootstrap-emacs emacs-22.1.50
rm -f buildobj.lst
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/src'
(cd oldXMenu; gmake clean)
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/oldXMenu'
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/oldXMenu'
(cd lwlib; gmake clean)
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/lwlib'
rm -f *.o core errs ,* *.a .emacs_* make.log MakeOut \#*
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/lwlib'
(cd lib-src; gmake clean)
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/lib-src'
rm -f core *.o getopt.h getopt.h-t
rm -f etags ctags emacsclient b2m ebrowse profile digest-doc sorted-doc movemail cvtmail fakemail hexl update-game-score test-distrib make-docfile
rm -f fns*.el *.tab.c *.tab.h
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/lib-src'
(cd man && gmake clean)
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/man'
rm -f *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.*
.
.
.
Loading loadup.el (source)...
Using load-path (/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/lisp)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version.el (source)...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading env...
Loading cus-start...
Loading international/mule...
Loading international/mule-conf.el (source)...
Loading format...
Loading bindings...
Loading files...
Loading cus-face...
Loading faces...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((10160 . 6856) (4583 . 0) (576 . 4) 14303 20174 (10 . 5) (17 . 0) (739 . 2159))
Loading loaddefs.el (source)...
((28046 . 11588) (7548 . 0) (585 . 10) 40093 20174 (36 . 33) (17 . 0) (3588 . 1452))
Loading simple...
Loading help...
Loading jka-cmpr-hook...
Loading international/mule-cmds...
Loading case-table...
Loading international/utf-8...
Loading international/utf-16...
Loading international/characters...
Loading international/latin-1.el (source)...
Loading international/latin-2.el (source)...
Loading international/latin-3.el (source)...
Loading international/latin-4.el (source)...
Loading international/latin-5.el (source)...
Loading international/latin-8.el (source)...
Loading international/latin-9.el (source)...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/devanagari.el (source)...
Loading language/malayalam.el (source)...
Loading language/tamil.el (source)...
Loading language/kannada.el (source)...
Loading language/english.el (source)...
Loading language/ethiopic...
Loading language/european...
Loading language/czech.el (source)...
Loading language/slovak.el (source)...
Loading language/romanian.el (source)...
Loading language/greek.el (source)...
Loading language/hebrew.el (source)...
Loading language/japanese.el (source)...
Loading language/korean.el (source)...
Loading language/lao.el (source)...
Loading language/thai.el (source)...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang.el (source)...
Loading language/utf-8-lang.el (source)...
Loading language/georgian.el (source)...
Loading international/ucs-tables...
Loading indent...
Loading window...
Loading frame...
Loading term/tty-colors...
Loading font-core...
Loading facemenu...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading isearch...
Loading rfn-eshadow...
((48367 . 18813) (10497 . 0) (619 . 69) 61949 164230 (66 . 4) (18 . 12) (4878 . 1800))
Loading menu-bar...
Loading paths.el (source)...
Loading startup...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
((55275 . 11905) (11165 . 0) (621 . 67) 75325 165900 (66 . 4) (18 . 12) (5419 . 2078))
Loading replace...
Loading abbrev...
Loading buff-menu...
Loading fringe...
Loading image...
Loading international/fontset...
Loading dnd...
Loading mwheel...
Loading tool-bar...
Loading x-dnd...
((57229 . 9951) (11680 . 0) (622 . 66) 76899 166482 (68 . 8) (18 . 12) (5513 . 1858))
Loading emacs-lisp/float-sup...
((57260 . 9920) (11684 . 0) (622 . 66) 77039 166482 (69 . 9) (18 . 12) (5516 . 1855))
Loading vc-hooks...
Loading ediff-hook...
Loading tooltip...
((58587 . 8593) (11840 . 0) (623 . 65) 78357 166533 (71 . 7) (18 . 12) (5589 . 1782))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-22.1.50.1
1117474 pure bytes used
./emacs -q -batch -f list-load-path-shadows
Fatal error (11)gmake[3]: *** [emacs] Segmentation fault: 11 (core dumped)
gmake[3]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/src'
(export PARALLEL; PARALLEL=0; cd leim; gmake all -w \
CC='i686-gentoo-freebsd6.2-gcc' CFLAGS='-ggdb -mtune=i686 -pipe' CPPFLAGS='-I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib ' \
LDFLAGS='-Wl,-znocombreloc ' MAKE='gmake')
gmake[3]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim'
EMACSLOADPATH=/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim/../lisp/international/titdic-cnv \
-f batch-titdic-convert -dir quail /var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim/CXTERM-DIC; \
echo "changed" > changed.tit
Fatal error (11)EMACSLOADPATH=/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile quail/CCDOSPY.el
Fatal error (11)Segmentation fault (core dumped)
gmake[3]: *** [quail/CCDOSPY.elc] Error 139
gmake[3]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22/leim'
gmake[2]: *** [leim] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22'
gmake[1]: *** [bootstrap-build] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.1.50-r1/work/emacs-22'
gmake: *** [bootstrap] Error 2
[-- Attachment #3: emacs_backtrace.txt --]
[-- Type: text/plain, Size: 14478 bytes --]
#0 0x08186a1f in mark_object (arg=1193812026) at alloc.c:5735
obj = 1193812026
cdr_count = 0
#1 0x08186967 in mark_object (arg=140849113) at alloc.c:5714
ptr = (struct Lisp_Symbol *) 0x8652fd8
ptrx = (struct Lisp_Symbol *) 0x8411658
obj = 140849113
cdr_count = 0
#2 0x08186904 in mark_object (arg=137887748) at alloc.c:5700
ptr = (struct Lisp_Vector *) 0x8380000
size = 1511
i = 131
obj = 137887748
cdr_count = 0
#3 0x08185be1 in Fgarbage_collect () at alloc.c:5156
bind = (struct specbinding *) 0xa
catch = (struct catchtag *) 0x86a3aa0
handler = (struct handler *) 0x0
stack_top_variable = 8 '\b'
i = 0
message_p = 0
total = {136283816, 141186803, -1077948704, -1077948700, 0, 137885697,
0, -1077946352}
count = 30
t1 = {
tv_sec = 1194203716,
tv_usec = 186314
}
t2 = {
---Type <return> to continue, or q <return> to quit---
tv_sec = 0,
tv_usec = 137806528
}
t3 = {
tv_sec = 137777216,
tv_usec = 141190035
}
#4 0x081a18a7 in Ffuncall (nargs=3, args=0xbfbfcf40) at eval.c:2931
fun = 141192275
original_fun = 141088547
funcar = 10
numargs = 2
lisp_numargs = 137885697
val = 137885697
backtrace = {
next = 0x0,
function = 0x86a6c53,
args = 0x837f801,
nargs = -1077948632,
evalargs = -55 '\311',
debug_on_exit = -120 '\210'
}
internal_args = (Lisp_Object *) 0x868d723
i = 0
#5 0x081d9ba9 in Fbyte_code (bytestr=141088387, vector=138015492, maxdepth=72)
at bytecode.c:679
count = 22
op = 2
vectorp = (Lisp_Object *) 0x839f308
---Type <return> to continue, or q <return> to quit---
bytestr_length = 279
stack = {
pc = 0x868fe6a "\211\024\203\373",
top = 0xbfbfcf48,
bottom = 0xbfbfcf40,
byte_string = 141088387,
byte_string_start = 0x868fdb0 "\b\204\006",
constants = 138015492,
next = 0xbfbfd308
}
top = (Lisp_Object *) 0xbfbfcf40
result = -1
#6 0x081a2315 in funcall_lambda (fun=141063396, nargs=1,
arg_vector=0xbfbfd264) at eval.c:3184
val = -1077948144
syms_left = 137885697
next = 138219145
count = 21
i = 1
optional = 1
rest = 0
#7 0x081a1dd1 in Ffuncall (nargs=2, args=0xbfbfd260) at eval.c:3043
fun = 141063396
original_fun = 141103129
funcar = -1077947832
numargs = 1
lisp_numargs = 16
val = 137885721
backtrace = {
---Type <return> to continue, or q <return> to quit---
next = 0xbfbfd51c,
function = 0xbfbfd260,
args = 0xbfbfd264,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x101d264
i = 137973122
#8 0x081d9ba9 in Fbyte_code (bytestr=141106195, vector=140180228, maxdepth=48)
at bytecode.c:679
count = 18
op = 1
vectorp = (Lisp_Object *) 0x85afb08
bytestr_length = 216
stack = {
pc = 0x86920cd "\211\035G\316\245\036 \317\320\321\016 !\203i",
top = 0xbfbfd264,
bottom = 0xbfbfd260,
byte_string = 141106195,
byte_string_start = 0x8692078 "\306\b!\211\031\032\307\033\n\203,",
constants = 140180228,
next = 0xbfbfd968
}
top = (Lisp_Object *) 0xbfbfd260
result = -1077947288
#9 0x081a2315 in funcall_lambda (fun=141063044, nargs=0,
arg_vector=0xbfbfd5a4) at eval.c:3184
val = -1077946984
---Type <return> to continue, or q <return> to quit---
syms_left = 137885697
next = 137885697
count = 18
i = 0
optional = 0
rest = 0
#10 0x081a1dd1 in Ffuncall (nargs=1, args=0xbfbfd5a0) at eval.c:3043
fun = 141063044
original_fun = 138788249
funcar = -1077947048
numargs = 0
lisp_numargs = 141106531
val = 141106515
backtrace = {
next = 0xbfbfd7cc,
function = 0xbfbfd5a0,
args = 0xbfbfd5a4,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x8691d53
i = -1077947064
#11 0x081a16a8 in apply1 (fn=138788249, arg=137885697) at eval.c:2738
ret_ungc_val = 135442000
gcpro1 = {
next = 0x8594f2d,
var = 0xbfbfd598,
nvars = 137885697
---Type <return> to continue, or q <return> to quit---
}
#12 0x0819bef2 in Fcall_interactively (function=138788249,
record_flag=137885697, keys=137949188) at callint.c:406
input = 137885697
args = (Lisp_Object *) 0x837f801
visargs = (Lisp_Object *) 0x85953bd
fun = 141063044
specs = 137885697
filter_specs = 137885697
teml = -1077946600
up_event = 137885697
enable = 137885697
speccount = 18
next_event = 0
prefix_arg = 137885697
string = (unsigned char *) 0x0
tem = (unsigned char *) 0x837f801 "\3647\b3"
varies = (int *) 0xbfbfd788
i = 0
j = 0
count = 135923761
foo = 141063044
prompt1 = "\001\3707\b\000\020\000\000\000\000\000\000\322k1l\036\000\000\000\020\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\020\000\000\000\270\326\277\277\324\343\026\b\001\3707\bY\2329\b\030\327\277\277\205(\032\b\275SY\b\230\275E\b\370\326\277\277\361\237\032\b\341Q9\b-OY\b\002\000\000\000\025OY\b\001\3707\b"
tem1 = 0x844169d "\026D\b\343`@\b\255\026D\b\230\254\300"
arg_from_tty = 0
---Type <return> to continue, or q <return> to quit---
gcpro1 = {
next = 0x1659,
var = 0xbfbfd6a8,
nvars = 135716643
}
gcpro2 = {
next = 0x0,
var = 0x472e18f4,
nvars = 0
}
gcpro3 = {
next = 0x0,
var = 0x10,
nvars = 2
}
gcpro4 = {
next = 0x0,
var = 0xfa,
nvars = 34464
}
gcpro5 = {
next = 0x5f,
var = 0x2f9,
nvars = 98724
}
key_count = 0
record_then_fail = 0
save_this_command = 137885697
save_last_command = 137885697
---Type <return> to continue, or q <return> to quit---
save_this_original_command = 137885697
save_real_this_command = 137885697
#13 0x0812b0ec in Fcommand_execute (cmd=138788249, record_flag=137885697,
keys=137885697, special=137885697) at keyboard.c:10036
final = 141063044
tem = 137974241
prefixarg = 137885697
backtrace = {
next = 0xbfbfd85c,
function = 0x836e070,
args = 0xbfbfd7f0,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
#14 0x081a1bdb in Ffuncall (nargs=2, args=0xbfbfd8b0) at eval.c:3007
fun = 136439708
original_fun = 137934521
funcar = -1077946216
numargs = 1
lisp_numargs = 137007101
val = 137885745
backtrace = {
next = 0xbfbfdb7c,
function = 0xbfbfd8b0,
args = 0xbfbfd8b4,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
---Type <return> to continue, or q <return> to quit---
}
internal_args = (Lisp_Object *) 0xbfbfd810
i = 4
#15 0x081d9ba9 in Fbyte_code (bytestr=137005875, vector=137005892, maxdepth=96)
at bytecode.c:679
count = 5
op = 1
vectorp = (Lisp_Object *) 0x82a8b48
bytestr_length = 1194
stack = {
pc = 0x82dbc93 "\210\202\353\003\016I \210\202\353\003\016O\355\235\203\272\001\356\357\016Q\206\264\001\016A\211A\026A@!!\210\202\353\003\016O\360\235\203\367\001\361\362\016Q\206\317\001\016A\211A\026A@!!\026I\016H\203\352\001\016H\016I\016HAB\241\210\016HA\026H\202\353\003\016I\016UB\211\026U\026H\202\353\003\016O\363\235\203*\002\362\016Q\206\v\002\016A\211A\026A@!\036V\361\016V!\036W\364\016W!\203\037\002\016W\026V\365\016V\314\344#\210*\202\353\003\016O\366\235\203S\002\362\016Q\206>\002\016A\211A\026A@!\036V\361\016V!\036W\365\016W\314\344\211$\210*\202\353\003\016O\367\232\203{\002\016Q"...,
top = 0xbfbfd8b4,
bottom = 0xbfbfd8b0,
byte_string = 137005875,
byte_string_start = 0x82dbaff "\b\204B",
constants = 137005892,
next = 0xbfbfdc78
}
top = (Lisp_Object *) 0xbfbfd8b0
result = 138529280
#16 0x081a2315 in funcall_lambda (fun=137005844, nargs=1,
arg_vector=0xbfbfdbd4) at eval.c:3184
---Type <return> to continue, or q <return> to quit---
val = 137885697
syms_left = 137885697
next = 140754833
count = 4
i = 1
optional = 0
rest = 0
#17 0x081a1dd1 in Ffuncall (nargs=2, args=0xbfbfdbd0) at eval.c:3043
fun = 137005844
original_fun = 140709465
funcar = 137972906
numargs = 1
lisp_numargs = 3
val = 138172093
backtrace = {
next = 0xbfbfde8c,
function = 0xbfbfdbd0,
args = 0xbfbfdbd4,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x2
i = 138021130
#18 0x081d9ba9 in Fbyte_code (bytestr=136996803, vector=136996820, maxdepth=56)
at bytecode.c:679
count = 4
op = 1
vectorp = (Lisp_Object *) 0x82a67d8
---Type <return> to continue, or q <return> to quit---
bytestr_length = 1632
stack = {
pc = 0x82ddf45 "\210\016B\203I\006\201\330",
top = 0xbfbfdbd4,
bottom = 0xbfbfdbd0,
byte_string = 136996803,
byte_string_start = 0x82dd908 "\b\021\306\307!\210\306\310!\210\306\311!\210\312\313!\211\032\314=\2046",
constants = 136996820,
next = 0xbfbfdf88
}
top = (Lisp_Object *) 0xbfbfdbd0
result = 140829427
#19 0x081a2315 in funcall_lambda (fun=136996780, nargs=0,
arg_vector=0xbfbfdee4) at eval.c:3184
val = 140829427
syms_left = 137885697
next = 137978289
count = 4
i = 0
optional = 0
rest = 0
#20 0x081a1dd1 in Ffuncall (nargs=1, args=0xbfbfdee0) at eval.c:3043
fun = 136996780
original_fun = 140753713
funcar = 137999178
numargs = 0
lisp_numargs = 137885697
val = 137885721
---Type <return> to continue, or q <return> to quit---
backtrace = {
next = 0xbfbfe264,
function = 0xbfbfdee0,
args = 0xbfbfdee4,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x839b34a
i = 140829427
#21 0x081d9ba9 in Fbyte_code (bytestr=136993811, vector=136993828, maxdepth=48)
at bytecode.c:679
count = 2
op = 0
vectorp = (Lisp_Object *) 0x82a5c28
bytestr_length = 140
stack = {
pc = 0x82de5e3 "*\207",
top = 0xbfbfdee0,
bottom = 0xbfbfdee0,
byte_string = 136993811,
byte_string_start = 0x82de559 "\b\203\b",
constants = 136993828,
next = 0x0
}
top = (Lisp_Object *) 0xbfbfdee0
result = -1077944136
#22 0x081a2315 in funcall_lambda (fun=136993788, nargs=0,
arg_vector=0xbfbfe160) at eval.c:3184
---Type <return> to continue, or q <return> to quit---
val = -1
syms_left = 137885697
next = -1
count = 2
i = 0
optional = 0
rest = 0
#23 0x081a1fee in apply_lambda (fun=136993788, args=137885697, eval_flag=1)
at eval.c:3108
args_left = 137885697
numargs = 0
arg_vector = (Lisp_Object *) 0xbfbfe160
gcpro1 = {
next = 0x1040404,
var = 0xae5,
nvars = 0
}
gcpro2 = {
next = 0x2821f9fc,
var = 0x804bc36,
nvars = 675903064
}
gcpro3 = {
next = 0x4040404,
var = 0x4040404,
nvars = 67372036
}
i = 0
tem = 67372036
---Type <return> to continue, or q <return> to quit---
#24 0x081a0efd in Feval (form=139842077) at eval.c:2370
fun = 136993788
val = 1780490272
original_fun = 140754641
original_args = 137885697
funcar = 1933600111
backtrace = {
next = 0x0,
function = 0xbfbfe27c,
args = 0xbfbfe160,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
gcpro1 = {
next = 0x36206f6f,
var = 0x722d322e,
nvars = 857940019
}
gcpro2 = {
next = 0x28248b00,
var = 0x28248c00,
nvars = 673484032
}
gcpro3 = {
next = 0x28248800,
var = 0x28248900,
nvars = 673483264
}
---Type <return> to continue, or q <return> to quit---
#25 0x0811baba in top_level_2 () at keyboard.c:1338
No locals.
#26 0x0819f7b5 in internal_condition_case (bfun=0x811baa7 <top_level_2>,
handlers=137953905, hfun=0x811b6e7 <cmd_error>) at eval.c:1481
val = -1077943336
c = {
tag = 137885697,
val = 137885697,
next = 0xbfbfe37c,
gcpro = 0x0,
jmp = {{
_jb = {135919461, 5, -1077943620, -1077943480, -1077942808, 0, 4735,
-1077943500, 1, 0, 0, 1}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 137953905,
var = 137885697,
chosen_clause = 33554431,
tag = 0xbfbfe2e8,
next = 0x0
}
---Type <return> to continue, or q <return> to quit---
#27 0x0811baee in top_level_1 () at keyboard.c:1346
No locals.
#28 0x0819f2e7 in internal_catch (tag=137934809, func=0x811babc <top_level_1>,
arg=137885697) at eval.c:1222
c = {
tag = 137934809,
val = 137885697,
next = 0x0,
gcpro = 0x0,
jmp = {{
_jb = {135918296, 5, -1077943444, -1077943336, -1077942808, 0,
138089087, 138102906, 138102906, 137868077, 2, 138102906}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#29 0x0811ba27 in command_loop () at keyboard.c:1303
No locals.
#30 0x0811b461 in recursive_edit_1 () at keyboard.c:1006
count = 1
val = 5
#31 0x0811b5a5 in Frecursive_edit () at keyboard.c:1067
count = 0
buffer = 137885697
---Type <return> to continue, or q <return> to quit---
#32 0x08119f73 in main (argc=5, argv=0xbfbfe5d0) at emacs.c:1762
dummy = 134518396
stack_bottom_variable = 1 '\001'
do_initial_setlocale = 1
skip_args = 1
rlim = {
rlim_cur = 67108864,
rlim_max = 67108864
}
no_loadup = 0
junk = 0x0
Lisp Backtrace:
"find-emacs-lisp-shadows" (0x8594cb5)
"list-load-path-shadows" (0x837f801)
"call-interactively" (0x845bd99)
"command-execute" (0x845bd99)
"command-line-1" (0x855884d)
"command-line" (0x864e2f3)
"normal-top-level" (0x837f801)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Seg fault during emacs build on FreeBSD (Gentoo) when built without gtk
2007-11-04 21:48 Seg fault during emacs build on FreeBSD (Gentoo) when built without gtk Joe Peterson
@ 2007-11-06 2:15 ` Richard Stallman
2007-11-06 23:41 ` Joe Peterson
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-11-06 2:15 UTC (permalink / raw)
To: Joe Peterson; +Cc: bug-gnu-emacs, emacs
This sort of problem usually needs to be debugged by someone using the
platform where it fails. You have to work backwards from the failure.
From the backtrace I can see it is due to invalid Lisp data.
You need to see what the invalid object is, then figure out where
it was found, in order to localize the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Seg fault during emacs build on FreeBSD (Gentoo) when built without gtk
2007-11-06 2:15 ` Richard Stallman
@ 2007-11-06 23:41 ` Joe Peterson
0 siblings, 0 replies; 3+ messages in thread
From: Joe Peterson @ 2007-11-06 23:41 UTC (permalink / raw)
To: rms; +Cc: bug-gnu-emacs, emacs
Richard Stallman wrote:
> This sort of problem usually needs to be debugged by someone using the
> platform where it fails. You have to work backwards from the failure.
>
> From the backtrace I can see it is due to invalid Lisp data.
> You need to see what the invalid object is, then figure out where
> it was found, in order to localize the bug.
Richard, thanks, and will do.
I can't imagine how this bug depends on compiling with or without GTK
unless it affects other things (like the malloc-related ifdefs). The
backtrace is definitely not trivial, so if you have any thoughts in the
meantime, let me know.
-Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-06 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 21:48 Seg fault during emacs build on FreeBSD (Gentoo) when built without gtk Joe Peterson
2007-11-06 2:15 ` Richard Stallman
2007-11-06 23:41 ` Joe Peterson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.