[DebianGIS-dev] Bug#472285: josm stuck on launch

Giovanni Mascellani g.mascellani at gmail.com
Mon Mar 24 21:03:25 UTC 2008


All'incirca Mon, 24 Mar 2008 20:48:30 +0100,  Petter Reinholdtsen
<pere at hungry.com> sembrerebbe aver scritto:

> This can be seen as a bug in the wrapper.  A better version shold be
> discussed with the Debian Java team.  I've had success running josm
> with jamvm and gij, but see there are visual glitches when using
> Classpath.  These are bugs in Classpath, as far as I know.
> 
> It currently work best with SUN Java, no doubt about that.
> 
> Can you provide the setting for the java alternative when experiencing
> this problem  (as in ls -l /etc/alternatives/java)?

Well, my experience is a bit odd: first of all, I see many differences
if I work in my main sid or in a little chroot, sid too (they both
up-to-date).

Needless to say, all works fine when using VM from Sun, either version
5 or 6. (looking forward to having Java 7 free...)

With jamvm (command: JAVACMD=jamvm josm):
 - Inside the chroot things are going quite well, but:
   * File type selection combo in Open file dialog is broken, and
     doesn't influence the file view above. Anyway, I could open a .gpx
     file, but when I tried with a .gpx.gz at first it just started to
     eat all the CPU time it could, and after a few minutes it started
     allocating memory on memory, and I had to kill it.
   * Uploding changes result in a "Error while parsing: An error
     occurred: Already connected java.net.ProtocolException" error
     dialog.
   * Downloading works.
 - In my main system things are much simpler: the main window gets
   opened, but it is empty. After a few seconds jamvm happily crashes.

With gij-4.3 (command: JAVACMD=gij-4.3 josm):
 - Inside the chroot the window gets opened, but it's empty. strace
   shows that is waiting in a futex() call.
 - Outside the chroot it happens just the same thing.

With gij-4.1 (command: JAVACMD=gij-4.1 josm):
 - Inside the chroot things are similar to jamvm, but:
    * Open file dialog is even more broken: I can't select the file I
      want, because clicking on a file causes another file to be
      selected and, thus, opened. Anyway, I'm able to open .gpx.gz
      files.
    * Downloading sometimes it ends up in unresponsive program,
      sometimes ends up in an error dialog, sometimes works.
    * Uploading fails as in jamvm.
 - Outside the chroot josm crashes as with gij-4.3.

Quite strange, isn't it? I think that, right now, josm isn't in shape
to be released in main, and should move to contrib depending on Sun's
JRE.

Cheers, Giovanni.
-- 
Giovanni Mascellani <g.mascellani at gmail.com>
Pisa, Italy

Web: http://giomasce.altervista.org
SIP: g.mascellani at ekiga.net
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20080324/02625be0/attachment.pgp 


More information about the Pkg-grass-devel mailing list