Kim Michael Fairchild (fair++at++iss.nus.sg)
Mon, 2 Oct 1995 19:50:28 +0800
I have spent two days looking for a memory problem and really could
use some help (before I rewrite 500 pages in JAVA :->).
Every call to pfMalloc (from my code) was checked and I sure don't
seem to be messing up anything. The value for "arena" is always the
same.
I finally tried using sentinal (in single processor mode) to see if I
can find the error. Unfortunately the only potential memory problems
that it identified are in performer code.
Has anyone else found any memory problems with the library?
Any suggestions for looking further? The program only bombs in my
applications that have lots of objects, smaller programs work fine.
Here is the sentinal output:
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 8 bytes
at address 0x64810C0. This operation is invalid because the byte at
address 0x64810C0 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
_prInitObject() [../../../lib/libpr/object.c:86]
pfNewDPool() [../../../lib/libpr/dpool.c:129]
pfInitClock() [../../../lib/libpr/time.c:260]
pfInit() [../../../lib/libpf/pfProcess.C:545]
main() [/usr45/ve/performer/d/main.c:68]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 13
bytes at address 0x64810C8. This operation is invalid because the
byte at address 0x64810C8 is not accessible.
This problem was detected at the following location:
strcpy() [string.c:1041]
pfNewDPool() [../../../lib/libpr/dpool.c:132]
pfInitClock() [../../../lib/libpr/time.c:260]
pfInit() [../../../lib/libpf/pfProcess.C:545]
main() [/usr45/ve/performer/d/main.c:68]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 30
bytes at address 0x64811C8. This operation is invalid because the
byte at address 0x64811C8 is not accessible.
This problem was detected at the following location:
strcpy() [string.c:1041]
pfNewDPool() [../../../lib/libpr/dpool.c:133]
pfInitClock() [../../../lib/libpr/time.c:260]
pfInit() [../../../lib/libpf/pfProcess.C:545]
main() [/usr45/ve/performer/d/main.c:68]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to read 1 byte
at address 0x64811C8. This operation is invalid because the byte at
address 0x64811C8 is not accessible.
This problem was detected at the following location:
unlink() [intercept.c:9537]
pfReleaseDPool() [../../../lib/libpr/dpool.c:182]
pfInitClock() [../../../lib/libpr/time.c:334]
pfInit() [../../../lib/libpf/pfProcess.C:545]
main() [/usr45/ve/performer/d/main.c:68]
Performer Info (11): All 1 processors available on this machine.
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x103C08F8 which contains
the string '0' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
copystring() [ConnDis.c:63]
_X11TransConnectDisplay() [ConnDis.c:193]
XOpenDisplay() [OpenDis.c:218]
_GLinitgl() [../glws/wininit.c:273]
gl_g_scrnselect() [../glws/wininit.c:359]
pfConfig() [../../../lib/libpf/pfProcess.C:1064]
main() [/usr45/ve/performer/d/main.c:83]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x7FFFA7B0 which contains
the string 'luna' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
_X11TransGetHostname() [../../lib/xtrans/Xtrans.c:1390]
_X11TransConvertAddress() [../../lib/xtrans/Xtransutil.c:187]
_X11TransConnectDisplay() [ConnDis.c:333]
XOpenDisplay() [OpenDis.c:218]
_GLinitgl() [../glws/wininit.c:273]
gl_g_scrnselect() [../glws/wininit.c:359]
pfConfig() [../../../lib/libpf/pfProcess.C:1064]
main() [/usr45/ve/performer/d/main.c:83]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x103BAAD0 which contains
the string 'Silicon Graphics' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
XOpenDisplay() [OpenDis.c:465]
_GLinitgl() [../glws/wininit.c:273]
gl_g_scrnselect() [../glws/wininit.c:359]
pfConfig() [../../../lib/libpf/pfProcess.C:1064]
main() [/usr45/ve/performer/d/main.c:83]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x103B3018 which contains
the string ' ' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
read_line() [lcDB.c:281]
CreateDatabase() [lcDB.c:968]
_XlcCreateLocaleDataBase() [lcDB.c:1150]
load_public() [lcPublic.c:108]
initialize() [lcPublic.c:237]
_XlcCreateLC() [lcPubWrap.c:95]
_XlcDefaultLoader() [lcDefConv.c:342]
_XOpenLC() [lcWrap.c:297]
_XrmInitParseInfo() [lcWrap.c:360]
NewDatabase() [Xrm.c:497]
XrmGetFileDatabase() [Xrm.c:1619]
fastfinddb() [../glws/ws_resource.c:29]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x7FFF9868 which contains
the string 'X' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
get_word() [lcDB.c:356]
f_default() [lcDB.c:828]
CreateDatabase() [lcDB.c:978]
_XlcCreateLocaleDataBase() [lcDB.c:1150]
load_public() [lcPublic.c:108]
initialize() [lcPublic.c:237]
_XlcCreateLC() [lcPubWrap.c:95]
_XlcDefaultLoader() [lcDefConv.c:342]
_XOpenLC() [lcWrap.c:297]
_XrmInitParseInfo() [lcWrap.c:360]
NewDatabase() [Xrm.c:497]
XrmGetFileDatabase() [Xrm.c:1619]
fastfinddb() [../glws/ws_resource.c:29]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0x103B4750 which contains
the string 'ISO8859-1:GL' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
append_value_list() [lcDB.c:449]
store_to_database() [lcDB.c:501]
f_newline() [lcDB.c:607]
CreateDatabase() [lcDB.c:978]
_XlcCreateLocaleDataBase() [lcDB.c:1150]
load_public() [lcPublic.c:108]
initialize() [lcPublic.c:237]
_XlcCreateLC() [lcPubWrap.c:95]
_XlcDefaultLoader() [lcDefConv.c:342]
_XOpenLC() [lcWrap.c:297]
_XrmInitParseInfo() [lcWrap.c:360]
NewDatabase() [Xrm.c:497]
XrmGetFileDatabase() [Xrm.c:1619]
fastfinddb() [../glws/ws_resource.c:29]
SENTINEL: Warning [String,88]: strncpy() with a short length has resulted in
a non-NULL terminated string located at 0xF7F6C38 which contains the
string 'x' (without the NULL, of course).
This problem was detected at the following location:
strncpy() [string.c:1110]
f_numeric() [lcDB.c:805]
CreateDatabase() [lcDB.c:978]
_XlcCreateLocaleDataBase() [lcDB.c:1150]
load_public() [lcPublic.c:108]
initialize() [lcPublic.c:237]
_XlcCreateLC() [lcPubWrap.c:95]
_XlcDefaultLoader() [lcDefConv.c:342]
_XOpenLC() [lcWrap.c:297]
_XrmInitParseInfo() [lcWrap.c:360]
NewDatabase() [Xrm.c:497]
XrmGetFileDatabase() [Xrm.c:1619]
fastfinddb() [../glws/ws_resource.c:29]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 312
bytes at address 0x6A81984. This operation is invalid because the
byte at address 0x6A81984 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:97]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 16
bytes at address 0x6A81AD8. This operation is invalid because the
byte at address 0x6A81AD8 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:100]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 48
bytes at address 0x6A81B0C. This operation is invalid because the
byte at address 0x6A81B0C is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:103]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 4620
bytes at address 0x6A81B60. This operation is invalid because the
byte at address 0x6A81B60 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:106]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 48
bytes at address 0x6A82D84. This operation is invalid because the
byte at address 0x6A82D84 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:109]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 10372
bytes at address 0x6A82DD8. This operation is invalid because the
byte at address 0x6A82DD8 is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:112]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [AccOutOfBounds,99]: The program attempted to write 4 bytes
at address 0x6A8567C. This operation is invalid because the byte at
address 0x6A8567C is not accessible.
This problem was detected at the following location:
bzero() [memext.c:251]
initUtilDPool() [../shmem.c:115]
pfuInitUtil() [../shmem.c:125]
main() [/usr45/ve/performer/d/main.c:93]
SENTINEL: Warning [Signal,59]: The program has generated the signal SIGSEGV.
This is usually caused by an attempt by the program to perform an
illegal operation (address a bad memory location, execute an invalid
instruction, etc).
This signal was caught at the following location:
<<Signal Received: SIGSEGV>>
_lmalloc() [amalloc.c:719]
amalloc() [amalloc.c:76]
pfMalloc() [../../../lib/libpr/mall.c:214]
pfNode::setName() [../../../lib/libpf/pfNode.C:240]
pfNodeName() [../../../lib/libpf/cNode.C:73]
GiveMeThisObject() [/usr45/ve/performer/d/loaddata.c:966]
DezNode::CreateObject() [dez.c:244]
DezNode::SwitchIcon() [dez.c:212]
AutoIcon::SwitchRepresentations() [autoicon.c:228]
AutoIconSet::SwitchRepresentations() [autoicon.c:211]
AutoIconSet::UpdateAutoIcon() [autoicon.c:201]
WorldContext::UpdatePosition() [context.c:396]
UpdateWorld() [presentation.c:446]
WorldContext::StartWorld() [context.c:263]
GlobalContext::StartWorld() [mixins.c:158]
LoadAutoIcon() [atoken.c:592]
ISSLoadFile() [/usr45/ve/performer/d/loadfile.c:163]
doFileLoad() [/usr45/ve/performer/d/loaddata.c:303]
lfFILENAME() [/usr45/ve/performer/d/more.c:806]
doTokens() [/usr45/ve/performer/d/token.c:363]
LoadDez() [/usr45/ve/performer/d/loaddata.c:742]
ISSLoadFile() [/usr45/ve/performer/d/loadfile.c:148]
initSceneGraph() [/usr45/ve/performer/d/perfly.c:354]
InitScene() [/usr45/ve/performer/d/generic.c:304]
main() [/usr45/ve/performer/d/main.c:96]
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:56 PDT