[josm-dev] R: R: R: FW: [OSM-newbies] JOSM problems - is it just me?

2009-05-06 Thread Fabrizio Carrai
It has been closed. The problem has been considered to belong to Java and
not to JOSM (no fix).
I'll keep continue to update the Java VM... :-(

F.

 -Messaggio originale-
 Da: josm-dev-boun...@openstreetmap.org
 [mailto:josm-dev-boun...@openstreetmap.org]per conto di Fabrizio Carrai
 Inviato: domenica 3 maggio 2009 7.21
 A: josm-dev@openstreetmap.org
 Oggetto: [josm-dev] R: R: FW: [OSM-newbies] JOSM problems - is it just
 me?


 Done. Ticket created http://josm.openstreetmap.de/ticket/2514
 Available for any support would be needed.

 Fabrizio

  -Messaggio originale-
  Da: Jiri Klement [mailto:jiri.klem...@gmail.com]
  Inviato: lunedì 6 aprile 2009 22.02
  A: Fabrizio Carrai
  Cc: josm-dev@openstreetmap.org
  Oggetto: Re: [josm-dev] R: FW: [OSM-newbies] JOSM problems - is it just
  me?
 
 
  Can you please make a bug report and include one of the hs_err files?
 
  It's quite possible it's a Java bug. In that case upgrading Java to
  newest version should help.
 
  On Mon, Apr 6, 2009 at 9:02 PM, Fabrizio Carrai
  fabrizio.car...@gmail.com wrote:
   It happened to me as well, but since some earlier version.
 Approximately
   since end of January.
   I also tried to increase the physical memory but without success.
  
   Look at your current working directory: everytime that Josm
  crashes I find
   an hs_err_pid.log file indicating:
  
   #
   # An unexpected error has been detected by Java Runtime Environment:
   #
   #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d0347d6, pid=3996,
   tid=2088
   #
   # Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode
 windows-x86)
   # Problematic frame:
   # C  [awt.dll+0x347d6]
   #
   # If you would like to submit a bug report, please visit:
   #   http://java.sun.com/webapps/bugreport/crash.jsp
   # The crash happened outside the Java Virtual Machine in native code.
   # See problematic frame for where to report the bug.
  
   No solution to that up to now.
  
   Ciao!
          Fabrizio
  
   -Messaggio originale-
   Da: josm-dev-boun...@openstreetmap.org
   [mailto:josm-dev-boun...@openstreetmap.org]per conto di Andy
   Robinson (blackadder-lists)
   Inviato: lunedi 6 aprile 2009 16.50
   A: josm-dev@openstreetmap.org
   Oggetto: [josm-dev] FW: [OSM-newbies] JOSM problems - is it just me?
  
  
   Forwarded from newbies list
  
   -Original Message-
   From: newbies-boun...@openstreetmap.org
   [mailto:newbies-boun...@openstreetmap.org] On Behalf Of Mike Harris
   Sent: 06 April 2009 12:19 PM
   To: newb...@openstreetmap.org
   Subject: [OSM-newbies] JOSM problems - is it just me?
  
   Hi
  
   Since approx. 1st April I've been experiencing regular JOSM
   crashes - never
   happened before and no obvious change in my own system configuration.
   Happens with the latest .jar as well as the most recent tested.
  
   On carrying out a common operation the program just closes
 immediately
   without warning or message. Once it starts happening it happens with
   increasing frequency until I reboot.
  
   No obvious correlation with any particular operation.
  
   I have tried a reinstall without improvement - but perhaps I
  should have
   cleared out some corrupted old files? If so, what and where?
  
   Any tips - I'm getting frustrated!
  
   Mike Harris
  
  
   Nessun virus nel messaggio in arrivo.
   Controllato da AVG - www.avg.com
   Versione: 8.5.285 / Database dei virus: 270.11.43/2043 -  Data di
   rilascio: 04/06/09 06:22:00
  
  
  
   ___
   josm-dev mailing list
   josm-dev@openstreetmap.org
   http://lists.openstreetmap.org/listinfo/josm-dev
  
  Nessun virus nel messaggio in arrivo.
  Controllato da AVG - www.avg.com
  Versione: 8.5.285 / Database dei virus: 270.11.45/2045 -  Data di
  rilascio: 04/07/09 06:41:00
 


 ___
 josm-dev mailing list
 josm-dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/josm-dev
 Nessun virus nel messaggio in arrivo.
 Controllato da AVG - www.avg.com
 Versione: 8.5.287 / Database dei virus: 270.12.13/2091 -  Data di
 rilascio: 05/01/09 17:52:00



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Richard Fairhurst

Frederik Ramm wrote:
 But while we're at it, give us some reasons why we need to remain 
 1.5 compatible. I'm not in a hurry to switch to 1.6 but we'll do it 
 at *some* point and I am interested in finding out what that point 
 is going to be.

1.6 isn't available for PowerPC Macs, FWIW. Apple haven't made a PPC Mac
since 2006. I still use PPC for both my main machines (but then I'm not a
JOSM user so that may be moot).

cheers
Richard
-- 
View this message in context: 
http://www.nabble.com/New-GPX-implementation-tp23330999p23400671.html
Sent from the OpenStreetMap - JOSM Dev mailing list archive at Nabble.com.


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Ulf Lamping
Ľubomír Varga schrieb:
 I like system not reinventing wheel. If josm will more rely on third party 
 code, it will gain better maintability, stability and less code. Only 
 drawback is in relying on third party code.

Well, there are drawbacks like bugs in third party code that you can't 
easily fix, different versions used in the wild with different 
behaviour, making it less easy to set up a development environment, ...

Regards, ULFL

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Apollinaris Schoell
 compatible. I'm not in a hurry to switch to 1.6 but we'll do it at
 *some* point and I am interested in finding out what that point is  
 going
 to be.

Mac OS Tiger, Leopard 32bit have no 1.6



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Ľubomír Varga
It will run everywhere. Only problem with portability is that, that on java 
1.5 systems is some aditional lib (packable into josm.jar) needed. afaik. But 
I see it like handicap, because if Iam not wrong, that lib has about 7 MB. 
That is realy big think to bundle with josm. I hope Iam wrong...

PS: Iam not using primary java because of portability. It is useles on windows 
mobile based devices (no I/O posibility, no GPS, no access to BT...) I like 
java because of realy big framework which is bundled with its executive 
environment.

On Wednesday 06 May 2009 02:10:31 Russ Nelson wrote:
 Ľubomír Varga writes:
   I like system not reinventing wheel. If josm will more rely on third
   party code, it will gain better maintability, stability and less code.
   Only drawback is in relying on third party code.

 There's nothing *wrong* with third party code.  The problem is having
 a package that runs everywhere.  If portability is unimportant to you,
 why write in Java?

-- 
Odborník na všetko je zlý odborník. Ja sa snažím byť výnimkou potvrdzujúcou 
pravidlo.

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Greg Troxel

  1.6 isn't available for PowerPC Macs, FWIW. Apple haven't made a PPC Mac
  since 2006. I still use PPC for both my main machines (but then I'm not a
  JOSM user so that may be moot).

This is in my view a sufficient reason to insist that everything work
with 1.5.

But, if someone just has to download a jar and add it to a command line,
that doesn't seem like a big deal, even if it is 7 MB.



pgpTzKx2D6aIn.pgp
Description: PGP signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Henrik Niehaus
Ľubomír Varga schrieb:
 It will run everywhere. Only problem with portability is that, that on java 
 1.5 systems is some aditional lib (packable into josm.jar) needed. afaik. But 
 I see it like handicap, because if Iam not wrong, that lib has about 7 MB. 

It's only 1 MB and can be packaged into josm.jar. The user will not 
experience any changes, but the increased file size.


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Frederik Ramm
Hi,

Henrik Niehaus wrote:
 The use case of supporting the GPX standard is equal to the use case 
 of supporting GPX, in my opinion. Do it right or leave it be.

I was asking because it seemed to me that supporting a tiny subset of 
the GPX standard is, in my eyes, sufficient for JOSM - load a file and 
display it. I've tried GPXes from a lot of different sources and never 
had a problem.

If someone out there has a GPX file that cannot be displayed in JOSM and 
still conforms to the standard, then we should fix JOSM.

I don't, however, see a pressing need to support any and all extended 
GPX features. And neither do you, it seems.

So here's my suggestion, much like what Petr has said:

1. Since writing GPX files is broken beyond easy repair (if I understand 
you correctly), and since it is not part of the core JOSM functionality, 
let's remove that functionality from JOSM.

2. You build a plugin based on your code (let it be called Advanced 
JOSM GPX Manager or something), which completely replaces JOSM's native 
GPX handling, including reading and writing files, and probably also 
editing GPX traces (or if you don't want to do that, at least provide a 
solid foundation for doing such editing). Cross-check with the 
DirectUpload plugin whether the two should perhaps be merged. Many users 
would probably like a function that uploads only a part of the currently 
displayed GPX traces to the server, and things like that. You include 
the required Java 1.5 libraries in the plugin JAR file.

3. Once your plugin is used by many people and stress tested, and 
maybe at the time we switch to Java 1.6, we can throw out all the 
existing GPX code in JOSM and merge your plugin into the core.

Does that sound like a plan that works for everybody?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] New GPX implementation

2009-05-06 Thread Russ Nelson
Frederik Ramm writes:
  I don't, however, see a pressing need to support any and all extended 
  GPX features.

Actually, JOSM makes a fine GPX editor.  Great for removing those
birds nests when you stopped for lunch.

-- 
--my blog is athttp://blog.russnelson.com
Cloudmade supports http://openstreetmap.org/ 
521 Pleasant Valley Rd. | +1 315-323-1241
Potsdam, NY 13676-3213  | Sheepdog   

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] R: R: R: FW: [OSM-newbies] JOSM problems - is it just me?

2009-05-06 Thread Michael Bemmerl
Fabrizio Carrai schrieb:
  It has been closed. The problem has been considered to belong to
Java and
  not to JOSM (no fix).
  I'll keep continue to update the Java VM...  :-(

I have the same problem and I think Java 1.6.0_09 or so introduced this
issue. I have other Java apps running (e.g. TV-Browser), which don't
crash. JOSM is the only java app that crashes so constantly and
frequently (after six seconds of usage, as stated in the hs_err_pid-file).

I tried different -Xmx values (I normally use 1024M), but that didn't
helped. I don't think that the maximum memory usage is a problem here,
because JOSM already crashes with about 40 MB of memory used (as seen in
the status report).

But I found a solution to work around this Java bug:
As I looked in the task manager, I noticed that Thunderbird and other
non-java apps consumed about 1 gig of memory. After I closed every non
vital app, JOSM never crashed again.

Well, my workaround it's not nice, but it works (at least for me).

Bye,
Michi




signature.asc
Description: OpenPGP digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev