Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 10, 2010 [Issue 4614] New: ClassInfo.find seg faults on OS X | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Justin Whear <mrjnewt@hotmail.com> 2010-08-10 11:48:33 PDT --- 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 #0 0x00003150 in D6object9ClassInfo4findFAaZC9ClassInfo () #1 0x00002749 in _Dmain () #2 0x000163fd in main () 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: ------- |
August 10, 2010 [Issue 4614] ClassInfo.find seg faults on OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | http://d.puremagic.com/issues/show_bug.cgi?id=4614 Jacob Carlborg <doob@me.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doob@me.com --- Comment #1 from Jacob Carlborg <doob@me.com> 2010-08-10 13:16:15 PDT --- 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: ------- |
August 10, 2010 [Issue 4614] ClassInfo.find seg faults on OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | http://d.puremagic.com/issues/show_bug.cgi?id=4614 --- Comment #2 from Justin Whear <mrjnewt@hotmail.com> 2010-08-10 13:27:10 PDT --- Unfortunately, there's no way I'll be porting this from phobos anytime soon. (In reply to comment #1) > 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: ------- |
August 12, 2010 [Issue 4614] ClassInfo.find seg faults on OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to Justin Whear | http://d.puremagic.com/issues/show_bug.cgi?id=4614 Justin Whear <mrjnewt@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Justin Whear <mrjnewt@hotmail.com> 2010-08-12 09:10:04 PDT --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation