Re: xedit segfault on open

Alan Coopersmith <[email protected]> Wed, 15 Oct 2025 09:06:08 -0700
Newsgroups gmane.linux.debian.ports.sparc
Message-ID <[email protected]>
On 10/15/25 06:49, John Paul Adrian Glaubitz wrote:
> It crashes here:
> 
> https://salsa.debian.org/xorg-team/app/x11-apps/-/blob/debian-unstable/xedit/lisp/bytecode.c?ref_type=heads#L1267
> 
> That code looks like at first sight it can caused unaligned access.

Unfortunately the one upstream developer who knew the lisp code hasn't
been involved in xedit in many years.

> Please report this upstream here:
> 
> https://gitlab.freedesktop.org/xorg/app/xedit
> 
> The maintainer works at Oracle on Solaris SPARC, so he would certainly
> be interested to hear about this crash.

Except that we don't ship xedit in Solaris - emacs, vim, nano, & gedit
seem to be enough to satisfy our users.  (We don't build emacs with the
optional tree-sitter support in Solaris, so don't hit problems with its
node.js dependency as you do.)

I'll see if we can figure this out as spare time allows, but it's not a
priority.   (As you can see from the new bug being only the third bug
reported against xedit in years, it's not widely used today.)