[LispM-Hackers] FreeBSD error

Robert Swindells rjs@fdy2.demon.co.uk
Tue, 8 Jan 2002 22:26:42 GMT


I had a go at building the e3 snapshot yesterday under FreeBSD 4.4
since I couldn't get anonymous CVS to work.

It builds fine with a couple of minor changes, but dumps core in
mainops.cc on line 178 (marked with "=>")

    case E3_DTP_FUNCTION:	// Compiled function par 11.2.1
      cout << "FOO!!!!!!!!!!!!!!!\n";
      {
	e3WordAddr new_function_address = operand.getPointer();
	memFEFHeader new_function_fef(new_function_address);
	cout << "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
	e->dumpMemory(new_function_address, 50);
	new_function_fef.dump(cout);
=>	abort();
	exit(0);
      }
      break;

    case E3_DTP_CLOSURE:	// Indirect function par 11.2.3.2
    case E3_DTP_LEXICAL_CLOSURE:
      E3NotYetImplemented("CALL_1_DEST_INDS::execute -- unimplemented call to indirect function.\n");

The last few lines of the trace were:

 ...
 pc=405 POP LOCAL|#o0
 pc=406 SET_NIL FEF|#o52
 pc=407 SET_NIL FEF|#o53
 pc=410 SET_NIL FEF|#o50
 pc=411 SET_NIL FEF|#o51
 pc=412 TEST ARG|#o0
 pc=413 SET_NIL FEF|#o47
 pc=414 SET_NIL FEF|#o46
 pc=415 BR_NOT_NIL FEF|#o17
Abort(core dumped)

Does this trace match the one on Linux ?

Robert Swindells