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

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

Crash from Gtk when running with remote display


From: Kai Grossjohann
Subject: Crash from Gtk when running with remote display
Date: Sat, 31 Jul 2004 21:40:25 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

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

I have a laptop (running Debian GNU/Linux unstable).  Running this
version of Emacs on it works well, but for some time now I've seen
crashes when running remotely with X11 redirection.

I log into my FreeBSD -current box, starting X11.  Then I log in via
ssh to my laptop, redirecting the X11 display to the FreeBSD box.
Then I start Emacs.  But it crashes when invoking the menu.

I have captured a session where I invoked Emacs (with "-q
-no-site-file"), then clicked on the Help menu item.  I'm not sure
what else to look for.  Also, I'm not sure whether and how this can be
reproduced without Debian GNU/Linux and FreeBSD.

Please let me know what I can do to debug.

(I should also note that I'm using the Debian packaging from
http://people.debian.org/~jerome/.)

Script started on Sat Jul 31 21:31:38 2004
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library 
"/lib/libthread_db.so.1".

DISPLAY = localhost:10.0
TERM = cons25
Breakpoint 1 at 0x81235f6: file emacs.c, line 428.
Breakpoint 2 at 0x80fe5c0: file xterm.c, line 7831.
(gdb) rnu -Q
Undefined command: "rnu".  Try "help".
(gdb) run -q -no-site-file
Starting program: /home/kgrossjo/work/gnu/emacs/src/gtk-emacs -q -no-site-file

Breakpoint 2, x_error_quitter (display=0xbfffc040, error=0x8693858)
    at xterm.c:7831
7831    {
(gdb) where
#0  x_error_quitter (display=0xbfffc040, error=0x8693858) at xterm.c:7831
#1  0x080fe68c in x_error_handler (display=0x8693858, error=0xbfffbf70)
    at xterm.c:7855
#2  0x405d3614 in _XError () from /usr/X11R6/lib/libX11.so.6
#3  0x405d1b73 in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x405c781a in XQueryPointer () from /usr/X11R6/lib/libX11.so.6
#5  0x4034fda2 in _gdk_windowing_get_pointer ()
   from /usr/lib/libgdk-x11-2.0.so.0
#6  0x40310101 in gdk_display_get_pointer () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x40149de2 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x401461c3 in gtk_menu_popup () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4014e4a2 in gtk_menu_item_toggle_size_allocate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x4014df14 in gtk_menu_item_toggle_size_allocate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x40423151 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x4040efb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#13 0x4040ec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x4042247e in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#15 0x40421c17 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x40421f14 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x4012518f in gtk_item_select () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x4014cfd5 in gtk_menu_item_select () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x401509c7 in gtk_menu_shell_select_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#20 0x401508d8 in gtk_menu_shell_select_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#21 0x4014fc6c in _gtk_menu_shell_activate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#22 0x40140b64 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#23 0x4040efb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#24 0x4040ec20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0x40422685 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#26 0x404219ee in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0x40421f14 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0x4023f427 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x4013f102 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x4013de56 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x4033b175 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x4046a922 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#33 0x4046ba18 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x4046bd50 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x4046bfbd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x4013d955 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x080fd5fe in XTread_socket (sd=0, expected=0, hold_quit=0xbfffddd0)
    at xterm.c:7135
---Type <return> to continue, or q <return> to quit---
#38 0x0812dde5 in read_avail_input (expected=0) at keyboard.c:6678
#39 0x0812dc94 in gobble_input (expected=0) at keyboard.c:6580
#40 0x0812ab1d in kbd_buffer_get_event (kbp=0xbfffe17c, 
    used_mouse_menu=0xbfffe398) at keyboard.c:3893
#41 0x081293b5 in read_char (commandflag=1, nmaps=2, maps=0xbfffe35c, 
    prev_event=138504857, used_mouse_menu=0xbfffe398) at keyboard.c:2846
#42 0x08130743 in read_key_sequence (keybuf=0xbfffe4c0, bufsize=30, 
    prompt=138504857, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8823
#43 0x08126783 in command_loop_1 () at keyboard.c:1525
#44 0x08189c1e in internal_condition_case (bfun=0x81265c0 <command_loop_1>, 
    handlers=138565793, hfun=0x8126080 <cmd_error>) at eval.c:1346
#45 0x081263ee in command_loop_2 () at keyboard.c:1306
#46 0x0818975b in internal_catch (tag=17313107, 
    func=0x81263c0 <command_loop_2>, arg=138504857) at eval.c:1107
#47 0x0812632e in command_loop () at keyboard.c:1273
#48 0x08125de4 in recursive_edit_1 () at keyboard.c:978
#49 0x08125f21 in Frecursive_edit () at keyboard.c:1039
#50 0x0818ba0f in Ffuncall (nargs=1, args=0xbfffe884) at eval.c:2733
#51 0x081b5d6e in Fbyte_code (bytestr=140372384, vector=0, 
    maxdepth=-1073747840) at bytecode.c:689
