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

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

Re: Crashes at C-x 1


From: glyn
Subject: Re: Crashes at C-x 1
Date: Mon, 05 Nov 2001 08:56:49 +0000
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Civil Service)

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

>> From: glyn@mill29.fsnet.co.uk
>> Date: Sat, 03 Nov 2001 12:05:31 +0000
>> 
>> "Eli Zaretskii" <eliz@is.elta.co.il> writes:
>> 
>> X protocol error: BadPixmap (invalid Pixmap parameter) on protocol request 54
>
> This might be a possible reason for the unwarranted exit.
>

>> #12 0x80d2213 in abort ()
>
> This looks bogus.  Did you strip your Emacs binary when it was
> installed?
>
> Could you try the same with the `emacs' binary in the src directory
> where you built Emacs?

Yes indeed!  It appears below.  Sorry if you have already received this
once. I did a Cc. to bug-gnu-emacs@gnu.org two days ago, and it hasn't
appeared yet!

With thanks

Glyn


Current directory is /usr/local/src/emacs21-21.1/src/
GNU gdb 19990928
Copyright 1998 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 "i686-pc-linux-gnu"...
DISPLAY = :0
TERM = emacs
Breakpoint 1 at 0x80cdeae: file emacs.c, line 389.
Breakpoint 2 at 0x80b3fce: file xterm.c, line 12015.
(gdb) break exit
Breakpoint 3 at 0x804edac
(gdb) break _exit
Breakpoint 4 at 0x804ef9c
(gdb) run
Starting program: /usr/local/src/emacs21-21.1/src/emacs-21.1.1 -geometry 
80x40+0+0
Breakpoint 3 at 0x4031f715
Breakpoint 4 at 0x40393170

>>>>>>>>(At this point I hit C-x 1)

Breakpoint 2, x_error_quitter (display=0x84285d8, error=0xbffd1124)
    at xterm.c:12015

>>>>>>>>>> (At this point the window splits - the first is the backtrace
>>>>>>>>>> - second is the output from gdb)



Signaling: (error "Toolbar spec must be list or nil" #<buffer "xterm.c">)
  check-valid-instantiator(#<buffer "xterm.c"> toolbar)
  canonicalize-spec(#<buffer "xterm.c"> toolbar nil) byte-code("..."
  [specifier-type res2 noerror spec-list result rest nil throw cann-spec-list t
  signal error "Invalid list format" canonicalize-spec] 5)

canonicalize-spec-list((#<buffer "xterm.c"> [eos::toolbar-stop-at-icon
  gdb-break t "Stop at selected position"] [eos::toolbar-stop-in-icon gdb-break
  t "Stop in function whose name is selected"] [eos::toolbar-clear-at-icon
  gdbsrc-delete t "Clear at selected position"] [eos::toolbar-evaluate-icon
  gdb-print-c-sexp t "Evaluate selected expression; shows in separate XEmacs
  frame"] [eos::toolbar-evaluate-star-icon gdb-*print-c-sexp t "Evaluate
  selected expression as a pointer; shows in separate XEmacs frame"]
  [eos::toolbar-run-icon gdbsrc-run t "Run current program"]
  [eos::toolbar-cont-icon gdbsrc-cont t "Continue current program"]
  [eos::toolbar-step-into-icon gdbsrc-step t "Step into (aka step)"]
  [eos::toolbar-step-over-icon gdbsrc-next t "Step over (aka next)"]
  [eos::toolbar-up-icon gdbsrc-up t "Stack Up (towards \"cooler\" - less
  recently visited - frames)"] [eos::toolbar-down-icon gdbsrc-down t "Stack
  Down (towards \"warmer\" - more recently visited - frames)"]
  [eos::toolbar-fix-icon nil nil "Fix (not available with gdb)"]
  [eos::toolbar-build-icon toolbar-compile t "Build (aka make -NYI)"]) toolbar)
  set-specifier(#<toolbar-specifier global=([toolbar-file-icon toolbar-open t
  "Open a file"] [toolbar-folder-icon toolbar-dired t "Edit a directory"]
  [toolbar-disk-icon toolbar-save t "Save buffer"] [toolbar-printer-icon
  toolbar-print t "Print buffer"] [toolbar-cut-icon toolbar-cut t "Kill
  region"] [toolbar-copy-icon toolbar-copy t "Copy region"] ...)
  fallback=((nil)) 0x184> (#<buffer "xterm.c"> [eos::toolbar-stop-at-icon
  gdb-break t "Stop at selected position"] [eos::toolbar-stop-in-icon gdb-break
  t "Stop in function whose name is selected"] [eos::toolbar-clear-at-icon
  gdbsrc-delete t "Clear at selected position"] [eos::toolbar-evaluate-icon
  gdb-print-c-sexp t "Evaluate selected expression; shows in separate XEmacs
  frame"] [eos::toolbar-evaluate-star-icon gdb-*print-c-sexp t "Evaluate
  selected expression as a pointer; shows in separate XEmacs frame"]
  [eos::toolbar-run-icon gdbsrc-run t "Run current program"]
  [eos::toolbar-cont-icon gdbsrc-cont t "Continue current program"]
  [eos::toolbar-step-into-icon gdbsrc-step t "Step into (aka step)"]
  [eos::toolbar-step-over-icon gdbsrc-next t "Step over (aka next)"]
  [eos::toolbar-up-icon gdbsrc-up t "Stack Up (towards \"cooler\" - less
  recently visited - frames)"] [eos::toolbar-down-icon gdbsrc-down t "Stack
  Down (towards \"warmer\" - more recently visited - frames)"]
  [eos::toolbar-fix-icon nil nil "Fix (not available with gdb)"]
  [eos::toolbar-build-icon toolbar-compile t "Build (aka make -NYI)"]))
  gdbsrc-mode(1) gdb-display-line("/usr/local/src/emacs21-21.1/src/xterm.c"
  12015) gdb-display-frame(nil t) gdb-filter-insert(#<process
  "gdb-emacs-21.1.1" pid 15302 state:run> "#0  x_error_quitter
  (display=0x84285d8, error=0xbffd1124) at xterm.c:12015\n#1  0x80b404a in
  x_error_handler (display=0x84285d8, error=0xbffd1124)\n    at
  xterm.c:12033\n#2  0x40245b0d in _XError () from
  /usr/X11R6/lib/libX11.so.6\n#3  0x40242fe3 in _XEventsQueued () from
  /usr/X11R6/lib/libX11.so.6\n#4  0x40237b7f in XPending () from
  /usr/X11R6/lib/libX11.so.6\n#5  0x80b27d1 in XTread_socket (sd=0,
  bufp=0xbffd3044, numchars=4096, \n    expected=1) at xterm.c:11033\n#6
  0x80d60d1 in read_avail_input (expected=1) at keyboard.c:6133\n#7  0x80d6292
  in input_available_signal (signo=29) at keyboard.c:6296\n#8  0x4031d088 in
  sigaction () from /lib/libc.so.6\n#9  0x8056b63 in sit_for (sec=30, usec=0,
  reading=1, display=1, \n    initial_display=0) at dispnew.c:6243\n#10
  0x80d2213 in read_char (commandflag=1, ") gdb-filter-scan-input(#<process
  "gdb-emacs-21.1.1" pid 15302 state:run> "#0  x_error_quitter
  (display=0x84285d8, error=0xbffd1124) at xterm.c:12015\n#1  0x80b404a in
  x_error_handler (display=0x84285d8, error=0xbffd1124)\n    at
  xterm.c:12033\n#2  0x40245b0d in _XError () from
  /usr/X11R6/lib/libX11.so.6\n#3  0x40242fe3 in _XEventsQueued () from
  /usr/X11R6/lib/libX11.so.6\n#4  0x40237b7f in XPending () from
  /usr/X11R6/lib/libX11.so.6\n#5  0x80b27d1 in XTread_socket (sd=0,
  bufp=0xbffd3044, numchars=4096, \n    expected=1) at xterm.c:11033\n#6
  0x80d60d1 in read_avail_input (expected=1) at keyboard.c:6133\n#7  0x80d6292
  in input_available_signal (signo=29) at keyboard.c:6296\n#8  0x4031d088 in
  sigaction () from /lib/libc.so.6\n#9  0x8056b63 in sit_for (sec=30, usec=0,
  reading=1, display=1, \n    initial_display=0) at dispnew.c:6243\n#10
  0x80d2213 in read_char (commandflag=1, ") ad-Orig-gdb-filter(#<process
  "gdb-emacs-21.1.1" pid 15302 state:run> "#0  x_error_quitter
  (display=0x84285d8, error=0xbffd1124) at xterm.c:12015\n#1  0x80b404a in
  x_error_handler (display=0x84285d8, error=0xbffd1124)\n    at
  xterm.c:12033\n#2  0x40245b0d in _XError () from
  /usr/X11R6/lib/libX11.so.6\n#3  0x40242fe3 in _XEventsQueued () from
  /usr/X11R6/lib/libX11.so.6\n#4  0x40237b7f in XPending () from
  /usr/X11R6/lib/libX11.so.6\n#5  0x80b27d1 in XTread_socket (sd=0,
  bufp=0xbffd3044, numchars=4096, \n    expected=1) at xterm.c:11033\n#6
  0x80d60d1 in read_avail_input (expected=1) at keyboard.c:6133\n#7  0x80d6292
  in input_available_signal (signo=29) at keyboard.c:6296\n#8  0x4031d088 in
  sigaction () from /lib/libc.so.6\n#9  0x8056b63 in sit_for (sec=30, usec=0,
  reading=1, display=1, \n    initial_display=0) at dispnew.c:6243\n#10
  0x80d2213 in read_char (commandflag=1, ") gdb-filter(#<process
  "gdb-emacs-21.1.1" pid 15302 state:run> "#0  x_error_quitter
  (display=0x84285d8, error=0xbffd1124) at xterm.c:12015\n#1  0x80b404a in
  x_error_handler (display=0x84285d8, error=0xbffd1124)\n    at
  xterm.c:12033\n#2  0x40245b0d in _XError () from
  /usr/X11R6/lib/libX11.so.6\n#3  0x40242fe3 in _XEventsQueued () from
  /usr/X11R6/lib/libX11.so.6\n#4  0x40237b7f in XPending () from
  /usr/X11R6/lib/libX11.so.6\n#5  0x80b27d1 in XTread_socket (sd=0,
  bufp=0xbffd3044, numchars=4096, \n    expected=1) at xterm.c:11033\n#6
  0x80d60d1 in read_avail_input (expected=1) at keyboard.c:6133\n#7  0x80d6292
  in input_available_signal (signo=29) at keyboard.c:6296\n#8  0x4031d088 in
  sigaction () from /lib/libc.so.6\n#9  0x8056b63 in sit_for (sec=30, usec=0,
  reading=1, display=1, \n    initial_display=0) at dispnew.c:6243\n#10
  0x80d2213 in read_char (commandflag=1, ")





gdb) bt
#0  x_error_quitter (display=0x84285d8, error=0xbffd1124) at xterm.c:12015
#1  0x80b404a in x_error_handler (display=0x84285d8, error=0xbffd1124)
    at xterm.c:12033
#2  0x40245b0d in _XError () from /usr/X11R6/lib/libX11.so.6
#3  0x40242fe3 in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6
#4  0x40237b7f in XPending () from /usr/X11R6/lib/libX11.so.6
#5  0x80b27d1 in XTread_socket (sd=0, bufp=0xbffd3044, numchars=4096, 
    expected=1) at xterm.c:11033
#6  0x80d60d1 in read_avail_input (expected=1) at keyboard.c:6133
#7  0x80d6292 in input_available_signal (signo=29) at keyboard.c:6296
#8  0x4031d088 in sigaction () from /lib/libc.so.6
#9  0x8056b63 in sit_for (sec=30, usec=0, reading=1, display=1, 
    initial_display=0) at dispnew.c:6243
#10 0x80d2213 in read_char (commandflag=1, nmaps=2, maps=0xbffff4a4, 
    prev_event=405183692, used_mouse_menu=0xbffff4ec) at keyboard.c:2491
#11 0x80d86e5 in read_key_sequence (keybuf=0xbffff5f4, bufsize=30, 
    prompt=405183692, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8180
#12 0x80d08e4 in command_loop_1 () at keyboard.c:1440
#13 0x812196f in internal_condition_case (bfun=0x80d05f0 <command_loop_1>, 
    handlers=405280012, hfun=0x80d0234 <cmd_error>) at eval.c:1267
#14 0x80d04c8 in command_loop_2 () at keyboard.c:1245
#15 0x81214ff in internal_catch (tag=405241620, 
---Type <return> to continue, or q <return> to quit---

>>>>>>>>>>>>>(sorry, there was more !)

---Type <return> to continue, or q <return> to quit---    prompt=405183692, 
dont_downcase_last=0, can_return_switch_frame=1,
    func=0x80d04a4 <command_loop_2>, arg=405183692) at eval.c:1030
#16 0x80d0477 in command_loop () at keyboard.c:1224
#17 0x80cfff1 in recursive_edit_1 () at keyboard.c:950
#18 0x80d0120 in Frecursive_edit () at keyboard.c:1006
#19 0x80cf099 in main (argc=3, argv=0xbffffbb4, envp=0xbffffbc4)
    at emacs.c:1547
(gdb)


>>>>(and at this point xterm.c was fired up highlit at line 12015)













reply via email to

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