GNU bug report logs - #34096
27.0.50; X protocol error: BadMatch (invalid parameter attributes) on protocol request 139

Previous Next

Package: emacs;

Reported by: Toon Claes <toon <at> iotcl.com>

Date: Wed, 16 Jan 2019 07:44:01 UTC

Severity: normal

Found in version 27.0.50

Done: Toon Claes <toon <at> iotcl.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34096 in the body.
You can then email your comments to 34096 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#34096; Package emacs. (Wed, 16 Jan 2019 07:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Toon Claes <toon <at> iotcl.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 16 Jan 2019 07:44:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Toon Claes <toon <at> iotcl.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50;
 X protocol error: BadMatch (invalid parameter attributes) on protocol
 request 139
Date: Wed, 16 Jan 2019 08:42:29 +0100
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 <at> entry=6, backtrace_limit=backtrace_limit <at> 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 <at> 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 <at> entry=0x0) at ../../git/src/process.c:7867
#7  0x00000000004f2b5b in shut_down_emacs (sig=sig <at> entry=6, stuff=stuff <at> entry=0x0) at ../../git/src/lisp.h:948
#8  0x00000000004f2ced in terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> 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 <at> entry=4, args=args <at> entry=0x7fffffffe0c0) at ../../git/src/lisp.h:1988
#12 0x000000000056e35c in call3 (fn=<optimized out>, arg1=arg1 <at> entry=0x52d5f03, arg2=<optimized out>, arg3=arg3 <at> entry=0xaf280) at ../../git/src/eval.c:2723
#13 0x00000000004f87e4 in cmd_error_internal (data=data <at> entry=0x52d5f03, context=context <at> 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 <at> entry=0x501520 <command_loop_1>, handlers=handlers <at> entry=0x53d0, hfun=hfun <at> entry=0x4f8810 <cmd_error>)
    at ../../git/src/eval.c:1368
#16 0x00000000004f3124 in command_loop_2 (ignore=ignore <at> entry=0x0) at ../../git/src/lisp.h:948
#17 0x000000000056a0a1 in internal_catch (tag=tag <at> entry=0xcae0, func=func <at> entry=0x4f30f0 <command_loop_2>, arg=arg <at> 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 <at> entry=0x0, size1=size1 <at> entry=0, str2=<optimized out>, size2=<optimized out>, startpos=startpos <at> 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 <at> entry=0, range=<optimized out>, regs=regs <at> entry=0x0)
    at ../../git/src/regex-emacs.c:3155
#6  0x000000000053ccc4 in fast_string_match_internal (regexp=<optimized out>, string=string <at> entry=0x2a9fe04, table=table <at> 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 <at> entry=0x2a9fe04, operation=operation <at> entry=0x56d0) at ../../git/src/fileio.c:317
#9  0x0000000000525321 in Fexpand_file_name (name=name <at> entry=0x2a9fe04, default_directory=0x2a9fe04, default_directory <at> entry=0x0) at ../../git/src/lisp.h:948
#10 0x000000000052533e in Fexpand_file_name (name=0x91dd384, default_directory=0x2a9fe04, default_directory <at> 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 <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff2b90) at ../../git/src/bytecode.c:633
#14 0x000000000056daf4 in funcall_lambda (fun=0x4763bc8, nargs=nargs <at> entry=1, arg_vector=0x7fffffff2b90, arg_vector <at> entry=0x7fffffff2e38) at ../../git/src/lisp.h:1731
#15 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff2e30) at ../../git/src/bytecode.c:633
#17 0x000000000056daf4 in funcall_lambda (fun=0x84b3e08, nargs=nargs <at> entry=1, arg_vector=0x7fffffff2e30, arg_vector <at> entry=0x7fffffff3038) at ../../git/src/lisp.h:1731
#18 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=5, 
    args=<optimized out>, args <at> entry=0x7fffffff3030) at ../../git/src/bytecode.c:633
#20 0x000000000056daf4 in funcall_lambda (fun=0x3887d98, nargs=nargs <at> entry=5, arg_vector=0x7fffffff3030, arg_vector <at> entry=0x7fffffff3370) at ../../git/src/lisp.h:1731
#21 0x000000000056afbd in Ffuncall (nargs=6, args=args <at> 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 <at> entry=4, 
    args=<optimized out>, args <at> entry=0x7fffffff3368) at ../../git/src/bytecode.c:633
