Re: ogldebug hangs

New Message Reply Date view Thread view Subject view Author view

Don Hatch (hatch++at++hell.engr.sgi.com)
Tue, 28 Oct 1997 13:08:54 -0800


On Oct 28, 12:11pm, Scott McMillan wrote:
> Subject: ogldebug hangs
> Are there any known problems with using ogldebug{32} with an N32 OpenGL-based
> application?
>
> I am trying to run my performer application (N32, Performer
> 2.[02], High Impact, IRIX 6.2, IDO 7.1) within ogldebug and I get the
> following messages:
>
> > ogldebug32 myN32pfApp
> PF Notice(2): level Info (4) set by environment variable PFNFYLEVEL
> ogldebug: Could not set semaphores.
> ogldebug: Bad address
> ogldebug: Error in init.c (lib side), line 102.
> ogldebug: Could not create shared context.
> ogldebug: Bad address
> ogldebug: Error in init.c (lib side), line 269.
>
> When I force a core dump, I find that ogldebug is hung in a function called
> pause. Same thing happens for a vanilla OpenGL app. What does seem to work
> is an o32 OpenGL app.

Check out the bug notes at the bottom of the ogldebug man page:

     If ogldebug terminates unexpectedly, it may leak shared memory. See ipcs
     to check the status of shared memory segments and semaphores. See ipcrm
     to remove leaked shared memory segments and semaphores.

I use a script "ipcrmall" that contains the following:

#!/bin/csh -f

foreach type (m s)
    foreach thing (`ipcs -$type | tail +3 | grep -v : | awk '{print $2}'`)
        echo ipcrm -$type $thing
             ipcrm -$type $thing
    end
end

Don

-- 
Don Hatch  hatch++at++sgi.com  (415) 933-5150  Silicon Graphics, Inc.
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:08 PDT

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