digitalmars.D.bugs - [Issue 4433] New: object.Error: Access Violation missing file and line number
- d-bugmail puremagic.com (30/30) Jul 06 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4433
- d-bugmail puremagic.com (13/13) Jul 06 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4433
- d-bugmail puremagic.com (12/12) Oct 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=4433
http://d.puremagic.com/issues/show_bug.cgi?id=4433 Summary: object.Error: Access Violation missing file and line number Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: Jesse.K.Phillips+D gmail.com CC: Jesse.K.Phillips+D gmail.com 15:09:51 PDT --- The error message when accessing a null reference of an object does not provide file and line number. void main() { Foo foo; foo.run(); } class Foo { void run() {} } The code above compiles and when run says: object.Error: Access Violation -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4433 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc Is the stack trace feature going to do this? To implement this I think the compiler has to add a pointer to the filename string and a line number to every call point to class methods, and more. So this can be done in nonrelease mode. In optimized builds this can be a drag. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4433 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |FIXED 20:53:49 PDT --- We have stack traces for this now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2012