[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strange list behavior
From: |
Matthew M Murphy |
Subject: |
strange list behavior |
Date: |
Thu, 6 Jan 2000 18:33:35 -0500 (EST) |
Group:
I'm receiving an interesting error, triggered by the following line of
code which is located in my bugs' step method:
printf("my lexList has %d elements \n",[lexList getCount]);
In my bug.h file, lexList is declared as follows:
id <List> lexList;
The strange part is the error I get at runtime:
address@hidden/bug
my lexList has 0 elements
*** event raised for error: InvalidArgument ***
function: _i_Object_s__doesNotRecognize_(), file: DefObject.m, line: 872
Morpheme does not recognize getCount*** execution terminating due to error
Symbol.m:173 -[Error(c) _raiseEvent:]
Aborted
The list contains morphemes, but I am not trying to send getCount to a
morpheme.
Below is a backtrace from gdb:
Program received signal SIGABRT, Aborted. 0x404cf2d1 in __kill () from
/lib/libc.so.6 (gdb) backtrace
#0 0x404cf2d1 in __kill () from /lib/libc.so.6
#1 0x404cef0d in raise () from /lib/libc.so.6
#2 0x401eb219 in debugabort () at debugabort.c:9
#3 0x4019016b in _i_Error_c__raiseEvent_ () at Symbol.m:173
#4 0x4018d138 in _i_Object_s__doesNotRecognize_ (self=0x811fa40,
_cmd=0x401a4190, sel=0x804d458) at DefObject.m:871
#5 0x4018ce5d in _i_Object_s__forward__ (self=0x811fa40, _cmd=0x805dac0,
aSel=0x804d458, argFrame=0xbffff9d4) at DefObject.m:776
#6 0x401fade3 in __objc_forward (object=0x811fa40, sel=0x804d458,
args=0xbffff9d4) at sendmsg.c:571
#7 0x401fab47 in __objc_word_forward
(rcv=0x811fa40, op=0x804d458) at sendmsg.c:499
#8 0x8049406 in _i_Bug__step (self=0x811f9e8,
_cmd=0x804de18) at Bug.m:193
#9 0x4018cc76 in _i_Object_s__perform_
(self=0x811f9e8, _cmd=0x40164b20,
aSel=0x804de18) at DefObject.m:664
#10 0x4015470b in
_i_ActionTo_0___performAction__ (self=0x81be750,
_cmd=0x40168908, anActivity=0x81be6c8) at Action.m:246
#11 0x4015b845
in _i_Activity_c___run_ (self=0x81be6c8, _cmd=0x401688f0)
at XActivity.m:189
#12 0x4015b755 in _i_Activity_c___run_
(self=0x81be1f8, _cmd=0x401688f0)
at XActivity.m:147
#13 0x4015b755 in _i_Activity_c___run_
(self=0x81bd6f0, _cmd=0x401688f0)
at XActivity.m:147
#14 0x4015b755 in _i_Activity_c___run_
(self=0x81bd508, _cmd=0x401688f0)
at XActivity.m:147
#15 0x4015b755 in _i_Activity_c___run_
(self=0x81bdd18, _cmd=0x401688f0)
at XActivity.m:147
#16 0x4015b755 in _i_Activity_c___run_
(self=0x81bc2c8, _cmd=0x401688d8)
at XActivity.m:147
#17 0x4015b649 in _i_Activity_c__run
(self=0x81bc2c8, _cmd=0x40058ad8)
at XActivity.m:76
#18 0x4004b7f7 in _i_ControlPanel__startInActivity_
(self=0x80f31b8,
_cmd=0x400592f8, activityID=0x81bc2c8) at ControlPanel.m:98
#19 0x4004c2d3 in _i_GUISwarm__go (self=0x80f9800, _cmd=0x804d580)
at GUISwarm.m:49
#20 0x80498fd in main (argc=1, argv=0xbffffc54) at main.m:40
I'd be interested in any suggestions that anyone might have...
Matt
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- strange list behavior,
Matthew M Murphy <=