From: Anthony Bavuso (a.t.bavuso++at++larc.nasa.gov)
Date: 02/17/2000 08:04:49
I have noticed that whenever I call the mlockall() system function in a
performer application, performer core dumps during open flight model
loading, particularly loading the cody wyoming MultiGen database. It does
not bomb loading smaller simpler models like helicopter.flt. Can anyone
explain why this is happening?
I took the simple.C example from performer/src/pguide/libpf/C++ and added
the call to mlockall() at the beginning. I also added the into performer's
search path the path of the cody model.
Attached here is the source code:
I execute "simple static.flt" and here is the output to the console:
cscErnie: /usr/people/atb/software/simple % simple static.flt
========================================================================
MultiGen Inc. OpenFlight (r) loader R15.4g
for IRIS Performer 2.2.7 $Date: 1998/06/30 02:41:46 $
========================================================================
The OpenFlight (r) Loader software contained in this program is the
confidential property of MultiGen Inc.. Copyright 1998 MultiGen Inc..
All rights reserved. For further information about OpenFlight (r) Scene
Description Database, contact: MultiGen Inc., 550 South Winchester Blvd,
STE 500, San Jose CA 95128. Phone: 1-408-556-2600, Fax: 1-408-261-4102
========================================================================
Segmentation fault (core dumped)
cscErnie: /usr/people/atb/software/simple %
I then ran dbx-where on the core dump and attached here is the output:
Thanks a bunch for all you're help.
This archive was generated by hypermail 2b29 : Thu Feb 17 2000 - 08:02:11 PST