unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <eric.hanchrow@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#2851: 23.0.92; abort in "apply"
Date: Wed, 1 Apr 2009 18:52:54 -0700	[thread overview]
Message-ID: <36366a980904011852i7de64341y145a94d790f01fce@mail.gmail.com> (raw)

    I _think_ this came from this version of Emacs:

        Author: Andreas Schwab <schwab@suse.de>
        Date:   Tue Mar 31 08:01:54 2009 +0000

            Regenerate configure.

Unfortunately I can't remember what I was doing at the time.  From the
trace, I must have been typing, but what I do remember is that I
tried to connect to the emacs by running this on a remote machine:

        $ ssh my-home-machine.org /usr/local/src/emacs/lib-src/emacsclient --tty

... when I did so, I found emacs was unresponsive.

    /usr/local/src/emacs/src/.gdbinit:27: Error in sourced command file:
    No symbol table is loaded.  Use the "file" command.
    Starting program:  -nw
    No executable file specified.
    Use the "file" or "exec-file" command.
    quit
    SIGINT is used by the debugger.
    Are you sure you want to change it? (y or n) [answered Y; input
not from terminal]
    DISPLAY = localhost:10.0
    TERM = screen-bce
    Breakpoint 1 at 0x8124246: file emacs.c, line 432.
    Breakpoint 2 at 0x8141a19: file sysdep.c, line 1146.
    Starting program: /usr/local/src/emacs/src/emacs -nw
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb7104b10 (LWP 14864)]
    [Switching to Thread 0xb7104b10 (LWP 14864)]
    SIGINT is used by the debugger.
    Are you sure you want to change it? (y or n) [answered Y; input
not from terminal]
    DISPLAY = :0.0
    TERM = screen-bce
    Breakpoint 1 at 0x81246d6: file emacs.c, line 432.
    Breakpoint 2 at 0x8141ea9: file sysdep.c, line 1146.
    Starting program: /usr/local/src/emacs/src/emacs -nw
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb70edb10 (LWP 9246)]
    [Switching to Thread 0xb70edb10 (LWP 9246)]

    Program exited normally.
    Undefined command: "TERM".  Try "help".
    No symbol "TERM" in current context.
    Undefined command: "export".  Try "help".
    Starting program: /usr/local/src/emacs/src/emacs -nw
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb7040b10 (LWP 9257)]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb7040b10 (LWP 9257)]
    0x0808b42e in redisplay_internal (preserve_echo_area=<value
optimized out>) at xdisp.c:11416
    11416	  if ((FRAME_TERMCAP_P (sf) || FRAME_MSDOS_P (sf))
    SIGINT is used by the debugger.
    Are you sure you want to change it? (y or n) [answered Y; input
not from terminal]
    DISPLAY = :0.0
    TERM = screen-bce
    Breakpoint 1 at 0x81246d6: file emacs.c, line 432.
    Breakpoint 2 at 0x8141ea9: file sysdep.c, line 1146.
    Argument required (integer to set it to.).
    Number of lines gdb thinks are in a page is unlimited.
    Currently logging to "gdb.txt".
    Logs will be appended to the log file.
    Output will be logged and displayed.
    quit
    SIGINT is used by the debugger.
    Are you sure you want to change it? (y or n) [answered Y; input
not from terminal]
    DISPLAY = :0.0
    TERM = screen-bce
    Breakpoint 1 at 0x81246f6: file emacs.c, line 432.
    Breakpoint 2 at 0x8141ec9: file sysdep.c, line 1146.
    Starting program: /usr/local/src/emacs/src/emacs -nw
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb6fbcb10 (LWP 14165)]
    [Switching to Thread 0xb6fbcb10 (LWP 14165)]

    Breakpoint 1, abort () at emacs.c:432
    432	  kill (getpid (), SIGABRT);
    "apply" (0xbfa21840)
    #0  abort () at emacs.c:432
    No locals.
    #1  0x08182d86 in wrong_type_argument (predicate=138016633,
