At 2017-03-22 22:18:12, pharo-dev-request@lists.pharo.org wrote: >Send Pharo-dev mailing list submissions to > pharo-dev@lists.pharo.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pharo.org/mailman/listinfo/pharo-dev_lists.pharo.org >or, via email, send a message with subject or body 'help' to > pharo-dev-request@lists.pharo.org > >You can reach the person managing the list at > pharo-dev-owner@lists.pharo.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Pharo-dev digest..." > > >Today's Topics: > > 1. Collecting of event data still needed? (Pavel Krivanek) > 2. More Windows VM Crashing -_- (Peter Uhnak) > 3. Pharo 6 vm crashed when pasting a big file > (tdupriez@ens-paris-saclay.fr) > 4. Re: Pharo 6 vm crashed when pasting a big file (Nicolai Hess) > 5. Re: More Windows VM Crashing -_- (Nicolai Hess) > 6. Re: [ANN] PharoNOS (Hernan Wilkinson) > 7. Re: Pharo 6 vm crashed when pasting a big file > (tdupriez@ens-paris-saclay.fr) > 8. Re: Pharo 6 vm crashed when pasting a big file (Eliot Miranda) > 9. Re: [ANN] PharoNOS (jan.struz) > 10. Re: More Windows VM Crashing -_- (Eliot Miranda) > 11. Re: Pharo 6 vm crashed when pasting a big file > (tdupriez@ens-paris-saclay.fr) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Wed, 22 Mar 2017 09:25:15 +0100 >From: Pavel Krivanek <pavel.krivanek@gmail.com> >To: Discusses Development of Pharo <pharo-dev@lists.pharo.org> >Subject: [Pharo-dev] Collecting of event data still needed? >Message-ID: > <CAHN2FzfzwFu0PWsHDMymh_=EnErB6w+aAPEo925vz6a6WuhmCQ@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >>From a Slack discussion: > >Alexandre Bergel [6:03 PM] >@uko : Do we still need the usage data ? > >Alexandre Bergel [6:03 PM] >Having this large red bar is a bit aggressive > >Yuriy Tymchuk [6:06 PM] >Data is always useful. Now as I end my Ph.D. I will not have time to >investigate the collected data any more, so the question is does anybody >else care about the collected data, because yes, I can just remove it. By >the way, I just reuse the morph from Spotter, so it is up to them to define >the style :slightly_smiling_face: > >- > >So the question is: do we still need to display appeal for sending usage >data in Pharo 7? Is anyone analyzing it or do we only irritate users? Such >request can be in the Welcome window. > >Cheers, >-- Pavel >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/ce21fd16/attachment-0001.html> > >------------------------------ > >Message: 2 >Date: Wed, 22 Mar 2017 10:31:20 +0100 >From: Peter Uhnak <i.uhnak@gmail.com> >To: pharo-dev@lists.pharo.org >Subject: [Pharo-dev] More Windows VM Crashing -_- >Message-ID: <20170322093120.GA10@localhost> >Content-Type: text/plain; charset=us-ascii > >Hi, > >Originally I thought my VM is crashing because of FT, so I applied some fix from FogBugz (that is now part of Pharo 6), but that didn't help. > >So I disabled FT in settings and changed fonts to non-FT ones; didn't help. >So I completely removed FT2Plugin.dll (now settings just states that FT fonts are not available), but that didn't help either. > >And obviously there is no crash.dmp whatsoever (this is latest Windows VM). > >This crash is extremely frustrating because the crash happens _during saving_, which means I am losing code all the time and have to constantly recover them, which really makes my blood boil. > >Without crash dump I don't even know where and how to start investigating. Windows kindly opens Visual Studio when Pharo crashes, but all it shows to me is assembly, which is not very useful to me. I can somewhat orient myself in the C code of the VM (as I've alredy fixed some other issues in the VM), but here I am lost. > ><SNIP> >00407D7F ret >00407D80 mov eax,dword ptr ds:[00596E44h] >00407D85 test al,3 >00407D87 jne 00407DB2 >00407D89 mov ecx,dword ptr ds:[596E08h] >00407D8F lea edx,[ecx-1] >00407D92 cmp eax,edx >00407D94 jb 00407DB2 >00407D96 cmp dword ptr ds:[596E10h],eax >00407D9C jb 00407DB2 >00407D9E mov ecx,dword ptr ds:[5B89D0h] >00407DA4 cmp dword ptr [eax-4],ecx >00407DA7 jb 00407DB2 >00407DA9 mov eax,dword ptr ds:[00596E28h] >---> 00407DAE movzx eax,byte ptr [eax] >00407DB1 ret > >eax = 00000000 >ecx = 04700000 ></SNIP> > >So my question I guess is: >How can we fix this? How can I help fix this? Because I've lost countless days of time and energy on this f***ing problem... > >Peter > > > >------------------------------ > >Message: 3 >Date: Wed, 22 Mar 2017 11:04:25 +0100 >From: tdupriez@ens-paris-saclay.fr >To: pharo-dev@lists.pharo.org >Subject: [Pharo-dev] Pharo 6 vm crashed when pasting a big file >Message-ID: <20170322110425.10339emjb0jnmm21@webmail.ens-cachan.fr> >Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"; > DelSp="Yes" > >Hi, > >The pharo 6 vm crashed when I pasted a long text file in the body of a method. >Surprisingly, the vm did not crashed when I pasted a file of >approximately the same size but only containing a single string >('adafcawa' copy-pasted on 8000 lines). > >The crash occured after I: >- Opened a fresh image (60450) >- Created a package, with a single class, with a single method >- Tried to paste the content of the attached file into the methods >body (the vm froze for 20-30 seconds then crashed) > >Ubuntu 16.04 LTS >64 bits >vm obtained from http://get.pharo.org/ (the '60+vm' package) >image 60450 > >Thomas >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: gnat.xsd >Type: application/xml >Size: 372909 bytes >Desc: not available >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/708bee63/attachment-0001.xsd> > >------------------------------ > >Message: 4 >Date: Wed, 22 Mar 2017 12:48:17 +0100 >From: Nicolai Hess <nicolaihess@gmail.com> >To: Pharo Development List <pharo-dev@lists.pharo.org> >Subject: Re: [Pharo-dev] Pharo 6 vm crashed when pasting a big file >Message-ID: > <CAPED3STbeeXqm4iS5_8jfJUhEa6yniCPrJqZojaCf85SjJMXfw@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >2017-03-22 11:04 GMT+01:00 <tdupriez@ens-paris-saclay.fr>: > >> Hi, >> >> The pharo 6 vm crashed when I pasted a long text file in the body of a >> method. >> Surprisingly, the vm did not crashed when I pasted a file of approximately >> the same size but only containing a single string ('adafcawa' copy-pasted >> on 8000 lines). >> >> The crash occured after I: >> - Opened a fresh image (60450) >> - Created a package, with a single class, with a single method >> - Tried to paste the content of the attached file into the methods body >> (the vm froze for 20-30 seconds then crashed) >> >> Ubuntu 16.04 LTS >> 64 bits >> vm obtained from http://get.pharo.org/ (the '60+vm' package) >> image 60450 >> >> Thomas >> > > >Hi, >this is somehow related to syntax highlighting and that the parser for >syntax highlighting stops due to a syntax error. >You can disable syntax highlighting. >SHPreferences enabled:false. > >And if you just paste this code as a string > >foo >^ 'YOUR_FILE_CONTENTS' > >the syntax error occurs from line 35 of your file contents: > > Other Elements. All syntactic structures that don't fall > >this lines contains a quote and the parser tries to parse the remaining >part as code. > >What I don't understand, sometimes it is working (code pane just shows the >code with all after the text >"don't" highlighted red, indicating a syntax error). And sometimes it does >not work and the vm just consumes a >ridiculous amount of memory ~ 1GB. >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/5e1f0063/attachment-0001.html> > >------------------------------ > >Message: 5 >Date: Wed, 22 Mar 2017 12:51:42 +0100 >From: Nicolai Hess <nicolaihess@gmail.com> >To: Pharo Development List <pharo-dev@lists.pharo.org> >Subject: Re: [Pharo-dev] More Windows VM Crashing -_- >Message-ID: > <CAPED3SRszevVs+_MQNDAaE6=A2xtHgo7AiOyRpsu967wEHnovw@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >2017-03-22 10:31 GMT+01:00 Peter Uhnak <i.uhnak@gmail.com>: > >> Hi, >> >> Originally I thought my VM is crashing because of FT, so I applied some >> fix from FogBugz (that is now part of Pharo 6), but that didn't help. >> >> So I disabled FT in settings and changed fonts to non-FT ones; didn't help. >> So I completely removed FT2Plugin.dll (now settings just states that FT >> fonts are not available), but that didn't help either. >> >> And obviously there is no crash.dmp whatsoever (this is latest Windows VM). >> >> This crash is extremely frustrating because the crash happens _during >> saving_, which means I am losing code all the time and have to constantly >> recover them, which really makes my blood boil. >> >> Without crash dump I don't even know where and how to start investigating. >> Windows kindly opens Visual Studio when Pharo crashes, but all it shows to >> me is assembly, which is not very useful to me. I can somewhat orient >> myself in the C code of the VM (as I've alredy fixed some other issues in >> the VM), but here I am lost. >> >> <SNIP> >> 00407D7F ret >> 00407D80 mov eax,dword ptr ds:[00596E44h] >> 00407D85 test al,3 >> 00407D87 jne 00407DB2 >> 00407D89 mov ecx,dword ptr ds:[596E08h] >> 00407D8F lea edx,[ecx-1] >> 00407D92 cmp eax,edx >> 00407D94 jb 00407DB2 >> 00407D96 cmp dword ptr ds:[596E10h],eax >> 00407D9C jb 00407DB2 >> 00407D9E mov ecx,dword ptr ds:[5B89D0h] >> 00407DA4 cmp dword ptr [eax-4],ecx >> 00407DA7 jb 00407DB2 >> 00407DA9 mov eax,dword ptr ds:[00596E28h] >> ---> 00407DAE movzx eax,byte ptr [eax] >> 00407DB1 ret >> >> eax = 00000000 >> ecx = 04700000 >> </SNIP> >> >> So my question I guess is: >> How can we fix this? How can I help fix this? Because I've lost countless >> days of time and energy on this f***ing problem... >> >> Peter >> >> >Maybe it would help if other people try to reproduce this error. >Can you share the image/code you are using ? > >Do you have a mingw build environment ? Sometimes it helps to start the vm >with gdb, and if an exception occurs that does not write a crash.dmp, if >you are lucky, gdb will show some additional information. > > >(for me, the latest windows vm *sometimes* does create a crash.dmp). >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/952b06c0/attachment-0001.html> > >------------------------------ > >Message: 6 >Date: Wed, 22 Mar 2017 09:07:32 -0300 >From: Hernan Wilkinson <hernan.wilkinson@10pines.com> >To: Pharo Development List <pharo-dev@lists.pharo.org> >Subject: Re: [Pharo-dev] [ANN] PharoNOS >Message-ID: > <CAJAbP8iyYZ9ivXO4sh3yvkRxb-rv_ymTRX8aFgRURaiF5ccX_g@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >Hi Jan, > I feel kind of stupid but I can not find how to download a disk image to >bootstrap... I don't see them on gitlab, could you give me a hint? :-) > >Thanks! >Hernan. > >On Sat, Mar 18, 2017 at 8:30 PM, jan.struz <public+pharo@struz.cz> wrote: > >> Hi, >> I successfully ported SqueakNOS to Pharo, and want to share it with you! >> It works with Pharo 4.0 image, networking included, ping works! >> >> *What is different:* >> - I use my own CMake build file, with "out-of-tree" build support, instead >> of "build.xyz" directories inside source tree + some template scripts to >> build any VM type, but it is not complete... >> - I use MUSL <http://www.musl-libc.org/> instead of GlibC, >> cross-compiling GlibC statically on 64bit for 32bit seems impossible, but >> anyway I use 32bit environment to build it >> - It works with pre-opensmalltalk-vm migration directory structure, so the >> "sync" with latest trunk remains #TODO, or maybe start a new branch again >> from the latest upstream commit should work too >> - freetype is included, but will not load any fonts, since the filesystem >> driver is image-side... so you will need to make new fonts embedded, if you >> want them >> - known issues: image snapshot and fileout are not working, current >> date+time hacked to make fat32 timestamps work >> - revision needed: timer (heartbeat) vs. GC vs. interrupts enable/disable >> - there are even some hacks to image-side methods >> >> *PharoNOS platform directory sources: [pharonos branch]* >> SRC: https://gitlab.com/johnnyzz/pharonos >> >> *VM sources: [dev branch]* >> SRC: https://gitlab.com/johnnyzz/pharo-vm >> - added platform directory, build scripts and CMake templates >> - added VMMaker configs >> >> *Build Environment (32bit) - Docker image repository, with CI:* >> https://gitlab.com/johnnyzz/dev-build >> >> *PharoNOS CI (uses previous Docker image):* >> CI: https://gitlab.com/johnnyzz/pharo-nos-build >> >> *How to run it:* >> You can download fresh disk image from CI and then run: >> (sudo) kvm -hda build/NOS.img -enable-kvm -cpu kvm32 -vga qxl -m 256 >> -netdev tap,id=user.3,ifname=tap2,vhost=on -net >> nic,model=rtl8139,netdev=user.3 -global isa-fdc.driveA= -serial stdio >> >> *One more thing:* >> Statically linked Pharo Spur32 (headless) VM, with only one dependency - >> Linux kernel: >> CI: https://gitlab.com/johnnyzz/pharo-build-static >> Size: 2,4MB (too big?, but Freetype included too!) >> >> enjoy >> >> Jan >> Save The World! >> >> ------------------------------ >> View this message in context: [ANN] PharoNOS >> <http://forum.world.st/ANN-PharoNOS-tp4939247.html> >> Sent from the Pharo Smalltalk Developers mailing list archive >> <http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html> at >> Nabble.com. >> > > > >-- > >*Hern?n WilkinsonAgile Software Development, Teaching & Coaching* >*Phone: +54-011*-4893-2057 >*Twitter: @HernanWilkinson* >*site: http://www.10Pines.com <http://www.10pines.com/>* >Address: Alem 896, Floor 6, Buenos Aires, Argentina >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/c750adbc/attachment-0001.html> > >------------------------------ > >Message: 7 >Date: Wed, 22 Mar 2017 13:44:25 +0100 >From: tdupriez@ens-paris-saclay.fr >To: pharo-dev@lists.pharo.org >Subject: Re: [Pharo-dev] Pharo 6 vm crashed when pasting a big file >Message-ID: <20170322134425.19753vouobmte46h@webmail.ens-cachan.fr> >Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" > >Quoting Nicolai Hess <nicolaihess@gmail.com>: > >> 2017-03-22 11:04 GMT+01:00 <tdupriez@ens-paris-saclay.fr>: >> >>> Hi, >>> >>> The pharo 6 vm crashed when I pasted a long text file in the body of a >>> method. >>> Surprisingly, the vm did not crashed when I pasted a file of approximately >>> the same size but only containing a single string ('adafcawa' copy-pasted >>> on 8000 lines). >>> >>> The crash occured after I: >>> - Opened a fresh image (60450) >>> - Created a package, with a single class, with a single method >>> - Tried to paste the content of the attached file into the methods body >>> (the vm froze for 20-30 seconds then crashed) >>> >>> Ubuntu 16.04 LTS >>> 64 bits >>> vm obtained from http://get.pharo.org/ (the '60+vm' package) >>> image 60450 >>> >>> Thomas >>> >> >> >> Hi, >> this is somehow related to syntax highlighting and that the parser for >> syntax highlighting stops due to a syntax error. >> You can disable syntax highlighting. >> SHPreferences enabled:false. >> >> And if you just paste this code as a string >> >> foo >> ^ 'YOUR_FILE_CONTENTS' >> >> the syntax error occurs from line 35 of your file contents: >> >> Other Elements. All syntactic structures that don't fall >> >> this lines contains a quote and the parser tries to parse the remaining >> part as code. >> >> What I don't understand, sometimes it is working (code pane just shows the >> code with all after the text >> "don't" highlighted red, indicating a syntax error). And sometimes it does >> not work and the vm just consumes a >> ridiculous amount of memory ~ 1GB. >> > >Ok, thanks. I got around it by pasting the file pieces by pieces. > >Although I'm not sure it's all there is, because even pasting the >content of the file after having removed this quote (and checked that >it was the only quote of the file) into the method body crashes the vm. > >foo >^ 'FILE_CONTENT_WITHOUT_QUOTES' > >Thomas > > > > >------------------------------ > >Message: 8 >Date: Wed, 22 Mar 2017 06:44:46 -0700 >From: Eliot Miranda <eliot.miranda@gmail.com> >To: Pharo Development List <pharo-dev@lists.pharo.org> >Subject: Re: [Pharo-dev] Pharo 6 vm crashed when pasting a big file >Message-ID: <E3CD216D-D391-47D6-BAC9-737DCD995725@gmail.com> >Content-Type: text/plain; charset=us-ascii > >Hi Thomas, > > can you look at the crash.dmp file and post it here? If it contains more than one report please edit it to include only the relevant report. > >Can you keep a copy of the file and the image so we can try and reproduce car the bug also? > >Thanks >Eliot >_,,,^..^,,,_ (phone) > >> On Mar 22, 2017, at 5:44 AM, tdupriez@ens-paris-saclay.fr wrote: >> >> Quoting Nicolai Hess <nicolaihess@gmail.com>: >> >>> 2017-03-22 11:04 GMT+01:00 <tdupriez@ens-paris-saclay.fr>: >>> >>>> Hi, >>>> >>>> The pharo 6 vm crashed when I pasted a long text file in the body of a >>>> method. >>>> Surprisingly, the vm did not crashed when I pasted a file of approximately >>>> the same size but only containing a single string ('adafcawa' copy-pasted >>>> on 8000 lines). >>>> >>>> The crash occured after I: >>>> - Opened a fresh image (60450) >>>> - Created a package, with a single class, with a single method >>>> - Tried to paste the content of the attached file into the methods body >>>> (the vm froze for 20-30 seconds then crashed) >>>> >>>> Ubuntu 16.04 LTS >>>> 64 bits >>>> vm obtained from http://get.pharo.org/ (the '60+vm' package) >>>> image 60450 >>>> >>>> Thomas >>>> >>> >>> >>> Hi, >>> this is somehow related to syntax highlighting and that the parser for >>> syntax highlighting stops due to a syntax error. >>> You can disable syntax highlighting. >>> SHPreferences enabled:false. >>> >>> And if you just paste this code as a string >>> >>> foo >>> ^ 'YOUR_FILE_CONTENTS' >>> >>> the syntax error occurs from line 35 of your file contents: >>> >>> Other Elements. All syntactic structures that don't fall >>> >>> this lines contains a quote and the parser tries to parse the remaining >>> part as code. >>> >>> What I don't understand, sometimes it is working (code pane just shows the >>> code with all after the text >>> "don't" highlighted red, indicating a syntax error). And sometimes it does >>> not work and the vm just consumes a >>> ridiculous amount of memory ~ 1GB. >>> >> >> Ok, thanks. I got around it by pasting the file pieces by pieces. >> >> Although I'm not sure it's all there is, because even pasting the content of the file after having removed this quote (and checked that it was the only quote of the file) into the method body crashes the vm. >> >> foo >> ^ 'FILE_CONTENT_WITHOUT_QUOTES' >> >> Thomas >> >> > > > >------------------------------ > >Message: 9 >Date: Wed, 22 Mar 2017 06:52:45 -0700 (PDT) >From: "jan.struz" <public+pharo@struz.cz> >To: pharo-dev@lists.pharo.org >Subject: Re: [Pharo-dev] [ANN] PharoNOS >Message-ID: <1490190765313-4939628.post@n4.nabble.com> >Content-Type: text/plain; charset="us-ascii" > >Hi Hernan, >the disk image is built on CI, you can find it under "Pipelines", go to >https://gitlab.com/johnnyzz/pharo-nos-build/pipelines ><https://gitlab.com/johnnyzz/pharo-nos-build/pipelines> and you will see >the download button ("Download artifacts"). >The archive contains the raw disk image, and the .kernel file. >The "dev-build" project, you requested access to, is intended to build a >"Docker image" with the build environment, if you had problem there, it was >because I forgot to allow public access to this repository. It is now fixed. >Jan > > > >----- >Save The World! >-- >View this message in context: http://forum.world.st/ANN-PharoNOS-tp4939247p4939628.html >Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/dc1417e9/attachment-0001.html> > >------------------------------ > >Message: 10 >Date: Wed, 22 Mar 2017 07:06:30 -0700 >From: Eliot Miranda <eliot.miranda@gmail.com> >To: Pharo Development List <pharo-dev@lists.pharo.org> >Cc: vm-dev@lists.squeakfoundation.org >Subject: Re: [Pharo-dev] More Windows VM Crashing -_- >Message-ID: <79C828DC-DBC1-4241-A7B4-0C080D5B3D61@gmail.com> >Content-Type: text/plain; charset=us-ascii > >Hi Peter, > >> On Mar 22, 2017, at 2:31 AM, Peter Uhnak <i.uhnak@gmail.com> wrote: >> >> Hi, >> >> Originally I thought my VM is crashing because of FT, so I applied some fix from FogBugz (that is now part of Pharo 6), but that didn't help. >> >> So I disabled FT in settings and changed fonts to non-FT ones; didn't help. >> So I completely removed FT2Plugin.dll (now settings just states that FT fonts are not available), but that didn't help either. >> >> And obviously there is no crash.dmp whatsoever (this is latest Windows VM). >> >> This crash is extremely frustrating because the crash happens _during saving_, which means I am losing code all the time and have to constantly recover them, which really makes my blood boil. >> >> Without crash dump I don't even know where and how to start investigating. Windows kindly opens Visual Studio when Pharo crashes, but all it shows to me is assembly, which is not very useful to me. I can somewhat orient myself in the C code of the VM (as I've alredy fixed some other issues in the VM), but here I am lost. >> >> <SNIP> >> 00407D7F ret >> 00407D80 mov eax,dword ptr ds:[00596E44h] >> 00407D85 test al,3 >> 00407D87 jne 00407DB2 >> 00407D89 mov ecx,dword ptr ds:[596E08h] >> 00407D8F lea edx,[ecx-1] >> 00407D92 cmp eax,edx >> 00407D94 jb 00407DB2 >> 00407D96 cmp dword ptr ds:[596E10h],eax >> 00407D9C jb 00407DB2 >> 00407D9E mov ecx,dword ptr ds:[5B89D0h] >> 00407DA4 cmp dword ptr [eax-4],ecx >> 00407DA7 jb 00407DB2 >> 00407DA9 mov eax,dword ptr ds:[00596E28h] >> ---> 00407DAE movzx eax,byte ptr [eax] >> 00407DB1 ret >> >> eax = 00000000 >> ecx = 04700000 >> </SNIP> > >Can you post a link to the exact VM you're using? I may be able to make sense of this. > >First, I'm very sorry you're experiencing these crashes. They're likely a bug in the new compactor. It makes multiple compaction passes when there are lots of objects, only on snapshot. In a normal GC it only ever makes one pass. > >Therefore, one thing that may allow you to work around the bug is to modify the snapshot:andQuit: method to explicitly do a Smalltalk garbageCollect before invoking the snapshot primitive. If the bug is only on subsequent passes then the explicit GC should not crash and will make it much less likely that the GC done as part of the snapshot will require a second pass, and hence less likely to crash. > >> So my question I guess is: >> How can we fix this? How can I help fix this? Because I've lost countless days of time and energy on this f***ing problem... > >Helping me match the code above with the VM will be really helpful. I want to know the values in registers, and the value of nilObj too. > >> Peter > >_,,,^..^,,,_ (phone) > > >------------------------------ > >Message: 11 >Date: Wed, 22 Mar 2017 15:17:15 +0100 >From: tdupriez@ens-paris-saclay.fr >To: pharo-dev@lists.pharo.org >Subject: Re: [Pharo-dev] Pharo 6 vm crashed when pasting a big file >Message-ID: <20170322151715.10423h0p8j7nc1uz@webmail.ens-cachan.fr> >Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"; > DelSp="Yes" > >I've attached the crash.dmp and the file the content of which I was >trying to paste. (It's the same file than previously, but without the >quote that Nicolai identified as problem-inducing) > >As for the image, I reproduced the crash from a clean image of version 60450 >I'm not sure my webmail will allow me to attach my image given its size... > >What I did on the fresh image: >- Created a package Pack >- Created a class PackClass in the package Pack >- Created a protocol prot in PackClass >- Added a method test to protocol prot: > >test >^ '' > >- And pasted the content of GnatWithoutQuotes.xsd in between the two >quotes in method test's body > >Please tell me if you need something else or if I am doing something >wrong, it's the first time I report a bug. > >Thomas > > >Quoting Eliot Miranda <eliot.miranda@gmail.com>: > >> Hi Thomas, >> >> can you look at the crash.dmp file and post it here? If it >> contains more than one report please edit it to include only the >> relevant report. >> >> Can you keep a copy of the file and the image so we can try and >> reproduce car the bug also? >> >> Thanks >> Eliot >> _,,,^..^,,,_ (phone) >> >>> On Mar 22, 2017, at 5:44 AM, tdupriez@ens-paris-saclay.fr wrote: >>> >>> Quoting Nicolai Hess <nicolaihess@gmail.com>: >>> >>>> 2017-03-22 11:04 GMT+01:00 <tdupriez@ens-paris-saclay.fr>: >>>> >>>>> Hi, >>>>> >>>>> The pharo 6 vm crashed when I pasted a long text file in the body of a >>>>> method. >>>>> Surprisingly, the vm did not crashed when I pasted a file of approximately >>>>> the same size but only containing a single string ('adafcawa' copy-pasted >>>>> on 8000 lines). >>>>> >>>>> The crash occured after I: >>>>> - Opened a fresh image (60450) >>>>> - Created a package, with a single class, with a single method >>>>> - Tried to paste the content of the attached file into the methods body >>>>> (the vm froze for 20-30 seconds then crashed) >>>>> >>>>> Ubuntu 16.04 LTS >>>>> 64 bits >>>>> vm obtained from http://get.pharo.org/ (the '60+vm' package) >>>>> image 60450 >>>>> >>>>> Thomas >>>>> >>>> >>>> >>>> Hi, >>>> this is somehow related to syntax highlighting and that the parser for >>>> syntax highlighting stops due to a syntax error. >>>> You can disable syntax highlighting. >>>> SHPreferences enabled:false. >>>> >>>> And if you just paste this code as a string >>>> >>>> foo >>>> ^ 'YOUR_FILE_CONTENTS' >>>> >>>> the syntax error occurs from line 35 of your file contents: >>>> >>>> Other Elements. All syntactic structures that don't fall >>>> >>>> this lines contains a quote and the parser tries to parse the remaining >>>> part as code. >>>> >>>> What I don't understand, sometimes it is working (code pane just shows the >>>> code with all after the text >>>> "don't" highlighted red, indicating a syntax error). And sometimes it does >>>> not work and the vm just consumes a >>>> ridiculous amount of memory ~ 1GB. >>>> >>> >>> Ok, thanks. I got around it by pasting the file pieces by pieces. >>> >>> Although I'm not sure it's all there is, because even pasting the >>> content of the file after having removed this quote (and checked >>> that it was the only quote of the file) into the method body >>> crashes the vm. >>> >>> foo >>> ^ 'FILE_CONTENT_WITHOUT_QUOTES' >>> >>> Thomas >>> >>> >> > > >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: crash.dmp >Type: application/vnd.tcpdump.pcap >Size: 11219 bytes >Desc: not available >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/bd3b0f1e/attachment.dmp> >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: GnatWithoutQuotes.xsd >Type: application/xml >Size: 372908 bytes >Desc: not available >URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170322/bd3b0f1e/attachment.xsd> > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >Pharo-dev mailing list >Pharo-dev@lists.pharo.org >http://lists.pharo.org/mailman/listinfo/pharo-dev_lists.pharo.org > > >------------------------------ > >End of Pharo-dev Digest, Vol 47, Issue 29 >*****************************************