all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
@ 2019-01-16  7:42 Toon Claes
  2019-01-17 17:47 ` Alan Third
  0 siblings, 1 reply; 4+ messages in thread
From: Toon Claes @ 2019-01-16  7:42 UTC (permalink / raw)
  To: 34096

Hi,

I have a problem similar to the known problem "Emacs compiled with GTK
crashes at startup due to X protocol error.". But mine is slightly
different:

- It does not happen on start, it seems to be happening when I open
  large buffer, but I'm not sure on that. Although it fairly
  reproducable, so I'm happy to help debug deeper.
- The workaround with XLIB_SKIP_ARGB_VISUALS=1 does not help.

I tried using x-toolkit GTK3 & Lucid. But it happens with both.

I could not generate a normal bug report, because emacs also crashes on
M-x report-emacs-bug.

I do have a few backtraces, see below.

It must be related to an upgrade of some dependency, cause I recently
did a `apt dist-upgrade` on my Debian Sid.

emacs -Q does crash as easy as when I load my config. But M-x
report-emacs-bug is one way to make emacs -Q crash, but in that case
getting a backtrace from GDB does not work.


-- Toon

***********
* Backtrace
***********

X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
Fatal error 6: Aborted
Thread 1 "emacs" received signal SIGABRT, Aborted.
0x00007ffff48ec50b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff48ec50b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000004f2cc1 in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at ../../git/src/emacs.c:403
#2  0x000000000050cfb9 in emacs_abort () at ../../git/src/sysdep.c:2450
#3  0x0000000000456a2d in redisplay_internal () at ../../git/src/lisp.h:1278
#4  0x00000000004591ed in redisplay_preserve_echo_area (from_where=from_where@entry=13) at ../../git/src/xdisp.c:14790
#5  0x00000000005ae9e8 in Fdelete_process (process=0x4d369e5) at ../../git/src/process.c:1090
#6  0x00000000005b6a15 in kill_buffer_processes (buffer=buffer@entry=0x0) at ../../git/src/process.c:7867
#7  0x00000000004f2b5b in shut_down_emacs (sig=sig@entry=6, stuff=stuff@entry=0x0) at ../../git/src/lisp.h:948
#8  0x00000000004f2ced in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at ../../git/src/lisp.h:948
#9  0x000000000050cfb9 in emacs_abort () at ../../git/src/sysdep.c:2450
#10 0x00000000004f5fad in Fcommand_error_default_function (data=0x52d5f03, context=0x678484 <pure+36>, signal=0xaf280) at ../../git/src/lisp.h:948
#11 0x000000000056b041 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffe0c0) at ../../git/src/lisp.h:1988
#12 0x000000000056e35c in call3 (fn=<optimized out>, arg1=arg1@entry=0x52d5f03, arg2=<optimized out>, arg3=arg3@entry=0xaf280) at ../../git/src/eval.c:2723
#13 0x00000000004f87e4 in cmd_error_internal (data=data@entry=0x52d5f03, context=context@entry=0x7fffffffe120 "") at ../../git/src/lisp.h:3665
#14 0x00000000004f8923 in cmd_error (data=0x52d5f03) at ../../git/src/keyboard.c:950
#15 0x000000000056a14a in internal_condition_case (bfun=bfun@entry=0x501520 <command_loop_1>, handlers=handlers@entry=0x53d0, hfun=hfun@entry=0x4f8810 <cmd_error>)
    at ../../git/src/eval.c:1368
#16 0x00000000004f3124 in command_loop_2 (ignore=ignore@entry=0x0) at ../../git/src/lisp.h:948
#17 0x000000000056a0a1 in internal_catch (tag=tag@entry=0xcae0, func=func@entry=0x4f30f0 <command_loop_2>, arg=arg@entry=0x0) at ../../git/src/eval.c:1135
#18 0x00000000004f30ab in command_loop () at ../../git/src/lisp.h:948
#19 0x00000000004f83a4 in recursive_edit_1 () at ../../git/src/keyboard.c:712
#20 0x00000000004f8720 in Frecursive_edit () at ../../git/src/keyboard.c:783
#21 0x0000000000416b01 in main (argc=<optimized out>,
argv=0x7fffffffe428) at ../../git/src/emacs.c:1722


***********
* Another backtrace
***********

X protocol error: BadMatch (invalid parameter attributes) on protocol request 139


Thread 1 "emacs" received signal SIGINT, Interrupt.
0x00007ffff4656f50 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff4656f50 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff4657a14 in mcount () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000056ce1a in maybe_quit () at ../../git/src/eval.c:1581
#3  0x000000000053fe41 in re_match_2_internal (bufp=0xa0df98 <searchbufs+1112>, string1=0x0, size1=0, string2=0x2a91278 "~/devel/emacs/9fc02ff5ea95c31a8d81eabb5634aa135fcd8786/", size2=55, 
    pos=0, regs=0x0, stop=<optimized out>) at ../../git/src/regex-emacs.c:4654
#4  0x0000000000545ee1 in rpl_re_search_2 (bufp=<optimized out>, str1=str1@entry=0x0, size1=size1@entry=0, str2=<optimized out>, size2=<optimized out>, startpos=startpos@entry=0, range=0, 
    regs=<optimized out>, stop=<optimized out>) at ../../git/src/regex-emacs.c:3365
#5  0x0000000000546b55 in rpl_re_search (bufp=<optimized out>, string=<optimized out>, size=<optimized out>, startpos=startpos@entry=0, range=<optimized out>, regs=regs@entry=0x0)
    at ../../git/src/regex-emacs.c:3155
#6  0x000000000053ccc4 in fast_string_match_internal (regexp=<optimized out>, string=string@entry=0x2a9fe04, table=table@entry=0x0) at ../../git/src/lisp.h:1507
#7  0x0000000000523754 in fast_string_match (string=0x2a9fe04, regexp=<optimized out>) at ../../git/src/lisp.h:4074
#8  Ffind_file_name_handler (filename=filename@entry=0x2a9fe04, operation=operation@entry=0x56d0) at ../../git/src/fileio.c:317
#9  0x0000000000525321 in Fexpand_file_name (name=name@entry=0x2a9fe04, default_directory=0x2a9fe04, default_directory@entry=0x0) at ../../git/src/lisp.h:948
#10 0x000000000052533e in Fexpand_file_name (name=0x91dd384, default_directory=0x2a9fe04, default_directory@entry=0x0) at ../../git/src/lisp.h:948
#11 0x00000000005266ad in Ffile_exists_p (filename=<optimized out>) at ../../git/src/lisp.h:948
#12 0x000000000056b041 in Ffuncall (nargs=2, args=args@entry=0x7fffffff2b90) at ../../git/src/lisp.h:1988
#13 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff2b90) at ../../git/src/bytecode.c:633
#14 0x000000000056daf4 in funcall_lambda (fun=0x4763bc8, nargs=nargs@entry=1, arg_vector=0x7fffffff2b90, arg_vector@entry=0x7fffffff2e38) at ../../git/src/lisp.h:1731
#15 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff2e30) at ../../git/src/eval.c:2870
#16 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff2e30) at ../../git/src/bytecode.c:633
#17 0x000000000056daf4 in funcall_lambda (fun=0x84b3e08, nargs=nargs@entry=1, arg_vector=0x7fffffff2e30, arg_vector@entry=0x7fffffff3038) at ../../git/src/lisp.h:1731
#18 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff3030) at ../../git/src/eval.c:2870
#19 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=5, 
    args=<optimized out>, args@entry=0x7fffffff3030) at ../../git/src/bytecode.c:633
#20 0x000000000056daf4 in funcall_lambda (fun=0x3887d98, nargs=nargs@entry=5, arg_vector=0x7fffffff3030, arg_vector@entry=0x7fffffff3370) at ../../git/src/lisp.h:1731
#21 0x000000000056afbd in Ffuncall (nargs=6, args=args@entry=0x7fffffff3368) at ../../git/src/eval.c:2870
#22 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=4, 
    args=<optimized out>, args@entry=0x7fffffff3368) at ../../git/src/bytecode.c:633
#23 0x000000000056daf4 in funcall_lambda (fun=0x3887ce8, nargs=nargs@entry=4, arg_vector=0x7fffffff3368, arg_vector@entry=0x7fffffff35b8) at ../../git/src/lisp.h:1731
#24 0x000000000056afbd in Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffff35b0) at ../../git/src/eval.c:2870
#25 0x000000000056b310 in Fapply (nargs=4, args=0x7fffffff36c8) at ../../git/src/eval.c:2476
#26 0x000000000056b041 in Ffuncall (nargs=5, args=args@entry=0x7fffffff36c0) at ../../git/src/lisp.h:1988
#27 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=4, 
    args=<optimized out>, args@entry=0x7fffffff36c0) at ../../git/src/bytecode.c:633
#28 0x000000000056daf4 in funcall_lambda (fun=0x3887cc8, nargs=nargs@entry=4, arg_vector=0x7fffffff36c0, arg_vector@entry=0x7fffffff3980) at ../../git/src/lisp.h:1731
#29 0x000000000056afbd in Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffff3978) at ../../git/src/eval.c:2870
#30 0x000000000056b39c in Fapply (nargs=6, args=0x7fffffff3978) at ../../git/src/eval.c:2429
#31 0x000000000056b041 in Ffuncall (nargs=7, args=args@entry=0x7fffffff3970) at ../../git/src/lisp.h:1988
#32 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=2, 
    args=<optimized out>, args@entry=0x7fffffff3970) at ../../git/src/bytecode.c:633
#33 0x000000000056daf4 in funcall_lambda (fun=0x3887c98, nargs=nargs@entry=2, arg_vector=0x7fffffff3970, arg_vector@entry=0x7fffffff3b68) at ../../git/src/lisp.h:1731
#34 0x000000000056afbd in Ffuncall (nargs=3, args=args@entry=0x7fffffff3b60) at ../../git/src/eval.c:2870
#35 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff3b60) at ../../git/src/bytecode.c:633
#36 0x000000000056daf4 in funcall_lambda (fun=0x84abe08, nargs=nargs@entry=1, arg_vector=0x7fffffff3b60, arg_vector@entry=0x7fffffff3d80) at ../../git/src/lisp.h:1731
#37 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff3d78) at ../../git/src/eval.c:2870
#38 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=2, 
--Type <RET> for more, q to quit, c to continue without paging--  
    args=<optimized out>, args@entry=0x7fffffff3d78) at ../../git/src/bytecode.c:633
#39 0x000000000056daf4 in funcall_lambda (fun=0x4ce8d18, nargs=nargs@entry=2, arg_vector=0x7fffffff3d78, arg_vector@entry=0x7fffffff3fb0) at ../../git/src/lisp.h:1731
#40 0x000000000056afbd in Ffuncall (nargs=3, args=args@entry=0x7fffffff3fa8) at ../../git/src/eval.c:2870
#41 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff3fa8) at ../../git/src/bytecode.c:633
#42 0x000000000056daf4 in funcall_lambda (fun=0x4ce8e58, nargs=nargs@entry=1, arg_vector=0x7fffffff3fa8, arg_vector@entry=0x7fffffff41c8) at ../../git/src/lisp.h:1731
#43 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff41c0) at ../../git/src/eval.c:2870
#44 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff41c0) at ../../git/src/bytecode.c:633
#45 0x000000000056daf4 in funcall_lambda (fun=0x848bdf8, nargs=nargs@entry=1, arg_vector=0x7fffffff41c0, arg_vector@entry=0x7fffffff43e0) at ../../git/src/lisp.h:1731
#46 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff43d8) at ../../git/src/eval.c:2870
#47 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=2, 
    args=<optimized out>, args@entry=0x7fffffff43d8) at ../../git/src/bytecode.c:633
#48 0x000000000056daf4 in funcall_lambda (fun=0x33a3368, nargs=nargs@entry=2, arg_vector=0x7fffffff43d8, arg_vector@entry=0x7fffffff4638) at ../../git/src/lisp.h:1731
#49 0x000000000056afbd in Ffuncall (nargs=3, args=args@entry=0x7fffffff4630) at ../../git/src/eval.c:2870
#50 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, 
    args=<optimized out>, args@entry=0x7fffffff4630) at ../../git/src/bytecode.c:633
#51 0x000000000056daf4 in funcall_lambda (fun=0x4ce90c8, nargs=nargs@entry=0, arg_vector=0x7fffffff4630, arg_vector@entry=0x7fffffff4860) at ../../git/src/lisp.h:1731
#52 0x000000000056afbd in Ffuncall (nargs=1, args=args@entry=0x7fffffff4858) at ../../git/src/eval.c:2870
#53 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff4858) at ../../git/src/bytecode.c:633
#54 0x000000000056daf4 in funcall_lambda (fun=0x4ce8c48, nargs=nargs@entry=1, arg_vector=0x7fffffff4858, arg_vector@entry=0x7fffffff4b30) at ../../git/src/lisp.h:1731
#55 0x000000000056afbd in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffff4b28) at ../../git/src/eval.c:2870
#56 0x000000000056b3e2 in Fapply (nargs=2, args=0x7fffffff4b28) at ../../git/src/eval.c:2433
#57 0x000000000056b041 in Ffuncall (nargs=3, args=args@entry=0x7fffffff4b20) at ../../git/src/lisp.h:1988
#58 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, 
    args=<optimized out>, args@entry=0x7fffffff4b20) at ../../git/src/bytecode.c:633
#59 0x000000000056daf4 in funcall_lambda (fun=0x6899cb8, nargs=nargs@entry=1, arg_vector=0x7fffffff4b20, arg_vector@entry=0x7fffffff4cf0) at ../../git/src/lisp.h:1731
#60 0x000000000056afbd in Ffuncall (nargs=2, args=args@entry=0x7fffffff4ce8) at ../../git/src/eval.c:2870
#61 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=args_template@entry=0x0, nargs=nargs@entry=0, 
    args=<optimized out>, args@entry=0x0) at ../../git/src/bytecode.c:633
#62 0x000000000056db88 in funcall_lambda (fun=0x6c7e505, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffff4f30) at ../../git/src/lisp.h:1731
#63 0x000000000056afbd in Ffuncall (nargs=1, args=args@entry=0x7fffffff4f28) at ../../git/src/eval.c:2870
#64 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=args_template@entry=0x0, nargs=nargs@entry=0, 
    args=<optimized out>, args@entry=0x0) at ../../git/src/bytecode.c:633
#65 0x000000000056db88 in funcall_lambda (fun=0x639a115, nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff5200) at ../../git/src/lisp.h:1731
#66 0x000000000056afbd in Ffuncall (nargs=3, args=args@entry=0x7fffffff51f8) at ../../git/src/eval.c:2870
#67 0x00000000005a86c0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=args_template@entry=0x0, nargs=nargs@entry=0, 
    args=<optimized out>, args@entry=0x0) at ../../git/src/bytecode.c:633
#68 0x000000000056db88 in funcall_lambda (fun=0x6729325, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffff5490) at ../../git/src/lisp.h:1731
#69 0x000000000056afbd in Ffuncall (nargs=1, args=0x7fffffff5488) at ../../git/src/eval.c:2870
#70 0x000000000056b06f in funcall_nil (nargs=<optimized out>, args=<optimized out>) at ../../git/src/eval.c:2487
#71 0x000000000056a5cd in run_hook_with_args (nargs=1, args=0x7fffffff5488, funcall=0x56b060 <funcall_nil>) at ../../git/src/eval.c:2664
#72 0x000000000056a6f7 in Frun_hook_with_args (args=0x7fffffff5488, nargs=1) at ../../git/src/eval.c:2677
#73 run_hook (hook=<optimized out>) at ../../git/src/eval.c:2677
#74 0x00000000004f2c45 in Fkill_emacs (arg=arg@entry=0x11a) at ../../git/src/lisp.h:948
#75 0x00000000004c564e in x_connection_closed (dpy=dpy@entry=0x2ac1290, error_message=<optimized out>, 
    error_message@entry=0x7fffffff5660 "X protocol error: BadMatch (invalid parameter attributes) on protocol request 139", ioerror=ioerror@entry=false) at ../../git/src/lisp.h:1045
#76 0x00000000004c8163 in x_error_quitter (display=0x2ac1290, event=<optimized out>, event=<optimized out>) at ../../git/src/xterm.c:9962
--Type <RET> for more, q to quit, c to continue without paging--
#77 0x00000000004c81d9 in x_error_handler (event=0x7fffffff5820, display=<optimized out>) at ../../git/src/xterm.c:9932
#78 x_error_handler (display=0x2ac1290, event=0x7fffffff5820) at ../../git/src/xterm.c:9919
#79 0x00007ffff681811a in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#80 0x00007ffff6815077 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#81 0x00007ffff681511d in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#82 0x00007ffff6816050 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#83 0x00007ffff681199d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#84 0x00000000004cdce1 in x_catch_errors_with_handler (dpy=dpy@entry=0x2ac1290, handler=handler@entry=0x0, handler_data=handler_data@entry=0x0) at ../../git/src/xterm.c:9679
#85 0x00000000004cdd34 in x_catch_errors (dpy=dpy@entry=0x2ac1290) at ../../git/src/xterm.c:9692
#86 0x00000000005d7f65 in xfont_list_pattern (display=display@entry=0x2ac1290, pattern=pattern@entry=0x7fffffff5d60 "-CTDB-FuraCode Nerd Font Mono-*-*-*-*-*-*-*-*-*-*-iso10646-1", 
    registry=registry@entry=0x7e60, script=script@entry=0x0) at ../../git/src/xfont.c:328
#87 0x00000000005d8869 in xfont_list (f=<optimized out>, spec=0xaecf05 <bss_sbrk_buffer+678533>) at ../../git/src/xfont.c:490
#88 0x0000000000583eb3 in font_list_entities (f=f@entry=0x1225c30 <bss_sbrk_buffer+8251312>, spec=spec@entry=0x7aeb645) at ../../git/src/font.c:2783
#89 0x00000000005847c8 in font_find_for_lface (f=f@entry=0x1225c30 <bss_sbrk_buffer+8251312>, attrs=attrs@entry=0x56e1850, spec=<optimized out>, c=c@entry=-1) at ../../git/src/font.c:3274
#90 0x00000000005de978 in fontset_find_font (fontset=fontset@entry=0x92eed15, c=c@entry=233, face=face@entry=0x56e1850, charset_id=charset_id@entry=-1, fallback=fallback@entry=false)
    at ../../git/src/lisp.h:1731
#91 0x00000000005df18d in fontset_font (fontset=fontset@entry=0x92eed15, c=c@entry=233, face=face@entry=0x56e1850, id=-1) at ../../git/src/fontset.c:756
#92 0x00000000005df588 in face_for_char (f=0x1225c30 <bss_sbrk_buffer+8251312>, face=face@entry=0x56e1850, c=233, pos=<optimized out>, object=<optimized out>) at ../../git/src/fontset.c:986
#93 0x0000000000446443 in FACE_FOR_CHAR (object=<optimized out>, pos=<optimized out>, character=<optimized out>, face=0x56e1850, f=<optimized out>) at ../../git/src/dispextern.h:1824
#94 get_next_display_element (it=it@entry=0x7fffffff8a40) at ../../git/src/xdisp.c:7338
#95 0x000000000044e04f in display_line (it=it@entry=0x7fffffff8a40, cursor_vpos=cursor_vpos@entry=0) at ../../git/src/xdisp.c:21615
#96 0x0000000000453649 in try_window (window=window@entry=0x1226c35 <bss_sbrk_buffer+8255413>, pos=..., flags=flags@entry=1) at ../../git/src/xdisp.c:17818
#97 0x0000000000467d75 in redisplay_window (window=0x1226c35 <bss_sbrk_buffer+8255413>, just_this_one_p=just_this_one_p@entry=false) at ../../git/src/xdisp.c:17265
#98 0x000000000046ab37 in redisplay_window_0 (window=window@entry=0x1226c35 <bss_sbrk_buffer+8255413>) at ../../git/src/xdisp.c:14993
#99 0x000000000056a1ea in internal_condition_case_1 (bfun=bfun@entry=0x46ab00 <redisplay_window_0>, arg=arg@entry=0x1226c35 <bss_sbrk_buffer+8255413>, handlers=<optimized out>, 
    hfun=hfun@entry=0x42c640 <redisplay_window_error>) at ../../git/src/eval.c:1396
#100 0x00000000004313c4 in redisplay_windows (window=0x1226c35 <bss_sbrk_buffer+8255413>) at ../../git/src/xdisp.c:14973
#101 0x00000000004570af in redisplay_internal () at ../../git/src/xdisp.c:14443
#102 0x0000000000459100 in redisplay () at ../../git/src/xdisp.c:13664
#103 0x00000000004fd26f in read_char (commandflag=commandflag@entry=1, map=map@entry=0x6a308d3, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffdf5b, 
    end_time=end_time@entry=0x0) at ../../git/src/keyboard.c:2460
#104 0x00000000004ffe4d in read_key_sequence (keybuf=keybuf@entry=0x7fffffffe060, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, 
    can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false)
    at ../../git/src/keyboard.c:9078
#105 0x000000000050170c in command_loop_1 () at ../../git/src/lisp.h:948
#106 0x000000000056a156 in internal_condition_case (bfun=bfun@entry=0x501520 <command_loop_1>, handlers=handlers@entry=0x53d0, hfun=hfun@entry=0x4f8810 <cmd_error>)
    at ../../git/src/eval.c:1372
#107 0x00000000004f3124 in command_loop_2 (ignore=ignore@entry=0x0) at ../../git/src/lisp.h:948
#108 0x000000000056a0a1 in internal_catch (tag=tag@entry=0xcae0, func=func@entry=0x4f30f0 <command_loop_2>, arg=arg@entry=0x0) at ../../git/src/eval.c:1135
#109 0x00000000004f30ab in command_loop () at ../../git/src/lisp.h:948
#110 0x00000000004f83a4 in recursive_edit_1 () at ../../git/src/keyboard.c:712
#111 0x00000000004f8720 in Frecursive_edit () at ../../git/src/keyboard.c:783
#112 0x0000000000416b01 in main (argc=<optimized out>, argv=0x7fffffffe428) at ../../git/src/emacs.c:1722





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
  2019-01-16  7:42 bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139 Toon Claes
@ 2019-01-17 17:47 ` Alan Third
  2019-01-18 22:37   ` Robert Marshall
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Third @ 2019-01-17 17:47 UTC (permalink / raw)
  To: Toon Claes; +Cc: 34096

On Wed, Jan 16, 2019 at 08:42:29AM +0100, Toon Claes wrote:
> Hi,
> 
> I have a problem similar to the known problem "Emacs compiled with GTK
> crashes at startup due to X protocol error.". But mine is slightly
> different:

Hi Toon, I’ve pushed a fix to master for bug#34051, which also
produces this error. I’m not 100% sure it will fix your bug, but it
may be that it’s crashing when a fringe bitmap is being loaded, or
something of that sort.

If you’re not running master then this won’t be relevant.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
  2019-01-17 17:47 ` Alan Third
