Thread overview | |||||
---|---|---|---|---|---|
|
September 01, 2012 [Issue 8606] New: import std.string causes Optlink 'Error 32: Data Outside Segment Bounds : _DATA' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8606 Summary: import std.string causes Optlink 'Error 32: Data Outside Segment Bounds : _DATA' Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Optlink AssignedTo: nobody@puremagic.com ReportedBy: eric.brisco@gmail.com --- Comment #0 from eric.brisco@gmail.com 2012-09-01 13:22:37 PDT --- Unfortunately, I haven't narrowed the problem down. Here are the DirectX bindings that I am using that reproduce the error: http://www.dsource.org/projects/bindings/browser/branches/erisco_directx/d?rev=401 (also included in the attachment) Particularly, the 'import std.string' in d3d11.d seems to be causing the error (when removed, no error). To reproduce: build these DirectX bindings into a lib (the DirectX bindings depend on part of win32 ... working project and build attached). Then, write any program that imports windows.directx.d3d11 and compile it (of course, linking to the lib). Optlink will crash with this output: --------------------------------------------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html dxgi.lib Warning 2: File Not Found dxgi.lib d3d11.lib Warning 2: File Not Found d3d11.lib ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA ..\lib\dmd_win32_x32.lib(d3d11) Error 32: Data Outside Segment Bounds : _DATA --------------------------------------------------------------------------------------- Sorry that this test case is so large; it may be useless, but I felt it was better to report it than do nothing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 01, 2012 [Issue 8606] import std.string causes Optlink 'Error 32: Data Outside Segment Bounds : _DATA' | ||||
---|---|---|---|---|
| ||||
Posted in reply to eric.brisco@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8606 --- Comment #1 from eric.brisco@gmail.com 2012-09-01 13:25:51 PDT --- Attachment was too large, so I uploaded it here: http://www.erisco.net/optlinkbug/ -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8606] import std.string causes Optlink 'Error 32: Data Outside Segment Bounds : _DATA' | ||||
---|---|---|---|---|
| ||||
Posted in reply to eric.brisco@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8606 Neil <neil.bryant@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |neil.bryant@gmail.com --- Comment #2 from Neil <neil.bryant@gmail.com> 2012-11-09 13:19:36 PST --- I was just having pretty much the exact same issue with 2.059. I fixed it by deleting %temp%\.rdmd -- 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