D Paste by digited
Description: ldc segfaults on mac intel 10.5.8
Hide line numbers

Create new paste
Post a reply
View replies

Paste:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
module test;

import
        tango.core.Version,
        tango.io.Stdout;

int main( char[][] args )
{
        Stdout.formatln( "Built with {} v{} and Tango v{}.{} at {} {}",
                __VENDOR__, __VERSION__, Tango.Major, Tango.Minor, __DATE__, __TIME__ );
        return 0;
}

//----------------------------------------

elizabeth:testing ezheleznikov$ ldc test.d -g
elizabeth:testing ezheleznikov$ gdb test
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ... done

(gdb) run
Starting program: /Users/ezheleznikov/Documents/d/testing/test 
Reading symbols for shared libraries ++. done
Built with LDC v1045 and Tango v0.999 at Oct 15 2009 17:25:31

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xbf7ffffc
0x00015e70 in _D2rt7basicgc3gcx3Gcx16thread_InvariantMFZv (this=0x100210)

Replies:
No replies posted yet