Open Bug 842566 Opened 12 years ago Updated 2 years ago

EXC_BAD_ACCESS (SIGSEGV) after building with DMD

Categories

(Core :: DMD, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: virgil.dicu, Unassigned)

Details

Attachments

(1 file)

Added this line to the mozconfig file before building e8f8a3f6f1f6 (latest from mozilla-central):

ac_add_options --enable-dmd

DMD initializes successfully, then Nightly crashes with this error: 

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffd8

VM Regions Near 0xffffffd8:
--> 
    __TEXT                 0000000100000000-0000000100003000 [   12K] r-x/rwx SM=COW  /Users/USER/Downloads/*/Nightly.app/Contents/MacOS/firefox

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libunwind.dylib               	0x00007fff920bf610 libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncodingRBPFrame(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 72
1   libunwind.dylib               	0x00007fff920bf58f libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncoding(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 37
2   libunwind.dylib               	0x00007fff920bf50e libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step() + 58
3   libunwind.dylib               	0x00007fff920c34e0 _Unwind_Backtrace + 65
4   libdmd.dylib                  	0x000000010000edab NS_StackWalk + 75
5   libdmd.dylib                  	0x00000001000072a3 mozilla::dmd::StackTrace::Get(mozilla::dmd::Thread*) + 83
6   libdmd.dylib                  	0x0000000100007ba7 mozilla::dmd::AllocCallback(void*, unsigned long, mozilla::dmd::Thread*) + 119
7   libdmd.dylib                  	0x0000000100007afd replace_malloc + 157
8   libsystem_c.dylib             	0x00007fff95d7dd7f malloc_zone_malloc + 71
9   libsystem_c.dylib             	0x00007fff95d7e88d realloc + 82

... see attachemnt
Attached file Error for e8f8a3f6f1f6
Attachment #715504 - Attachment mime type: text/html → text/rtf
I can't reproduce this on OS X 10.7.5.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: