| [hatari-devel] another one I have since a long time | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] another one I have since a long time
- From: Laurent Sallafranque <laurent.sallafranque@xxxxxxx>
- Date: Sat, 23 Sep 2023 00:08:13 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr;	s=smtp-20201208; t=1695420493;	bh=NIHcx26GGsmmR/sCgBuzDGdGGpI3dtr9nwzuA4YTEUg=;	h=Date:To:From:Subject:From;	b=urJDC5qyO64rg2m3hjRkvUaGZrkmdUQm8P2risLnFJyuQBa33PQLeEgcjIa224abU	 /jAWFUP97pqbbo1K8h207RXOMfaaBGP8w5CAN33E2D1pI6qRj2eSJgous0hu7r8TPX	 6US8k0NjNBPCJF7w3OZacSQhhipn8VGxmNgfIo/1hDhLFMSmyYrmx/xfKZu+NBA0Uq	 y+dDcVnAzL+v6Rslo8xrTJHK+SfHoGdAhBRpX7dt19wVU3ec44uTW/JORgDZxtLmLz	 YVSzb3WJsD8b6kZ2rmUEDWRYBG4xDHKdNADirgHnP+xd7esKmrfA+yaUDQTupuS6+x	 WBRRP5ktPt4zw==
Hi again ,)
Another bug I encounter since ages. I don't remember if I already told 
you about it.
It's about running hatari in falcon mode and reconfigure it to run in ST 
mode.
I go to the GUI, set computer=ST, memory 520ko, CPU=68000, no FPU, 
TOS=1.04, ....
I get core dump.
Here is the trace I get if this can help.
Regards
Laurent
Reading symbols from hatari...
(gdb) r
Starting program: /home/laurent/Atari/hatari/build/src/hatari
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
INFO : Hatari v2.5.0-devel (Sep 22 2023), compiled on:  Sep 22 2023, 
23:34:49
[New Thread 0x7ffff5f1f640 (LWP 16925)]
[New Thread 0x7fffe2c59640 (LWP 16926)]
INFO : GEMDOS HDD emulation, C: <-> 
/media/Toshiba/Data_Laurent/Jeux/Atari/DiskDur.FAL.
[New Thread 0x7fffe1449640 (LWP 16927)]
Thread 1 "hatari" received signal SIGSEGV, Segmentation fault.
__GI__IO_fputs (str=str@entry=0x55555695aff0 <MsgState+16> '\201' 
<repeats 200 times>..., fp=fp@entry=0x8181818181818181) at 
../libio/iofputs.c:36
36    ./libio/iofputs.c: Aucun fichier ou dossier de ce type.
(gdb)
(gdb) bt
#0  __GI__IO_fputs (str=str@entry=0x55555695aff0 <MsgState+16> '\201' 
<repeats 200 times>...,
    fp=fp@entry=0x8181818181818181) at ./libio/iofputs.c:36
#1  0x0000555556082070 in printPendingMsgRepeat 
(fp=fp@entry=0x8181818181818181)
    at /home/laurent/Atari/hatari/src/debug/log.c:276
#2  0x0000555556082365 in addMsgRepeat (fp=0x8181818181818181,
    line=line@entry=0x7ffffffbb4e0 "DEBUG: Loaded TOS version 1.04, 
starting at $fc0000, country code = 2, PAL\n") at 
/home/laurent/Atari/hatari/src/debug/log.c:302
#3  0x00005555560826fa in Log_Printf (nType=nType@entry=LOG_DEBUG,
    psFormat=psFormat@entry=0x5555560ae4f0 "Loaded TOS version %i.%c%c, 
starting at $%x, country code = %i, %s\n") at 
/home/laurent/Atari/hatari/src/debug/log.c:398
#4  0x000055555574acf8 in TOS_InitImage () at 
/home/laurent/Atari/hatari/src/tos.c:1145
#5  0x000055555573c416 in Reset_ST (bCold=bCold@entry=true) at 
/home/laurent/Atari/hatari/src/reset.c:61
#6  0x000055555573c59a in Reset_Cold () at 
/home/laurent/Atari/hatari/src/reset.c:139
#7  0x000055555570d903 in Change_CopyChangedParamsToConfiguration 
(current=current@entry=0x7ffffffbb7a0,
    changed=<optimized out>, bForceReset=<optimized out>) at 
/home/laurent/Atari/hatari/src/change.c:504
#8  0x000055555570fa96 in Dialog_DoProperty () at 
/home/laurent/Atari/hatari/src/dialog.c:70
#9  0x0000555555745d88 in ShortCut_ActKey () at 
/home/laurent/Atari/hatari/src/shortcut.c:297
#10 0x0000555555751aab in Video_InterruptHandler_VBL () at 
/home/laurent/Atari/hatari/src/video.c:4630
#11 0x000055555570f72b in CycInt_CallActiveHandler (Clock=<optimized out>)
    at /home/laurent/Atari/hatari/src/cycInt.c:799
#12 0x000055555578aa7f in CycInt_Process_stop (stop_cond=0)
    at /home/laurent/Atari/hatari/src/includes/cycInt.h:141
#13 m68k_run_mmu030 () at /home/laurent/Atari/hatari/src/cpu/newcpu.c:6594
#14 0x000055555578c407 in m68k_go (may_quit=may_quit@entry=1)
    at /home/laurent/Atari/hatari/src/cpu/newcpu.c:7796
#15 0x0000555555730461 in M68000_Start () at 
/home/laurent/Atari/hatari/src/m68000.c:307
#16 0x0000555555731df0 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/laurent/Atari/hatari/src/main.c:983
(gdb)