You are not logged in.

#1 2023-08-12 10:37:29

poplin
Member
Registered: 2014-01-15
Posts: 3

[SOLVED] emacs crash after update to v29

Hello there!

After updating emacs to version 29 (already tried 29.1-3 and 29.1-4) it crashed with:

$ emacs
X protocol error: BadValue (integer parameter out of range for operation) on protocol request 91
Serial no: 1035

When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://gitlab.gnome.org/GNOME/gtk/issues/221
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
emacs(+0x1b0c56)[0x560beade5c56]
emacs(+0x4bdbe)[0x560beac80dbe]
emacs(+0x4cd02)[0x560beac81d02]
emacs(+0x162856)[0x560bead97856]
emacs(+0x162944)[0x560bead97944]
emacs(+0x162b7b)[0x560bead97b7b]
/usr/lib/libX11.so.6(_XError+0x11c)[0x7f874456168c]
/usr/lib/libX11.so.6(+0x44798)[0x7f8744561798]
/usr/lib/libX11.so.6(_XReply+0x3c1)[0x7f8744563421]
/usr/lib/libX11.so.6(XQueryColor+0x65)[0x7f8744558285]
emacs(+0x2ffb8e)[0x560beaf34b8e]
emacs(+0x16f7a6)[0x560beada47a6]
emacs(+0x278966)[0x560beaead966]
emacs(+0x2358ce)[0x560beae6a8ce]
emacs(+0x2363fa)[0x560beae6b3fa]
emacs(+0x278966)[0x560beaead966]
emacs(+0x236619)[0x560beae6b619]
emacs(+0x22b32a)[0x560beae6032a]
emacs(+0x191b47)[0x560beadc6b47]
emacs(+0x224bf7)[0x560beae59bf7]
emacs(+0x191b8a)[0x560beadc6b8a]
emacs(+0x224b3a)[0x560beae59b3a]
emacs(+0x193d87)[0x560beadc8d87]
emacs(+0x2fe5bb)[0x560beaf335bb]
emacs(+0x195e01)[0x560beadcae01]
emacs(+0x5d6b9)[0x560beac926b9]
/usr/lib/libc.so.6(+0x27cd0)[0x7f8743227cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7f8743227d8a]
emacs(+0x5ebd5)[0x560beac93bd5]
Aborted (core dumped)

Ignoring init file (-Q) shows same error.  Running as daemon works but as far as I run emacsclient crashes.  Running with no window system option (-nw) it works.  To have the GUI I need to downgrade to emacs-28.2.2.

Do you have any idea where to start looking for solutions?.  Already checked the etc/PROBLEMS and nothing there concerning this specific error. I've browsed around and I couldn't find anyone reporting something similar.

Thanks in advance for any help!

Last edited by poplin (2023-08-13 22:20:40)

Offline

#2 2023-08-12 12:32:52

seth
Member
Registered: 2012-09-03
Posts: 44,963

Re: [SOLVED] emacs crash after update to v29

https://tronche.com/gui/x/xlib/color/XQueryColor.html
Is this emacs or emacs-wayland (ie. w/ --with-pgtk)?

Offline

#3 2023-08-13 22:20:02

poplin
Member
Registered: 2014-01-15
Posts: 3

Re: [SOLVED] emacs crash after update to v29

Thanks for your comment.

seth wrote:

Is this emacs or emacs-wayland (ie. w/ --with-pgtk)?

No, it is the regular emacs.



I've found the problem though, in my xorg.conf I had

Section "Screen"
       ...
       DefaultDepth    30 

Changing that value to 24 solved the issue.

Last edited by poplin (2023-08-13 22:21:12)

Offline

Board footer

Powered by FluxBB