Re: [info-performer] pfInit fails on Linux

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 01/15/2003 13:34:01


On Wed, 15 Jan 2003 czys++at++ocag.ch wrote:

> Hi all,
>
> Sometimes my Performer 2.5 application does not start. I get the outputs
> given at the end of this mail. The error occurs if the file
> /usr/tmp/pfutil984.pfdpool already exists.

really? that's pretty interesting. the name of the pfdpool is
constructed around the application process id (pid). so the name is:
pfutil%d.pfdpool where %s is the result of a getpid().

> If I delete the file and start
> again, then it works. Is this really the only problem and is it sufficient
> to delete the file?
> I wonder that the output says first that
> pfDataPool::create() succeeded:
> "984 PF Debug/Resource(11): pfDataPool::create() - pid 984 - 131072 bytes
> at 0x0x4d36e000 succeeded for /usr/tmp/pfutil984.pfdpool"
> And then it says that it failed:
> "984 PF Warning/Resource: pfDataPool::create() could not malloc arena
> shared memory for /usr/tmp/pfutil984.pfdpool."

i'm not sure how your app is pulling that off. the name gets created in
initUtilDPool in shmem.c in /usr/share/Performer/src/lib/libpfutil/. And
that only gets done if UtilDP is NULL. So, even if you call initUtilDPool
(via pfuInit() or something), that section of code should only get
executed once.
-tom

>
> Thanks for any explanation,
> Yves
>
> 984 PF Debug/Resource(22): pfInitArenas() Allocated 65536KB:
> 0x0x411cf000 - 0x0x451cf000
> 984 PF Debug: pfOpenWSConnection - opening shared display
> :0.0=0x0x80c0488 for pid 984.
> 984 PF Debug: Using attributes_min for query:
> [../pfWindow.C:4475]
> 984 PF Debug: OpenGL Version String: 1.3.1 NVIDIA 31.23
> 984 PF Debug: OpenGL Version 1.30
> 984 PF Debug: OpenGL Version > 1.0
> 984 PF Debug: OpenGL Version > 1.15
> 984 PF Debug: Machine Type: Quadro4 500 GoGL/AGP/SSE2
> 984 PF Debug: No vsync GLX extension. Emulating vsync.
> 984 PF Debug/Resource(22): pfDataPool::create() - pid 984 - 16384 bytes
> at 0x0x4d354000 succeeded for /usr/tmp/pfClock.984.pfdpool
> 984 PF Debug/Internal(2): Using experimental new freeRunSema strategy
> 984 PF (setenv _PF_SEMA_NEW_PARADIGM 0 to
> override)
> [984] Reached Debug: usdetach not implemented
> 984 PF Debug/Resource(11): pfDataPool::create() - pid 984 - 131072 bytes
> at 0x0x4d36e000 succeeded for /usr/tmp/pfutil984.pfdpool
> 984 PF Warning/Resource: pfDataPool::create() could not malloc arena
> shared memory for /usr/tmp/pfutil984.pfdpool.
> [984] Reached Debug: usdetach not implemented
> 984 PF Fatal/Resource: pfuInit(): could not make pfUtil Data Pool!
>
> --
>
> Oerlikon-Contraves AG
> Yves Strube, SEI2
> Birchstr. 155 Email: czys++at++ocag.ch
> CH-8050 Zurich Phone: +41 1 316 2675
> Switzerland Fax: +41 1 316 2032
>
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 13:34:06 PST

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