#23 0x000000000056daf4 in funcall_lambda (fun=0x3887ce8, nargs=nargs <at> entry=4, arg_vector=0x7fffffff3368, arg_vector <at> entry=0x7fffffff35b8) at ../../git/src/lisp.h:1731
#24 0x000000000056afbd in Ffuncall (nargs=nargs <at> entry=5, args=args <at> 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 <at> 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 <at> entry=4, 
    args=<optimized out>, args <at> entry=0x7fffffff36c0) at ../../git/src/bytecode.c:633
#28 0x000000000056daf4 in funcall_lambda (fun=0x3887cc8, nargs=nargs <at> entry=4, arg_vector=0x7fffffff36c0, arg_vector <at> entry=0x7fffffff3980) at ../../git/src/lisp.h:1731
#29 0x000000000056afbd in Ffuncall (nargs=nargs <at> entry=5, args=args <at> 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 <at> 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 <at> entry=2, 
    args=<optimized out>, args <at> entry=0x7fffffff3970) at ../../git/src/bytecode.c:633
#33 0x000000000056daf4 in funcall_lambda (fun=0x3887c98, nargs=nargs <at> entry=2, arg_vector=0x7fffffff3970, arg_vector <at> entry=0x7fffffff3b68) at ../../git/src/lisp.h:1731
#34 0x000000000056afbd in Ffuncall (nargs=3, args=args <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff3b60) at ../../git/src/bytecode.c:633
#36 0x000000000056daf4 in funcall_lambda (fun=0x84abe08, nargs=nargs <at> entry=1, arg_vector=0x7fffffff3b60, arg_vector <at> entry=0x7fffffff3d80) at ../../git/src/lisp.h:1731
#37 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=2, 
--Type <RET> for more, q to quit, c to continue without paging--  
    args=<optimized out>, args <at> entry=0x7fffffff3d78) at ../../git/src/bytecode.c:633
#39 0x000000000056daf4 in funcall_lambda (fun=0x4ce8d18, nargs=nargs <at> entry=2, arg_vector=0x7fffffff3d78, arg_vector <at> entry=0x7fffffff3fb0) at ../../git/src/lisp.h:1731
#40 0x000000000056afbd in Ffuncall (nargs=3, args=args <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff3fa8) at ../../git/src/bytecode.c:633
#42 0x000000000056daf4 in funcall_lambda (fun=0x4ce8e58, nargs=nargs <at> entry=1, arg_vector=0x7fffffff3fa8, arg_vector <at> entry=0x7fffffff41c8) at ../../git/src/lisp.h:1731
#43 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff41c0) at ../../git/src/bytecode.c:633
#45 0x000000000056daf4 in funcall_lambda (fun=0x848bdf8, nargs=nargs <at> entry=1, arg_vector=0x7fffffff41c0, arg_vector <at> entry=0x7fffffff43e0) at ../../git/src/lisp.h:1731
#46 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=2, 
    args=<optimized out>, args <at> entry=0x7fffffff43d8) at ../../git/src/bytecode.c:633
#48 0x000000000056daf4 in funcall_lambda (fun=0x33a3368, nargs=nargs <at> entry=2, arg_vector=0x7fffffff43d8, arg_vector <at> entry=0x7fffffff4638) at ../../git/src/lisp.h:1731
#49 0x000000000056afbd in Ffuncall (nargs=3, args=args <at> 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 <at> entry=0, 
    args=<optimized out>, args <at> entry=0x7fffffff4630) at ../../git/src/bytecode.c:633
#51 0x000000000056daf4 in funcall_lambda (fun=0x4ce90c8, nargs=nargs <at> entry=0, arg_vector=0x7fffffff4630, arg_vector <at> entry=0x7fffffff4860) at ../../git/src/lisp.h:1731
#52 0x000000000056afbd in Ffuncall (nargs=1, args=args <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff4858) at ../../git/src/bytecode.c:633
#54 0x000000000056daf4 in funcall_lambda (fun=0x4ce8c48, nargs=nargs <at> entry=1, arg_vector=0x7fffffff4858, arg_vector <at> entry=0x7fffffff4b30) at ../../git/src/lisp.h:1731
#55 0x000000000056afbd in Ffuncall (nargs=nargs <at> entry=2, args=args <at> 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 <at> 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 <at> entry=1, 
    args=<optimized out>, args <at> entry=0x7fffffff4b20) at ../../git/src/bytecode.c:633