#52 0x0818ae6c in Feval (form=138230008) at eval.c:2097
#53 0x0818975b in internal_catch (tag=17313107, func=0x818aaf0 <Feval>, 
    arg=137078077) at eval.c:1107
---Type <return> to continue, or q <return> to quit---
#54 0x081b6d66 in Fbyte_code (bytestr=135834352, vector=141, 
    maxdepth=-1073747232) at bytecode.c:852
#55 0x0818be0c in funcall_lambda (fun=137077660, nargs=0, 
    arg_vector=0xbfffec24) at eval.c:2923
#56 0x0818b8fd in Ffuncall (nargs=1, args=0xbfffec20) at eval.c:2793
#57 0x081b5d6e in Fbyte_code (bytestr=137083667, vector=0, 
    maxdepth=-1073746912) at bytecode.c:689
#58 0x0818be0c in funcall_lambda (fun=137083636, nargs=0, 
    arg_vector=0xbfffed54) at eval.c:2923
#59 0x0818b8fd in Ffuncall (nargs=1, args=0xbfffed50) at eval.c:2793
#60 0x081b5d6e in Fbyte_code (bytestr=140386257, vector=0, 
    maxdepth=-1073746608) at bytecode.c:689
#61 0x0818be0c in funcall_lambda (fun=137084132, nargs=1, 
    arg_vector=0xbfffeea4) at eval.c:2923
#62 0x0818b8fd in Ffuncall (nargs=2, args=0xbfffeea0) at eval.c:2793
#63 0x081b5d6e in Fbyte_code (bytestr=138636705, vector=1, 
    maxdepth=-1073746272) at bytecode.c:689
#64 0x0818be0c in funcall_lambda (fun=137067908, nargs=0, 
    arg_vector=0xbfffefe4) at eval.c:2923
#65 0x0818b8fd in Ffuncall (nargs=1, args=0xbfffefe0) at eval.c:2793
#66 0x081b5d6e in Fbyte_code (bytestr=0, vector=0, maxdepth=-1073745952)
    at bytecode.c:689
#67 0x0818be0c in funcall_lambda (fun=137062764, nargs=0, 
    arg_vector=0xbffff0ac) at eval.c:2923
---Type <return> to continue, or q <return> to quit---
#68 0x0818bc88 in apply_lambda (fun=17313107, args=1, eval_flag=1)
    at eval.c:2845
#69 0x0818aca6 in Feval (form=137062764) at eval.c:2149
#70 0x08126423 in top_level_2 () at keyboard.c:1315
#71 0x08189c1e in internal_condition_case (bfun=0x8126410 <top_level_2>, 
    handlers=138565793, hfun=0x8126080 <cmd_error>) at eval.c:1346
#72 0x08126469 in top_level_1 () at keyboard.c:1323
#73 0x0818975b in internal_catch (tag=17313107, func=0x8126430 <top_level_1>, 
    arg=138504857) at eval.c:1107
#74 0x0812636f in command_loop () at keyboard.c:1280
#75 0x08125de4 in recursive_edit_1 () at keyboard.c:978
#76 0x08125f21 in Frecursive_edit () at keyboard.c:1039
#77 0x081245e0 in main (argc=3, argv=0xbffff7d4) at emacs.c:1687
(gdb) xbacktrace 
"recursive-edit"
"byte-code"
"fancy-splash-screens"
"display-splash-screen"
"command-line-1"
"command-line"
"normal-top-level"
(gdb) quit
The program is running.  Exit anyway? (y or n) y

Script done on Sat Jul 31 21:32:49 2004


In GNU Emacs 21.3.50.1 (i386-pc-linux-gnu, GTK+ Version 2.4.4)
 of 2004-07-31 on ketchup, modified by Debian
configured using `configure '--build' 'i386-linux' '--host' 'i386-linux' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' 
'--with-pop=yes' '--with-gif' '--with-x=yes' '--with-x-toolkit=gtk' 
'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux' 'host_alias=i386-linux''

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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  auto-compression-mode: t
  display-time-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  dired-omit-mode: t
  cua-mode: t
  file-name-shadow-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
SPC g i b t SPC a u c h SPC d e n SPC e x i s t i e 
r e n d e n SPC R e s e l l e r n SPC g e n u g SPC 
z <backspace> Z e i t SPC <backspace> , SPC C-w L u 
f t SPC f " u r SPC w e i t e r e SPC K u n d e n . 
) <escape> C-c C-k SPC q g M-x r e p - e m - b u g 
<return>

Recent messages:
Opening nntp server on quimby...done
Opening nntp server on gmane...done
Opening nntp server on dfn...done
Opening nntp server on quimby...done
Opening nntp server on gmane...done
Opening nntp server on quimby...done
Opening nndoc server on gnus-help...done
Checking new news...done
Auto-saving...
Loading emacsbug...done




reply via email to

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