Not a simple scenario to recreate... we have many (Squeak) processes running with relatively tight Delays along with execution of external commands (was via PipeableOSProcess etc.). All on Linux. Have seen problems with normal VMs, but more pronounced with Cog, switching to FFi appears to have cured the issues so *assuming* there is problem with OSProcess... Ideally it would be good to get to the bottom of this as in another of our applications we really need the pipe support for retrieving error output (can be simulated by redirection on the command of course for the simplistic libc/FFI we have done). Regards, Gary ----- Original Message ----- From: "David T. Lewis" <lewis@mail.msen.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, March 30, 2011 12:55 AM Subject: Re: [Pharo-project] PharoCasts with experts
Yes please! I'd appreciate knowing if you are experiencing problems related to OSProcess.
Dave
On Tue, Mar 29, 2011 at 07:20:52PM +0200, St?phane Ducasse wrote:
can you report that to the Cog bug tracker?
Stef
On Mar 29, 2011, at 6:12 PM, Gary Chambers wrote:
Lol.
Just to mention that we have been having problems (VM crashes/lockups) with OSProcess, using FFI to callout to libc for executing shell command has seemed to help this.
Looked like memory corruption (especially targetting Delay objects, but likely they were on the stack at the time...).
Occurs on all VMs, though more apprent with Cog.
FFI saves the day!
Regards, Gary
----- Original Message ----- From: "Igor Stasenko" <siguctua@gmail.com> To: "laurent laffont" <laurent.laffont@gmail.com> Cc: <Pharo-project@lists.gforge.inria.fr> Sent: Tuesday, March 29, 2011 4:09 PM Subject: Re: [Pharo-project] PharoCasts with experts
On 29 March 2011 07:58, laurent laffont <laurent.laffont@gmail.com> wrote:
- Igor on VM debugging or FFI / NativeBoost (for example interfacing with http://id3lib.sourceforge.net/ or other lib)
this lib is a C++.. interfacing with C++ is troublesome. Usually this is done by creating a standard C library with C- functions wrapping around C++ calls. Then as usual.
OK. I've tried FFI with this and I got mad. Do you know a fun C library to start working with ?
Yeah.. i have one.. called OpenGL :) See http://www.squeaksource.com/NBOpenGL
But for exercise, i think standard C library is just fine. There's a lot of functionality which might be handy and can be exposed via FFI.
Laurent.
- Lukas on Magritte or PetitParser - Dale on Metacello - Nicolas on Iliad - Janko on Aida/Web and all that I forgot ..... I'm sure plenty of people would like their open-source project to be more known. This may be an opportunity.
How to do this: contact me if you wish to do that so we can choose an hour that match our respective calendars and agree on tools used (skype, google video chat, vnc, teamviewer, ....) - I will care about video stuff.
Just talk and code :)
Anyone ?
Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.