emacs-pretest-bug
[Top][All Lists]
Advanced

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

Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars


From: Reiner Steib
Subject: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars
Date: Thu, 31 May 2007 22:52:22 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

report-emacs-bug wrote:

> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:

My Emacs session which has been already running for several days
(notebook with suspend to disk) crashed.  I don't recall which command
triggered the bug.

> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>     `bt full' and `xbacktrace'.

--8<---------------cut here---------------start------------->8---
(gdb) bt 
#0  0xb74fc4ca in memcpy () from /lib/libc.so.6
#1  0xb77a049e in XChangeProperty () from /usr/lib/libX11.so.6
#2  0xb77c0711 in XSetTextProperty () from /usr/lib/libX11.so.6
#3  0xb77c0793 in XSetWMIconName () from /usr/lib/libX11.so.6
#4  0x080d550a in x_set_name_internal (f=0xa4dd960, name=222515027)
    at ~/.../cvs-HEAD/emacs/src/xfns.c:1653
#5  0x0807efec in prepare_menu_bars ()
    at ~/.../cvs-HEAD/emacs/src/xdisp.c:9015
#6  0x0808828a in redisplay_internal (preserve_echo_area=<value optimized out>)
    at ~/.../cvs-HEAD/emacs/src/xdisp.c:10964
#7  0x08100e72 in read_char (commandflag=1, nmaps=5, maps=0xbfd21040, 
    prev_event=137472201, used_mouse_menu=0xbfd210f8, end_time=0x0)
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:2670
#8  0x08103726 in read_key_sequence (keybuf=0xbfd211a4, bufsize=30, 
    prompt=137472201, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1)
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:9215
#9  0x08105213 in command_loop_1 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1618
#10 0x0815b862 in internal_condition_case (bfun=0x8105080 <command_loop_1>, 
    handlers=137517657, hfun=0x80ff9d0 <cmd_error>)
    at ~/.../cvs-HEAD/emacs/src/eval.c:1481
#11 0x080fee13 in command_loop_2 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1329
#12 0x0815b91a in internal_catch (tag=137510841, 
    func=0x80fedf0 <command_loop_2>, arg=137472201)
    at ~/.../cvs-HEAD/emacs/src/eval.c:1222
#13 0x080ff80c in command_loop ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1308
#14 0x080ffbab in recursive_edit_1 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1006
#15 0x080ffc96 in Frecursive_edit ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1067
#16 0x080f59e5 in main (argc=3, argv=0xbfd218a4)
    at ~/.../cvs-HEAD/emacs/src/emacs.c:1762

(gdb) bt full
#0  0xb74fc4ca in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0xb77a049e in XChangeProperty () from /usr/lib/libX11.so.6
No symbol table info available.
#2  0xb77c0711 in XSetTextProperty () from /usr/lib/libX11.so.6
No symbol table info available.
#3  0xb77c0793 in XSetWMIconName () from /usr/lib/libX11.so.6
No symbol table info available.
#4  0x080d550a in x_set_name_internal (f=0xa4dd960, name=222515027)
    at ~/.../cvs-HEAD/emacs/src/xfns.c:1653
        bytes = 6
        stringp = 1
        do_free_icon_value = 0
        do_free_text_value = 0
        icon = {
  value = 0xf7a1a90 <Address 0xf7a1a90 out of bounds>, 
  encoding = 31, 
  format = 8, 
  nitems = 6
}
        coding_system = 137664729
#5  0x0807efec in prepare_menu_bars ()
    at ~/.../cvs-HEAD/emacs/src/xdisp.c:9015
        tail = <value optimized out>
        frame = <value optimized out>
        f = <value optimized out>
        tooltip_frame = 137472201
#6  0x0808828a in redisplay_internal (preserve_echo_area=<value optimized out>)
    at ~/.../cvs-HEAD/emacs/src/xdisp.c:10964
        tail = <value optimized out>
        w = (struct window *) 0xa0ccdf8
        pause = 9
        must_finish = 0
        tlbufpos = {
  charpos = 0, 
  bytepos = 0
}
        number_of_visible_frames = 30
        polling_stopped_here = 0
        consider_all_windows_p = 13764376
#7  0x08100e72 in read_char (commandflag=1, nmaps=5, maps=0xbfd21040, 
    prev_event=137472201, used_mouse_menu=0xbfd210f8, end_time=0x0)
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:2670
        link = <value optimized out>
        kb = (KBOARD *) 0x0
        c = 137472201
        local_getcjmp = {{
    __jmpbuf = {-1076752632, 135895513, 137517177, 176817413, -1076752624, 0}, 
    __mask_was_saved = 1, 
    __saved_mask = {
      __val = {137472201, 3218214696, 267704, 3218214720, 175738212, 
        3218214696, 135895680, 137472201, 137517177, 1, 267704, 3218214720, 
        267704, 3218214936, 135619428, 137472201, 137517177, 175738212, 
        0 <repeats 11 times>, 33971, 639, 0}
    }
  }}
        save_jump = {{
    __jmpbuf = {0, 0, 0, 0, 0, 0}, 
    __mask_was_saved = 0, 
    __saved_mask = {
      __val = {33971, 639, 0, 0, 298425, 175738212, 212582236, 33463, 
        3218214536, 135893162, 267704, 33462, 33971, 639, 1, 0, 298425, 
        175738212, 212582236, 33462, 3218214584, 135893162, 267696, 33461, 
        3218214616, 135893373, 1, 137472201, 267696, 137517177, 267704, 
        137472201}
    }
  }}
        key_already_recorded = 0
        tem = 3
        save = 0
        previous_echo_area_message = 137472201
        also_record = 137472201
        reread = 0
        polling_stopped_here = <value optimized out>
