Multi-texture loading segfault

New Message Reply Date view Thread view Subject view Author view

From: Ulrich Hertlein (u.hertlein++at++bit-side.com)
Date: 08/15/2001 05:42:28


Hi pfAll,

I'm trying to generate .pfb files with multi-texturing. The converter I
wrote loads some objects, applies multi-texturing and texgen stuff to
them and saves a .pfb file. It also displays the generated models and
they all look ok.

However when I try to load the generated .pfb file I always get a
segmentation fault, no matter if using perfly or a custom application.
The debug log doesn't mention errors and gives the following as the last
statement:

24971 PF Info: pfdMakeShared optimizing traversal
Program received signal SIGSEGV, Segmentation fault.

And gdb spits out the following:
#0 0x4062c7d4 in pfGeoState::compare () from /usr/lib/libpf.so.1
#1 0x4065c9ea in pfMemory::compare () from /usr/lib/libpf.so.1
#2 0x4042dd7c in pfCompare () from /usr/lib/libpf.so.1
#3 0x40106443 in pfdFindSharedObject () from /usr/lib/libpfdu.so.1
#4 0x40106a57 in pfdShareGSet () from /usr/lib/libpfdu.so.1
#5 0x4010724f in shareTrav () from /usr/lib/libpfdu.so.1
#6 0x40072a5b in pfuTraverse () from /usr/lib/libpfutil.so.1
#7 0x400727e5 in travChild () from /usr/lib/libpfutil.so.1
#8 0x40072d50 in pfuTraverse () from /usr/lib/libpfutil.so.1
#9 0x400727e5 in travChild () from /usr/lib/libpfutil.so.1
#10 0x40072d50 in pfuTraverse () from /usr/lib/libpfutil.so.1
#11 0x400727e5 in travChild () from /usr/lib/libpfutil.so.1
#12 0x40072d50 in pfuTraverse () from /usr/lib/libpfutil.so.1
#13 0x40106b6a in pfdMakeShared () from /usr/lib/libpfdu.so.1
#14 0x8050a48 in initSceneGraph ()
#15 0x804f004 in InitScene ()
#16 0x804e962 in main ()

What's happening? Do I need to take additional care with multi-textured
pfGeoStates?

Thanks in advance,
-Ulrich

--
Ulrich Hertlein        |         phone:+49-30-394054-30
bit~side software gmbh | mailto:u.hertlein++at++bit-side.com
     "Writing software is more fun than working."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 05:43:17 PDT

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