[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] XaAES regression in launch()



Hello.

I have noticed a regression in the current XaAES trunk.

On my FireBee, I have a simple setup with FreeMiNT + XaAES + TeraDesk. I have trouble with FireTOS (works fine with EmuTOS).

When XaAES launches TeraDesk, the latter process crashes with a Bus Error. The failing instruction is "move.b d3,(a1)", while a1 is actually 'XBRA'. Very strange.
Previously, it worked fine.

I have tracked down the problem, and I found the Bus Error was introduced with the following change:

File: xa_shel.c, function launch()
Revision : 1.91
Date : 2012/9/15 11:35:48
Author : 'hek'

-			make_argv(tail, tailsize, name, argvtail);

+			if (tailsize && (wiscr == 1 || longtail))
+				make_argv(tail, tailsize, name, argvtail);

I didn't dig further, but I suspect that there is something random like an initialized variable, etc.

Helmut, have you any idea?

--
Vincent Rivière