[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
another gdb question
From: |
Paul E. Johnson |
Subject: |
another gdb question |
Date: |
Thu, 18 Jun 1998 13:44:08 -0500 (CDT) |
I'm trying to do a significant reorganization of code in my project
and I know there are mistakes. It now compiles, but crashes after
building objects, probably because some object (probably a graph) gets
input that is not the right type.
Anyway, I'm looking at gdb and stepping through the code. When the
program starts to go wrong, I see a message that I can't figure out. Here
it is:
(gdb) s
_c_OrderedSet_c__createBegin_ (self=0x80e17c0, _cmd=0x80bdddc,
aZone=0x813b028) at OrderedSet.m:23
(gdb) s
_i_Zone_c__allocIVars_ (self=0x813b028, _cmd=0x80bbb38, aClass=0x80e17c0)
at Zone.m:23
(gdb) s
(gdb) s
__libc_malloc (bytes=32) at malloc.c:2544
malloc.c:2544: No such file or directory.
(gdb) n
malloc.c:2552: No such file or directory.
I have no malloc.c on my system, but i do have malloc.h.
Since heatbugs and other programs run, I don't figure this is meaningful.
Right?
The gdb output and backtrace are here, in case you can tell me what's up.
It seems find through object creation, and then boom!
(gdb) n
38 [observerSwarm go];
(gdb) n
error: ModelSwarm (instance)
|
'j
T
T
/
/
</
l
Td
l does not recognize error: ModelSwarm (instance)
%s does not recognize %s
Program received signal SIGABRT, Aborted.
0x402416a1 in __kill ()
(gdb) bt
#0 0x402416a1 in __kill ()
#1 0x402414cf in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x402426df in abort () at ../sysdeps/generic/abort.c:83
#3 0x8086c28 in objc_verror ()
#4 0x8086bd9 in objc_error ()
#5 0x808797e in _i_Object__error_ ()
#6 0x8087803 in _i_Object__doesNotRecognize_ ()
#7 0x80875d2 in _i_Object__forward__ ()
#8 0x807fe89 in __objc_forward ()
#9 0x807fcc7 in __objc_word_forward ()
#10 0x8073b1a in _i_Object_s__perform_ (self=0x8142f80, _cmd=0x80b46e0,
aSel=0x80abaec)
at DefObject.m:469
#11 0x805df38 in _i_ActionTo_0___performAction__ (self=0x81758e8,
_cmd=0x80b49d0,
anActivity=0x8167da8) at Action.m:208
#12 0x805e2d0 in _i_Activity_c___run_ (self=0x8167da8, _cmd=0x80b49b8) at
XActivity.m:162
#13 0x805e228 in _i_Activity_c___run_ (self=0x8176fd0, _cmd=0x80b49b8) at
XActivity.m:133
#14 0x805e228 in _i_Activity_c___run_ (self=0x8176df8, _cmd=0x80b49b8) at
XActivity.m:133
#15 0x805e228 in _i_Activity_c___run_ (self=0x8177590, _cmd=0x80b49b8) at
XActivity.m:133
#16 0x805e228 in _i_Activity_c___run_ (self=0x8175fa8, _cmd=0x80b49a0) at
XActivity.m:133
#17 0x805e809 in _i_Activity_c__run (self=0x8175fa8, _cmd=0x80acc30) at
XActivity.m:72
#18 0x804f227 in _i_ControlPanel__startInActivity_ (self=0x81327c8,
_cmd=0x80ace48,
activityID=0x8175fa8) at ControlPanel.m:95
#19 0x804f6a8 in _i_GUISwarm__go (self=0x813f8f8, _cmd=0x80ab648) at
GUISwarm.m:46
#20 0x804baf9 in main (argc=1, argv=0xbffffc4c) at main.m:38
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (913) 864-9086
Lawrence, Kansas 66045 FAX: (913) 864-5700
==================================
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.
==================================
- another gdb question,
Paul E. Johnson <=