[Mono-list] perplexed about SIGBUS with custom format number
John Duncan
jddst19@mac.com
Wed, 11 Sep 2002 13:53:10 -0500
--Apple-Mail-2--223900566
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Hi all,
If I run this code I get a SIGBUS in mint on OS X. I don't get it on
Linux, so I'm looking for someone to give me a pointer to where I've
messed up mint.
namespace MonoCocoa.AcceptanceTest {
public class Test {
public static void Main() {
IntegerFormatter.NumberToString("000",
NumberFormatInfo.GetInstance(null), 22);
}
}
}
But when I cut the code called by NumberToString (FormatCustom,
FormatGeneral, IsDigit, IsLetter, static init code) out of corlib and
put it in my test class, I do not have the SIGBUS. I also tried putting
the formatting code in a separate assembly from the main routine. Once
again, no SIGBUS.
Is there an initialization phase or something that is different for
corlib than for other assemblies? I have a feeling that if I get past
this step, I'll be able to run mcs.exe.
Thanks,
John
--Apple-Mail-2--223900566
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
Hi all,
If I run this code I get a SIGBUS in mint on OS X. I don't get it on
Linux, so I'm looking for someone to give me a pointer to where I've
messed up mint.
<fontfamily><param>Courier</param>namespace MonoCocoa.AcceptanceTest {
public class Test {
public static void Main() {
IntegerFormatter.NumberToString("000",
NumberFormatInfo.GetInstance(null), 22);
}
}
}
</fontfamily>But when I cut the code called by NumberToString
(FormatCustom, FormatGeneral, IsDigit, IsLetter, static init code) out
of corlib and put it in my test class, I do not have the SIGBUS. I
also tried putting the formatting code in a separate assembly from the
main routine. Once again, no SIGBUS.
Is there an initialization phase or something that is different for
corlib than for other assemblies? I have a feeling that if I get past
this step, I'll be able to run mcs.exe.
Thanks,
John
--Apple-Mail-2--223900566--