[Openmcl-devel] linux process hang

rm at fabula.de rm at fabula.de
Thu Feb 3 14:33:18 UTC 2005


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 :-)




More information about the Openmcl-devel mailing list