[Openmcl-devel] linux process hang

Larry Pells lpells at acm.org
Thu Feb 3 18:03:36 PST 2005


On Thursday 03 February 2005 07:33, rm at fabula.de wrote:
> On Thu, Feb 03, 2005 at 07:25:16AM -0700, Larry Pells wrote:
> > When I add the following lines to the end of my foreign function
> > definition code, openmcl doesn't hang.
> >
> > (dribble "die.out")
> > (loop for i from 0 to (1- (first (print (array-dimensions
> > CCL::%PASCAL-FUNCTIONS%)))) do (pprint (aref CCL::%PASCAL-FUNCTIONS% i)))
> > (dribble)
> >
> > But if i remove them, it hangs.  Another thing that I have noticed, if I
> > use a copy of my wrapper c library that defines over 13000 wrapper
> > functions, openmcl hangs on my first test case no matter if I only have a
> > minimalistic set of foreign functions and callbacks defined.  If I use a
> > wrapper c library with about 100 wrapper functions, then things work as I
> > described in my first email.
> >
> > These wrapper libraries wrap Trolltech's Qt C++ classes.  (Sorry I didn't
> > mention it in my first email.)  I have written a code generator that
> > generates both the c wrappers and the lisp interface code.
> >
> > Also, to clarify hanging, I do a 'ps -Af | grep ppccl' and I see the
> > following:
> >
> > larry     9187  9186  0 07:01 pts/10   00:00:00 /usr/local/src/ccl/ppccl
> > larry     9189  9187  0 07:01 pts/10   00:00:00 [ppccl <defunct>]
>
> Can you do an 'ps -FAMlycf'? this should give a bit more information about
> the state of each process/thread.
>
> cheers RalfD (still fighting gtk2 callback problems :-)

I get the following:

ps: error: Unsupported SysV option.
usage: ps -[Unix98 options]
       ps [BSD-style options]
       ps --[GNU-style long options]
       ps --help for a command summary

Larry



More information about the Openmcl-devel mailing list