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

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

crash: x_set_name_internal, prepare_menu_bars


From: Reiner Steib
Subject: crash: x_set_name_internal, prepare_menu_bars
Date: Wed, 12 Apr 2006 16:13:35 +0200
User-agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux)

M-x report-emacs-bug RET wrote:
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:

While creating a new frame, Emacs crashed.

> 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---
Detaching after fork from child process 1444.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182940272320 (LWP 990)]
0x0000002a97462f9e in memcpy () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x0000002a97462f9e in memcpy () from /lib64/tls/libc.so.6
#1  0x0000002a9709ece0 in XChangeProperty () from /usr/X11R6/lib64/libX11.so.6
#2  0x0000002a970cb2f8 in XSetTextProperty () from /usr/X11R6/lib64/libX11.so.6
#3  0x0000002a970cb32e in XSetWMIconName () from /usr/X11R6/lib64/libX11.so.6
#4  0x000000000050835a in x_set_name_internal (f=0x23bd9d0, name=Variable 
"name" is not available.
)
    at [...]/emacs/src/xfns.c:1651
#5  0x000000000048aec1 in prepare_menu_bars ()
    at [...]/emacs/src/xdisp.c:8865
#6  0x000000000048fad8 in redisplay_internal (preserve_echo_area=Variable 
"preserve_echo_area" is not available.
)
    at [...]/emacs/src/xdisp.c:10714
#7  0x0000000000540caa in read_char (commandflag=1, nmaps=5, 
    maps=0x7fbfffd410, prev_event=10815889, used_mouse_menu=0x7fbfffd4a4)
    at [...]/emacs/src/keyboard.c:2549
#8  0x00000000005456d5 in read_key_sequence (keybuf=0x7fbfffd640, bufsize=30, 
    prompt=10815889, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1)
    at [...]/emacs/src/keyboard.c:8865
#9  0x0000000000548f02 in command_loop_1 ()
    at [...]/emacs/src/keyboard.c:1536
#10 0x00000000005c1271 in internal_condition_case (
    bfun=0x548c40 <command_loop_1>, handlers=10909985, 
    hfun=0x53f7a0 <cmd_error>)
    at [...]/emacs/src/eval.c:1473
#11 0x000000000053e5ba in command_loop_2 ()
    at [...]/emacs/src/keyboard.c:1328
#12 0x00000000005c13d0 in internal_catch (tag=Variable "tag" is not available.
)
    at [...]/emacs/src/eval.c:1211
#13 0x000000000053f1aa in command_loop ()
    at [...]/emacs/src/keyboard.c:1307
#14 0x000000000053f251 in recursive_edit_1 ()
    at [...]/emacs/src/keyboard.c:1000
#15 0x000000000053f3ee in Frecursive_edit ()
    at [...]/emacs/src/keyboard.c:1061
#16 0x000000000052f226 in main (argc=3, argv=0x7fbfffdec8)
    at [...]/emacs/src/emacs.c:1789
(gdb) xbacktrace 
(gdb) bt full
#0  0x0000002a97462f9e in memcpy () from /lib64/tls/libc.so.6
No symbol table info available.
#1  0x0000002a9709ece0 in XChangeProperty () from /usr/X11R6/lib64/libX11.so.6
No symbol table info available.
#2  0x0000002a970cb2f8 in XSetTextProperty () from /usr/X11R6/lib64/libX11.so.6
No symbol table info available.
#3  0x0000002a970cb32e in XSetWMIconName () from /usr/X11R6/lib64/libX11.so.6
No symbol table info available.
#4  0x000000000050835a in x_set_name_internal (f=0x23bd9d0, name=Variable 
"name" is not available.
)
    at [...]/emacs/src/xfns.c:1651
        bytes = Variable "bytes" is not available.
(gdb) up
#1  0x0000002a9709ece0 in XChangeProperty () from /usr/X11R6/lib64/libX11.so.6
(gdb) up
#2  0x0000002a970cb2f8 in XSetTextProperty () from /usr/X11R6/lib64/libX11.so.6
(gdb) up
#3  0x0000002a970cb32e in XSetWMIconName () from /usr/X11R6/lib64/libX11.so.6
(gdb) up
#4  0x000000000050835a in x_set_name_internal (f=0x23bd9d0, name=Variable 
"name" is not available.
)
    at /home/dept/ste/src/links/emacs/cvs-HEAD/emacs/src/xfns.c:1651
1651            XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), 
&icon);
(gdb) p f
$1 = 0x23bd9d0
(gdb) p &icon
$2 = (XTextProperty *) 0x7fbfffc400
--8<---------------cut here---------------end--------------->8---

If I can provide more information, please tell me which gdb commands I
should use.

> If you would like to further debug the crash, please read the file
> [...]/HEAD/share/emacs/22.0.50/etc/DEBUG for instructions.


> In GNU Emacs 22.0.50.10 (x86_64-unknown-linux-gnu, GTK+ Version 2.4.9)
>  of 2006-04-12 on bridgekeeper
> X server distributor `The X.Org Foundation', version 11.0.60801000
> configured using `configure '--prefix=[...]/HEAD' '--with-gtk' 
> '--exec-prefix=[...]/HEAD-x86_64''

Compiled using MYCPPFLAGS='-DENABLE_CHECKING=1'.

> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: POSIX
>   value of $LC_CTYPE: address@hidden
>   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
>   locale-coding-system: iso-8859-15
>   default-enable-multibyte-characters: t

> Major mode: Summary

> Minor modes in effect:
>   iswitchb-mode: t
>   msb-mode: t
>   savehist-mode: t
>   minibuffer-electric-default-mode: t
>   show-paren-mode: t
>   hl-line-mode: t
>   which-function-mode: t
>   recentf-mode: t
>   tooltip-mode: t
>   auto-compression-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   unify-8859-on-decoding-mode: t
>   unify-8859-on-encoding-mode: t
>   utf-translate-cjk-mode: t
>   column-number-mode: t
>   line-number-mode: 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]