@ 2019-01-18 22:37   ` Robert Marshall
  2019-01-28 13:54     ` Toon Claes
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Marshall @ 2019-01-18 22:37 UTC (permalink / raw)
  To: Alan Third; +Cc: Toon Claes, 34096

On Thu, Jan 17 2019, Alan Third <alan@idiocy.org> wrote:

> On Wed, Jan 16, 2019 at 08:42:29AM +0100, Toon Claes wrote:
>> Hi,
>> 
>> I have a problem similar to the known problem "Emacs compiled with GTK
>> crashes at startup due to X protocol error.". But mine is slightly
>> different:
>
> Hi Toon, I’ve pushed a fix to master for bug#34051, which also
> produces this error. I’m not 100% sure it will fix your bug, but it
> may be that it’s crashing when a fringe bitmap is being loaded, or
> something of that sort.
>
> If you’re not running master then this won’t be relevant.

I also was seeing a BadMatch crash in master and this update has fixed it for
me - thanks!

Robert
-- 
Robert Marshall               twitter: @rajm





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
  2019-01-18 22:37   ` Robert Marshall
@ 2019-01-28 13:54     ` Toon Claes
  0 siblings, 0 replies; 4+ messages in thread
From: Toon Claes @ 2019-01-28 13:54 UTC (permalink / raw)
  To: Alan Third, 34096-done; +Cc: Robert Marshall

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

Robert Marshall <robert@capuchin.co.uk> writes:

> On Thu, Jan 17 2019, Alan Third <alan@idiocy.org> wrote:
>
>> Hi Toon, I’ve pushed a fix to master for bug#34051, which also
>> produces this error. I’m not 100% sure it will fix your bug, but it
>> may be that it’s crashing when a fringe bitmap is being loaded, or
>> something of that sort.
>
> I also was seeing a BadMatch crash in master and this update has fixed it for
> me - thanks!

I'm running the latest master now, and so far I'm not seeing a crash. I
reinstalled emojify, which I think caused the crash, and also that's
working. So I'm considering this bug fixed.

Thanks a lot Alan!!


-- Toon


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-28 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16  7:42 bug#34096: 27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139 Toon Claes
2019-01-17 17:47 ` Alan Third
2019-01-18 22:37   ` Robert Marshall
2019-01-28 13:54     ` Toon Claes

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.