Subject: LambdaMoo on an RT?

From: Syon Bhattacharya <[email-masked]>
Date: Fri, 2 Apr 1993 10:38:25 -0800

has anyone compiled MOO1.7 for the IBM RT running AOS4 or BSD4.3
(rt_r3)?  I can get it to compile with no warnings, but dies immediately
after "connect wizard" on the LambdaCore-24Nov92 database.  I am using
gcc 1.35.99.  Perhaps it dies because of a bug in the compiler or in
libc.  Here's the gdb output.  My vfprintf doesn't work, but that's not
a problem.

Thanks for any help

 -Syon

% gdb ./moo
GDB 2.1 - ITC 1.2, Copyright (C) 1987 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /usr/tmp/MOO-1.7.0/moo...Unknown symbol-type
code 'P' i
n dbx symbol table, assuming local.
Unknown symbol-type code 'P' in dbx symbol table, assuming local.
Unknown symbol-type code 'P' in dbx symbol table, assuming local.
Unknown symbol-type code 'P' in dbx symbol table, assuming local.
Unknown symbol-type code 'P' in dbx symbol table, assuming local.
Unknown symbol-type code 'P' in dbx symbol table, assuming local.
done.
Type "help" for a list of commands.
(gdb) run LambdaCore-24Nov92.db out.db 6666
Starting program: /usr/tmp/MOO-1.7.0/moo LambdaCore-24Nov92.db out.db 6666
Apr  1 15:31:43: STARTING: Version M$ of the LambdaMOO server
Apr  1 15:31:43:           (Using M$ protocol)
Apr  1 15:31:43:           (Task timeouts measured in M$ seconds.)
Apr  1 15:31:43: LOADING:
Apr  1 15:33:04: VALIDATING the object hierarchies ...
Apr  1 15:33:04: VALIDATING the object hierarchies ... finished.
Apr  1 15:36:50: LOADING:  done, will dump new database on
Apr  1 15:37:04: ACCEPT: #101509 on YAL]Q|n
Apr  1 15:37:14: :  on
 
Program received signal 10, Bus error
0x36b64 in .strlen (273282944, -1)
(gdb) where
#0  0x36b64 in .strlen (273282944, -1)
#1  0x1d36c in .stream_length (273282944, 26045, -1, 273162336, 8056,
273282944,
 0, 268459076, 194472, 15, 1, 268458037, 52174, 5368
55060, 536855016, 536855016, 536855016, 268439204, 26990, 536855068,
536855068, 
536855068, 536855068, 9, 273066368, -1, 536855168, 2
73065881, 2, 536855072, 272199216, 272199217, 536855072, 268439176,
26714, 0, -1
, 0, 273282944, 7, 137122, 0, 273162336, 10, 67280,
175074848, 268459624, 536856572, 67094, s=(Stream *) 0x1fffc334)
(streams.c line
 117)
#2  0x674a in .run (137122, 0, 273162336, 10, 67280, 175074848,
268459624, 53685
6572, 67094, 536855348, 268459088, 196066, 273153792
, 273065903, 273065904, 536855988, 268439384, 45052, 536855344,
536855188, 53685
5344, 32, 12, 273066368, 273292800, 273153792, 27315
3792, 48, 272199217, 536855988, 268439384, 38408, -1, 2, 2, 2, 58,
137122, 4, 8,
 0, 0, 2, 0, 273282944, 4, 0, 0, 5, resumption_error
=16843009) (execute.c line 84)
#3  0x685a in .print_error_backtrace (137122) (execute.c line 103)
#4  0x9608 in .run (0, 28, 1, 5, 273282416, 0, 273282416, 2, 4, 4, 1,
268546208,
 273282944, 0, 268484928, 273071104, 104772, 5368568
40, 536856352, 536856352, 268447192, 108672, 536856840, 536856372,
536856372, 26
8447192, 67280, 0, 0, 536856444, 536856428, 53685630
8, 536856308, 536856308, 268439652, 49758, 536856336, 536856336,
268438420, 2255
8, 76, 272192064, -1, 273282720, 4, 6, 273292288, 26
8458420, 268486608, resumption_error=E_NONE) (execute.c line 821)
#5  0xbe9c in .set_task_kind (272192064, -1) (execute.c line 1263)
#6  0xc25e in .do_server_task (2, 102726, 273282720, 4, 6, 268535680,
272192064,
 2, 8, 2, -1) (execute.c line 1332)
#7  0x1f86c in .kill_task (2, 2, 102726, 273282720, 4, 0, 273153856,
273153824, 
4, 11, 2, 536856732, 268447256, 109030, 114132, 2684
59624, 110138, 536857100, 536856944, 269310832, 273242976, 268450508,
536856832,
 536856832, 536856832, 536856832, 268449752, 129132,
 733696624, 536856980, 536856832, 536856832, 733696634, 536856840,
536856840, 53
6856840, 268446532, 105208, 268493760, 536856840, 26
8448248, 117902, -2, 2, 104798, 2, 1, 2, 0, id=273070912, owner=0)
(tasks.c line
 762)
#8  0x19206 in .register_server (2) (server.c line 255)
#9  0x19af8 in .register_server (-2, 2, 0) (server.c line 455)
#10 0x1edb8 in .kill_task (273072000, 273166624, 536857411, 273242960,
733696625
, 32765, 536857346, 536857296, 536857296, 536857296,
 536857296, 268449752, 129132, 536857320, 268447512, 268437320,
268500992, 53685
7296, 536857296, 268446232, 536857620, 536857304, 26
8442396, 72086, 272077120, 0, 3600, 733696633, 0, 5, 0, 0, 273072000,
733696633,
 0, 273294592, 67280, 536857408, 8, 536857504, 1, 27
3153656, 273153632, 536857410, 83747, 1868981760, 1868955648,
1952972800, 268437
320, id=0, owner=268459644) (tasks.c line 472)
#11 0x1f66e in .kill_task (0, 273282624, 4, 0, 733696633, 0, 0, 2, -1,
0, 0, 0, 
0, 0, 0, 0, 0, 0, 733696611, 536857684, 268463316, 2
16174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268437320, 268485312, 536857620,
536857620, 26
8446628, 105862, 0, 0, 0, 0, 0, 536857991, 536858013
, 0, 0, 0, 0, 0, id=0, owner=0) (tasks.c line 699)
#12 0x194b2 in .register_server () (server.c line 306)
#13 0x19d86 in .register_server (4, 536857872) (server.c line 502)
(gdb)
#0  0x36b64 in .strlen (273282944, -1)
#1  0x1d36c in .stream_length (273282944, 26045, -1, 273162336, 8056,
273282944,
 0, 268459076, 194472, 15, 1, 268458037, 52174, 5368
55060, 536855016, 536855016, 536855016, 268439204, 26990, 536855068,
536855068, 
536855068, 536855068, 9, 273066368, -1, 536855168, 2
73065881, 2, 536855072, 272199216, 272199217, 536855072, 268439176,
26714, 0, -1
, 0, 273282944, 7, 137122, 0, 273162336, 10, 67280,
175074848, 268459624, 536856572, 67094, s=(Stream *) 0x1fffc334)
(streams.c line
 117)
#2  0x674a in .run (137122, 0, 273162336, 10, 67280, 175074848,
268459624, 53685
6572, 67094, 536855348, 268459088, 196066, 273153792
, 273065903, 273065904, 536855988, 268439384, 45052, 536855344,
536855188, 53685
5344, 32, 12, 273066368, 273292800, 273153792, 27315
3792, 48, 272199217, 536855988, 268439384, 38408, -1, 2, 2, 2, 58,
137122, 4, 8,
 0, 0, 2, 0, 273282944, 4, 0, 0, 5, resumption_error
=16843009) (execute.c line 84)
#3  0x685a in .print_error_backtrace (137122) (execute.c line 103)
#4  0x9608 in .run (0, 28, 1, 5, 273282416, 0, 273282416, 2, 4, 4, 1,
268546208,
 273282944, 0, 268484928, 273071104, 104772, 5368568
40, 536856352, 536856352, 268447192, 108672, 536856840, 536856372,
536856372, 26
8447192, 67280, 0, 0, 536856444, 536856428, 53685630
8, 536856308, 536856308, 268439652, 49758, 536856336, 536856336,
268438420, 2255
8, 76, 272192064, -1, 273282720, 4, 6, 273292288, 26
8458420, 268486608, resumption_error=E_NONE) (execute.c line 821)
#5  0xbe9c in .set_task_kind (272192064, -1) (execute.c line 1263)
#6  0xc25e in .do_server_task (2, 102726, 273282720, 4, 6, 268535680,
272192064,
 2, 8, 2, -1) (execute.c line 1332)
#7  0x1f86c in .kill_task (2, 2, 102726, 273282720, 4, 0, 273153856,
273153824, 
4, 11, 2, 536856732, 268447256, 109030, 114132, 2684
59624, 110138, 536857100, 536856944, 269310832, 273242976, 268450508,
536856832,
 536856832, 536856832, 536856832, 268449752, 129132,
 733696624, 536856980, 536856832, 536856832, 733696634, 536856840,
536856840, 53
6856840, 268446532, 105208, 268493760, 536856840, 26
8448248, 117902, -2, 2, 104798, 2, 1, 2, 0, id=273070912, owner=0)
(tasks.c line
 762)
#8  0x19206 in .register_server (2) (server.c line 255)
#9  0x19af8 in .register_server (-2, 2, 0) (server.c line 455)
#10 0x1edb8 in .kill_task (273072000, 273166624, 536857411, 273242960,
733696625
, 32765, 536857346, 536857296, 536857296, 536857296,
 536857296, 268449752, 129132, 536857320, 268447512, 268437320,
268500992, 53685
7296, 536857296, 268446232, 536857620, 536857304, 26
8442396, 72086, 272077120, 0, 3600, 733696633, 0, 5, 0, 0, 273072000,
733696633,
 0, 273294592, 67280, 536857408, 8, 536857504, 1, 27
3153656, 273153632, 536857410, 83747, 1868981760, 1868955648,
1952972800, 268437
320, id=0, owner=268459644) (tasks.c line 472)
#11 0x1f66e in .kill_task (0, 273282624, 4, 0, 733696633, 0, 0, 2, -1,
0, 0, 0, 
0, 0, 0, 0, 0, 0, 733696611, 536857684, 268463316, 2
16174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268437320, 268485312, 536857620,
536857620, 26
8446628, 105862, 0, 0, 0, 0, 0, 536857991, 536858013
, 0, 0, 0, 0, 0, id=0, owner=0) (tasks.c line 699)
#12 0x194b2 in .register_server () (server.c line 306)
#13 0x19d86 in .register_server (4, 536857872) (server.c line 502)
(gdb)