[hatari-devel] Crash when saving configuration |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Crash when saving configuration
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Mon, 8 Oct 2018 18:01:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539014508; s=strato-dkim-0002; d=seimet.de; h=Message-ID:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=V5cg89UnLvEOy40oak85e+jaFzISvUHd50sstm00v1g=; b=Vt4v9XCUI7A0UaZb/+St/P/XxtbDCcJm7KUQOGqIx8Kv4HExkuKkXV+yNQ+++wVH3k aBgn0vjWaq+sGaZzBLLJY1R0DWCd9H3ky5Q9hq8xuR9dZpi/wRW+H4ibbM6Yr4mgyWxV 5tuBs7zuLqtmAgwQPhFj90sc1XERAiB/MY9fUochBeFLy52G5mGsCmFO+SmbxX+t/JMd aqQSPd5lXhvetma4Ui+v8OOaYHVsBr3uYsPFE37fw+YrbOclcE8TwjsCwrS8KoH3TK8z DL0yVpHaDdl/GD8/WcMtRwii6Fui2nJe1R7PcQq4uABzguqp8Yl//2vLW+9QJJQyvagG aGcw==
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