February 23, 2010
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*.
February 23, 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?

February 24, 2010
On 24/02/10 12:53, Ellery Newcomer wrote:
> 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?
>

Well, I've noted it down on 1079. I think it's related. Seeing as *that* bug doesn't seem to be getting much attention, I don't know how much good it'd to. You are, of course, welcome to open a new issue.
1 2
Next ›   Last »