value=-1) at data.c:113
    No locals.
    #2  0x08196214 in Fapply (nargs=2, args=0xbfa21840) at eval.c:2469
            i = <value optimized out>
            numargs = <value optimized out>
            spread_arg = -1
            funcall_args = <value optimized out>
            fun = 4
    #3  0x08194c2e in Ffuncall (nargs=3, args=0xbfa2183c) at eval.c:3026
            fun = <value optimized out>
            original_fun = 138114977
            funcar = <value optimized out>
            numargs = 2
            val = <value optimized out>
            backtrace = {
      next = 0x0,
      function = 0xbfa2183c,
      args = 0xbfa21840,
      nargs = 2,
      evalargs = 0 '\0',
      debug_on_exit = 0 '\0'
    }
            internal_args = (Lisp_Object *) 0xbfa21840
            i = <value optimized out>
    #4  0x08193d4d in internal_condition_case_2 (bfun=0x81948d0
<Ffuncall>, nargs=3, args=0xbfa2183c,
        handlers=137973065, hfun=0x807d110 <safe_eval_handler>) at eval.c:1611
            val = <value optimized out>
            c = {
      tag = 137973017,
      val = 137973017,
      next = 0xbfa220bc,
      gcpro = 0x0,
      jmp = {{
          __jmpbuf = {3, -1079896004, 3, -1079896072, -468836338, -1839594655},
          __mask_was_saved = 0,
          __saved_mask = {
            __val = {0 <repeats 17 times>, 138212248, 138213698,
137998872, 3215071176, 135811627,
              138212249, 138213698, 137973065, 137998872, 137973041,
138213696, 3073219391, 138212248,
              138212249, 137973065}
          }
        }},
      backlist = 0x0,
      handlerlist = 0xbfa22184,
      lisp_eval_depth = 0,
      pdlcount = 4,
      poll_suppress_count = 1,
      interrupt_input_blocked = 0,
      byte_stack = 0x0
    }
            h = {
      handler = 137973065,
      var = 137973017,
      chosen_clause = 3,
      tag = 0xbfa2171c,
      next = 0xbfa22184
    }
    #5  0x08085f32 in safe_call (nargs=3, args=0xbfa2183c) at xdisp.c:2410
            val = <value optimized out>
    #6  0x08085f7b in safe_call2 (fn=138114977, arg1=4, arg2=-1) at xdisp.c:2451
            args = {138114977, 4, -1}
    #7  0x0812d2dc in timer_check (do_it_now=1) at keyboard.c:4538
            now = {
      tv_sec = 177885160,
      tv_usec = -1079895912
    }
            timers = 175863053
            idle_timers = 174205165
            chosen_timer = <value optimized out>
    #8  0x081d0ce0 in wait_reading_process_output (time_limit=0,
microsecs=0, read_kbd=-1, do_display=1,
        wait_for_cell=137973017, wait_proc=0x0, just_wait_proc=0) at
process.c:4593
            old_timers_run = 26260
            old_buffer = (struct buffer *) 0x839b218
            old_window = 179803476
            timeout_reduced_for_timers = 1
            channel = 16
            nfds = 1
            Available = {
      fds_bits = {0 <repeats 32 times>}
    }
            Connecting = {
      fds_bits = {0 <repeats 32 times>}
    }
            check_connect = 0
            check_delay = 2
            no_avail = <value optimized out>
            xerrno = 0
            proc = 177885164
            timeout = {
      tv_sec = 100000,
      tv_usec = 0
    }
            end_time = {
      tv_sec = 0,
      tv_usec = 268435456
    }
            wait_channel = -1
            got_some_input = 1
    #9  0x08132659 in read_char (commandflag=1, nmaps=5,
maps=0xbfa21eb0, prev_event=137973017,
        used_mouse_menu=0xbfa21f70, end_time=0x0) at keyboard.c:4097
            kb = (KBOARD *) 0xa7522a8
            c = 137973017
            local_getcjmp = {{
        __jmpbuf = {5, 137973017, 1, -1079894440, -468172786, -2040436383},
        __mask_was_saved = 0,
        __saved_mask = {
          __val = {174629780, 3215072664, 136202962, 137973017,
138192369, 174629780, 40, 3215072688,
            127224, 0, 4294967295, 3215072684, 174629776, 3215072904,
135849497, 138002369, 127232,
            174629780, 139181285, 138485240, 138977657, 3215072744,
135809736, 138977657, 137973017,
            137973017, 0, 3215072808, 137973017, 3215072776,
138977657, 138977657}
        }
      }}
            save_jump = {{
        __jmpbuf = {0, 0, 0, 0, 0, 0},
        __mask_was_saved = 0,
        __saved_mask = {
          __val = {0 <repeats 32 times>}
        }
      }}
            key_already_recorded = 0
            tem = 0
            save = <value optimized out>
            previous_echo_area_message = 137973017
            also_record = 137973017
            reread = 0
            polling_stopped_here = <value optimized out>
            orig_kboard = (struct kboard *) 0xa7522a8
    #10 0x08134342 in read_key_sequence (keybuf=0xbfa22024,
bufsize=30, prompt=137973017,
        dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9456
            interrupted_kboard = (KBOARD *) 0xa7522a8
            key = 174629780
            used_mouse_menu = 0
            echo_local_start = 0
            last_real_key_start = 0
            keys_local_start = 0
            local_first_binding = 0
            from_string = 137973017
            count = 2
            t = 0
            echo_start = 0
            keys_start = 0
            nmaps = 5
            nmaps_allocated = 5
            defs = (Lisp_Object * volatile) 0xbfa21e80
            submaps = (Lisp_Object * volatile) 0xbfa21eb0
            orig_local_map = 174317469
            orig_keymap = 137973017
            localized_local_map = 0
            first_binding = 0
            first_unbound = 31
            mock_input = 0
            fkey = {
      parent = 178133853,
      map = 178133853,
      start = 0,
      end = 0
    }
            keytran = {
      parent = 137966461,
      map = 137966461,
      start = 0,
      end = 0
    }
            indec = {
      parent = 178136133,
      map = 178136133,
      start = 0,
      end = 0
    }
            shift_translated = 0
            delayed_switch_frame = 137973017
            original_uppercase = 137973017
            original_uppercase_position = -1
            starting_buffer = (struct buffer *) 0xa68a390
            fake_prefixed_keys = 137973017
    #11 0x08135fa3 in command_loop_1 () at keyboard.c:1642
            cmd = <value optimized out>
            lose = 176121024
            nonundocount = 0
            keybuf = {104, 0, 179646697, 0, 137973017, -1079893848,
135461192, 176943973, -1079893914,
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1079893884, -1079894048, 0,
-65536, 137973017, 138954905,
      -1194323968, 0, 138500224, 138500208, -1194323968}
            i = 176121024
            prev_modiff = 3542
            prev_buffer = (struct buffer *) 0xa68a390
            already_adjusted = 0
    #12 0x08194080 in internal_condition_case (bfun=0x8135dc0
<command_loop_1>, handlers=138016153,
        hfun=0x812f860 <cmd_error>) at eval.c:1512
            val = <value optimized out>
            c = {
      tag = 137973017,
      val = 137973017,
      next = 0xbfa221d0,
      gcpro = 0x0,
      jmp = {{
          __jmpbuf = {0, 138500224, 138500208, -1079893608,
-463380466, -1834974367},
          __mask_was_saved = 0,
          __saved_mask = {
            __val = {3086110708, 3069960552, 31, 3215073300,
3086033053, 140106352, 3215073212,
              3073489163, 3074457588, 3074462016, 3086093244,
3215073248, 3073504438, 276967387,
              3075930760, 8655230, 58, 3215073904, 3215073612,
3215073904, 3215073752, 135532708, 2,
              3215073764, 3215073612, 0, 0, 0, 0, 0, 0, 0}
          }
        }},
      backlist = 0x0,
      handlerlist = 0x0,
      lisp_eval_depth = 0,
      pdlcount = 2,
      poll_suppress_count = 1,
      interrupt_input_blocked = 0,
      byte_stack = 0x0
    }
            h = {
      handler = 138016153,
      var = 137973017,
      chosen_clause = 137973065,
      tag = 0xbfa220bc,
      next = 0x0
    }
    #13 0x0812ecb5 in command_loop_2 () at keyboard.c:1359
            val = 7
    #14 0x0819415a in internal_catch (tag=138012177, func=0x812ec90
<command_loop_2>, arg=137973017)
        at eval.c:1248
            c = {
      tag = 138012177,
      val = 137973017,
      next = 0x0,
      gcpro = 0x0,
      jmp = {{
          __jmpbuf = {0, 138500224, 138500208, -1079893352,
-463241202, -1834837151},
          __mask_was_saved = 0,
          __saved_mask = {
            __val = {0, 0, 0, 0, 0, 0, 3074347703, 3074354496,
3074341937, 3074341727, 0, 0, 0,
              3074462072, 176, 22, 0, 1, 140004184, 0, 138212248,
138213698, 137998872, 3215073928,
              135811627, 138212249, 138213698, 137973017, 137998872,
137973041, 138213696, 0}
          }
        }},
      backlist = 0x0,
      handlerlist = 0x0,
      lisp_eval_depth = 0,
      pdlcount = 2,
      poll_suppress_count = 1,
      interrupt_input_blocked = 0,
      byte_stack = 0x0
    }
    #15 0x0812f6af in command_loop () at keyboard.c:1338
    No locals.
    #16 0x0812fa6b in recursive_edit_1 () at keyboard.c:953
            val = <value optimized out>
    #17 0x0812fbb4 in Frecursive_edit () at keyboard.c:1015
            buffer = 137973017
    #18 0x08125717 in main (argc=2, argv=0xbfa226a4) at emacs.c:1852
            dummy = 140330720
            stack_bottom_variable = 8 '\b'
            do_initial_setlocale = 1
            skip_args = 1
            rlim = {
      rlim_cur = 8388608,
      rlim_max = 18446744073709551615
    }
            no_loadup = 0
            junk = 0x0
            dname_arg = 0x0

    Lisp Backtrace:
    "apply" (0xbfa21840)
    quit
    The program is running.  Exit anyway? (y or n)



In GNU Emacs 23.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-04-01 on debian
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  shell-dirtrack-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  erc-autojoin-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-n C-x o C-x C-f M a k <return> C-s - g C-d C-d C-x
C-q C-d C-d C-d C-d C-x C-s y e s <return> M-x d e
l e <tab> t r <tab> <return> C-x C-s y e s <return>
C-x v = C-x C-v M-f . <backspace> M a k C-g m a C-s
C-s <return> C-s c f l a g s C-a C-x C-f <backspace>
c o n f i g u r e <return> C-s c f l g a C-a C-s C-y
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-r C-r C-s C-s C-a C-x 0 C-u C-x $ C-v C-v C-u
C-n C-n C-n M-- C-l C-u C-u C-p C-u C-p C-u C-p C-u
C-p C-x $ C-M-u C-M-p C-M-p C-M-p C-l C-M-p C-M-p M--
C-l M-v C-x b s h e C-g M-x s h e l l <return> c d
SPC e m <tab> <return> p w d <return> c d SPC . . <return>
g i t SPC r e f l o g <return> C-c C-p M-> M-r g i
t SPC l o g <return> C-c C-p M-> <M-backspace> <backspace>
<backspace> M-b <M-backspace> s s SPC <return> C-u
C-p C-p C-p C-a C-SPC C-n C-n C-n C-n M-w M-> C-x b
<return> M-< C-M-o C-M-o I SPC _ t h i n k _ SPC t
h i s SPC c a m e SPC f r o m SPC t h i s SPC v e r
s i o n SPC o f SPC E m a c s : <return> <return> C-y
C-x C-x C-u C-x TAB C-x C-s M-x r e p o r t - e m a
c s - b u g <return>

Recent messages:
selective-display set to 4.
selective-display set to nil.
Quit
Partially completed
/usr/local/src/emacs
Mark set
History item: 8
Mark set [5 times]
Saving file /usr/local/src/emacs/src/crash.txt...
Wrote /usr/local/src/emacs/src/crash.txt






                 reply	other threads:[~2009-04-02  1:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36366a980904011852i7de64341y145a94d790f01fce@mail.gmail.com \
    --to=eric.hanchrow@gmail.com \
    --cc=2851@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).