>>>> BW == Ben Wing writes:
BW> Could you send
the whole backtrace? Is it in a loop?
Yes, it loops.
Here are the first and the last few stack frames:
Starting program: /usr/local/bin/xemacs -no-autoloads -vanilla -batch -eval
'(setq stack-trace-on-error t load-always-display-messages t
load-ignore-out-of-date-elc-files t load-show-full-path-in-messages t)'
-eval '(setq load-path (list (expand-file-name "mule" lisp-directory)
lisp-directory))' -l /home/crestani/src/xemacs/packages/package-compile.el
-- dired mail-lib xemacs-base edit-utils -- -l comint -l cus-face
-lfont-lock -l func-menu -l imenu -l haskell-mode -l haskell-indent -f
batch-byte-compile auto-autoloads.el
Loading /home/crestani/src/xemacs/packages/package-compile.el...
Loading /usr/local/lib/xemacs-21.5-b18/lisp/auto-autoloads.elc...
Requiring /usr/local/lib/xemacs-21.5-b18/lisp/bytecomp.elc...
Requiring /usr/local/lib/xemacs-21.5-b18/lisp/byte-optimize.elc...
Loading
/home/crestani/src/xemacs/packages/xemacs-packages/edit-utils/auto-autoloads.elc...
Loading
/home/crestani/src/xemacs/packages/xemacs-packages/xemacs-base/auto-autoloads.elc...
Loading
/home/crestani/src/xemacs/packages/xemacs-packages/mail-lib/auto-autoloads.elc...
Loading /home/crestani/src/xemacs/packages/xemacs-packages/dired/auto-autoloads.elc...
Loading /home/crestani/src/xemacs/packages/xemacs-packages/xemacs-base/comint.elc...
Requiring /home/crestani/src/xemacs/packages/xemacs-packages/xemacs-base/ring.elc...
Loading /usr/local/lib/xemacs-21.5-b18/lisp/cus-face.elc...
Loading /home/crestani/src/xemacs/packages/xemacs-packages/edit-utils/func-menu.elc...
Loading /home/crestani/src/xemacs/packages/xemacs-packages/xemacs-base/imenu.elc...
Loading
/home/crestani/src/xemacs/packages/xemacs-packages/haskell-mode/haskell-mode.el...
Program received signal SIGSEGV, Segmentation fault.
0x4045fec5 in _int_malloc () from /lib/i686/libc.so.6
(gdb) bt 20
#0 0x4045fec5 in _int_malloc () from /lib/i686/libc.so.6
#1 0x4045f06c in malloc () from /lib/i686/libc.so.6
#2 0x08087ced in xmalloc (size=76) at alloc.c:379
#3 0x08088014 in allocate_lisp_storage (size=76) at alloc.c:468
#4 0x080880b8 in basic_alloc_lcrecord (size=76, implementation=0x826fb40)
at alloc.c:515
#5 0x0808c7d6 in alloc_managed_lcrecord (lcrecord_list=141620136) at
alloc.c:2779
#6 0x0818f57f in Lstream_new (imp=0x828a600, mode=0x826fd2c "w") at
lstream.c:215
#7 0x08191923 in make_dynarr_output_stream (dyn=0x16f3b098) at
lstream.c:1582
#8 0x08117cba in undecided_convert (str=0x16f3b060,
src=0x87a3448 ";;; 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
Foundatio"..., dst=0x16f3b098, n=8192) at file-coding.c:3799
#9 0x08114386 in coding_writer (stream=0x16f3b018,
data=0x87a3448 ";;; 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
Foundatio"..., size=8192) at file-coding.c:1874
#10 0x0818f89f in Lstream_really_write (lstr=0x16f3b018,
data=0x87a3448 ";;; 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
Foundatio"..., size=8192) at lstream.c:366
#11 0x0818fbf3 in Lstream_write_1 (lstr=0x16f3b018, data=0x87a3448,
size=8192) at lstream.c:500
#12 0x0818fda5 in Lstream_write (lstr=0x16f3b018, data=0x87a3448, size=8192)
at lstream.c:588
#13 0x08117ffc in undecided_convert (str=0x16f3abf0,
src=0x87a3448 ";;; 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
Foundatio"..., dst=0x16f3ac28, n=8192) at file-coding.c:3880
#14 0x08114386 in coding_writer (stream=0x16f3aba8,
data=0x87a3448 ";;; 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
Foundatio"..., size=8192) at file-coding.c:1874
#15 0x0818f89f in Lstream_really_write (lstr=0x16f3aba8,
data=0x87a3448 ";;; 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
Foundatio"..., size=8192) at lstream.c:366
#16 0x0818fbf3 in Lstream_write_1 (lstr=0x16f3aba8, data=0x87a3448,
size=8192) at lstream.c:500
#17 0x0818fda5 in Lstream_write (lstr=0x16f3aba8, data=0x87a3448, size=8192)
at lstream.c:588
#18 0x08117ffc in undecided_convert (str=0x16f3a780,
src=0x87a3448 ";;; 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
Foundatio"..., dst=0x16f3a7b8, n=8192) at file-coding.c:3880
#19 0x08114386 in coding_writer (stream=0x16f3a738,
data=0x87a3448 ";;; 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
Foundatio"..., size=8192) at file-coding.c:1874
(More stack frames follow...)
(gdb) bt -40
#321581 0x0818f89f in Lstream_really_write (lstr=0x8762278,
data=0x87b0a58 ";;; 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
Foundatio"...,
size=8192) at lstream.c:366
#321582 0x0818fbf3 in Lstream_write_1 (lstr=0x8762278, data=0x87b0a58,
size=8192) at lstream.c:500
#321583 0x0818fda5 in Lstream_write (lstr=0x8762278, data=0x87b0a58,
size=8192) at lstream.c:588
#321584 0x08117ffc in undecided_convert (str=0x87620c0,
src=0x87b0a58 ";;; 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
Foundatio"...,
dst=0x8762040, n=8192) at file-coding.c:3880
#321585 0x08114386 in coding_writer (stream=0x8762078,
data=0x87b0a58 ";;; 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
Foundatio"...,
size=8192) at file-coding.c:1874
#321586 0x0818f89f in Lstream_really_write (lstr=0x8762078,
data=0x87b0a58 ";;; haskell-mode.el --- A Haskell editing mode
-*-coding: iso-8859-1;-*-\n\n;; Copyright (C) 1992, 1997-1998 Simon Marlow,
Graeme E Mos---Type <return> to continue, or q <return> to quit---
s, and Tommy Thorn\n;; Copyright (C) 2003 Free Software Foundatio"...,
size=8192) at lstream.c:366
#321587 0x0818fbf3 in Lstream_write_1 (lstr=0x8762078, data=0x87b0a58,
size=8192) at lstream.c:500
#321588 0x0818fda5 in Lstream_write (lstr=0x8762078, data=0x87b0a58,
size=8192) at lstream.c:588
#321589 0x08117ffc in undecided_convert (str=0x8787920,
src=0x87b0a58 ";;; 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
Foundatio"...,
dst=0x87608c8, n=8192) at file-coding.c:3880
#321590 0x08114247 in coding_reader (stream=0x87878d8,
data=0x87b5788 "ÌœQ(a)P\n{\bell-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
Foundatio"...,
size=8192) at file-coding.c:1842
#321591 0x0818ff75 in Lstream_raw_read (lstr=0x87878d8,
buffer=0x87b5788 "ÌœQ(a)P\n{\bell-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
Foundatio"...,
size=8192) at lstream.c:614
#321592 0x08190033 in Lstream_read_more (lstr=0x87878d8) at lstream.c:634
#321593 0x0819021a in Lstream_read_1 (lstr=0x87878d8, data=0xbfffca37,
size=1, override_no_partial_chars=1) at lstream.c:700
#321594 0x08190621 in Lstream_fgetc (lstr=0x87878d8) at lstream.c:882
#321595 0x08187e51 in readchar (readcharfun=142112984) at lread.c:257
#321596 0x0818b49c in readevalloop (readcharfun=142112984,
sourcename=141097772, evalfun=0x80d8aa1 <Feval>, printflag=0)
at lread.c:1445
#321597 0x08189a20 in Fload_internal (file=141097772, noerror=137143908,
nomessage=137142756, nosuffix=137143908, codesys=137064780,
used_codesys=137143908) at lread.c:767
#321598 0x080d9f70 in Ffuncall (nargs=6, args=0xbfffce34) at eval.c:3847
#321599 0x0809c9db in execute_optimized_program (
program=0x83e740c "Æ\016\036!
\035Ç\rÈ\"\031É\034\t«\f\tÈ\r\b\016\035\n%\202\205", stack_depth=11,
constants_data=0x8360658) at bytecode.c:823
#321600 0x080dfa15 in funcall_compiled_function (fun=138230244, nargs=3,
args=0xbfffd068) at eval.c:3457
#321601 0x080da15d in Ffuncall (nargs=4, args=0xbfffd064) at eval.c:3886
#321602 0x0809c9db in execute_optimized_program (
program=0x86deff0 "\b\211A\020@\031ÂÃ\t!!«\005Ã\t!\021Ä\tÅÆ#)\207|ºQ@!",
stack_depth=4, constants_data=0x83515b0) at bytecode.c:823
#321603 0x080dfa15 in funcall_compiled_function (fun=138191348, nargs=1,
args=0xbfffd288) at eval.c:3457
#321604 0x080da15d in Ffuncall (nargs=2, args=0xbfffd284) at eval.c:3886
#321605 0x0809c9db in execute_optimized_program (
program=0x86dec30 "\n¬=\016!?\205Î", stack_depth=7,
constants_data=0x8351a60) at bytecode.c:823
#321606 0x080dfa15 in funcall_compiled_function (fun=138192052, nargs=0,
args=0xbfffd4a8) at eval.c:3457
#321607 0x080da15d in Ffuncall (nargs=1, args=0xbfffd4a4) at eval.c:3886
#321608 0x0809c9db in execute_optimized_program (
program=0x86b17e8 "\vA\035ÆÇ\032\031È\r!\025\bÉa«\004Ê \210ËÌ!«\004Í
\210ËÌ!«\017ËÎ!«\aÏÐ!\210ª\004Ñ \210\f«\017\016%¬\vÒÓÔ\f!ÕQ! \210Ö \210*×
\210ËØ!«\004Ù \210ËÚ!«\004Û \210Ü \210rÝÞ!q\210ß \210àá!
\210\016)âa«\005\016* \210)ã äa«\bå ¬\004æ \210ç \210á\026+å
\004èÇ!)\207", stack_depth=4,
constants_data=0x8353248) at bytecode.c:823
#321609 0x080dfa15 in funcall_compiled_function (fun=138195792, nargs=0,
args=0xbfffd6c8) at eval.c:3457
#321610 0x080da15d in Ffuncall (nargs=1, args=0xbfffd6c4) at eval.c:3886
#321611 0x0809c9db in execute_optimized_program (
program=0x869b888 "\n«\005ÆÇ!\207È\022ÉÊ!«\tËÌÉÊ!!!\210Í
\211\034«\025\fG\rGW«\016Î\r!Î\f!k«\005Ï\f!\025)Ð\r!\025Ñ \210Ò \210Ó\016
(«\004Ȫ\006\016)\002ÔÕ\"\210Ö \210× \210Õ\eØ «\006Ù
\210ª\006ÚÛÜ\217\210Ð\r!\025\t«\rÝÞß\tà á $!\026*âã!\210\b«\005âÀ!
\210Õ\020ä \210\016%«\005âå!\210Õ\026%\v«\bæ\v@\vA\"\210)\016+
\003ç \207", stack_depth=7, constants_data=0x8353cd0) at bytecode.c:823
#321612 0x080dfa15 in funcall_compiled_function (fun=138197860, nargs=0,
args=0xbfffd840) at eval.c:3457
#321613 0x080d9817 in Feval (form=137230488) at eval.c:3668
#321614 0x080d650b in condition_case_1 (handlers=137141004,
bfun=0x80d8aa1 <Feval>, barg=137230488, hfun=0x80a7fc3 <cmd_error>,
harg=137143908) at eval.c:1924
#321615 0x080a805c in top_level_1 (unused_dummy=137143908) at cmdloop.c:223
#321616 0x080d5fc4 in internal_catch (tag=136923372,
func=0x80a8025 <top_level_1>, arg=137143908, threw=0x0, thrown_tag=0x0,
backtrace_before_throw=0x0) at eval.c:1530
#321617 0x080a813f in initial_command_loop (load_me=137143908)
at cmdloop.c:293
#321618 0x080d00d9 in xemacs_21_5_b18_i686_pc_linux (argc=33,
argv=0xbfffdcf4, unused_envp=0x0, restart=0) at emacs.c:2599
#321619 0x080d0a81 in main (argc=33, argv=0xbfffdcf4,
unused_envp=0xbfffdd7c)
at emacs.c:3039
--
Marcus