Opened 15 years ago
Closed 15 years ago
#4179 closed defect (fixed)
JOSM hangs when playing a voice file
Reported by: | RussNelson | Owned by: | anonymous |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | audio voice | Cc: |
Description
JOSM hangs when playing a voice file if you click on another voice file.
Attachments (1)
Change History (13)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
I've uploaded a gpx file and two audio files. I just reproduced the problem using josm-tested-2561.jar. I loaded 09030505.csv.gpx into JOSM. There are three points, two with speech bubbles. I clicked on the more southerly of them, and before the audio note could finish playing, I clicked on the more northerly speech bubble. Hard crash.
comment:3 by , 15 years ago
It works for me. What do you mean by hard crash? Josm shows exception or prints something to the console or it just disappears? Or some other message/error dialog is shown?
comment:4 by , 15 years ago
Works for you?? With what version of JOSM? It reliably crashes for me; every time. Very annoying, as you might understand. Total loss of work.
By "hard crash" I mean that JOSM becomes completely unresponsive. Ignores keystrokes, ignores mouse clicks, even ignores the X server's request to close (clicking on the close button). Only way to kill it is to send it a SIGKILL (e.g. by Ctrl-C in its terminal window).
comment:5 by , 15 years ago
Try to send QUIT signal to the josm. It will print stack trace to the console, that might help me to where exactly is josm stucked.
Otherwise it really works for me, I first tried to click on south and then immediately on north point and when it worked I was clicking really fast between these two points but I didn't manage to lockup josm. Tested with r2561
comment:6 by , 15 years ago
kill -QUIT (pid of java running JOSM) prints nothing. I'm doing an 'svn update' to see if the problem has been fixed in current versions, as you report.
comment:7 by , 15 years ago
Then it must be some problem in your JVM, kill -QUIT should always print the strack strace. Do you use sun java or openjdk? And what version?
comment:9 by , 15 years ago
You can try to do the thread dump with jstack -F <josm pid>, it should print the stack even when QUIT doesn't work (I've never seen QUIT not working but SUN probably didn't add -F option to jstack for nothing)
comment:10 by , 15 years ago
jstack -F 29024 complains that it requires a java VM process/core, but that process is definitely running java, as reported by /proc/29024/cmdline. I'm confused.
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-02 02:32:19
Last Changed Author: jttt
Revision: 2561
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-01 21:37:23 +0100 (Tue, 01 Dec 2009)
Last Changed Rev: 2561
Memory Usage: 2007 MB / 2007 MB (424 MB allocated, but free)
Java version: 1.6.0_0
Dataset consistency test:
No problems found
Plugins: walkingpapers,wmsplugin
Plugin walkingpapers Version: 18597
Plugin wmsplugin Version: 18953
cache.motd.html=1263747831
cache.motd.html.version=2561
cache.wmsplugin.expire=2419200
cache.wmsplugin.maxsize=70
conflict.visible=true
conflictresolutiondialog.height=607
conflictresolutiondialog.width=1328
conflictresolutiondialog.x=249
conflictresolutiondialog.y=121
coordinates=DECIMAL_DEGREES
gui.geometry=1316x871+0+25
josm.version=2561
lastAuthorName=RussNelson
lastDirectory=/home/nelson/osm/ogr2osm
marker.audiofromstart=false
marker.buttonlabels=false
message.convert_to_data=false
message.convert_to_data.value=0
message.delete_outside_nodes=false
message.delete_outside_nodes.value=1
mirror.http://josm.openstreetmap.de/presets=1258909326694;/home/nelson/.josm/mirror_http___josm.openstreetmap.de_presets
mirror.http://josm.openstreetmap.de/styles=1258909326324;/home/nelson/.josm/mirror_http___josm.openstreetmap.de_styles
mirror.http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/sources.cfg=1263263697422;/home/nelson/.josm/plugins/wmsplugin/mirror_http___svn.openstreetmap.org_applications_editors_josm_plugins_wmsplugin_sources.cfg
org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.geometry=x=837,y=325,width=600,height=400
org.openstreetmap.josm.gui.download.DownloadDialog.geometry=x=15,y=145,width=1000,height=694
org.openstreetmap.josm.gui.io.UploadDialog.geometry=x=209,y=178,width=400,height=600
osm-download.bounds=40.7112916300595;-73.62883506472284;40.71542755902725;-73.62210320954779
pluginmanager.lastupdate=1260771419698
pluginmanager.version=2561
plugins=walkingpapers
wmsplugin
proxy.anonymous=false
proxy.enable=false
save.keepbackup=false
shortcut.groups.1=128
shortcut.groups.10=64
shortcut.groups.11=576
shortcut.groups.12=64
shortcut.groups.13=512
shortcut.groups.15=640
shortcut.groups.16=640
shortcut.groups.17=576
shortcut.groups.18=512
shortcut.groups.19=128
shortcut.groups.2=128
shortcut.groups.20=512
shortcut.groups.3=0
shortcut.groups.4=512
shortcut.groups.5=0
shortcut.groups.6=512
shortcut.groups.8=192
shortcut.groups.9=192
shortcut.groups.configured=true
tagimages.delta=13965000
tagimages.gpstimezone=5
tagimages.lastdirectory=/tmp/2009-12-15/img_3363.jpg
upload.comment.history=improve the LIRR between Hillside and Laurelton
improve the West Hempstead and Hempstead Branches of the LIRR
improve the Valley Stream Branch of the LIRR
improve the Bethpage Branch of the LIRR
improve the LIRR Port Washington Branch
improve the LIRR Sag Harbor branch
improve the LIRR Bethpage branch
Add the Kellogg branch.
Add the old champlain canal and locks to the new
Upload the Kanona and Prattsburg
http://railroad.net/forums/viewtopic.php?f=128&t=68771
Add the inclined plane in Ithaca
make some fixes in Watertown
Add the Ithaca and Corning aka Lehigh Valley Elmira and Corning branch
Add the Hudson Valley Railway (trolley)
wmsplugin.default.html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?=true
wmsplugin.default.http://onearth.jpl.nasa.gov/wms.cgi?request_GetMap&layers_global_mosaic&styles_&format_image/jpeg&=true
wmsplugin.default.http://openaerialmap.org/wms/?VERSION_1.0&request_GetMap&layers_world&styles_&format_image/jpeg&=true
wmsplugin.url.0.name=Landsat
wmsplugin.url.0.url=http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg&
wmsplugin.url.1.name=Open Aerial Map
wmsplugin.url.1.url=http://openaerialmap.org/wms/?VERSION=1.0&request=GetMap&layers=world&styles=&format=image/jpeg&
wmsplugin.url.2.name=Terraserver Ortho
wmsplugin.url.2.url=http://terraservice.net/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=doq&styles=&format=image/jpeg&
wmsplugin.url.3.name=Terraserver Topo
wmsplugin.url.3.url=http://terraservice.net/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=drg&styles=&format=image/jpeg&
wmsplugin.url.4.name=Terraserver Urban
wmsplugin.url.4.url=http://terraservice.net/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=urbanarea&styles=&format=image/jpeg&
wmsplugin.url.5.name=Yahoo Sat
wmsplugin.url.5.url=html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?
wmsplugin.url.overlap=false
wmsplugin.url.overlapEast=14
wmsplugin.url.overlapNorth=4
comment:11 by , 15 years ago
Try to run java -version. I guess it will tell you that you run openjdk 6 (free implementation of java, default on ubuntu). If so, run:
sudo update-java-alternatives -s java-6-sun
That should choose java from sun which hopefully wouldn't get stucked or at least jstack would work.
comment:12 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Switching to java-6-sun made the problem go away, so I must conclude that it's a problem in openjdk 6.
Can you please be more specific? I've tried to load gpx track + audio, let it play and then loaded another gpx track and audio for it and JOSM didn't hang.