swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange problems with graph library


From: Axel von Kamp
Subject: Re: Strange problems with graph library
Date: Mon, 22 Mar 1999 15:12:57 +0000

Marcus G. Daniels wrote:

> >>>>> "AVK" == Axel von Kamp <address@hidden> writes:
>
> AVK> To reproduce this
> AVK> behaviour you can modify ModelSwarm.m in DynamicGraph-1.4.1. In
> AVK> buildObjects you can change the string which is used to label the
> AVK> nodes:
>
> AVK> [theNet addNode: [[[DiGraphNode createBegin: [self getZone]]
> AVK>   setNodeLabel: "Node"]
> AVK>  createEnd]];
>
> I tried strings varying in length from 0 to 40 characters, and it
> didn't crash.  A backtrace might provide a clue, though.

Ok. I've got no experience with gdb so this is what I've done:

address@hidden DynamicGraph-1.4.1]$ gdb dynamicGraph core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or 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.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `dynamicGraph'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: Input/output error

#0  0x4022905f in ?? () from /usr/lib/libtk8.0.so
(gdb) bt
#0  0x4022905f in ?? () from /usr/lib/libtk8.0.so
#1  0x40063b87 in ?? () from /usr/lib/swarm/libtkobjc.so.4
#2  0x4005d722 in ?? () from /usr/lib/swarm/libtkobjc.so.4
#3  0x804cbda in _i_DiGraphNode__setCanvas_withRandPosFunc_
(self=0x8132658,
    _cmd=0x805b318, aCanvas=0x812f910, posFunc=0x8134200) at
DiGraphNode.m:42
#4  0x804b48c in _i_DiGraph__addNode_ (self=0x8132628, _cmd=0x805ac34,
    aNode=0x8132658) at DiGraph.m:153
#5  0x804a454 in _i_ModelSwarm__buildObjects (self=0x810e328,
_cmd=0x805af48)
    at ModelSwarm.m:75
#6  0x804ac7c in _i_ObserverSwarm__buildObjects (self=0x81018b8,
    _cmd=0x805a9b4) at ObserverSwarm.m:64
#7  0x8049fc9 in main (argc=1, argv=0xbffffa28) at main.m:22
(gdb)

I hope this helps...


                  ==================================
   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]