XEmacs gets SIGSEGV in sys_re_search_2 when loading UTF8 file

Bug #373454 reported by Greg S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
XEmacs
Unknown
Unknown
xemacs21 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xemacs21-mule

$ od -x /tmp/xemacs-crash-4.txt
0000000 97d0 000a
0000003

$ cat ~/.xemacs/init.el
;; Custom modified Mule font setup from
;; http://www.dotemacs.de/dotfiles/EugeneMorozov/EugeneMorozov.emacs.html
(progn
  (set-language-environment "Cyrillic-KOI8")
  (prefer-coding-system 'koi8-r)

  (set-face-font
   'default
   '("-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-1"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-2"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-3"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-4"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-5"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-7"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-8"
     "-monotype-courier new-semilight-r-*-*-17-*-*-*-*-*-iso8859-9")
   'global '(mule-fonts) 'prepend))

;; Adds unicode encodings to Mule
;; http://www.suse.de/~mfabian/suse-cjk/emacs-and-xemacs.html
(when (locate-library "un-define")
  (require 'un-define)
  (require 'unicode)
  ;; requiring unidata is optional:
  (require 'unidata))

;; Files are read as UTF-8
(set-buffer-file-coding-system-for-read 'utf-8)

$ gdb /usr/bin/xemacs-21.4.21-mule

(gdb) run /tmp/xemacs-crash-4.txt
Starting program: /usr/bin/xemacs-21.4.21-mule /tmp/xemacs-crash-4.txt
...
Warning: Missing charsets in String to FontSet conversion

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc115fa06e0 (LWP 12909)]
0x000000000053ed49 in sys_re_search_2 ()
(gdb) where
#0 0x000000000053ed49 in sys_re_search_2 ()
#1 0x000000000053f023 in sys_re_search ()
#2 0x000000000054118c in fast_string_match ()
#3 0x000000000056d536 in ?? ()
#4 0x000000000056d76d in ?? ()
#5 0x00000000005197dd in ?? ()
#6 0x0000000000483988 in ?? ()
#7 0x000000000048052e in internal_catch ()
#8 0x00000000004836b7 in call_with_suspended_errors ()
#9 0x0000000000549c08 in ?? ()
#10 0x0000000000549efc in specifier_instance ()
#11 0x000000000054a4e6 in specifier_instance_no_quit ()
#12 0x00000000004ce138 in face_property_matching_instance ()
#13 0x00000000004ce29e in ensure_face_cachel_contains_charset ()
#14 0x000000000052378c in ?? ()
#15 0x000000000052bd56 in ?? ()
#16 0x000000000052cbe1 in ?? ()
#17 0x00000000005300ad in ?? ()
#18 0x0000000000530d05 in redisplay_frame ()
#19 0x00000000005311a8 in ?? ()
#20 0x00000000005315fa in redisplay ()
#21 0x00000000004c0a33 in Fnext_event ()
#22 0x0000000000466dd5 in Fcommand_loop_1 ()
#23 0x0000000000483b06 in condition_case_1 ()
#24 0x0000000000467000 in ?? ()
#25 0x000000000048052e in internal_catch ()
#26 0x0000000000467384 in initial_command_loop ()
#27 0x000000000047d8fd in xemacs_21_4_21_x86_64_pc_linux ()
#28 0x000000000047e520 in main ()

ProblemType: Bug
Architecture: amd64
Date: Thu May 7 15:18:41 2009
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: ath_hal
Package: xemacs21-mule 21.4.21-1ubuntu3.1
PackageArchitecture: amd64
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xemacs21
Uname: Linux 2.6.24-23-generic x86_64

Tags: apport-bug
Revision history for this message
Greg S (bugs-launchpad-net-y2009) wrote :
summary: - XEmacs gets SIGSEGV when loading UTF8 file
+ XEmacs gets SIGSEGV in sys_re_search_2 when loading UTF8 file
Revision history for this message
Greg S (bugs-launchpad-net-y2009) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.