[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
crash on Alpha box
From: |
Bohdan DURNOTA |
Subject: |
crash on Alpha box |
Date: |
Mon, 10 Feb 1997 16:41:16 +1100 (EST) |
I am trying to install the new Swarm release on an Alpha
box. Have got through the install relatively unscathed
(although quite a few warning messages re. casting b/n
integers and pointers), and compiled the first demo -
the heatbugs. But then when I tried to run, it seg faulted.
I have included a dbx (Alpha debugger) trace [and also
a gdb trace] --- it is suggestive of a receiver object
not actually existing. However ... a bit stuck at this
point in time. Any help would be appreciated.
Thanks, Bohdan Durnota (Dept Comp Sci, Melbourne Uni)
---------dbx snapshot-------------
agent-orange% gmake
gcc -g -L../../lib -L/home/agents/lib -L/home/agents/tk/lib -v -o market
agents.o forecast.o history.o Market.o main.o MarketModelSwarm.o
MarketObserverSwarm.o -lanalysis -lsimtools -ltkobjc -lactivity -lrandom
-lswarmobject -lcollections -ldefobj -ltclobjc -lBLT -ltk4.1 -ltcl7.5 -lXpm
-lobjc -lX11 -lm
Reading specs from
/usr/local/apps/gcc-2.7.2/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/specs
gcc version 2.7.2
/usr/local/apps/gcc-2.7.2/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/ld -G 8 -O1
-call_shared -o market /usr/lib/cmplrs/cc/crt0.o -L../../lib -L/home/agents/lib
-L/home/agents/tk/lib
-L/usr/local/apps/gcc-2.7.2/lib/gcc-lib/alpha-dec-osf3.2/2.7.2
-L/usr/lib/cmplrs/cc -L/usr/local/apps/gcc-2.7.2/lib agents.o forecast.o
history.o Market.o main.o MarketModelSwarm.o MarketObserverSwarm.o -lanalysis
-lsimtools -ltkobjc -lactivity -lrandom -lswarmobject -lcollections -ldefobj
-ltclobjc -lBLT -ltk4.1 -ltcl7.5 -lXpm -lobjc -lX11 -lm -lgcc -lc -lgcc
agent-orange% dbx market
dbx version 3.11.8
Type 'help' for help.
main: 23 initSwarm(argc, argv);
(dbx) run
signal Segmentation fault at [objc_msg_lookup:115 ,0x1200fa84c] Source
not available
(dbx) where
> 0 objc_msg_lookup(receiver = 0x4008e310, op = 0x1400154c0) ["sendmsg.c":115,
> 0x1200fa84c]
1 _c_Map_c__createBegin_(self = 0x14008fd90, _cmd = 0x140011b00, aZone =
0x4008e310) ["Map.m":55, 0x12005ebf8]
2 _i_ProbeLibrary__createEnd(self = 0x140099990, _cmd = 0x140019730)
["ProbeLibrary.m":16, 0x120056cb4]
3 __objc_init_install_dtable(receiver = 0x11ffff660, op = 0x140019730)
["sendmsg.c":208, 0x1200fadd0]
4 _c_CreateDrop_s__create_(self = 0x140011a90, _cmd = 0x14000fe00, aZone =
0x14008e310) ["Create.m":28, 0x12006bff4]
5 __objc_init_install_dtable(receiver = 0x11ffff7d0, op = 0x14000fe00)
["sendmsg.c":208, 0x1200fadd0]
6 initProbing() ["probing.m":22, 0x12004ed50]
7 initSwarm(argc = 1, argv = 0x11ffffa68) ["simtools.m":32, 0x120022518]
8 main(argc = 1, argv = 0x11ffffa68) ["main.m":23, 0x12001f4cc]
(dbx) p *receiver
can't read from process (address 0x4008e310)
(dbx) quit
----------------------------------
---------gdb snapshot-------------
mundook% gdb heatbugs
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (alpha-dec-osf3.2), Copyright 1995 Free Software Foundation, Inc...
(gdb) run
Starting program: /mount/munkora/home/agents/swarm1.0.0/demos/heatbugs/heatbugs
Program received signal SIGSEGV, Segmentation fault.
objc_msg_lookup (receiver=0x40099310, op=0x140019e90) at sendmsg.c:115
sendmsg.c:115: No such file or directory.
(gdb) where 10
#0 objc_msg_lookup (receiver=0x40099310, op=0x140019e90) at sendmsg.c:115
#1 0x12006d0dc in _c_Map_c__createBegin_ (self=0x14009f110, _cmd=0x1400164d0,
aZone=0x40099310) at Map.m:55
#2 0x120065198 in _i_ProbeLibrary__createEnd (self=0x1400a2550,
_cmd=0x14001e100) at ProbeLibrary.m:16
#3 0x1201092b4 in __objc_init_install_dtable (receiver=0x11ffff760,
op=0x14001e100) at sendmsg.c:208
#4 0x12007a4d8 in _c_CreateDrop_s__create_ (self=0x140016460,
_cmd=0x140014a00, aZone=0x140099310) at Create.m:28
#5 0x1201092b4 in __objc_init_install_dtable (receiver=0x11ffff8d0,
op=0x140014a00) at sendmsg.c:208
#6 0x12005d714 in initProbing () at probing.m:22
#7 0x12002c03c in initSwarm (argc=1, argv=0x11ffffb68) at simtools.m:32
#8 0x12001ece0 in main (argc=1, argv=0x11ffffb68) at main.m:19
#9 0x12001d9b0 in __start ()
(More stack frames follow...)
------------------------------------
_____________________________________________________________________
Bohdan Durnota
Department of Computer Science Parkville 3052
Melbourne University Australia
email: address@hidden
phone: +61-3-93449116
fax: +61-3-93481184
____________________________________________________________________
- crash on Alpha box,
Bohdan DURNOTA <=