Okay... I have a functional workaround for this bug, but the segfault
itself should still be pushed upstream so that the xemacs devs can fix
it. The application is choking when it can't populate a font struct
during initialisation; I guess they never try to clean up for this
condition, which is causing the app to throw a segmentation fault...
anyhow, on ubuntu the reason this is happening is that when you have a
machine that has been carried forward from an older version of ubuntu
(dapper, or breezy), the xorg.conf will have bad loadpath lines for
fonts. Before and after clauses from my xorg.conf:

#Section "Files"
#       FontPath        "/usr/share/X11/fonts/misc"
#       FontPath        "/usr/share/X11/fonts/cyrillic"
#       FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
#       FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
#       FontPath        "/usr/share/X11/fonts/Type1"
#       FontPath        "/usr/share/X11/fonts/100dpi"
#       FontPath        "/usr/share/X11/fonts/75dpi"
#       # path to defoma fonts
#       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
#EndSection

Section "Files"
         # paths to defoma fonts
         FontPath "/usr/share/fonts/X11/misc"
         FontPath "/usr/share/fonts/X11/cyrillic"
         FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
         FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
         FontPath "/usr/share/fonts/X11/Type1"
         FontPath "/usr/share/fonts/X11/CID"
         FontPath "/usr/share/fonts/X11/100dpi"
         FontPath "/usr/share/fonts/X11/75dpi"
         FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
         FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

... the faulty fontpath  clause is commented out. The new one is below
it. Once this change was made to my xorg.conf and the server was
restarted, XEmacs and GNUEmacs both worked again as advertised. The fact
that this exposes a segfault in xemacs is a bug for upstream in my
oppinion. This should be something that is checked for when doing a
dist-upgrade from breezy or dapper.

Brian

-- 
xemacs segfaults on edgy powerpc system
https://launchpad.net/bugs/58856

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to