From: Daan L. <da...@cs...> - 2004-11-10 15:00:28
|
Benedikt Grundmann wrote: >Hello List, > >I just tried the Process example on my debian gnu linux (testing) laptop >(intel centrino). Linux kernel version 2.6.7. > >wxgtk-2.4-config --version reports 2.4.2 (debian package) >ghc --version reports 6.2.1 > >I'm using wxhaskell-0.8 compiled using --with-opengl. I get segmentation >faults most of the time: > > Hi Benedikt, The asynchronous process seemed to work well on windows, but since we use it intensively with Helium, we noticed that it sometimes crashes too :-( We still try to debug this but it is a hard one to solve due to the asynchronous nature. We have not tested it on debian, but maybe we should as it seems to occur at least at well-defined moments! Bottom line: the process feature has bugs.. and it won't get solved soon as I am currently working on other features (like printing). However, I would like to see it debugged as it is a tremendously useful feature and because we need to run Helium. >What's going on? On a side note how is one supposed to use the >inputStreamRead* collection of functions (see Graphics.UI.WXCore.Process) >there does not seem to be a function to get an InputStream given a Process. > > These are just convenience functions on streams. There are used internally to provide the "OnReceive" functions for processes and you can't use them directly on processes. I hope this helps, -- Daan. > >Cheers and Thanks for your help, > > >Bene > > > > |