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 17:29:46 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1720193388; x=1720798188; i=ssb.atari@xxxxxx; bh=y2xV+zSvamkZOHO/Kf4V/z2iWFLA1+SzT93LGzNtGPo=; 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=t5W4Yw+Sgpy/NHM4kca2UoveuBhPntNWYuqPGsIteD5LFSDFTme4oiCanASrEABN MD1jGFS0/CiFp7S1jukoSRWL2zj1GnVWxQXyF/Z1TsmL4KiB5TYqlABmSXHwHzh1H rKkmT6B+Ib5T/jovGMCX21dFyj9PoGi8CJLMHNXZN5L2o4lOVgEvfe5bzc1qnLbZh uXbRWjBYS6mddbX2djRjBbQOXjchimq65pcJ2mmi4/k7vWCrmWdgJ+o0TTvPt/Td/ e2frywNBjm6wchzJKVGa35yrKpqyw9lo02YqwwDBbOoh5OSg5dVIUTjE2KBHTUHoy 3bVTn4tfm79NpyGnyg==
- Ui-outboundreport: notjunk:1;M01:P0:1NvTq13ekEU=;GYh7EtDiCBiroTJPWclFVIRZ5lJ DIOYyBnthHAlEmX1r8vcFJsD5/PBjka5jKyzSnEnVNwMsCD8Cfb5D90s1roUWi+8nMHpt5CsK JfTg+0Ymp4P9qiAv2+AZWMtQV3BGtIwl41lYfFdoJ6BFJgIsHQKnRNgu7HAEF0mGpcMaYdZ7e kMYK4PZ5fHc5Gcx0shZIjWwlPiDF3qxRsO5uBSn2bYk42ZVAOF6T3h4o0BiDFpiAKcAL06W9V DLPEn5XU4CPup5dqhJj/16TGCa/8rmwS2arZZdv3VNap5OL92+d+QQmpffPCgKzAowtOlFrM4 ku1Dna3Vi2pQ2Gp5LNhDMvEc9CqivYC0kNIJT3inSWGsIiPiAo2+Em45RdqsIJIXpOeB6Iw5c FHjp87XfhYaNjFX68GcnRlrGk41NYUZcB5GWKNsXeRtXi736Cxsi4ZDi6n7BUqLCX9SXLQjo/ 0uSCUytYbxjw7KIDyGVR3K2OFlV28+lmL8hpmCU67DFtU99SvAaknRqqNZ7tVRPNrR5ATEyCv lZchVYp1fKi3T5AR4/f5g9wVp4WmAkwkGZ/UdahSZJyRCNLieJd12yWZZAQSAPhAmKGrEG8uk RGBblBexJ3xk/nARlWIwKojlb5QlUJMM7J6HyrnQsFRy7EqEeCMimHF62n7K65MAcmoiuIeU8 OBbaei4Ls/VPWNO8OQaMCXjVuvSf7Gv3HBQzbWsdeKQNoi0sYicPa5mvRpd45H1seu6VmWTk6 p+JzqsFtdZs0Koq7+7Esl2q+mXHbLRSCJgpd2gRK61OX0nOdVJkK8LSO65bMDR4s02RhUibkx ENZJClLRp1Yxi6bnjFWkbRIxAUsMDlzNwD8gaA6G2267M=
Am Fri, 5 Jul 2024 16:47:55 +0200
schrieb Matthias Arndt <ssb.atari@xxxxxx>:
> 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/
>
>
At first glance it compiles and seems to work for me.
The selected real joystick doesn't go to null anymore and even if it is
deselected one can navigate the GUI.
I will test this a little bit more in the upcoming days.
Unless I report anything else back it will be working well enough for
my needs.
Matthias
--
https://final-memory.org/