Re: [hatari-users] Hatari 2.1 crashes when closing the preference window on Mac OS 10.13.3

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


 

 

Well... I just switched my OS langage to english and.... the crash disappeared :)

Switched back to French and have the crash again...

 

So guys, it seems there is a bug somewhere in strings manipulation in the preference window (native UI) and that bug occurs (or not) depending on the langage...

 

Is there any French developer working on Hatari? :)

 

Seb

 

> Message du 10/02/18 18:00
> De : "Sebastien Laborie" <sebastien-laborie@xxxxxxxxx>
> A : hatari-users@xxxxxxxxxxxxxxxxxxxx, ae@xxxxxx
> Copie à :
> Objet : Re: [hatari-users] Hatari 2.1 crashes when closing the preference window on Mac OS 10.13.3
>
>

>  

> Hi Anders,

>  

> Here is the scenario I first used:

> I downloaded Hatari 2.1.0 here: http://download.tuxfamily.org/hatari/2.1.0/hatari-2.1.0_2_osx.dmg.zip

> Then I copied the Hatari application to the Application folder on my Mac (HFS+).

> I launched it by clicking the icon in the Application folder...

> Hatari ran with the default config and used EmuTOS.

> Then I entered the preference window and clicked OK and got the crash.

>  

> Then I used your scenario:

> I started Hatari from the terminal with the "--machine ste" option.

> Then I got the same crach when opening and closing the preference window (OK button).

>  

> Important:

> - I first installed Hatari 2.1.0 on my old Macbook Air which was recently updated to Mac OS 10.13.3 (was previously snow leopard, then el capitan).

>   I got the crash as described above

> - Then I installed Hatari 2.1.0 on my freshly bought iMac 27" (1 month ago!) with Mac OS 10.13.3 installed by default.

>   I got exactly the same crash.

>   *** You can fin attached the log file of that second crash ***

>  

> To summarize:

> I use the default Hatari image (from the download area on tuxfamily)

> I installed it on a freshly installed Mac OS 10.13.3

> I launched it as any other application, just by clicking on the icon in the Application folder

> And I have this weird crash...

> And this crash occurs on both my old macbook air and my new iMac..... 

>  

> Looking at the crash log file, I can see that there is a segmentation fault in strncpy.

> I was wondering if it could be related to the ASCII strings manipulations that are probably done when displaying the preference window?

> Please note that my language is French and that the preferences/options are displayed in French too.

> Could be a difference with your environment?

>  

> Thx!

>  

> Seb

>  

> Message du 10/02/18 17:05
> De : "Anders Eriksson" <ae@xxxxxx>
> A : hatari-users@xxxxxxxxxxxxxxxxxxx
> Copie à :
> Objet : Re: [hatari-users] Hatari 2.1 crashes when closing the preference window on Mac OS 10.13.3
>
> On Sat, 10 Feb 2018, Sebastien Laborie wrote:
>
> > I just installed the freshly released Hatari 2.1 on my Mac OS (10.13.3).
> > Hatari crashes when I close the preference window.
> >
> > If I open the preference window and press cancel, then there is no crash.
> > Crash only occurs when I click on OK whatever the configuration changes I made (even if I made no configuration change).
>
> Hi,
>
> I'd like to point out that this does not happen on my system, also using
> macOS 10.13.3 (with APFS).
>
> I've tried both the macOS native UI and SDL UI with the
> release-archive as well as Troeds latest test that have 10.6 support.
>
> What I've tested with is:
>
> 1. Boot up in Atari STe mode
> 2. Change CPU-speed to 16 MHz
> 3. Press OK
>
> No crash and the CPU frequency change seems to work as well.
>
>
> Does it crash at your place doing the above?
>
> --
> Anders Eriksson
> ae@xxxxxx http://www.dhs.nu/
> ae@xxxxxxxxx http://www.atari.org/
>
>
>

>
> [ Hatari_21_crash2.rtf (111.4 Ko) ]


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/