[Bug 20352] Autodesk 3ds Max 9 fails to start: "adlmdll.dll failed to initialize" (failure to connect to Autodesk Licensing Service)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Dec 12 18:08:26 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=20352

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
            Summary|3ds max fails to start:     |Autodesk 3ds Max 9 fails to
                   |"adlmdll.dll failed to      |start: "adlmdll.dll failed
                   |initialize"                 |to initialize" (failure to
                   |                            |connect to Autodesk
                   |                            |Licensing Service)
                URL|http://www.topsimracing.com |https://web.archive.org/web
                   |/modules.php?name=Downloads |/20150724061434/http://file
                   |&op=getit&lid=172           |s.modacity.net/software/3ds
                   |                            |max/3dsmax9.zip
             Status|NEEDINFO                    |RESOLVED

--- Comment #13 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the issue was likely fixed a long time ago or was the result of a broken
installation.

Dmitry (comment #3) was spot on.

--- quote ---
Looks like the DLL is not able to connect to Autodesk Licensing Service.
--- quote ---

For whatever reasons the Autodesk Licensing Service was not functional. Worse,
the service control manager (SCM) could not be communicated with (see his
logs).

I even tested with Wine 1.4 in a clean 32-bit WINEPREFIX for the memes. The
main app crashes when the UI is shown but that was a different problem. The
license service was running and the app was already way past OP's problem.

>From comment #1 attachment:

--- snip ---
...
0054:Call advapi32.OpenSCManagerA(00000000,00000000,00000001) ret=01292d6c 
...
0054:Call KERNEL32.RaiseException(000006ba,00000001,00000000,00000000)
ret=77ea0462
0054:trace:seh:raise_exception code=6ba flags=1 addr=0x7edabc63 ip=7edabc63
tid=0054
0054:trace:seh:raise_exception  eax=7ed967e5 ebx=7ee1cff4 ecx=00000000
edx=000006ba esi=00000000 edi=0032ef60
0054:trace:seh:raise_exception  ebp=0032ef48 esp=0032eee4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
0054:trace:seh:call_vectored_handlers calling handler at 0x7e150ba0 code=6ba
flags=1
0054:trace:seh:call_vectored_handlers handler at 0x7e150ba0 returned 0
0054:trace:seh:call_vectored_handlers calling handler at 0x7eda88c0 code=6ba
flags=1
0054:trace:seh:call_vectored_handlers handler at 0x7eda88c0 returned 0
0054:trace:seh:call_stack_handlers calling handler at 0x7ea42c30 code=6ba
flags=1 
...
0054:trace:seh:__regs_RtlUnwind handler at 0x7ea42c30 returned 1
0054:Ret  advapi32.OpenSCManagerA() retval=00000000 ret=01292d6c
...
0054:Call KERNEL32.CreateMutexA(0131bb00,00000000,01332349 "Global\\Autodesk
Licensing Service05AE46C9-B8F1-4356-B6A1-45C7768444F8") ret=0129a231
0054:Ret  KERNEL32.CreateMutexA() retval=000001b8 ret=0129a231 
...
0054:Call KERNEL32.WaitForSingleObject(000001b8,ffffffff) ret=0129a301
0054:Ret  KERNEL32.WaitForSingleObject() retval=00000000 ret=0129a301
0054:Call KERNEL32.GetCurrentProcessId() ret=012a2816
0054:Ret  KERNEL32.GetCurrentProcessId() retval=00000052 ret=012a2816
...
0054:Call KERNEL32.WaitForSingleObject(000001b0,000493e0) ret=0129a301
0054:Ret  KERNEL32.WaitForSingleObject() retval=00000000 ret=0129a301
0054:Call KERNEL32.GetTickCount() ret=012ba5c5
0054:Ret  KERNEL32.GetTickCount() retval=00610bbe ret=012ba5c5
0054:Call KERNEL32.GetTickCount() ret=012a33e1
0054:Ret  KERNEL32.GetTickCount() retval=00610bbe ret=012a33e1
0054:Call KERNEL32.CallNamedPipeA(013323a1 "\\\\.\\pipe\\Autodesk Licensing
Service0ECA17E3-C1AE-4b96-89EF-8F8F0D78AF81",0032f560,00000018,0032f548,00000008,0032f53c,00000000)
ret=012a36e5
0054:Ret  KERNEL32.CallNamedPipeA() retval=00000000 ret=012a36e5 
...
0054:Call KERNEL32.CallNamedPipeA(013323a1 "\\\\.\\pipe\\Autodesk Licensing
Service0ECA17E3-C1AE-4b96-89EF-8F8F0D78AF81",0032f560,00000018,0032f548,00000008,0032f53c,00000000)
ret=012a36e5
0054:Ret  KERNEL32.CallNamedPipeA() retval=00000000 ret=012a36e5
...
0054:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032f5b0)
ret=012f58b6
0054:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7edabc63
ip=7edabc63 tid=0054
0054:trace:seh:raise_exception  info[0]=19930520
0054:trace:seh:raise_exception  info[1]=0032f5d8
0054:trace:seh:raise_exception  info[2]=01308818
0054:trace:seh:raise_exception  eax=7ed967e5 ebx=7ee1cff4 ecx=00000000
edx=0032f5b0 esi=0032f5b0 edi=0032f510
0054:trace:seh:raise_exception  ebp=0032f4f8 esp=0032f494 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
0054:trace:seh:call_vectored_handlers calling handler at 0x7e150ba0
code=e06d7363 flags=1
0054:trace:seh:call_vectored_handlers handler at 0x7e150ba0 returned 0
0054:trace:seh:call_vectored_handlers calling handler at 0x7eda88c0
code=e06d7363 flags=1
0054:trace:seh:call_vectored_handlers handler at 0x7eda88c0 returned 0 
...
0054:Ret  PE DLL (proc=0x5f11a09e,module=0x5efe0000
L"adlmdll.dll",reason=PROCESS_ATTACH,res=0x1) retval=0
0054:err:module:attach_process_dlls "adlmdll.dll" failed to initialize,
aborting
0054:err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program
Files\\Autodesk\\3ds Max 9\\3dsmax.exe" failed, status c0000142 
--- snip ---

With Wine 6.0-rc2

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Autodesk/3ds Max 9

$ WINEDEBUG=+seh,+loaddll,+relay wine 3dsmax.exe /nohardware >>log.txt 2>&1
...
0128:Call KERNEL32.CreateMutexA(02379a88,00000000,02391411
"Global\\7399BC44-90CF-4372-8B56-416B8513B378") ret=022f8271
...
0128:Ret  KERNEL32.CreateMutexA() retval=000001ac ret=022f8271
...
0128:Call KERNEL32.WaitForSingleObject(000001ac,ffffffff) ret=022f8341
0128:Call
ntdll.NtWaitForMultipleObjects(00000001,0031f30c,00000001,00000000,00000000)
ret=7b048d94
0128:Ret  ntdll.NtWaitForMultipleObjects() retval=00000000 ret=7b048d94
0128:Ret  KERNEL32.WaitForSingleObject() retval=00000000 ret=022f8341
0128:Call advapi32.OpenSCManagerA(00000000,00000000,00000001) ret=0233ad12 
...
0128:Ret  advapi32.OpenSCManagerA() retval=001edf78 ret=0233ad12
0128:Call advapi32.OpenServiceA(001edf78,0236c618 "Autodesk Licensing
Service",00000014) ret=0233ad42
...
0128:Ret  advapi32.OpenServiceA() retval=001edff8 ret=0233ad42 
...
0128:Call KERNEL32.CreateMutexA(02379a88,00000000,023914a1 "Global\\Autodesk
Licensing Service05AE46C9-B8F1-4356-B6A1-45C7768444F8") ret=022f8271 
...
0128:Ret  KERNEL32.CreateMutexA() retval=000001b8 ret=022f8271
...
0128:Call KERNEL32.WaitForSingleObject(000001b8,ffffffff) ret=022f8341
0128:Call
ntdll.NtWaitForMultipleObjects(00000001,0031f29c,00000001,00000000,00000000)
ret=7b048d94
0128:Ret  ntdll.NtWaitForMultipleObjects() retval=00000000 ret=7b048d94
0128:Ret  KERNEL32.WaitForSingleObject() retval=00000000 ret=022f8341
0128:Call advapi32.StartServiceA(001edff8,00000000,00000000) ret=0233ae9f
...
0128:Ret  advapi32.StartServiceA() retval=00000000 ret=0233ae9f
0128:Call KERNEL32.GetLastError() ret=0233aea9
0128:Ret  KERNEL32.GetLastError() retval=00000420 ret=0233aea9
0128:Call advapi32.QueryServiceStatus(001edff8,0031f430) ret=0233aefc 
...
0128:Ret  advapi32.QueryServiceStatus() retval=00000001 ret=0233aefc 
...
0128:Call KERNEL32.CallNamedPipeA(023914f9 "\\\\.\\pipe\\Autodesk Licensing
Service0ECA17E3-C1AE-4b96-89EF-8F8F0D78AF81",0031f430,00000018,0031f418,00000008,0031f40c,00000000)
ret=0233be85 
...
0128:Ret  KERNEL32.CallNamedPipeA() retval=00000001 ret=0233be85 
...
--- snip ---

Whatever, we probably won't figure out what OP's problem exactly was.

@Bruni

Thanks for digging out a link to archive.org. It was really helpful to have the
installer/app for testing and debugging. I was able to update and create a
couple of bugs because of that.

$ sha1sum 3dsmax9.zip 
d04eeb0eeabbb7cedaf536170fb6879b2faf1a25  3dsmax9.zip

$ du -sh 3dsmax9.zip 
590M    3dsmax9.zip

$ wine --version
wine-6.0-rc2

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list