FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Post new topic   Reply to topic     Forum Index -> DDL - D Dynamic Libraries
View previous topic :: View next topic  
Author Message

Joined: 01 Aug 2008
Posts: 1
Location: France

PostPosted: Fri Aug 01, 2008 12:52 am    Post subject: EXCEPTION_ACCESS_VIOLATION Reply with quote


I'm trying to use DDL (just curious, no real need at the moment) and get an ACCESS_VIOLATION when running the first tutorial sample.

module ddl_main;
import ddl.DefaultRegistry;
import tango.io.Stdout;

export void test(){
Stdout("Hello DDL World").newline;

void main(){
auto registry = new DefaultRegistry();
auto inSitu = registry.load("ddl_main.map");

auto testFn = inSitu.getDExport!(void function(),"ddl_main.test")();

object.Exception: Access Violation

debugger output:
Ddbg 0.11.3 beta - D Debugger
Copyright (c) 2007 Jascha Wetzel
see http://ddbg.mainia.de/doc.html for documentation

Loading symbols from ddl_main.exe
No symbols available from ntdll.dll
ntdll.dll loaded at 0x77010000
No symbols available from KERNEL32.dll
KERNEL32.dll loaded at 0x76b80000
No symbols available from SHELL32.dll
SHELL32.dll loaded at 0x75c20000
No symbols available from msvcrt.dll
msvcrt.dll loaded at 0x75930000
No symbols available from GDI32.dll
GDI32.dll loaded at 0x77190000
No symbols available from USER32.dll
USER32.dll loaded at 0x76ae0000
No symbols available from ADVAPI32.dll
ADVAPI32.dll loaded at 0x76c60000
No symbols available from RPCRT4.dll
RPCRT4.dll loaded at 0x76890000
No symbols available from SHLWAPI.dll
SHLWAPI.dll loaded at 0x75a10000
Unknown breakpoint hit at ntdll.dll (0x77057dfe) thread(5516)
No symbols available from IMM32.dll
IMM32.dll loaded at 0x77140000
No symbols available from MSCTF.dll
MSCTF.dll loaded at 0x767b0000
No symbols available from LPK.dll
LPK.dll loaded at 0x75a70000
No symbols available from USP10.dll
USP10.dll loaded at 0x75ba0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x745e0000
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at ddl.DynamicLibrar
port C:\Dev\D\dmd\dmd\bin\..\import\ddl\DynamicLibrary.d:136 (0x00406573) thread

I'm using dmd1.030/Tango 0.99.7) on vista.
Any idea or link that could help me understand what's going wrong ?

Back to top
View user's profile Send private message

Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Mon Aug 04, 2008 6:52 pm    Post subject: Reply with quote

I haven't yet had the occasion to verify it, but anyway, DMD 1.x has recently changed name mangling so DDL has to be updated before it has a chance to work properly
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDL - D Dynamic Libraries All times are GMT - 6 Hours
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group