Hi,
During compilation of haskell-mode.el XEmacs 21.5 gets a Segmentation
fault. See
http://labb.contactor.se/~matsl/smoketest/logs/2005-02-10_20-01_build-all...
for the build details.
The following patch avoids the seg fault.
----------------------------------------------------------------------
cvs diff -u haskell-mode.el
Index: haskell-mode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/haskell-mode/haskell-mode.el,v
retrieving revision 1.6
diff -u -r1.6 haskell-mode.el
--- haskell-mode.el 16 Jun 2004 15:16:49 -0000 1.6
+++ haskell-mode.el 10 Feb 2005 23:20:52 -0000
@@ -1,4 +1,4 @@
-;;; haskell-mode.el --- A Haskell editing mode -*-coding: iso-8859-1;-*-
+;;; haskell-mode.el --- A Haskell editing mode coding: iso-8859-1
;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy Thorn
;; Copyright (C) 2003 Free Software Foundation, Inc
----------------------------------------------------------------------
The backtrace, for maybe finding the real fault, from "XEmacs 21.5
(beta18) "chestnut" (+CVS-20050209) [Lucid] (i686-pc-linux) of Thu Feb
10 2005 on spencer."
----------------------------------------------------------------------
backtrace
#0 0x08087b8a in xmalloc (size=76) at /src/xemacs/working/src/alloc.c:379
#1 0x08087ecc in allocate_lisp_storage (size=76) at /src/xemacs/working/src/alloc.c:468
#2 0x08087f71 in basic_alloc_lcrecord (size=76, implementation=0x8286d00) at
/src/xemacs/working/src/alloc.c:515
#3 0x0808bdf5 in alloc_managed_lcrecord (lcrecord_list=141068312) at
/src/xemacs/working/src/alloc.c:2779
#4 0x08191012 in Lstream_new (imp=0x82a2ec0, mode=0x8286eec "w") at
/src/xemacs/working/src/lstream.c:215
#5 0x08193573 in make_dynarr_output_stream (dyn=0x90e0ad0) at
/src/xemacs/working/src/lstream.c:1582
#6 0x08116256 in undecided_convert (str=0x90e0a98,
src=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., dst=0x90e0ad0, n=8192)
at /src/xemacs/working/src/file-coding.c:3799
#7 0x081127cc in coding_writer (stream=0x90e0a50,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/file-coding.c:1874
#8 0x0819139f in Lstream_really_write (lstr=0x90e0a50,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/lstream.c:366
#9 0x08191719 in Lstream_write_1 (lstr=0x90e0a50, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:500
#10 0x081918e7 in Lstream_write (lstr=0x90e0a50, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:588
#11 0x081165f8 in undecided_convert (str=0x90e0628,
src=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., dst=0x90e0660, n=8192)
at /src/xemacs/working/src/file-coding.c:3880
#12 0x081127cc in coding_writer (stream=0x90e05e0,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/file-coding.c:1874
#13 0x0819139f in Lstream_really_write (lstr=0x90e05e0,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/lstream.c:366
#14 0x08191719 in Lstream_write_1 (lstr=0x90e05e0, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:500
#15 0x081918e7 in Lstream_write (lstr=0x90e05e0, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:588
#16 0x081165f8 in undecided_convert (str=0x90e01b8,
src=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., dst=0x90e01f0, n=8192)
at /src/xemacs/working/src/file-coding.c:3880
#17 0x081127cc in coding_writer (stream=0x90e0170,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/file-coding.c:1874
#18 0x0819139f in Lstream_really_write (lstr=0x90e0170,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/lstream.c:366
#19 0x08191719 in Lstream_write_1 (lstr=0x90e0170, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:500
#20 0x081918e7 in Lstream_write (lstr=0x90e0170, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:588
#21 0x081165f8 in undecided_convert (str=0x90dfd48,
src=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., dst=0x90dfd80, n=8192)
at /src/xemacs/working/src/file-coding.c:3880
#22 0x081127cc in coding_writer (stream=0x90dfd00,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/file-coding.c:1874
#23 0x0819139f in Lstream_really_write (lstr=0x90dfd00,
data=0x8763e90 ";;; haskell-mode.el --- A Haskell editing mode -*- coding:
iso-8859-1 -*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy
Thorn\n;; Copyright (C) 2003 Free Software Foundati"..., size=8192) at
/src/xemacs/working/src/lstream.c:366
#24 0x08191719 in Lstream_write_1 (lstr=0x90dfd00, data=0x8763e90, size=8192) at
/src/xemacs/working/src/lstream.c:500
---Type <return> to continue, or q <return> to quit---
----------------------------------------------------------------------
Yours
--
%% Mats