I got a seg fault when I tried to execute some OSSubProcess code in Pharo 6.0. Namely, | process | process := OSSUnixSubprocess new command: '/bin/cat'; redirectStdin; redirectStdout; run. process stdinStream nextPutAll: 'we are testing!'; nextPutAll: 'we again!'; close. process waitForExit. process stdoutStream upToEndOfFile inspect. process closeAndCleanStreams. Attached is the crash.dmp file 20170608crash.dmp (9K) Download Attachment |
Hi John, Was this using 64bits flavor ? If true, can you try with 32 and let me know? I ask because I know OSSubprocess doesn't work on 64 bits yet, but to fix this I need some pull requets merged in the VM... Cheers, On Fri, Jun 9, 2017 at 1:21 AM, john pfersich <[hidden email]> wrote:
|
In reply to this post by John Pfersich
You seem to be using an old VM. /home/jpfersich/pharo64-6.0/ Pharo VM version: 5.0-201704181925 Can you try with one of these... i.e. Pharo6.0-linux.zip/pharo6.0/ So actually yours is not so out of date that first glance at the "5.0" in your path implies. @Esteban, can this packaging be corrected? cheers -ben On Fri, Jun 9, 2017 at 12:21 PM, john pfersich <[hidden email]> wrote:
|
I guess it can. I need to see at it ;) Esteban
|
In reply to this post by Mariano Martinez Peck
Mariano, yes I was using the 64 bit pharo. I downloaded the 32 bit pharo 6.0 and it works just fine. Thanks. On Fri, Jun 9, 2017 at 4:20 AM, Mariano Martinez Peck <[hidden email]> wrote:
|
In reply to this post by Ben Coman
That VM is (was) a 6.0 alpha. I tried to update and got this: jpfersich@ubuntu64-001:~/ % Total % Received % Xferd Average Speed Time Time Time Current 100 232 100 232 0 0 581 0 --:--:-- --:--:-- --:--:-- 582 bash: line 1: syntax error near unexpected token `newline' bash: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">' Then I tried the Custom installs, downloaded pharo64-linux-threaded-stable.zip and sources.zip and when I tried to run it, I got 'Pharo cannot locate the sources file named /home/jpfersich/pharo64-6.0/pharo-vm/lib/pharo/5.0-201705310241/PharoV50.sources. The sources file I downloaded is PharoV60.sources. and curl get.pharo.org/64/vmT60 | bash and got a usable system. On Fri, Jun 9, 2017 at 5:13 AM, Ben Coman <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |