Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-07 Thread David T. Lewis
Thank you for the follow up on this. This kind of problem can be very difficult to find and debug! Dave On Wed, Mar 07, 2018 at 04:30:33PM +0100, Sabine Manaa wrote: > Now I know the reason for the crashes. I did a lot of log writing when > creating my reports (they use OSSubprocess). > This

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-07 Thread Sabine Manaa
Now I know the reason for the crashes. I did a lot of log writing when creating my reports (they use OSSubprocess). This was only for debugging. Removing them removed the problem. OSProcess and OSSubprocess are not guilty :-) I can crash the image with this (try several times) (in

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-06 Thread David T. Lewis
On Tue, Mar 06, 2018 at 11:49:14AM +0100, Sabine Manaa wrote: > Hi, > > I can report the following: > > The problem with the Buffer overflow remains also with OSProcess. > Also with the normal vm (https://get.pharo.org ). > > Summary: I have buffer overflow crashes with my application on Linux.

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-06 Thread Henrik Sperre Johansen
Seems to me aioEnable somehow triggers this. It maintains buffers of size FD_SETSIZE (1024 on Linux)*, so an fd parameter** >= that, could probably trigger such an error. Maybe you could put a halt in whichever method in OSSubprocess/OSProcess calls the primitive triggered when condition occurs,

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-06 Thread Thierry Goubier
Hi Sabine, have you tried with a 64bits version of Pharo (with a recent VM, i.e. newer than the 6.1 vm)? I use the 5.0-201801170946, for example. If, by chance, you manage to create a script provoking the segfault, that may really help. Thierry 2018-03-06 11:49 GMT+01:00 Sabine Manaa

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-06 Thread Sabine Manaa
Hi, I can report the following: The problem with the Buffer overflow remains also with OSProcess. Also with the normal vm (https://get.pharo.org ). Summary: I have buffer overflow crashes with my application on Linux. The same code runs without problems on MacOS and on Windows. I have the same

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-05 Thread Sabine Manaa
Hi Mariano and Thierry, I load on Pharo 32 bit with: spec baseline: 'OSSubprocess' with: [ spec className: 'BaselineOfOSSubprocess'; repository: 'github://marianopeck/OSSubprocess:v0.2.5/repository' ]; import: 'OSSubprocess' Tomorrow I will try to load on Pharo7 and try to use OSProcess and

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-05 Thread Mariano Martinez Peck
Hi Sabine, Which OSSubprocess version are you using? If are using ConfigurationOf to load it, then please tell me which version from there. If you are using from baseline, tell me if you are grabbing master, a given tag , a given commit, etc. I will assume it is Pharo 32 bits rigth? I will

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-05 Thread Sabine Manaa
Hi Alistair, thank you! The message (pthread_setschedparam failed: Operation not permitted) is gone now. So Question 1 is solved. But the crashes (Question 2) are remaining. After calling several OSSubprocess commands, Pharo crashes without PharoDebug.log. Anyone having an Idea what I could

Re: [Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-05 Thread Alistair Grant
Hi Sabine, The docket container will need to be privileged to adjust thread priority. Cheers, Alistair (on phone) On 5 Mar. 2018 12:44, "Sabine Manaa" wrote: We want to run Pharo6 with Ubuntu 16.04 Linux (in a Docker Image) and use OSSubprocess. For this, we use this

[Pharo-dev] Pharo6 with Ubuntu and OSSubprocess/threaded heartbeat crashes and problems

2018-03-05 Thread Sabine Manaa
We want to run Pharo6 with Ubuntu 16.04 Linux (in a Docker Image) and use OSSubprocess. For this, we use this vm: https://get.pharo.org/61+vmT [1] tells me: "If you are installing under Linux, then you must use a threaded heartbeat VM" We also created a file /etc/security/limits.d/pharo.conf