[info-performer] stringlength of node names

Date view Thread view Subject view Author view

From: Marc Erich Latoschik (marcl++at++techfak.uni-bielefeld.de)
Date: 02/03/2004 01:18:05


Hi pfAll,

we are currently running into a strange behaviour when setting node
names to some lengthy strings. We are running RedHat 8 and Performer
3.01 using gcc 2.95.3 and gcc 3.2.

After loading, the nodes will get their names set to the place in the
file system where they are stored, e.g.:
"/vol/project/share/data/database23/MyParts/Inventor-Models/V23234900.iv"
This causes a crash in the string method strcmp. Debugger trace shows:

#0 0x40815b38 in strcmp () from /lib/i686/libc.so.6
#1 0x40b94743 in _pfCompareName () at eval.c:41
#2 0x40bdcddd in _pfHashTable::findUnique () at eval.c:41
#3 0x40b91dcc in pfNode::nb_setName () at eval.c:41

Here comes stuff from our calling routines:

#4 0x596d5baf in fpOldLoadFile::fieldHasChangedLocalSideEffect (
     this=0x440fb918, field=++at++0x440fbcc4)
     at /usr/include/Performer/pf/pfNode.h:111
#5 0x40511c0e in fpFieldContainer::fieldChanged (this=0x440fba5c,
     field=++at++0x440fbcc4)
     at /vol/avango-src/src/libfp/nodes/fpFieldContainer.c++:442
#6 0x404fc591 in fpField::fieldChanged (this=0x440fbcc4)
     at /vol/avango-src/src/libfp/fields/fpField.c++:212
#7 0x405b33af in fpSingleField<fpString>::setValue (this=0x440fbcc4,
     v=++at++0xbfff8498) at ../../../include/libfp/fields/fpSingleField.h:78
#8 0x405b49b9 in fpSingleField<fpString>::setSchemeValue (this=0x440fbcc4,
     obj={data = 1107194552, tag = 22})
     at ../../../include/libfp/fields/fpSingleField.h:100
#9 0x404fd115 in fpField::setValueCB (obj=0x440fbcc4, arg_list=
       {data = 1107785448, tag = 18})

Any clues for that?

thx


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Feb 03 2004 - 01:26:28 PST