Created attachment 39424 [details]
The point of the lock
After installing successfully LO under Win2000 SP4, then uninstalling to make some test for #30467, now i'm not able to installing it anymore.
The setup process hang in the final step represented in the attachment.
Clicking on cancel, the program ask for confirmation then nothing happen. I have to kill the unopkg.bin to exit, then LO says it is installed successfully.
Looking in the process list during the hang, i can see java.exe and unopkg.bin trottling to gain cpu usage.
The VC runtime is already installed.
I have tried uninstalling LibreOffice and VC runtime many times and the "repair" function of LO, but without effect: it stops in the same point.
If i run LO applications, they seems to work, but i've not used them deeply.
I've no idea how to debug this problem but i'm available to make some test do diagnose this problem.
Tomorrow i'll try to upgrade Java6 to the latest version.
With Java uninstalled the setup completed correctly (before i had JRE6u21 and a release of JRE5).
Adding Tor to cc who might help unwinding the mysteries of the windows installer. Any idea Tor?
No idea now, but will eventually try to reproduce in a Windows 2000 virtual machine.
Taking this, will try to reproduce.
Have not been able to reproduce. In my Windows 2000 virtual machine: I installed Java, installed Beta 3, tried it, uninstalled it, rebooted (just to be sure), and installed Beta 3 again. No problem. Resolving as WORKSFORME, please reopen and add more detailled reproduction instructions if you can reproduce with Beta 3 or later.
New results with LibO 3.3 RC?
After filing this bug i've always tested LO without Java installed and in that situation the bug doesn't happen.
I'm very busy ATM, but after the christmas period i will hopefully be able to retest the setup with Java installed.
Even if, i admit i'm more interested in helping LibreOffice in getting rid of Java.
I've download LO 3.3.0rc2, uninstalled rc1, installed JRE 6u22, launched rc2 setup.
The problem is the same: i've waited for 10 minutes for the process to end, then killed unopkg.bin. The installer then showed the end screen.
I confirm that there are two process reaching the higher cpu usage: unopkg.bin and java.exe but somethimes also jqs.exe and setup.ovr appears near the top.
The java.exe process keeps on vanishing and reappearing, making me think of a loop that go on launching the same process again and again.
Since nobody else reported the same problem, it's probably something related to my pc configuration. There is an old JRE 1.3.1 on that machine that i can't really uninstall: maybe there is some sort of interference. What if the java.exe i see is from JRE1.3.1 rather than 6.0?
If you have a hint on how to debug, i can try to go deeper.
Is it possible to see the full path to the executable in Task Manager in Windows 2000? If not, try if Process Explorer still works on Windows 2000. That might give some hints if it is the 1.3.1 JRE that interfers.
(In reply to comment #9)
As requested by Tor, i've tried to uninstall rc2, install JRE 6u22, delete the LibO folder under %programfiles%, reinstall rc2.
No, under Win2000 Task Manager doesn't show processes' full path, so i installed Process Explorer, as suggested.
I see that unopkg.bin is busy on calling ciclically three different java.exe process:
Asking for properties to the java.exe under system32, it reports that belongs to JRE 6u22.
For each the three Java calling, here is the command line reported by Process Explorer:
java.exe -classpath c:\programmi\LibreOffice\URE\bin JREProperties
I've attached what Java says when i try to launch this command line at the command prompt, but perhaps LibO installer setup a different environment to the JRE, so this could be useless.
So yes, JRE 1.3.1 is called but JRE6 is called too and seems to fail as well.
Created attachment 41715 [details]
JRE6 exception on calling JREProperties.class
I have a news.
When i was diagnosing for the previous post and doing something else, i've left the setup process busy in its Java loop. When i came back to it, the LibO setup process was finished, with no more Java running.
I've left it running more than 15 minutes, but i can't be more precise.
So seems unopkg calls is not in an infinite loop, but in a slowed down loop?
Evidently it's a corner case bug, since no one seems to have reported the same problem.
But today i've upgraded 8 machine in parallel (all Win2000) to LibreOffice 3.3.1 and 4 of them have experienced this problem. The steps followed was:
- uninstall previous version: i remember two OOo 3.1, two LO 3.3.0 and the rest was go-oo 2.4.1.
- delete what remained in %programfiles%
- delete what remained in the user startup folder
- delete what remained under the program menu
- install JRE6u22
- install LO 3.3.1
For one of them i've waited for about half an hour, then the setup completed. For the others i simply couldn't wait so much, so i followed this workaround:
For the next PCs i've adopted this workaround:
- kill the LibO setup.
- uninstall any JRE.
- install LibreOffice or restore a previous setup with "Modify".
- reinstall JRE (6u22 for me).
I reopen this bug since it's not a problem of a single PC.
I'd like to add details to my latest post: every machine updated, have only *one* JRE installed, JRE6u22. Not as in my PC (first post), where i need also JRE 1.3.1.
So in these cases doesn't look like interactions between different JRE versions.
Moreover, on the pc of the initial post, i've just installed 3.3.2 and i confirm that:
- the problem is still present
- the installer complete after a huge wait (more than 20 minutes): so i confirm that it's busy on something.
- looking from process explorer, unopkg keep calling java, that ends almost immediately then gets recalled, in loop. With the 3.3.2 i see calling java from %programfiles%, then from system32, but they are always from jre6. No more calls to jre 1.3.1.
Tor, any other suggestion on what to look to reach the root of this bug. It's rather annoying.
What JRE did you use to make tests?
I've been able to install LO under Win2K upto 3.4.2 Final and jre6 update 26 without any setup problems. Maybe it's time to close this report ?
I've just upgraded to LO 3.4.3 on one of the Windows 2000 PC i've talked abount in this bug, with JRE6u27, and the final hang is no more.
Good, this bug can be closed.