[izpack-devel] Running IzPack with VM 1.5 without SigSegV
Bartz, Klaus
Klaus.Bartz at coi.de
Tue Jun 20 10:30:51 CEST 2006
Hi Elmar,
see context related.
Cheers
Klaus
>-----Original Message-----
>From: izpack-devel-admin at berlios.de
>[mailto:izpack-devel-admin at berlios.de]On Behalf Of Elmar Grom
>Sent: Monday, June 19, 2006 7:10 PM
>To: izpack-devel at berlios.de
>Subject: RE: [izpack-devel] Running IzPack with VM 1.5 without SigSegV
>
>
>Hi folks,
>
>it's strange to hear all this stuff with Problems about 1.5.
>Somehow I can't
>relate to that. Neither do I have any Problems on my machines
>(Windows 2000
>and XP) nor do my customers report any.
But more than one other people have reported crashes with VM 1.5 if
native parts are used. Not since IzPack 3.8 else since the first 1.5 VM.
With a "normal" installation I have in the moment really rare crashes.
But with one which exit fast the crash is reproduceable. If needed,
I can send the used panel and build xml file. May be there is a
timing problem.
>
>So I start wondering if it might be something else. One thing that is
>different in my case is that I use quite an old version of IzPack. So
>perhaps the causes are not with the shell link. As far as I
>know this has
>not changed since it was first implemented.
>
There are changes; in the java part and in the C part. E.g. 0.9.2005
I have made the Unicode port.
But I think the changes are not the problem. Crashes are existent before
them.
Crashes are if the ShellLink and/or Registry stuff used with outload
from the jar file and use the FreeThread from Librarian.cleanUp.
No crash seen if FreeThread will be not used.
I am not certain that the
FreeLibraryAndExitThread (handle, 0);
call in
JNIEXPORT void JNICALL Java_com_izforge_izpack_util_os_ShellLink_FreeLibrary
is really the problem, but there are more than one indicationes that
it is.
I am waiting more than a year that some one else fix the crash problem.
But now I need an IzPack version which is useable with VM 1.5 also
native parts are included. I make the way I have found; I do not
spend weeks to get a hard evidence for the reason.
>It sounds awfully tedious but it might be worthwhile to start
>going back in
>time in an effort to identify the first version of IzPack that
>does exhibit
>the problems you observe. That might give us a narrower view
>on the things
>that may cause the problem.
>
>One problem I do have is that I never could get newer versions
>of IzPack to
>run in my environment.
If there is a version which do not crash with native part in it it will
be nice if you can write what version you use. Then there is a limit
above old versions. If I can reproduce the crashes with that version
we can concentrate us on fix the problem.
>That is why I still stick with the old
>one (Julien
>might remember a conversation on this topic quite a while
>ago). Right now I
>am at a point where I have to give my build environment a
>work-over to build
>a parallel version of my application. Therefore this might be a good
>opportunity for me to invest a day or two in order to get this
>working. At
>the same time, there might be an opportunity for IzPack in general to
>benefit....
>
> Elmar
>
>
>-----Original Message-----
>From: izpack-devel-admin at berlios.de
>[mailto:izpack-devel-admin at berlios.de]On Behalf Of Hal Vaughan
>Sent: Monday, June 19, 2006 7:43 AM
>To: izpack-devel at berlios.de
>Subject: Re: [izpack-devel] Running IzPack with VM 1.5 without SigSegV
>
>
>On Monday 19 June 2006 10:19, Bartz, Klaus wrote:
>> Hi Hal,
>> yes, shortcuts on Windows are using native code (and the
>> registry stuff).
>> May be your Windows 2k reboots are related to this, but if so
>> it will be more a bug in windows else in IzPack or the VM.
>> The VM runs in user mode and no process in user mode should
>> be able to alter system in a manner that it has to reboot.
>
>Does it make a difference that I was running it as Administrator?
>
>> Time of DOS should be away :-) (where you can alter reference
>> definition of boot device with a short c program).
>> Will be nice if you can test my changes. I hope, I can check in
>> it tomorrow.
>
>It'll be a while. I'm still trying to figure out ANY versioning system
>so I can import those changes without losing the SimpleConfig stuff Fab
>and I still have to publish here.
>
>Hal
>
>> Cheers
>>
>> Klaus
>>
>> >-----Original Message-----
>> >From: izpack-devel-admin at berlios.de
>> >[mailto:izpack-devel-admin at berlios.de]On Behalf Of Hal Vaughan
>> >Sent: Monday, June 19, 2006 4:07 PM
>> >To: izpack-devel at berlios.de
>> >Subject: Re: [izpack-devel] Running IzPack with VM 1.5 without
>> > SigSegV
>> >
>> >On Monday 19 June 2006 07:12, Miraodb wrote:
>> >> Hi Klaus,
>> >>
>> >> Great thing that you look into this. I think not izpack is
>> >> suffering from 1.5 but many other projects.
>> >
>> >It's quite possible the issue I had with IzPack making Windows 2000
>> >reboot when it created shortcuts is related to this, isn't it?
>> >(Wouldn't the shortcut panel be using the dll files Klaus
>> > mentioned?)
>> >
>> >Hal
>> >_______________________________________________
>> >izpack-devel mailing list
>> >izpack-devel at lists.berlios.de
>> >http://lists.berlios.de/mailman/listinfo/izpack-devel
>>
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
>> http://lists.berlios.de/mailman/listinfo/izpack-devel
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-devel
>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-devel
>
More information about the izpack-devel
mailing list