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: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 6 Jul 2024 06:28:12 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1720247295; bh=C0OmrGixkXJDbZWPASPWoqDsYk6wMZvaLcPD0zyt8Yk=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=BbkXS0ECUC1TQbst/C7XaUVQxX9xzJuRQ3vwBDlrax1KUgHZAmuF6irkTp73Y8kta wEbDBwu2+F9MUZJHwDOOW6aAXEvfoKtL1uiIAvFAup3PUIT5zERlgStHNm04A3DwKz EN4kXDWthxZukOZnM7ivjecV4IPCBjaX4u5SV/kiBLI5vIxnVebKN5WPrs0gbSAxul U1OShUNCc72MBtfOS3JdrRc09IZ5u78wgMhgVUkp+vtbG8zZWuwjQipdrDX9sSOcw8 2YQpAsfK2v5v1jkg8l6R0Rg9b0El0nU4VirdHkfJZP02DSY3Pp4SZMjj+4b2LWohlV b6oW9nC7Dl0bA==
Am Fri, 5 Jul 2024 16:08:55 +0200
schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> Le 05/07/2024 à 16:00, Eero Tamminen a écrit :
> > 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
>
> Hi
>
> can't reproduce the crash when no joystick is plugged, but I'm not using
> ubuntu + I'm using sdl 2.30 and not 2.2 as the user reported.
Ubuntu 24.04 seems to use SDL 2.30, too, it's just a weird naming of the
file name that is confusing here. Refer to:
https://packages.ubuntu.com/noble/libsdl2-dev
In the file list that you can access at the bottom of the page, you can see
that the lib is called:
/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so
The file has the same name on Fedora, too, so I assume this is basically
the standard naming of the .so file.
Thomas