emacs-devel
[Top][All Lists]
Advanced

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

Re: Failure to build on OpenBSD macppc


From: Ryan Yeske
Subject: Re: Failure to build on OpenBSD macppc
Date: Sat, 05 May 2007 17:01:49 -0700 (PDT)

   Next step: try deleting forms at the end of files.el,
   one by one, and seeing when the crash stops happening.
   The next form is the one that causes the crash.
   Can you show us that one?

I just discovered that running ./temacs --help also segfaults, with a
more useful backtrace.

$ gdb ./temacs
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-openbsd4.0"...
Environment variable "DISPLAY" not defined.
TERM = dumb
Breakpoint 1 at 0x187ad70: file sysdep.c, line 1383.
(gdb) run --help
Starting program: /home/rcyeske/emacs/src/temacs --help
Usage: /home/rcyeske/emacs/src/temacs [OPTION-OR-FILENAME]...

Run Emacs, the extensible, customizable, self-documenting real-time
display editor.  The recommended way to start Emacs for normal editing
is with no options at all.

Run M-x info RET m emacs RET m emacs invocation RET inside Emacs to
read the main documentation for these command-line arguments.

Initialization options:

--batch                     do not do interactive display; implies -q
--debug-init                enable Emacs Lisp debugger for init file
--display, -d DISPLAY       use X server DISPLAY
--multibyte, --no-unibyte   inhibit the effect of EMACS_UNIBYTE
--no-desktop                do not load a saved desktop
--no-init-file, -q          load neither ~/.emacs nor default.el
--no-shared-memory, -nl     do not use shared memory
--no-site-file              do not load site-start.el
--no-splash                 do not display a splash screen on startup
--no-window-system, -nw     do not communicate with X, ignoring $DISPLAY
--quick, -Q                 equivalent to -q --no-site-file --no-splash
--script FILE               run FILE as an Emacs Lisp script
--terminal, -t DEVICE       use DEVICE for terminal I/O
--unibyte, --no-multibyte   run Emacs in unibyte mode
--user, -u USER             load ~USER/.emacs instead of your own

Action options:

FILE                    visit FILE using find-file
+LINE FILE              visit FILE using find-file, then go to line LINE
+LINE:COLUMN FILE       visit FILE using find-file, then go to line LINE,
                          column COLUMN
--directory, -L DIR     add DIR to variable load-path
--eval EXPR             evaluate Emacs Lisp expression EXPR
--execute EXPR          evaluate Emacs Lisp expression EXPR
--file FILE             visit FILE using find-file
--find-file FILE        visit FILE using find-file
--funcall, -f FUNC      call Emacs Lisp function FUNC with no arguments
--insert FILE           insert contents of FILE into current buffer
--kill                  exit without asking for confirmation
--load, -l FILE         load Emacs Lisp FILE using the load function
--visit FILE            visit FILE using find-file

Display options:

--background-color, -bg COLOR   window background color
--basic-display, -D             disable many display features;
                                  used for debugging Emacs
--border-color, -bd COLOR       main border color
--border-width, -bw WIDTH       width of main border
--color, --color=MODE           override color mode for character terminals;
                                  MODE defaults to `auto', and can also
                                  be `never', `auto', `always',
                                  or a mode name like `ansi8'
--cursor-color, -cr COLOR       color of the Emacs cursor indicating point
--font, -fn FONT                default font; must be fixed-width
--foreground-color, -fg COLOR   window foreground color
--fullheight, -fh               make the first frame high as the screen
--fullscreen, -fs               make first frame fullscreen
--fullwidth, -fw                make the first frame wide as the screen
--geometry, -g GEOMETRY         window geometry
--no-bitmap-icon, -nbi          do not use picture of gnu for Emacs icon
--iconic                        start Emacs in iconified state
--internal-border, -ib WIDTH    width between text and main border
--line-spacing, -lsp PIXELS     additional space to put between lines
--mouse-color, -ms COLOR        mouse cursor color in Emacs window
--name NAME                     title for initial Emacs frame
--no-blinking-cursor, -nbc      disable blinking cursor
--reverse-video, -r, -rv        switch foreground and background
--title, -T TITLE               title for initial Emacs frame
--vertical-scroll-bars, -vb     enable vertical scroll bars
--xrm XRESOURCES                set additional X resources
--help                          display this help and exit
--version                       output version information and exit


Program received signal SIGSEGV, Segmentation fault.
Fcons (car=0, cdr=0) at alloc.c:2773
2773        XSETCDR (val, cdr);
(gdb) #0  Fcons (car=0, cdr=0) at alloc.c:2773
#1  0x018b7168 in list2 (arg1=0, arg2=0) at alloc.c:2805
#2  0x018d0bec in xsignal2 (error_symbol=0, arg1=0, arg2=0) at eval.c:1746
#3  0x018bbc70 in wrong_type_argument (predicate=0, value=0) at data.c:121
#4  0x018ed4f0 in check_obarray (obarray=0) at lread.c:3306
#5  0x018ed554 in intern (str=0x19267fc "emacs-version") at lread.c:3324
#6  0x01860aec in bug_reporting_address () at emacs.c:770
#7  0x01860aec in bug_reporting_address () at emacs.c:770
#8  0x01860aec in bug_reporting_address () at emacs.c:770
#9  0x01860aec in bug_reporting_address () at emacs.c:770
Previous frame inner to this frame (corrupt stack?)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]