Re: [hatari-devel] Joystick dialog crashes with Ubuntu 24.04 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Joystick dialog crashes with Ubuntu 24.04
- From: Matthias Arndt <ssb.atari@xxxxxx>
- Date: Fri, 5 Jul 2024 16:47:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1720190877; x=1720795677; i=ssb.atari@xxxxxx; bh=dyZGFbqwndHiSqJgiYJtC64vWH8OtbNYuy8ZNN4/M4s=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=YjHV+XGnW4m6BIUZeKNAiZfDAv/duwrANnpA+qx/9GcLwASa58WYRJTAvRUlIYzC J1L5483Sa+z6hET2hPpHdaLSZACERPdKZXZYXsFpMpjE5Wa8DCXKv3FDQ/fOlKOfV dA/OLosqQaN+B0Frd7CVwdm/8n0xK2pd06Wl8NKLJAEZLzYcQZ9ilF7XZAqSKUpQ0 008Sd1lAnZNUNXO8KpoCIncvzqKapeUcBHG7sCk/oXCAp/OfO91aJjJ9iSv0i33zX S26zsg1aXsAMlT0TdwF8SMdJidhQ2SUsWUnXb1VI+9brriNY0Qq0Nya/Ae6no48Kq A51Is76keeQ73OGtaw==
- Ui-outboundreport: notjunk:1;M01:P0:+fA5iNVwSRI=;Leo7yZtTZ4JemYYvHfrN3XyJkAR lH2x+RW3OR0NG8Ziloc3zbIzFARQO34E0+nX/ILZohvDjC/4+WJNZxqnrlCYAVVWrQpoNr3kn VGc/qoLk0JmPOkqlJMX1Y1dSHgiQaYGSgkU8vkj3gCKkeGTKrfcgDJ3kQjsNpldLO/ELZmIjq kgQy6hGf48JJwAXwmI4/HWX0ayFNZUGN/WzehHyU9eggm6rdMVXrZ2cVxYNuv1ShmpcznS7MN vzvuL3hw0Ch0e9yR06kjOPfl7UH4/oL09d0KEZT8zMGPEKrs/LiNTNb239TSTwTfG93zNYv9V 84kW/EabcPMYPsvPt/kkYTQEGyYnuFqcFRSJ3krjjuS3AeVpCfwVwafDWI0zvbwVcP34EfhLT HLGuNkBuvaeM9s0iCGDH2LzRsfKoWP6x0XgWqCWV1/NaqJRw6/ywr2OC7H/ZEwuksTPxaOuLo lMGlEtCmPff2Xcmvc66urMuEvMGdWlebLXgwFOeJRdyPriduAmTJFbnOQW0bIg00yZEq2sWoJ I5Z/zkoVUlYo/Z4jywBpOdDuHyBwx4AhX50ozwpVQc/EYgA1y+GGfXe8mfdFC+GX8WfUGorRG MMt6pQ4UkxS44VLnqCYRPqJS+HoycAUGnr+KF2O4uNGKlXsoOrtXXkgVrRMAA8vEcFC4vypEg grmwqUHXcsHjxF1MpEiQyNZbdynSKP2QeZUU9RbbrhjlPQlCpDShlDPtZn9CVS2bz7SzXuPa1 sdSeaDel/d19Mi8e13Hou3Jv05E8exKmqlaDZHU/SnxMyo3ItfhSoKksEC9Lo7R8nJwVtaPUa lZ7zbidOsSVUOcy+tU2/plJ8iokUXYqY79TQt85jgyJoM=
Am Fri, 5 Jul 2024 17:00:06 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> User is reporting that opening SDL GUI Joystick dialog crashes
> Hatari, on Lubuntu 24.04:
> https://www.atari-forum.com/viewtopic.php?p=466100
>
> Is anybody here using some Ubuntu 24.04 variant? And if yes, can
> you reproduce the issue?
>
>
> I took a quick look at the related code, and it's possible that SDL
> Joystick name query may get given invalid struct address if SDL
> reports error or no joysticks, or user has invalid joystick mapping
> in his config file.
>
> Attached patch will hopefully handle such issues. Any comments on it?
>
>
> - Eero
I am using Xubuntu 22.04 and I had similar issues as the reported ones.
E.g. selected joystick reported as "null" and flickering around on
button click in my case.
I am willing to recompile a fresh snapshot with the patch applied to
see if it will fix things in my case.
Thank you for investigating!
Matthias
--
https://final-memory.org/