[Bug 35252] Multiple applications need ITaskScheduler::Enum implementation (lsTasks, Toad for MySQL Freeware 7.2)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 11 06:28:36 CDT 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet
            Summary|lsTasks tool fails due to   |Multiple applications need
                   |ITaskScheduler::Enum being  |ITaskScheduler::Enum
                   |a stub                      |implementation (lsTasks,
                   |                            |Toad for MySQL Freeware
                   |                            |7.2)

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

still present, 'Toad for MySQL Freeware 7.2' also wants this.

Prerequisite: 'winetricks -q dotnet40'

There is a dialog on first-time startup which shows a managed backtrace.
The dialog can be dismissed with no further impact though.

Download: https://www.quest.com/common/dlclick.aspx?fileid=24784

Direct:
http://usdownloads.quest.com.edgesuite.net/Repository/www.quest.com/latest_versions/Quest_Toad-for-MySQL-Freeware_72.exe

Managed backtrace:

--- snip ---
System.NotImplementedException
The method or operation is not implemented.
Stack Trace:
   at Microsoft.Win32.TaskScheduler.V1Interop.ITaskScheduler.Enum()
   at
Microsoft.Win32.TaskScheduler.TaskCollection.V1TaskEnumerator..ctor(TaskService
svc, Regex filter)
   at Microsoft.Win32.TaskScheduler.TaskCollection.GetEnumerator()
   at Quest.Toad.Util.Migration.ProcessTaskFolder(TaskFolder folder, List`1
tasks)
   at Quest.Toad.Util.Migration.CheckScheduledTasks(Boolean force)
   at Quest.Toad.Util.Migration.MigrateSettings()
   at Quest.Toad.Gui.MainForm.runFirstEverExecution()
   at Quest.Toad.Gui.MainForm.MainForm_Shown(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry
tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry
tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
--- snip ---

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Quest Software/Toad for MySQL Freeware
7.2

$ WINEDEBUG=+tid,+seh,+relay,+mstask wine ./toad.exe >>log.txt 2>&1
...
002a:Call mstask.DllGetClassObject(112012b4,79205da0,0033de7c) ret=7e8d3d50
002a:trace:mstask:DllGetClassObject ({148bd52a-a2ab-11ce-b11f-00aa00530503}
{00000001-0000-0000-c000-000000000046} 0x33de7c)
002a:trace:mstask:MSTASK_IClassFactory_QueryInterface IID:
{00000001-0000-0000-c000-000000000046}
002a:trace:mstask:MSTASK_IClassFactory_AddRef 
002a:Ret  mstask.DllGetClassObject() retval=00000000 ret=7e8d3d50 
...
002a:trace:mstask:MSTASK_ITaskScheduler_AddRef 
002a:Call KERNEL32.GetLastError() ret=7919d319
002a:Ret  KERNEL32.GetLastError() retval=000036b7 ret=7919d319
002a:trace:mstask:MSTASK_ITaskScheduler_SetTargetComputer
(0x111496f0)->((null))
002a:trace:mstask:MSTASK_ITaskScheduler_Release  
...
002a:trace:mstask:MSTASK_ITaskScheduler_GetTargetComputer
(0x111496f0)->(0x33e410) 
...
002a:fixme:mstask:MSTASK_ITaskScheduler_Enum 0x111496f0, 0x33e3b0: stub 
...
002a:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0033e278)
ret=791cac08
002a:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83ac57
ip=7b83ac57 tid=002a
002a:trace:seh:raise_exception  info[0]=80004001
002a:trace:seh:raise_exception  info[1]=00000000
002a:trace:seh:raise_exception  info[2]=00000000
002a:trace:seh:raise_exception  info[3]=00000000
002a:trace:seh:raise_exception  info[4]=79140000
002a:trace:seh:raise_exception  eax=7b826c7d ebx=7b8bb000 ecx=80004001
edx=0033e194 esi=0033e234 edi=0033e200
002a:trace:seh:raise_exception  ebp=0033e1d8 esp=0033e174 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
002a:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c
code=e0434352 flags=1 
...
002a:Call user32.SetWindowTextW(000200c8,0122e0c4
L"System.NotImplementedException\r\nThe method or operation is not
implemented.\r\nStack Trace:\r\n   at
Microsoft.Win32.TaskScheduler.V1Interop.ITaskScheduler.Enum()\r\n   at
Microsoft.Win32.TaskScheduler.TaskCollection.V1TaskEnumerator..ctor(TaskService
svc, Regex filter)\r\n   at Microsoft.Win32.Tas"...) ret=06fa69fc 
--- snip ---

$ sha1sum Quest_Toad-for-MySQL-Freeware_72.exe 
0347aa4c1fbe6296e0ca7bb9a2e7e5f93f2ad6cf  Quest_Toad-for-MySQL-Freeware_72.exe

$ du -sh Quest_Toad-for-MySQL-Freeware_72.exe 
78M    Quest_Toad-for-MySQL-Freeware_72.exe

$ wine --version
wine-1.7.18-92-gb01fc1a

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