unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.50; frozen frame after C-x 5 0
Date: Wed, 12 Sep 2007 18:15:05 +0200	[thread overview]
Message-ID: <87tzpzkghi.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <200709121545.l8CFjESt007173@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 12 Sep 2007 08:45:14 -0700")

Dan Nicolaescu <dann@ics.uci.edu> writes:

Hi Dan,

>   > First, here's a simpler command line to reproduce my problem:
>   > 
>   >   emacs -nw -f server-start
>
> Can you please first try this with "emacs -q -nw -f server-start" ?

Yes, it doesn't make a difference and -Q doesn't, too.  Here's what I
did:

1. Start the server within gdb

   $ gdb /usr/bin/emacs
   (gdb) run -q -nw -f server-start

2. Connect with a X11 client

   $ emacsclient

3. Close the frame with

   C-x 5 0

it doesn't vanish but it won't be repainted anymore.

4. Halt the server process to get a backtrace.

   $ killall -sSIGSTOP emacs

and in gdb

   (gdb) bt full

--8<---------------cut here---------------start------------->8---
(gdb) bt full
#0  0xb7f7d410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb759e54d in select () from /lib/libc.so.6
No symbol table info available.
#2  0x081f3377 in select_wrapper (n=9, rfd=0xbfb15690, wfd=0x0, xfd=0x0, tmo=0xbfb15604) at process.c:4226
No locals.
#3  0x081f3cf3 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137984201, wait_proc=0x0, 
    just_wait_proc=0) at process.c:4596
    timeout_reduced_for_timers = 0
    channel = 137984201
    nfds = -1
    Available = {fds_bits = {384, 0 <repeats 31 times>}}
    Connecting = {fds_bits = {0 <repeats 32 times>}}
    check_connect = 0
    check_delay = 0
    no_avail = 0
    xerrno = 4
    proc = 136229164
    timeout = {tv_sec = 16, tv_usec = 390000}
    end_time = {tv_sec = 1189613023, tv_usec = 675654}
    wait_channel = -1
    got_some_input = 0
    count = 2
#4  0x0805f988 in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6610
    sec = 30
    usec = 0
#5  0x08131098 in read_char (commandflag=1, nmaps=2, maps=0xbfb15a70, prev_event=137984201, used_mouse_menu=0xbfb15b9c, end_time=0x0) at keyboard.c:2992
    tem0 = 143438392
    timeout = 30
    delay_level = 4
    buffer_size = 5
    c = 137984201
    count = 0
    jmpcount = 2
    local_getcjmp = {{__jmpbuf = {-1078896016, 2, 0, -1078896088, -338495045, -1351976748}, __mask_was_saved = 0, __saved_mask = {__val = {0, 
        137984201, 3216071224, 135936820, 568, 138019577, 143438396, 135572115, 3216071296, 137984201, 128, 137984201, 3086597280, 0, 3216071080, 
        135904373, 138089553, 138088266, 137984201, 136309528, 3216071044, 3216071584, 3216071736, 136309537, 3216071200, 8192, 0, 0, 0, 0, 0, 0}}}}
        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 = 0
        previous_echo_area_message = 137984201
        also_record = 137984201
        reread = 0
        gcpro1 = {next = 0xb78dfff4, var = 0x2, nvars = 216}
        gcpro2 = {next = 0xb74fca44, var = 0xd8, nvars = 138565493}
        polling_stopped_here = 0
        orig_kboard = (struct kboard *) 0x85eb168
#6  0x0813afca in read_key_sequence (keybuf=0xbfb15d74, bufsize=30, prompt=137984201, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:9384
    interrupted_kboard = (KBOARD *) 0x85eb168
    interrupted_frame = (struct frame *) 0x83a4da8
    key = -1078895448
    used_mouse_menu = 0
    echo_local_start = 0
    last_real_key_start = 0
    keys_local_start = 0
    local_first_binding = 0
    from_string = 137984201
---Type <return> to continue, or q <return> to quit---
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 2
        nmaps_allocated = 2
        defs = (Lisp_Object * volatile) 0xbfb15a50
        submaps = (Lisp_Object * volatile) 0xbfb15a70
        orig_local_map = 138664597
        orig_keymap = 137984201
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {parent = 138229509, map = 138229509, start = 0, end = 0}
        keytran = {parent = 138356221, map = 138356221, start = 0, end = 0}
        delayed_switch_frame = 137984201
        original_uppercase = 0
        original_uppercase_position = -1
        dummyflag = 0
        starting_buffer = (struct buffer *) 0x88cb238
        fake_prefixed_keys = 137984201
        gcpro1 = {next = 0x0, var = 0xbfb15c08, nvars = 136339407}
#7  0x0812e14b in command_loop_1 () at keyboard.c:1691
    cmd = 138284457
    lose = 136732988
    nonundocount = 0
    keybuf = {138028857, 632, 528, 137984201, 0, -1078895192, 134608423, 137974085, 0, -1078895160, 135453343, 147123421, 137984249, -1078895122, 
  137984201, -1208367188, 0, -1221857936, 1, 0, 143100536, -1078895064, 135452941, 147123421, -1078895122, -1078895064, 135452890, 0, 0, 137984201}
  i = 1
  no_direct = 0
  prev_modiff = 40
  prev_buffer = (struct buffer *) 0x88cb238
  already_adjusted = 0
#8  0x081b1133 in internal_condition_case (bfun=0x812de2b <command_loop_1>, handlers=138050833, hfun=0x812d82c <cmd_error>) at eval.c:1494
    val = 136733555
    c = {tag = 137984201, val = 137984201, next = 0xbfb15f70, gcpro = 0x0, jmp = {{__jmpbuf = {-1078894336, -1208370016, 0, -1078894808, 
        -339650117, -1084441900}, __mask_was_saved = 0, __saved_mask = {__val = {3216072376, 135873055, 3216072600, 16, 3216072372, 3216072368, 1, 
          140362075, 0, 136484916, 16, 16, 3216072408, 135873555, 3216072600, 16, 140362123, 3216072872, 3216072960, 2, 3216072872, 135934461, 
          3216072600, 140362171, 3075889292, 135934052, 3216072736, 3216072456, 140533736, 67372036, 140362155, 0}}}}, backlist = 0x0, 
  handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
  h = {handler = 138050833, var = 137984201, chosen_clause = 137984249, tag = 0xbfb15e5c, next = 0x0}
#9  0x0812db7b in command_loop_2 () at keyboard.c:1405
    val = 0
#10 0x081b0bdd in internal_catch (tag=138033137, func=0x812db5d <command_loop_2>, arg=137984201) at eval.c:1229
    c = {tag = 138033137, val = 137984201, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {-1078894336, -1208370016, 0, -1078894536, -339502661, 
        -1083527468}, __mask_was_saved = 0, __saved_mask = {__val = {1731015218, 1869901413, 913452399, 0, 0, 0, 0, 0, 0, 0, 0, 3216072728, 135904373, 
          138172177, 138168914, 137984201, 138016064, 1162170960, 542396493, 544498003, 137984201, 858857521, 138168914, 138168914, 138168914, 
          925904946, 2, 138168914, 0, 0, 138168914, 3216072792}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
  poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0}
#11 0x0812db2f in command_loop () at keyboard.c:1384
No locals.
#12 0x0812d434 in recursive_edit_1 () at keyboard.c:993
    count = 1
    val = 137984201
#13 0x0812d5a1 in Frecursive_edit () at keyboard.c:1055
    count = 0
    buffer = 137984201
#14 0x0812bebe in main (argc=5, argv=0xbfb16424) at emacs.c:1778
---Type <return> to continue, or q <return> to quit---
        dummy = 0
        stack_bottom_variable = 0 '\0'
        do_initial_setlocale = 1
        skip_args = 1
        rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
        no_loadup = 0
        junk = 0x0
(gdb)
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo

  reply	other threads:[~2007-09-12 16:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06  7:05 23.0.50; frozen frame after C-x 5 0 Tassilo Horn
2007-09-06  7:49 ` Leo
2007-09-10  1:12 ` Richard Stallman
2007-09-10  1:54   ` Dan Nicolaescu
2007-09-10 14:36     ` Jan Djärv
2007-09-10 16:36       ` Leo
2007-09-11  6:14         ` Jan Djärv
2007-09-12  8:46           ` Richard Stallman
2007-09-12  9:05             ` David Kastrup
2007-09-12 18:52               ` Richard Stallman
2007-09-11  8:42   ` Tassilo Horn
2007-09-12 15:15   ` Tassilo Horn
2007-09-12 15:35     ` Jan Djärv
2007-09-12 16:01       ` Tassilo Horn
2007-09-12 15:45     ` Dan Nicolaescu
2007-09-12 16:15       ` Tassilo Horn [this message]
2007-09-12 17:08         ` Romain Francoise
2007-09-12 18:00         ` Dan Nicolaescu
2007-09-13  6:04           ` Jan Djärv
2007-09-13  7:37             ` Leo
2007-09-13  8:23               ` Jan Djärv
2007-09-13  8:34                 ` Leo
2007-09-17  8:09                   ` Jan Djärv
2007-09-17  8:17                     ` Leo
2007-09-17 10:47                     ` Tassilo Horn

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=87tzpzkghi.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rms@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).