Issue 4319 in pharo: VM parameter handling problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 4319 in pharo: VM parameter handling problems

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.3 Importance-High

New issue 4319 by [hidden email]: VM parameter handling problems
http://code.google.com/p/pharo/issues/detail?id=4319

Some more tests:

1. this crash the image:
squeak PharoCore-1.3.image `pwd`/cacaboudin

cacaboudin does not exist

2. this crash the image:
squeak PharoCore-1.3.image `pwd`/empty.st

where empty.st is empty

3. this work:

squeak PharoCore-1.3.image `pwd`/test.st

where test.st only contains: Transcript show: 'hello'



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo
Updates:
        Status: FixToInclude

Comment #1 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

Fix attached. Defer execution until startup is done

Attachments:
        CommandLineLater.1.cs  286 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo
Updates:
        Status: Closed

Comment #2 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

can you check if 13235 solves the problem?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo
Updates:
        Status: Started

Comment #3 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

I undo for now to check if this makes the build fail.

13236


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo
Updates:
        Cc: [hidden email]

Comment #4 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

Issue 4325 has been merged into this issue.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #5 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

So the test that was not outputting it's data is this:

testOpen
        |block|
        block := [
                |browser|
                browser := self defaultTestClass open.
                World doOneCycleNow.
                browser close ].
        self shouldnt: block raise: Error


So my theory is that it somehow hangs until the end and then never finishes.

(the saved image after running tests was running this test and I got a  
primitive error because the xml file is not there).





_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #6 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

strange
now in headless mode we should not be able to open a browser so it should  
crash?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #7 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

This test looking a bit strange.
It tests that some class responds to #open message?
But where the guarantees that it will open a window or anything?
And of course in headless mode this should be ignored, since there is no UI.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #8 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

On mac

/Applications/Squeak/Squeak\ 5.7.4.app/Contents/MacOS/Squeak  
`pwd`/PharoCore-13240.9.image works

but /Applications/Squeak/Squeak\ 5.7.4.app/Contents/MacOS/Squeak  
`pwd`/PharoCore-13240.9.image `pwd`/plop
close the image when plop is not found.




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #9 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

/Applications/Squeak/Squeak\ 5.7.4.app/Contents/MacOS/Squeak  
`pwd`/PharoCore-13240.9.image `pwd`/plop2.cs
  and plop2 contains Transcript show: 'hello' ;cr it works.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #10 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

/Applications/Squeak/Squeak\ 5.7.4.app/Contents/MacOS/Squeak  
`pwd`/PharoCore-13240.9.image `pwd`/emptyfiles.cs also works.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #11 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

(No comment was entered for this change.)

Attachments:
        install-drgeo-clean.st  1.4 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #12 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

(No comment was entered for this change.)

Attachments:
        FixingStartup.1.cs  3.1 KB
        CommandDeferred.1.cs  288 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #13 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

Startup
-----------
At startup and shutdown the image execute the methods startUp: and  
shutdown: of registered classes (registered using addToStartUpList:,  
addToShutDownList:, ... methods and friends).
       
Startup phases
During the first stage of start up the UI manager, the default uimanager is  
switched to a specific non interactive ui manager (StartupUIManager). Note  
that this specific non interactive UIManager kills the system on any  
attempt to open windows and interaction. So be warned, don't use  
interaction in the first phase.
Then all registered classes execute their start up procedures (which should  
not imply interactive behavior).
After startup list is finished, any deferred startup actions are executed,  
which you can add using the method
addDeferredStartupAction: method.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo

Comment #14 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

in 13252


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4319 in pharo: VM parameter handling problems

pharo
Updates:
        Status: closed

Comment #15 on issue 4319 by [hidden email]: VM parameter handling  
problems
http://code.google.com/p/pharo/issues/detail?id=4319

hilaire I could build drGeo based on your script.
Did you give a try with the latest version?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker