View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000115 | mercury | Bug | public | 2009-11-05 21:50 | 2015-11-30 16:50 | ||||
Reporter | petdr | ||||||||
Assigned To | juliensf | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000115: segfault for predicate names containing multibyte utf8 char | ||||||||
Description | If you don't quote a predicate name which contains a multibyte utf8 character the compiler segfaults. eg :- pred dèja(int::int) is semidet. seg faults while :- pred 'dèja'(int::int) is semidet. compiles fine. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
wangp (developer) 2009-12-03 11:19 |
This is "only" a problem on 64-bit machines installing from the generated .c files targeted at 32-bit architectures. It has something to do with the number of tag bits. A stage2 compiler does not crash. |
juliensf (administrator) 2010-06-29 18:27 |
Building the source distribution with --no-smart-indexing makes this problem go away. I strongly suspect that some of the code generation approaches we use for switches are not respecting the --cross-compiling option. (Most probably, it is the ones that call int.bits_per_int/0 somewhere along the way.) |
juliensf (administrator) 2015-11-30 16:50 |
Fixed when we transitioned to Unicode. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-05 21:50 |
|
New Issue | |
2009-11-05 21:50 |
|
File Added: test.m | |
2009-12-03 11:19 | wangp | Note Added: 0000227 | |
2010-06-29 18:27 | juliensf | Note Added: 0000270 | |
2010-06-29 18:28 | juliensf | Status | new => confirmed |
2015-11-30 16:50 | juliensf | Note Added: 0000869 | |
2015-11-30 16:50 | juliensf | Status | confirmed => resolved |
2015-11-30 16:50 | juliensf | Resolution | open => fixed |
2015-11-30 16:50 | juliensf | Assigned To | => juliensf |