digitalmars.D.bugs - [Issue 4614] New: ClassInfo.find seg faults on OS X
- d-bugmail puremagic.com (42/42) Aug 10 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4614
- d-bugmail puremagic.com (11/11) Aug 10 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4614
- d-bugmail puremagic.com (7/9) Aug 10 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4614
- d-bugmail puremagic.com (11/11) Aug 12 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4614
http://d.puremagic.com/issues/show_bug.cgi?id=4614 Summary: ClassInfo.find seg faults on OS X Product: D Version: D1 Platform: x86 OS/Version: Mac OS X Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: mrjnewt hotmail.com --- Not sure if this is a DMD or druntime issue. Using dmd 1.062 on OS X 10.6: --Calling ClassInfo.find() causes a seg fault. Test case: <factory_test.d> module factory_test; import std.stdio; class TestClassA {} void main() { auto info = ClassInfo.find("factory_test.TestClassA"); } Backtrace from gdb: (gdb) r Starting program: /Users/emsitesting/d/factory_test Reading symbols for shared libraries +. done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000018 0x00003150 in D6object9ClassInfo4findFAaZC9ClassInfo () (gdb) bt Because Object.factory depends on this, it also fails. This is an important issue for me as I have a GUI library written in D capable of building interfaces from markup which uses this functionality heavily. Runs fine on linux. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4614 Jacob Carlborg <doob me.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doob me.com I cannot reproduce this error with either dmd 2.047 or dmd 1.062 with Tango on Mac OS X 10.6.4. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4614 --- Unfortunately, there's no way I'll be porting this from phobos anytime soon.I cannot reproduce this error with either dmd 2.047 or dmd 1.062 with Tango on Mac OS X 10.6.4.-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4614 Justin Whear <mrjnewt hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Just downloaded and tested with 1.063 and the issue is gone. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 12 2010