#59 0x000000000056daf4 in funcall_lambda (fun=0x6899cb8, nargs=nargs <at> entry=1, arg_vector=0x7fffffff4b20, arg_vector <at> entry=0x7fffffff4cf0) at ../../git/src/lisp.h:1731
#60 0x000000000056afbd in Ffuncall (nargs=2, args=args <at> 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 <at> entry=0x0, nargs=nargs <at> entry=0, 
    args=<optimized out>, args <at> entry=0x0) at ../../git/src/bytecode.c:633
#62 0x000000000056db88 in funcall_lambda (fun=0x6c7e505, nargs=nargs <at> entry=0, arg_vector=arg_vector <at> entry=0x7fffffff4f30) at ../../git/src/lisp.h:1731
#63 0x000000000056afbd in Ffuncall (nargs=1, args=args <at> 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 <at> entry=0x0, nargs=nargs <at> entry=0, 
    args=<optimized out>, args <at> entry=0x0) at ../../git/src/bytecode.c:633
#65 0x000000000056db88 in funcall_lambda (fun=0x639a115, nargs=nargs <at> entry=2, arg_vector=arg_vector <at> entry=0x7fffffff5200) at ../../git/src/lisp.h:1731
#66 0x000000000056afbd in Ffuncall (nargs=3, args=args <at> 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 <at> entry=0x0, nargs=nargs <at> entry=0, 
    args=<optimized out>, args <at> entry=0x0) at ../../git/src/bytecode.c:633
#68 0x000000000056db88 in funcall_lambda (fun=0x6729325, nargs=nargs <at> entry=0, arg_vector=arg_vector <at> 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 <at> entry=0x11a) at ../../git/src/lisp.h:948
#75 0x00000000004c564e in x_connection_closed (dpy=dpy <at> entry=0x2ac1290, error_message=<optimized out>, 
    error_message <at> entry=0x7fffffff5660 "X protocol error: BadMatch (invalid parameter attributes) on protocol request 139", ioerror=ioerror <at> 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 <at> entry=0x2ac1290, handler=handler <at> entry=0x0, handler_data=handler_data <at> entry=0x0) at ../../git/src/xterm.c:9679
#85 0x00000000004cdd34 in x_catch_errors (dpy=dpy <at> entry=0x2ac1290) at ../../git/src/xterm.c:9692
#86 0x00000000005d7f65 in xfont_list_pattern (display=display <at> entry=0x2ac1290, pattern=pattern <at> entry=0x7fffffff5d60 "-CTDB-FuraCode Nerd Font Mono-*-*-*-*-*-*-*-*-*-*-iso10646-1", 
    registry=registry <at> entry=0x7e60, script=script <at> 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 <at> entry=0x1225c30 <bss_sbrk_buffer+8251312>, spec=spec <at> entry=0x7aeb645) at ../../git/src/font.c:2783
#89 0x00000000005847c8 in font_find_for_lface (f=f <at> entry=0x1225c30 <bss_sbrk_buffer+8251312>, attrs=attrs <at> entry=0x56e1850, spec=<optimized out>, c=c <at> entry=-1) at ../../git/src/font.c:3274
#90 0x00000000005de978 in fontset_find_font (fontset=fontset <at> entry=0x92eed15, c=c <at> entry=233, face=face <at> entry=0x56e1850, charset_id=charset_id <at> entry=-1, fallback=fallback <at> entry=false)
    at ../../git/src/lisp.h:1731
