[hatari-devel] Crash when saving configuration

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


Hi,

With the latest sources Hatari crashes when I try to save my configuration:

Thread 1 "hatari" received signal SIGSEGV, Segmentation fault.
0x00007ffff5cb0631 in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5cb0631 in ?? () from /lib64/libc.so.6
#1  0x00007ffff5b9d39b in vfprintf () from /lib64/libc.so.6
#2  0x00007ffff5c5df85 in __fprintf_chk () from /lib64/libc.so.6
#3  0x0000555555877c82 in fprintf (__fmt=0x555556057d10 "%s = ",
    __stream=0x5555579e6990) at /usr/include/bits/stdio2.h:97
#4  write_token (outfile=outfile@entry=0x5555579e6990,
    ptr=ptr@entry=0x555556446688 <configs_Scsi+8>)
    at /home/us/hatari/hatari/src/cfgopts.c:207
#5  0x000055555587838b in write_header_tokens (header=<optimized out>,
    ptr=0x555556446688 <configs_Scsi+8>, fp=<optimized out>)
    at /home/us/hatari/hatari/src/cfgopts.c:272
#6  update_config (
    filename=filename@entry=0x55555679ece0 <sConfigFileName> "/home/us/.config/hatari/hatari.cfg", configs=configs@entry=0x5555564465e0 <configs_Ide>,
    header=header@entry=0x55555605809c "[IDE]")
    at /home/us/hatari/hatari/src/cfgopts.c:347
#7  0x000055555587a3a2 in Configuration_SaveSection (
    pFilename=0x55555679ece0 <sConfigFileName> "/home/us/.config/hatari/hatari.cfg", pSection=0x55555605809c "[IDE]", configs=0x5555564465e0 <configs_Ide>)
    at /home/us/hatari/hatari/src/configuration.c:1106
#8  Configuration_Save () at /home/us/hatari/hatari/src/configuration.c:1144
#9  0x000055555602de8f in Dialog_MainDlg (bReset=bReset@entry=0x7ffffffbe01e,
    bLoadedSnapshot=bLoadedSnapshot@entry=0x7ffffffbe01f)
    at /home/us/hatari/hatari/src/gui-sdl/dlgMain.c:159

This is on Linux.

Best regards

Uwe



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