SL Baur <steve(a)xemacs.org> writes:
 Gunnar Evermann
<Gunnar.Evermann(a)nats.informatik.uni-hamburg.de> writes:
 
 > beta38-pre1 works if I compile without workshop support (see
 > build-report below)
 
 Do you have the `pc' package installed? 
At first I didn't but when I added it nothing changed, so I removed it 
again. Right now I only have:
Sun-1.05-pkg.tar.gz	mail-lib-1.10-pkg.tar.gz
tooltalk-1.04-pkg.tar.gz	xemacs-base-1.18-pkg.tar.gz
 Jason has reported problems with Workshop support for quite awhile
 now.   
Oh, I must have missed those (Jason uses x86, right?)
 Maybe someday, someone with access to a Sun will fix it. 
I do have the access, but lack the knowledge :-(
 > If I compile --with-workshop xemacs crashes (see Lisp/C
backtraces
 > this looks very similar to the crash George reported in his bleeding
 > edge OS/cc environment)
 
 I have a feeling this is fixed by Jareth's image patch.
 
 I'm going to make another snapshot tonight, btw. 
didn't help! (same backtrace, see below)
I ran xemacs from inside dbx and put a breakpoint in
print_error_message.
  -  at first everything looks great (I think?!)
(dbx) pobj error_object
(struct Lisp_Cons *) 7319308 = 0x6faf0c
*(struct Lisp_Cons *) 7319308 = {
    lheader = {
        type = 6U
        mark = 0
        pure = 0
    }
    car     = 5992620
    cdr     = 7319260
}
(dbx) pobj stream
(struct Lisp_Symbol *) 5992480 = 0x5b7020
*(struct Lisp_Symbol *) 5992480 = {
    lheader  = {
        type = 5U
        mark = 0
        pure = 0
    }
    next     = (nil)
    name     = 0x4aa9f4
    value    = 5992480
    function = 5719156
    obarray  = 0
    plist    = 5992452
}
Symbol name: 0x477cb8 "t"
  -  at line 664 "Wrong type argument:" is printed by FPrinc
  -  the first time Fprin1 at line 669 is executed "stringp" is printed
(dbx) pobj tail
(struct Lisp_Cons *) 7319260 = 0x6faedc
*(struct Lisp_Cons *) 7319260 = {
    lheader = {
        type = 6U
        mark = 0
        pure = 0
    }
    car     = 6072408
    cdr     = 7319248
}
  -  tail= Fcdr(tail) is executed
(dbx) pobj tail
(struct Lisp_Cons *) 7319248 = 0x6faed0
*(struct Lisp_Cons *) 7319248 = {
    lheader = {
        type = 6U
        mark = 0
        pure = 0
    }
    car     = 6067492
    cdr     = 5992452
}
at the next call to FPrin1 at line 669 everything blows up!
in FPrin1:      (dbx) pobj object
warning: subscript out of range
Unknown Lisp Object type
object = 6067492
I'm not sure what to do next.... (I promise to read the Internals
Manual over the weekend :-) )
  Gunnar
----------------------------------------------------------------------
(dbx) where
  [1] 0x4b0360(0x5c9524, 0x5d21e0, 0x1, 0xefffda74, 0x13, 0x0), at 0x4b035f
=>[2] print_internal(obj = 6067492, printcharfun = 6103520, escapeflag = 1), line 1203
in "print.c"
  [3] print_cons(obj = 7315628, printcharfun = 6103520, escapeflag = 1), line 904 in
"print.c"
  [4] print_internal(obj = 7315664, printcharfun = 6103520, escapeflag = 1), line 1203 in
"print.c"
  [5] Fprin1(object = 7315664, stream = 6103520), line 502 in "print.c"
  [6] Fbacktrace(stream = 6103520, detailed = 5992480), line 4927 in "eval.c"
  [7] fatal_error_signal(sig = 4), line 244 in "emacs.c"
  ---- called from signal handler with signal 4 (SIGILL) ------
  [8] 0x4b0360(), at 0x4b035f
  [9] Fprin1(object = 6067492, stream = 5992480), line 502 in "print.c"
  [10] print_error_message(error_object = 7315664, stream = 5992480), line 669 in
"print.c"
  [11] Fdisplay_error(error_object = 7315664, stream = 5992480), line 700 in
"print.c"
  [12] funcall_recording_as(recorded_as = 6103268, nargs = 2, args = 0xefffe7c8), line
3197 in "eval.c"
  [13] Ffuncall(nargs = 3, args = 0xefffe7c8), line 3238 in "eval.c"
  [14] Fbyte_code(bytestr = 5073904, vector = 5074044, maxdepth = 11), line 416 in
"bytecode.c"
  [15] funcall_lambda(fun = 5074248, nargs = 1, arg_vector = 0xefffeb5c), line 3599 in
"eval.c"
  [16] funcall_recording_as(recorded_as = 6070724, nargs = 1, args = 0xefffeb58), line
3200 in "eval.c"
  [17] Ffuncall(nargs = 2, args = 0xefffeb58), line 3238 in "eval.c"
  [18] call1(fn = 6070724, arg0 = 7315664), line 3912 in "eval.c"
  [19] cmd_error(data = 7315664, dummy = 5992452), line 195 in "cmdloop.c"
  [20] condition_case_1(handlers = 5992564, bfun = 0x100650 = &Feval(Lisp_Object
form), barg = 6235724, hfun = 0xa5710 = &`xemacs`cmdloop.c`cmd_error(Lisp_Object data,
Lisp_Object dummy), harg = 5992452), line 1636 in "eval.c"
  [21] top_level_1(dummy = 5992452), line 206 in "cmdloop.c"
  [22] internal_catch(tag = 6070780, func = 0xa57f0 =
&`xemacs`cmdloop.c`top_level_1(Lisp_Object dummy), arg = 5992452, threw = (nil)), line
1328 in "eval.c"
  [23] initial_command_loop(load_me = 5992452), line 285 in "cmdloop.c"
  [24] xemacs_21_0_b38_sparc_sun_solaris2_6(argc = 1, argv = 0xefffeffc, envp =
0xeffff004, restart = 0), line 1673 in "emacs.c"
  [25] main(argc = 1, argv = 0xefffeffc, envp = 0xeffff004), line 2090 in
"emacs.c"
(dbx)