#91 0x00000000005df18d in fontset_font (fontset=fontset <at> entry=0x92eed15, c=c <at> entry=233, face=face <at> entry=0x56e1850, id=-1) at ../../git/src/fontset.c:756
#92 0x00000000005df588 in face_for_char (f=0x1225c30 <bss_sbrk_buffer+8251312>, face=face <at> 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 <at> entry=0x7fffffff8a40) at ../../git/src/xdisp.c:7338
#95 0x000000000044e04f in display_line (it=it <at> entry=0x7fffffff8a40, cursor_vpos=cursor_vpos <at> entry=0) at ../../git/src/xdisp.c:21615
#96 0x0000000000453649 in try_window (window=window <at> entry=0x1226c35 <bss_sbrk_buffer+8255413>, pos=..., flags=flags <at> 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 <at> entry=false) at ../../git/src/xdisp.c:17265
#98 0x000000000046ab37 in redisplay_window_0 (window=window <at> entry=0x1226c35 <bss_sbrk_buffer+8255413>) at ../../git/src/xdisp.c:14993
#99 0x000000000056a1ea in internal_condition_case_1 (bfun=bfun <at> entry=0x46ab00 <redisplay_window_0>, arg=arg <at> entry=0x1226c35 <bss_sbrk_buffer+8255413>, handlers=<optimized out>, 
    hfun=hfun <at> 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 <at> entry=1, map=map <at> entry=0x6a308d3, prev_event=0x0, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffdf5b, 
    end_time=end_time <at> entry=0x0) at ../../git/src/keyboard.c:2460
#104 0x00000000004ffe4d in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffe060, prompt=prompt <at> entry=0x0, dont_downcase_last=dont_downcase_last <at> entry=false, 
    can_return_switch_frame=can_return_switch_frame <at> entry=true, fix_current_buffer=fix_current_buffer <at> entry=true, prevent_redisplay=prevent_redisplay <at> 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 <at> entry=0x501520 <command_loop_1>, handlers=handlers <at> entry=0x53d0, hfun=hfun <at> entry=0x4f8810 <cmd_error>)
    at ../../git/src/eval.c:1372
#107 0x00000000004f3124 in command_loop_2 (ignore=ignore <at> entry=0x0) at ../../git/src/lisp.h:948
#108 0x000000000056a0a1 in internal_catch (tag=tag <at> entry=0xcae0, func=func <at> entry=0x4f30f0 <command_loop_2>, arg=arg <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#34096; Package emacs. (Thu, 17 Jan 2019 17:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 34096 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Toon Claes <toon <at> iotcl.com>
Cc: 34096 <at> debbugs.gnu.org
Subject: Re: bug#34096: 27.0.50; X protocol error: BadMatch (invalid
 parameter attributes) on protocol request 139
Date: Thu, 17 Jan 2019 17:47:57 +0000
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#34096; Package emacs. (Fri, 18 Jan 2019 22:48:01 GMT) Full text and rfc822 format available.

Message #11 received at 34096 <at> debbugs.gnu.org (full text, mbox):

From: Robert Marshall <robert <at> capuchin.co.uk>
To: Alan Third <alan <at> idiocy.org>
Cc: Toon Claes <toon <at> iotcl.com>, 34096 <at> debbugs.gnu.org
Subject: Re: bug#34096: 27.0.50;
 X protocol error: BadMatch (invalid parameter attributes) on protocol
 request 139
Date: Fri, 18 Jan 2019 22:37:00 +0000
On Thu, Jan 17 2019, Alan Third <alan <at> 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




Reply sent to Toon Claes <toon <at> iotcl.com>:
You have taken responsibility. (Mon, 28 Jan 2019 13:55:01 GMT) Full text and rfc822 format available.

Notification sent to Toon Claes <toon <at> iotcl.com>:
bug acknowledged by developer. (Mon, 28 Jan 2019 13:55:02 GMT) Full text and rfc822 format available.

Message #16 received at 34096-done <at> debbugs.gnu.org (full text, mbox):

From: Toon Claes <toon <at> iotcl.com>
To: Alan Third <alan <at> idiocy.org>, 34096-done <at> debbugs.gnu.org
Cc: Robert Marshall <robert <at> capuchin.co.uk>
Subject: Re: bug#34096: 27.0.50;
 X protocol error: BadMatch (invalid parameter attributes) on protocol
 request 139
Date: Mon, 28 Jan 2019 14:54:41 +0100
[Message part 1 (text/plain, inline)]
Robert Marshall <robert <at> capuchin.co.uk> writes:

> On Thu, Jan 17 2019, Alan Third <alan <at> 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

[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Feb 2019 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.