Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change is ZnBuffered are breaking something :) #4764

Closed
Ducasse opened this issue Sep 28, 2019 · 18 comments
Closed

Change is ZnBuffered are breaking something :) #4764

Ducasse opened this issue Sep 28, 2019 · 18 comments
Assignees

Comments

@Ducasse
Copy link
Member

Ducasse commented Sep 28, 2019

Metacello new
baseline: 'ZincHTTPComponents';
repository: 'github://svenvc/zinc/repository';
load: #(SSO)

produces may DNU

@svenvc
Copy link
Contributor

svenvc commented Sep 28, 2019

Yes it does. The idea/solution is to move the special bufferer read write stream to the source code package (I am not sure this is already integrated).

The old class can then be removed from Zn.

@svenvc
Copy link
Contributor

svenvc commented Sep 28, 2019

#4752

@tesonep
Copy link
Collaborator

tesonep commented Oct 1, 2019

@Ducasse this is fixed with #4752.
@svenvc once loaded the tests are producing a DNU while trying to use #subStrings: on a ByteString. It should be #substrings:

@Ducasse
Copy link
Member Author

Ducasse commented Oct 1, 2019

Ok so I will close this.

@Ducasse Ducasse closed this as completed Oct 1, 2019
@akgrant43
Copy link
Collaborator

akgrant43 commented Oct 4, 2019

For historical reference, the original discussion via email: http://forum.world.st/ZincHTTPComponents-SSO-breaks-ZnBufferedReadWriteStream-td5104621.html

ZincHTTPComponents SSO breaks ZnBufferedReadWriteStream. Hi Sven, Executing: Metacello new baseline: 'ZincHTTPComponents'; repository: 'github://svenvc/zinc/repository'; load:...

@jbrichau
Copy link
Contributor

@Ducasse This still breaks in Pharo 7 build 170 (which is the one you get when using the Pharolauncher). It makes loading things like Seaside impossible as they reference Zinc.

I don't find any other reference to fix this, but I might be missing something.

@svenvc
Copy link
Contributor

svenvc commented Oct 17, 2019

There should be a difference (in the launcher) between Pharo 7 stable and latest.

Latest includes the bogus code (git head), stable does not (as it is a manual release).

I am not a Launcher user, so I can't say more.

@jbrichau
Copy link
Contributor

Hey @svenvc
I am using the one tagged as 'stable' in my Pharolauncher. Other people reported it too.

But good to know the issue is somehow pending at least. Our builds are still working because they use the zeroconf scripts indeed.

@Ducasse
Copy link
Member Author

Ducasse commented Oct 17, 2019

Pablo can you have a look?

@SabineMa
Copy link
Contributor

Any news on this?

@svenvc
Copy link
Contributor

svenvc commented Oct 28, 2019

+1 this is a HUGE issue

@tesonep
Copy link
Collaborator

tesonep commented Oct 29, 2019 via email

@PharoProject
Copy link
Member

PharoProject commented Oct 29, 2019 via email

@jvalteren
Copy link

Hi all,

First of all thanks for working on this.

I just created a new Pharo 7.0 - 64bit (stable) image using the launcher and tried to load ZincHTTPComponents from the master baseline. This still 'crashes' the image with lots of '#closed was sent to nil' and one 'Instance of ZnBufferedReadWriteStream did not understand #defaultBufferSize' exception dialogs.

I agree that this is a big issue, which is still not resolved. Any not-so-experienced Pharo user (like myself) will be put off by this.

Since Pharo version 7 is the stable version, how could something like this happen? This might hurt the reputation of the platform.

Is there anything I can do to help?

@svenvc
Copy link
Contributor

svenvc commented Nov 1, 2019

The image produced by the PR 5030 check is a correct 7.0.4 with the new code (SourceCode*).

I found it here:

https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%20and%20branch%20Pipeline/job/PR-5030/2/artifact/bootstrap-cache/Pharo7.0-PR-64bit-5cba44a.zip

If you combine that with a VM like

$ curl get.pharo.org/64/vm70 | bash

you get a working image where you can load Zinc with

Metacello new
  repository: 'github://svenvc/zinc/repository';
  baseline: 'ZincHTTPComponents';
  load.

this loads successfully and all Zn/Zdc tests are green.

@jvalteren
Copy link

And the launcher now creates an Pharo 7.0 images from version Pharo7.0.4 build: 172, commit: ecc855d. This build correctly loads the Zinc baseline 👍

Thanks!

@svenvc
Copy link
Contributor

svenvc commented Nov 4, 2019

Indeed it does, I checked myself as well.

What a relief.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants