emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; Emacs seg fault


From: Leo
Subject: Re: 23.0.50; Emacs seg fault
Date: Fri, 05 Oct 2007 20:28:00 +0100
User-agent: Gnus/5.110007 Emacs/23.0.50 (20070922) Fedora 7 (gnu/linux)

On 2007-09-30 11:49 +0100, Kim F. Storm wrote:
> Leo <address@hidden> writes:
>
>> #1  0x08194676 in wait_reading_process_output (time_limit=30, microsecs=0, 
>> read_kbd=-1, do_display=1, wait_for_cell=137551137, 
>>     wait_proc=0x0, just_wait_proc=0) at process.c:4880
>
> I doubt that is the right line number due to compiler optimizations.
> Compile with CFLAGS="-g -O0" to get max debugging info.
>
> Since xerrno = 9  (EBADF), I suspect it actually traps in
> process.c line 4651 

Compiled with "-g -O0". Please see the backtrace below:

================================
Starting program: /home/emacs/src/emacs -nw -q
[Thread debugging using libthread_db enabled]
[New Thread -1208334624 (LWP 18445)]
[Switching to Thread -1208334624 (LWP 18445)]
[Detaching after fork from child process 18449. (Try `set detach-on-fork off'.)]

Breakpoint 1, abort () at emacs.c:431
431       kill (getpid (), SIGABRT);
#0  abort () at emacs.c:431
#1  0x081fec06 in wait_reading_process_output (time_limit=30, microsecs=0, 
read_kbd=-1, do_display=1, wait_for_cell=138030369, 
    wait_proc=0x0, just_wait_proc=0) at process.c:4651
#2  0x0805e5c5 in sit_for (timeout=240, reading=1, do_display=1) at 
dispnew.c:6610
#3  0x08136ab0 in read_char (commandflag=1, nmaps=2, maps=0xbfa0ae90, 
prev_event=138030369, used_mouse_menu=0xbfa0afac, end_time=0x0)
    at keyboard.c:2990
#4  0x0814107b in read_key_sequence (keybuf=0xbfa0b184, bufsize=30, 
prompt=138030369, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:9382
#5  0x08133ade in command_loop_1 () at keyboard.c:1689
#6  0x081b9f72 in internal_condition_case (bfun=0x81337a5 <command_loop_1>, 
handlers=138096969, hfun=0x8133165 <cmd_error>) at eval.c:1494
#7  0x081334fe in command_loop_2 () at keyboard.c:1403
#8  0x081b9a3c in internal_catch (tag=138079249, func=0x81334db 
<command_loop_2>, arg=138030369) at eval.c:1229
#9  0x081334b4 in command_loop () at keyboard.c:1382
#10 0x08132d72 in recursive_edit_1 () at keyboard.c:991
#11 0x08132ee0 in Frecursive_edit () at keyboard.c:1053
#12 0x0813176d in main (argc=3, argv=0xbfa0b964) at emacs.c:1778
#0  abort () at emacs.c:431
No locals.
#1  0x081fec06 in wait_reading_process_output (time_limit=30, microsecs=0, 
read_kbd=-1, do_display=1, wait_for_cell=138030369, 
    wait_proc=0x0, just_wait_proc=0) at process.c:4651
        timeout_reduced_for_timers = 0
        channel = 10
        nfds = -1
        Available = {
  fds_bits = {6016, 0 <repeats 31 times>}
}
        Connecting = {
  fds_bits = {0 <repeats 32 times>}
}
        check_connect = 0
        check_delay = 0
        no_avail = 0
        xerrno = 9
        proc = 135496220
        timeout = {
  tv_sec = 29, 
  tv_usec = 999999
}
        end_time = {
  tv_sec = 1191612283, 
  tv_usec = 528473
}
        wait_channel = -1
        got_some_input = 0
        count = 2
#2  0x0805e5c5 in sit_for (timeout=240, reading=1, do_display=1) at 
dispnew.c:6610
        sec = 30
        usec = 0
#3  0x08136ab0 in read_char (commandflag=1, nmaps=2, maps=0xbfa0ae90, 
prev_event=138030369, used_mouse_menu=0xbfa0afac, end_time=0x0)
    at keyboard.c:2990
        tem0 = 146407881
        timeout = 30
        delay_level = 4
        buffer_size = 1
        c = 138030369
        count = 138030369
        jmpcount = 2
        local_getcjmp = {{
    __jmpbuf = {2, 1, -1079988596, -1079988664, 1447547497, 835999494}, 
    __mask_was_saved = 0, 
    __saved_mask = {
      __val = {0, 138079465, 3214978632, 135971802, 138065745, 8, 147472516, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 138134402, 138134402, 138134402, 
        1148083360, 2, 3214978536, 136395005, 138062232, 128, 3214978496, 
3214978880, 3214978308, 2, 3214978568, 135971333}
    }
  }}
        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 = 138030369
        save = -1079988960
        previous_echo_area_message = 138030369
        also_record = 138030369
        reread = 0
        gcpro1 = {
  next = 0xbf, 
  var = 0x0, 
  nvars = 0
}
        gcpro2 = {
  next = 0x32, 
  var = 0x33, 
  nvars = 1
}
        polling_stopped_here = 0
        orig_kboard = (struct kboard *) 0x859c940
#4  0x0814107b in read_key_sequence (keybuf=0xbfa0b184, bufsize=30, 
prompt=138030369, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:9382
        interrupted_kboard = (KBOARD *) 0x859c940
        interrupted_frame = (struct frame *) 0x8c9dab8
        key = 138062236
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 138030369
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 2
        nmaps_allocated = 2
        defs = (Lisp_Object * volatile) 0xbfa0ae70
        submaps = (Lisp_Object * volatile) 0xbfa0ae90
        orig_local_map = 139911637
        orig_keymap = 138030369
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
  parent = 138271557, 
  map = 138271557, 
  start = 0, 
  end = 0
}
        keytran = {
  parent = 140038061, 
  map = 140038061, 
  start = 0, 
  end = 0
}
        delayed_switch_frame = 138030369
        original_uppercase = 0
        original_uppercase_position = -1
        dummyflag = 0
        starting_buffer = (struct buffer *) 0x83aa998
        fake_prefixed_keys = 138030369
        gcpro1 = {
  next = 0x0, 
  var = 0x0, 
  nvars = 0
}
#5  0x08133ade in command_loop_1 () at keyboard.c:1689
        cmd = 138079465
        lose = 0
        nonundocount = 0
        keybuf = {216, 960, -1208316584, -1208291328, 134537290, 1148147704, 
134521720, 1, 1148084160, 1148086280, -1079987572, 
  -1079987544, 1148008928, 134521720, -1079987572, 1148086188, 31, -1208316584, 
1, 0, 1, 1888676, 140547840, 140391691, 140391688, 
  -1079987688, -1079987560, 16, 0, -1079987700}
        i = 2
        no_direct = 0
        prev_modiff = 40
        prev_buffer = (struct buffer *) 0x8ca4080
        already_adjusted = 0
#6  0x081b9f72 in internal_condition_case (bfun=0x81337a5 <command_loop_1>, 
handlers=138096969, hfun=0x8133165 <cmd_error>) at eval.c:1494
        val = 138275373
        c = {
  tag = 138030369, 
  val = 138030369, 
  next = 0xbfa0b370, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {1149472756, 1148083360, 0, -1079987400, 1450930793, 
539090182}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {15, 1, 15, 140391675, 3214979800, 135908929, 3214980008, 15, 
3214979796, 3214979792, 0, 140391675, 0, 136529544, 15, 15, 
          3214979832, 135909462, 3214980008, 15, 140391691, 16718, 3214980008, 
0, 3214980280, 135969474, 3214980008, 140391723, 140546808, 
          0, 140391707, 0}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
        h = {
  handler = 138096969, 
  var = 138030369, 
  chosen_clause = 15, 
  tag = 0xbfa0b26c, 
  next = 0x0
}
#7  0x081334fe in command_loop_2 () at keyboard.c:1403
        val = 9
#8  0x081b9a3c in internal_catch (tag=138079249, func=0x81334db 
<command_loop_2>, arg=138030369) at eval.c:1229
        c = {
  tag = 138079249, 
  val = 138030369, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {1149472756, 1148083360, 0, -1079987144, 1450775145, 
539724038}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 2, 0, 775302706, 959328818, 774977837, 3629926, 0, 0, 0, 0, 
0, 0, 0, 0, 3214980136, 135939988, 138218241, 138215026, 
          138030369, 138062232, 544565332, 544236883, 840972082, 138030369, 
540620090, 138215026, 138215026, 138215026, 0, 2, 138215026}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#9  0x081334b4 in command_loop () at keyboard.c:1382
No locals.
#10 0x08132d72 in recursive_edit_1 () at keyboard.c:991
        count = 1
        val = 0
#11 0x08132ee0 in Frecursive_edit () at keyboard.c:1053
        count = 0
        buffer = 138030369
#12 0x0813176d in main (argc=3, argv=0xbfa0b964) at emacs.c:1778
        dummy = -1208316784
        stack_bottom_variable = 68 'D'
        do_initial_setlocale = 1
        skip_args = 1
        rlim = {
  rlim_cur = 10485760, 
  rlim_max = 18446744073709551615
}
        no_loadup = 0
        junk = 0x0
The program is running.  Exit anyway? (y or n) 

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/




reply via email to

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