Re: perfly crashes on Irix 6.5

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan++at++southpark.engr.sgi.com)
Tue, 20 Oct 1998 15:20:45 -0700 (PDT)


On Oct 20, 2:38pm, Roy Ruddle wrote:
> I encountered a problem loading .iv files that contain SoText3 (e.g.,
> 0.iv; attached) into Performer 2.2.1 and have managed to replicate it
> using a simple test program (bug_text3.c++; attached).
>
> The problem is simple. The IGL_O32 and IGL_N32 versions both crash, but
> the OGL_O32 and OGL_N32 versions are OK. I also recreated the problem
> using the as-supplied versions of perfly and, interestingly, the OGL_O32
> of that also crashed (the OGL_N32 version was the only version that
> worked).

I bet this is caused by some under-the-hood IRIS GL & OpenGL
interaction. The Inventor loader builds an Open Inventor scene graph
and then does a traversal to generate Performer nodes. Open Inventor
(2.0.x) is based on OpenGL, but to create the 3D text nodes calls
some functions in libFL, which then goes deep into libfm, the _IRIS
GL_ font manager. This seems destined for trouble.

A workaround would be to first convert your 3D-text-filled Inventor
files to pfb format with the _OpenGL_ version of 'pfconv'. The
Inventor loader just tesselates 3D text anyways, so you won't lose
anything in the conversion to pfb. After conversion, you should be
able to load that pfb file into perfly_igl, or your own IRIS GL based
program.

> PS. When I link the s/w I get a lot of warnings, e.g.:
> ld: INFO 31: libC.so specified in the "libpfutil_igl.so"'s liblist
> has a timestamp mismatch with
> the one specified in the link-line. -- NON-QUICKSTART
> Use linker option -v to see which dso is used.
> Use elfdump -Dl <executable> to dump the liblist information.

We should probably do something to clean up these warnings, but this one
is harmless.

Allan

-- 
Allan Schaffer                                                allan++at++sgi.com
Silicon Graphics                               http://reality.sgi.com/allan

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 20 1998 - 15:20:54 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.