-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to install or get Polyphemus ? #26
Comments
Using the script, it works on my computer, although it hangs while dowloading VMMaker as a dependency, which can take a few minutes. |
There is this line in the baseline : LibC runCommand: 'git clone https://github.com/pharo-project/pharo-vm.git'. I haven't git on my PC (And I don't want to have it). |
I was about to tell you, but I encountered an infinite loop while trying to load on window. |
I don't understand what is the problem, having git ? loading time ? |
My issue, I do not know yet. Using git instead of Pharo to clone a project is way faster. |
Ok I understand, but for me the fast is not grave, I prefer having a maximum features with Pharo. I prefer limit multiple software installations on my PC. If it's possible to do git clone with Pharo it should be the default way. |
Yeah, in an ideal world that would be the case ! Regardless, in the meantime, I removed the git call so you can use it. |
I don't know how to get the Pharo-VM project, here is what I tried but it doesn't work: Metacello new
baseline: 'VMMaker';
repository: 'github://pharo-project/pharo-vm/VMMaker:pharo-10/smalltalksrc';
onConflictUseIncoming;
ignoreImage;
load. What version of the Pharo image you need, 10, 11 ? |
Both Pharo 10 & 11 should work, although we mostly used to work on 11. Metacello new
baseline: 'VMMaker';
repository: 'github://pharo-project/pharo-vm:pharo-10';
onConflictUseIncoming;
ignoreImage;
load. /!\ This is slow , my image hangs for about 10/15 minutes while loading the Pharo VM./!\ Because I have a new job and we have moved on from this project. |
Thanks @hogoww I will test to load without Wifi. |
I haven't on Linux / MaxOS, but that was the issue I encountered on Windows. I'll try to take a look this weekend. |
Thanks :) |
You should be able to load it properly now. Please let me know if you encounter further issues. |
I just also removed another "bug", which does not affect loading per se. |
Thank @hogoww, it works ! I can launch Polyphemus and play with it. But the problem is that I haven't any "square" in the graphical view :/ (last tabs) I send to you a screenshot when I have the image with me. |
Good :)
What image are you trying to open ? |
The image that I'm trying to open is an image that I cannot start (broken). This is Pharo 11 64bits image, created last week with some OS-Windows libraries loaded inside. Some screenshots after start an analysis : |
Hello, in the memory scripter tab you can inspect reifiedMemory (select and ctrl + i).
In the case the collection is empty, it means that Polyphemus managed to read the file in its entirety. You can find the list of objects in the objects collection (objects are ordered by address in there and you probably wants to look at the objects at the end). If you need more help, PM me or continue in this issue. |
Have you tried to execute the image with the command line ? |
Thanks @Alisu, I'm starting to test your instructions. |
Oh. Having no "Abnormal Objects" means that there does not seem to be any corruption in this image. |
Interesting.
then in reifiedMemory run the script:
It should force the traversal of every reference in the observed image. If it halts then there is a reference pointing to something that is not an object. If it does not halt then you don't have a corrupted memory. In the second case, it means that you, very probably, have a runtime problem. It can be a really long processing that seems like the image hang, an infinite recursion or something even different (you never know with ffi). If you arrive to this point and you really want to recover this image, I advice you to run the vm with the image with LLDB and you can ask the Pharo team to help you with that. |
Oh, an infinite loop in the startup would make a lot of sense. |
I don't understand the way to get (or install) and use Polymphemus on my PC.
I have tried that :
But an exception is raised during the loading (DirectoryDoesNotExist: Path ... Pharo/images/Polyphemus/pharo-vm/smalltalksrc.
Can you add some documentation or a link to get it ?
The text was updated successfully, but these errors were encountered: