Subject: 23.1.50; Core dump

From: Neal Sidhwaney <[email-masked]>
Date: Wed, 3 Mar 2010 09:37:06 -0800 (PST)

I was running Emacs over an NX Client session (essentially a compressed X11.app connecion) and when I came back the next morning, it had core dumped.  

[09:33:18][0][~]
nealsid@conundrum21 $ gdb /usr/local/bin/emacs core
GNU gdb (GDB) 7.0-gg11
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Type "show copying" and "show warranty" for licensing/warranty details.
This GDB was configured as "x86_64-linux".

<http://wiki/Main/GnuDebugger  FAQ: http://go/gdb  Email: gdb-team>
Hey, I'm GDB 7.0.  Check me out!  http://wiki/Main/Gdb70x

Reading symbols from /usr/local/bin/emacs...done.

warning: Can't read pathname for load map: Input/output error.
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f2e0195d527 in kill () from /lib/libc.so.6
(gdb) bt full
#0  0x00007f2e0195d527 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000004cee0f in fatal_error_signal (sig=<value optimized out>) at emacs.c:403
No locals.
#2  <signal handler called>
No symbol table info available.
#3  0x0000000000408063 in build_frame_matrix (f=0x2d432d0, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:2695
        i = 0
#4  update_frame (f=0x2d432d0, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3950
        paused_p = 1
        root_window = 0x3527650
#5  0x000000000043b123 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11875
        f = 0x2d432d0
        tail = <value optimized out>
        frame = <value optimized out>
        w = 0x248dab0
        pause = 0
        must_finish = 0
        tlbufpos = {charpos = 1105704896, bytepos = 32767}
        number_of_visible_frames = 2
        count = 3
        polling_stopped_here = 0
        old_frame = 47461076
        consider_all_windows_p = 1
#6  0x000000000043be1e in redisplay_preserve_echo_area (from_where=<value optimized out>) at xdisp.c:12090
No locals.
#7  0x00000000004d780a in detect_input_pending_run_timers (do_display=1) at keyboard.c:10653
        old_timers_run = 208628
#8  0x000000000057b2e9 in wait_reading_process_output (time_limit=150, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=8898961, wait_proc=0x0, just_wait_proc=0) at process.c:4909
        old_timers_run = 208628
        old_buffer = 0x1091a00
        old_window = 38329012
        leave = <value optimized out>
        timeout_reduced_for_timers = 1
        channel = <value optimized out>
        nfds = 1
        Available = {fds_bits = {8192, 0 <repeats 15 times>}}
        Connecting = {fds_bits = {0 <repeats 16 times>}}
        check_connect = 0
        check_delay = <value optimized out>
        no_avail = 0
        xerrno = 11
        proc = 0
        timeout = {tv_sec = 0, tv_usec = 4000}
        end_time = {tv_sec = 1267583160, tv_usec = 480657}
        wait_channel = -1
        got_some_input = 0
#9  0x0000000000403965 in sit_for (timeout=1200, reading=1, do_display=1) at dispnew.c:6644
        sec = 150
        usec = 0
#10 0x00000000004dc688 in read_char (commandflag=1, nmaps=4, maps=0x7fff41e7cda0, prev_event=<value optimized out>, used_mouse_menu=0x7fff41e7ced4, end_time=0x0) at keyboard.c:2950
        tem0 = <value optimized out>
        delay_level = <value optimized out>
        buffer_size = <value optimized out>
        c = 8898961
        count = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        local_getcjmp = {{__jmpbuf = {27803584, -3459508155644668143, 8898961, 0, 0, 0, 3459846875396019985, -3459508668156766447}, __mask_was_saved = 0, __saved_mask = {__val = {
                9161009, 8898961, 5435180, 4, 4304269680, 8899009, 9161009, 9161008, 139835571822181, 0, 5791241, 8192, 0, 0, 0, 0}}}}
        save_jump = {{__jmpbuf = {27803584, -3459508155644799215, 8898961, 0, 0, 0, 3459846871816181521, -3459508668156766447}, __mask_was_saved = 0, __saved_mask = {__val = {
                140734299095472, 140734299095480, 2, 140734299095496, 14666218477142601216, 0, 9321297, 140734299095472, 80, 7427104, 7427120, 140734299095664, 5715031, 40361603,
                9411025, 40361603}}}}
        key_already_recorded = 0
        tem = 1
        save = <value optimized out>
        previous_echo_area_message = 8898961
        also_record = 8898961
        reread = 0
        polling_stopped_here = <value optimized out>
        orig_kboard = 0x20a5cb0
#11 0x00000000004ddddd in read_key_sequence (keybuf=0x7fff41e7cf50, bufsize=30, prompt=8898961, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9460
        interrupted_kboard = 0x20a5cb0
        key = 17373700
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 8898961
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 4
        nmaps_allocated = 4
        defs = 0x7fff41e7cd70
        submaps = 0x7fff41e7cda0
        orig_local_map = 9566437
        orig_keymap = 8898961
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {parent = 54782741, map = 54782741, start = 0, end = 0}
        keytran = {parent = 8891157, map = 8891157, start = 0, end = 0}
        indec = {parent = 54782853, map = 54782853, start = 0, end = 0}
        shift_translated = 0
        delayed_switch_frame = 8898961
        original_uppercase = 4855244
        original_uppercase_position = -1
        starting_buffer = 0x1091a00
        fake_prefixed_keys = 8898961
#12 0x00000000004dffb4 in command_loop_1 () at keyboard.c:1642
        cmd = <value optimized out>
        lose = <value optimized out>
        nonundocount = 0
        keybuf = {216, 944, 56029109, 8898961, 8899057, 1, 140734299099104, 5617558, 8801824, 8986161, 9109107, 25862400, -3780525596566950400, 140734299099152, 8898961, 1, 1,
          140734299100776, 56029109, 5088159, 8898961, 56029109, 8898961, 5088458, 140734299098880, 0, 1, 8898961, 10474737, -3780525596566950400}
        i = <value optimized out>
        prev_modiff = 52623
        prev_buffer = 0x1091a00
        already_adjusted = 0
#13 0x000000000053da8f in internal_condition_case (bfun=0x4dfe00 <command_loop_1>, handlers=8986113, hfun=0x4da3f0 <cmd_error>) at eval.c:1512
---Type <return> to continue, or q <return> to quit---
        val = <value optimized out>
        c = {tag = 8898961, val = 8898961, next = 0x7fff41e7d210, gcpro = 0x0, jmp = {{__jmpbuf = {0, -3459509368987740399, 9683088, 1, 1, 140734299100776, 3459846874641045265,
                -3459508819548727535}, __mask_was_saved = 0, __saved_mask = {__val = {5154738, 139835571651136, 139835649650688, 139835649618792, 4294967295, 0, 8437840, 9683088, 1, 1,
                  140734299100776, 0, 139835647687798, 4294967297, 0, 140734299099504}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2,
          poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
        h = {handler = 8986113, var = 8898961, chosen_clause = 8899057, tag = 0x7fff41e7d0a0, next = 0x0}
#14 0x00000000004d986a in command_loop_2 () at keyboard.c:1359
        val = 0
#15 0x000000000053dba7 in internal_catch (tag=<value optimized out>, func=0x4d9850 <command_loop_2>, arg=8898961) at eval.c:1248
        c = {tag = 8967505, val = 8898961, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {0, -3459509368987740399, 9683088, 1, 1, 140734299100776, 3459846874590713617,
                -3459508819538766063}, __mask_was_saved = 0, __saved_mask = {__val = {95594992352, 384, 140734299099888, 140734299099872, 30064771072, 344, 94489280512, 0, 9304914,
                  9320128, 9304912, 8939216, 9320129, 8898961, 5435180, 9320128}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1,
          interrupt_input_blocked = 0, byte_stack = 0x0}
#16 0x00000000004da223 in command_loop () at keyboard.c:1338
No locals.
#17 0x00000000004da5fa in recursive_edit_1 () at keyboard.c:953
        val = <value optimized out>
#18 0x00000000004da74f in Frecursive_edit () at keyboard.c:1015
        count = <value optimized out>
        buffer = 8898961
#19 0x00000000004cdec0 in main (argc=1, argv=0x7fff41e7d788) at emacs.c:1853
        dummy = 0
        stack_bottom_variable = 0 '\000'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615}
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
(gdb)                                                                                                       

In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9)
 of 2009-06-24 on conundrum21.sfo.corp.google.com
Windowing system distributor `The X.Org Foundation', version 11.0.60900000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: C
  value of $LC_NUMERIC: C
  value of $LC_TIME: C
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o <tab> r t - e m <tab> <return>

Recent messages:
Attempting load of google.com
Attempting load of com
Attempting load of platform-gnu-linux
Loading /home/nealsid/.emacs.d/custom.el (source)...done
Loading /home/amitp/.emacs.d/init.el (source)...done
Loading /home/amitp/.emacs.d/decent-colors.el (source)...done
Ido mode enabled
Loading /home/build/google3/experimental/hackathon2008/flymake/google-flymake.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...