$023ea8 : move.w #6,d0 0.00% (41, 0, 41)
$023eac : move.w (a1)+,d1 0.00% (287, 0, 41)
$023eae : move.w d1,$ffffa206.w 0.00% (287, 574, 0)
$023eb2 : dbra d0,$23eac 0.00% (287, 4294967295, 0)
$023eb6 : move.w #$1554,d0 0.00% (41, 4294967295, 0)
$023eba : clr.w d1 0.00% (41, 0, 0)
$023ebc : move.b (a1)+,d1 1.47% (223901, 4294967295, 50)
$023ebe : move.w d1,$ffffa206.w 1.47% (223901, 4294967295, 44)
$023ec2 : dbra d0,$23ebc 1..47% (223901, 4294967295, 13)
$023ec6 : movem.l (sp)+,d0-d7/a0-a6 0.00% (41, 2542, 0)
$023eca : tst.b $c5444 0..00% (41, 4294967295, 0)
$023ed0 : bne $24158 0.00% (41, 4294967295, 41)
$023ed4 : lea $ffffa206.w,a4 0.00% (41, 0, 41)
$023ed8 : lea $ffffa202.w,a5 0.00% (41, 0, 41)
$023edc : moveq #8,d0 0.00% (41, 4294967295, 41)
$023ede : btst #1,(a5) 0.00% (41, 164, 0)
$023ee2 : beq.s $23ede 0..00% (41, 4294967295, 0)
On 12 February 2013 10:31, Douglas Little
<doug694@xxxxxxxxxxxxxxx> wrote:
Hi just a quick note to let you know the profiler crash is now gone - managed to extract profile data from an optimized build using the latest code without problems.
I'm still not quite geared up to use the profiler in anger - reworking quite a lot of code at the moment - but I will return to it before long when I start on the final optimization pass for both CPU and DSP.
Thanks,
D.
On 11 February 2013 18:44, Eero Tamminen
<oak@xxxxxxxxxxxxxx> wrote:
Hi,
On maanantai 28 tammikuu 2013, Douglas Little wrote:
> Conclusion - it works with the patch applied.
I'm pretty sure I found the reason & fix for your crash:
http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/3aaa293359f0
Please test.
- Eero
Ps. Valgrind actually found the bug, but as it seems to propagate undefined
value assignment from one variable to another and report an issue only
when the final variable's value is used for branching, I first looked
into several wrong places...