segfaults
Ellery Newcomer
ellery-newcomer at utulsa.edu
Tue Feb 23 15:53:05 PST 2010
On 02/23/2010 03:22 PM, Bernard Helyer wrote:
> On 24/02/10 03:45, Ellery Newcomer wrote:
>
>> I'm thinking it's an issue with DMD. I can get backtraces with simple
>> programs.
>
> If you use a dynamic array in there somewhere, the chances of it not
> working go up, I'm afraid. This doesn't leave many programs that *work*.
Hey! You're right!
import tango.io.Stdout;
void main(){
Object obj = null;
int[] a;
a ~= 1;
Stdout(obj.toString()).newline;
}
gives me
Die: DW_TAG_type_unit (abbrev 7, offset 0x6f)
parent at offset: 0xb
has children: FALSE
attributes:
DW_AT_byte_size (DW_FORM_data1) constant: 8
DW_AT_type (DW_FORM_ref4) constant ref: 0x68 (adjusted)
Dwarf Error: Missing children for type unit [in module
/home/ellery/test/test]
Do you think this should be a separate issue from 1079?
More information about the Digitalmars-d-learn
mailing list