#8  0x08103726 in read_key_sequence (keybuf=0xbfd211a4, bufsize=30, 
    prompt=137472201, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1)
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:9215
        interrupted_kboard = (KBOARD *) 0x85e71b8
        key = 176817413
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 137472201
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 5
        nmaps_allocated = 5
        defs = (Lisp_Object * volatile) 0xbfd21010
        submaps = (Lisp_Object * volatile) 0xbfd21040
        orig_local_map = 140828141
        orig_keymap = 137472201
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
  parent = 137460213, 
  map = 137460213, 
  start = 0, 
  end = 0
}
        keytran = {
  parent = 138311829, 
  map = 138311829, 
  start = 0, 
  end = 0
}
        delayed_switch_frame = 137472201
        original_uppercase = -1076752040
        original_uppercase_position = -1
        starting_buffer = (struct buffer *) 0xa798d60
        fake_prefixed_keys = 137472201
#9  0x08105213 in command_loop_1 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1618
        cmd = <value optimized out>
        lose = 155216
        nonundocount = 0
        keybuf = {840, 224116005, 488, -1208950796, -1472036458, -1076751868, 
  137472201, 137472201, -1076751894, -1076751832, 135264952, 175552853, 
  -1076751894, 285, 0, 0, -1076751868, -1090514216, -1472036457, 0, 
  -1076751864, -1076752016, 0, -1218772992, 137472201, 139526465, 0, 
  137783296, 137783280, -1076751832}
        i = 144482096
        prev_modiff = 155216
        prev_buffer = (struct buffer *) 0xa798d60
        was_locked = 0
        already_adjusted = 0
#10 0x0815b862 in internal_condition_case (bfun=0x8105080 <command_loop_1>, 
    handlers=137517657, hfun=0x80ff9d0 <cmd_error>)
    at ~/.../cvs-HEAD/emacs/src/eval.c:1481
        val = <value optimized out>
        c = {
  tag = 137472201, 
  val = 137472201, 
  next = 0xbfd21350, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137783296, 137783280, -1076751592, -694328485, 
        1633339770}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {135827968, 268435456, 3218215796, 3218215640, 0, 3218215696, 
          3086018296, 134538716, 16777216, 2822930839, 0 <repeats 15 times>, 
          3075046220, 3076758872, 0, 110932256, 3086016500, 134522672, 
          3086018296}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
        h = {
  handler = 137517657, 
  var = 137472201, 
  chosen_clause = 137472249, 
  tag = 0xbfd2123c, 
  next = 0x0
}
#11 0x080fee13 in command_loop_2 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1329
        val = 140144256
#12 0x0815b91a in internal_catch (tag=137510841, 
    func=0x80fedf0 <command_loop_2>, arg=137472201)
    at ~/.../cvs-HEAD/emacs/src/eval.c:1222
        c = {
  tag = 137510841, 
  val = 137472201, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137783296, 137783280, -1076751336, -694328789, 
        1633339494}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {134539605, 0, 139890147, 20, 20, 3218215512, 135558650, 
          139890144, 20, 20, 20, 3218215796, 4294967295, 3218215528, 
          135558837, 139890144, 137657154, 137657152, 137656560, 3218215928, 
          135584620, 137656561, 137657154, 137472201, 137504064, 137472225, 2, 
          0, 137656560, 137656561, 137472201, 3218215992}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#13 0x080ff80c in command_loop ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1308
No locals.
#14 0x080ffbab in recursive_edit_1 ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1006
        val = <value optimized out>
#15 0x080ffc96 in Frecursive_edit ()
    at ~/.../cvs-HEAD/emacs/src/keyboard.c:1067
        buffer = <value optimized out>
#16 0x080f59e5 in main (argc=3, argv=0xbfd218a4)
    at ~/.../cvs-HEAD/emacs/src/emacs.c:1762
        tz = 0x0
        dummy = -1076750312
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {
  rlim_cur = 8388608, 
  rlim_max = 18446744073709551615
}
        no_loadup = 0
        junk = 0x0
(gdb) xbacktrace 
(gdb) 
--8<---------------cut here---------------end--------------->8---

Note that my Emacs is not current, but from 2007-05-20 (trunk):

> In GNU Emacs 22.1.50.3 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
>  of 2007-05-20 on viandante
> Windowing system distributor `The X.Org Foundation', version 11.0.70199902
> configured using `configure  '--prefix=/import/xtra/emacs/HEAD'
>  '--with-gtk' '--exec-prefix=/import/xtra/emacs/HEAD-i686''

> 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: en_US.UTF-8
>   locale-coding-system: utf-8
>   default-enable-multibyte-characters: t

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/





reply via email to

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