http://bugs.winehq.org/show_bug.cgi?id=20352
Summary: 3ds max fails to start: "adlmdll.dll failed to initialize" Product: Wine Version: 1.1.31 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: tilbjornar@gmail.com
Created an attachment (id=24103) --> (http://bugs.winehq.org/attachment.cgi?id=24103) terminal output, no debugging
3ds max fails to start, with the error message: err:module:attach_process_dlls "adlmdll.dll" failed to initialize, aborting
I've tried to get some debugging output. It seems like OpenFileMappingA returns a null value, which I understand means an error.
I've attached the normal terminal output, as well as debug output resulting from running: WINEDEBUG=+wgl,+seh,+loaddll,+tid,+relay wine 3dsmax.exe /nohardware
http://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #1 from Bjørnar Hansen tilbjornar@gmail.com 2009-10-13 15:44:09 --- Created an attachment (id=24104) --> (http://bugs.winehq.org/attachment.cgi?id=24104) debug output
http://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #2 from Bjørnar Hansen tilbjornar@gmail.com 2009-10-13 15:45:48 --- Forgot to add: This is version 9, SP2 of 3ds max.
http://bugs.winehq.org/show_bug.cgi?id=20352
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|kernel32 |-unknown Ever Confirmed|0 |1
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-13 23:20:09 --- Looks like the DLL is not able to connect to Autodesk Licensing Service.
http://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #4 from Austin English austinenglish@gmail.com 2011-10-02 11:45:41 CDT --- This is your friendly reminder that there has been no bug activity for 1 year. Is this still an issue in current (1.3.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #5 from Bruni earns.61@gmail.com 2011-10-21 13:55:24 CDT --- I failed to check the status of the bug. 3ds max crashes at different point in wine-1.3.30-361-g79558f2. Don't know if this happens before or after the point the reporter said about.
http://bugs.winehq.org/show_bug.cgi?id=20352
Bruni earns.61@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |earns.61@gmail.com
--- Comment #6 from Bruni earns.61@gmail.com 2011-10-21 14:09:12 CDT --- URL: http://www.topsimracing.com/modules.php?name=Downloads&op=getit&lid=...
http://bugs.winehq.org/show_bug.cgi?id=20352
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.topsimracing.com | |/modules.php?name=Downloads | |&op=getit&lid=172
https://bugs.winehq.org/show_bug.cgi?id=20352
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- (In reply to Bruni from comment #5)
I failed to check the status of the bug. 3ds max crashes at different point in wine-1.3.30-361-g79558f2. Don't know if this happens before or after the point the reporter said about.
No response since that time. Urls dead.
https://bugs.winehq.org/show_bug.cgi?id=20352
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=20352
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net --- The oldest version of 3ds Max available for download from Autodesk is 2013; their policy is to only keep the last 3 years available. So it will take someone who already has the 2009 version to test this.
Note that bug 33380 suggests that this bug may have been fixed, as that bug reporter was apparently able to at least start 3ds Max 2009.
Marking NEEDINFO.
https://bugs.winehq.org/show_bug.cgi?id=20352
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.4
Download link is burst. Here is a working one for the version used by the OP https://knowledge.autodesk.com/support/3ds-max/downloads/caas/downloads/cont...
Can an administrator put the link at URL place?
https://bugs.winehq.org/show_bug.cgi?id=20352
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello joaopa,
--- quote --- Here is a working one for the version used by the OP https://knowledge.autodesk.com/support/3ds-max/downloads/caas/downloads/cont...
Can an administrator put the link at URL place? --- quote ---
That's not a full installer but a small patch installer. It requires the original 3DSMax 9.x installed. Please spend a bit more time on checking things like this.
--- snip --- $ 7z l 3dsmax9_sp2_32bit.zip
Scanning the drive for archives: 1 file, 17787965 bytes (17 MiB)
Listing archive: 3dsmax9_sp2_32bit.zip
-- Path = 3dsmax9_sp2_32bit.zip Type = zip Physical Size = 17787965
Date Time Attr Size Compressed Name ------------------- ----- ------------ ------------ ------------------------ 2007-05-03 14:37:47 D.... 0 0 Patch 2007-05-02 21:47:58 ....A 18549760 17716733 Patch/3dsMax9_SP2_32bit.msp 2007-05-02 21:32:48 ....A 144960 70024 setup.exe 2007-05-03 14:33:22 .R..A 279 196 setup.ini ------------------- ----- ------------ ------------ ------------------------ 2007-05-03 14:37:47 18694999 17786953 3 files, 1 folders --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #11 from Bruni earns.61@gmail.com --- @Anastasius
Could you please look at this version: https://web.archive.org/web/20150724061413/http://files.modacity.net/softwar...
Looks like it's the setup file you talked about.
https://bugs.winehq.org/show_bug.cgi?id=20352
--- Comment #12 from Bruni earns.61@gmail.com --- Archived links, in case Autodesk decides to drop 3ds max 9 support:
https://web.archive.org/web/20201212101548if_/https://knowledge.autodesk.com...
https://web.archive.org/web/20140411090518/https://knowledge.autodesk.com/su...
https://bugs.winehq.org/show_bug.cgi?id=20352
Anastasius Focht focht@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@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
https://bugs.winehq.org/show_bug.cgi?id=20352
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc3.