Latest josm and screen displacements

Greg Troxel gdt at lexort.com
Sun Jan 3 15:13:35 UTC 2021


ael via josm-dev <josm-dev at openstreetmap.org> writes:

> At least the last two versions of josm-latest have been corrupting my X
> environment. After downloading osm data, the whole josm window and the X
> session are displaced by perhaps 100 pixels down the screen. The mouse
> pointer and the highlighted members of some pull down menus are
> similarly displaced. Exiting josm leaves the whole X session displaced.
> Restarting X was not sufficient to clear the problem. A reboot, and then
> resetting the X session was needed.
>
> I did find a core dump file which was from the xfwm4 window manager
> which *may* have been related to the problem. The timestamp was about
> the same time. gdb did not report anything very helpful.
>
> Obviously I tried to report this as a josm bug, but when I tried to
> submit a ticket, it failed. Repeatedly. I tried logging in to the Trac
> system, but that too fails. Hence this message. Sorry for so little
> detail, but I assume that others will be seeing the same problem.

Until the bug is found it is impossible to say anything with 100%
certainty, but if your X session is permanently messed up then you have
found an X11 bug that is merely being triggered by josm.

It may be that josm has a bug and is making an invalid call, and it's
necessary to have that invalid call to expose the X11 bug.

I would suggest rebuilding the X11 server with UBSan, TSan, and any
other debugging aids you can find.   I would also suggest bisecting on
JOSM revisions to see if you can find the relevant change.  If you know
what behavior triggers the X11 bug, you can create a test case to submit
to the X11 maintainers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20210103/36c573e5/attachment.sig>


More information about the josm-dev mailing list