[Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono

herenvardo herenvardo at gmail.com
Fri Jun 6 12:18:19 EDT 2008



Jonathan Pobst wrote:
> 
> I've attached the relevant data from your .resx file.  A quick guess 
> says it's probably using a culture that uses comma separators instead of 
> decimal points for numbers, and our code is not international-proof.
> 
> This should be pretty easy to fix.  Either Andy or I will probably get 
> to it in the next couple of days.
> 
I can confirm your guess: I did a bit of testing and replaced all these
33,3333 values in the resx file by 33: integer, so no issue about decimal
separators. There might be a bit of precission loss in the distribution of
the table rows (anyway, that's less than 1% in the worst case). After that,
I recompiled from VS and tried it with Mono: everything is working fine now.
Also, I'm working on a machine with a Spanish version of Windows and the
regional configuration set to Catalan: both cultures use the comma as the
decimal separator.
Seeing the parts of the .resx file you highlighted, the issue seems quite
obvious: comma-separated values where some of the values contain commas
themselves: how could that **not** cause problems?
I think the bug should be fixed, because it's a bug after all; but right now
my program is able to just avoid it. If there is anything I can do to help
fixing it, just let me know.


Jonathan Pobst wrote:
> 
> Thanks for sending your files!
> 
Thanks to all of you for all the help! Once finished, the project is going
to be published under GPL, so sharing some sources was not a problem :P
-- 
View this message in context: http://www.nabble.com/Help-for-porting%3A-VC--2008-express-binaries-crashing-when-run-by-mono-tp17607386p17696151.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list