Issue Details (XML | Word | Printable)

Key: IZPACK-19
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Brett Bergquist
Reporter: Brett Bergquist
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

The launched installer hangs even if the jar installation would succeed

Created: 29/Feb/08 07:19 AM   Updated: 16/Nov/08 04:49 AM
Return to search
Component/s: Native launcher
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: WinXP Pro


 Description  « Hide

I have an installer that I wrapped with the native launcher v2.2. The launcher starts the installer and I can go through various panels but then it hangs. I narrowed down this problem to having a DataPanel in my installer.

I think what is happening is that in launcher.cpp, the java process is executed with a "QProcess:execute". The DataPanel outputs a lot of information to the Standard Output channel. Without something to read and consume this output, I believe that the installer then hangs.

This can happen when using "Runtime.exec" in Java as well and in various places on the web it is mentioned that if a the invoker does not setup to consume the stdout and stderr streams the called application may block.

I would fix this but I don't have a Qt license.



Julien Ponge added a comment - 29/Feb/08 07:41 AM

If you want to investigate this, please note that Qt is perfectly opensource (albeit GPL): http://trolltech.com/downloads


Brett Bergquist added a comment - 29/Feb/08 07:47 AM

I'll see about downloading the Open Source license version and installing a compiler and such and see if I can figure it out. It will take a while however as I'm pretty backed up here at work.


Julien Ponge added a comment - 01/Mar/08 11:34 AM - edited

I am assigning this to myself as I will handle the patches when Brett has them ready.


Julien Ponge added a comment - 27/Mar/08 05:48 PM

Any news regarding this issue?


Brett Bergquist added a comment - 27/Mar/08 05:59 PM

I'm sorry Julien but I have not had a chance to try to debug this. Removing the data panels masked the problem and I have just not had time to look any further. I do have a Qt build environment, so I will be able to do so, but I don't predict it will be for another week or two.


Julien Ponge added a comment - 19/Apr/08 07:07 AM

The fix will be delayed as Brett is busy right now. Of course if someone has the resources to implement it, I will happily reschedule it for inclusion in IzPack 4.0.0.


Julien Ponge added a comment - 22/Apr/08 03:21 PM

Re-assigned to Brett as he joined the project.


Julien Ponge added a comment - 09/Sep/08 09:24 AM

This issue has been originally scheduled for inclusion in version 4.1.0, to be released on october 2nd 2008.

If you believe that it cannot be resolved on time, then could you please move it to 4.2.0? Otherwise, I would appreciate if you could give me a time frame for scheduling purposes

Thanks a lot!


Brett Bergquist added a comment - 09/Sep/08 10:12 AM

Moving this to 4.2.0. In a few weeks, I will have time to work on this. My full time job will have calmed down a bit so I can spend time on this.


Brett Bergquist added a comment - 15/Nov/08 07:38 PM

Gone on vacation next week for 2 weeks so I will not be able to work on this for the 4.2.0 release.


Julien Ponge added a comment - 16/Nov/08 04:49 AM

Thanks for letting us know, and enjoy your vacations