WineHQ
Bug Tracking Database – Bug 8549

 Bugzilla

 

Last modified: 2014-01-03 13:09:22 UTC  

lsTasks tool fails due to ITaskScheduler::SetTargetComputer stub

Bug 8549 - lsTasks tool fails due to ITaskScheduler::SetTargetComputer stub
lsTasks tool fails due to ITaskScheduler::SetTargetComputer stub
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: mstask
0.9.37.
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.inwa.net/~frog/boo/win32/i...
: download, source
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-05-30 16:52 UTC by frog
Modified: 2014-01-03 13:09 UTC (History)
4 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 5bff2fb66b46ab1834354b57baca262861b74e03
Distribution: ---
Staged patchset:


Attachments
code for win32 app which fails under wine (6.71 KB, text/x-c++src)
2008-10-30 12:22 UTC, frog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frog 2007-05-30 16:52:51 UTC
brownf@fd61540l1:~$ wine /media/sdb2/c/lsTasks/lsTasks.exe
wine: creating configuration directory '/home/brownf/.wine'...
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
wine: '/home/brownf/.wine' created successfully.
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
err:ole:CoGetClassObject class {148bd52a-a2ab-11ce-b11f-00aa00530503} not registered
err:ole:create_server class {148bd52a-a2ab-11ce-b11f-00aa00530503} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {148bd52a-a2ab-11ce-b11f-00aa00530503}
could be created for context 0x15
wine: Unhandled page fault on read access to 0x00000000 at address 0x40148d
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x0040148d).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:0040148d ESP:0033f590 EBP:0033fe2c EFLAGS:00210282(   - 00      - RIS1)
 EAX:80004002 EBX:7b8ae888 ECX:00000000 EDX:00000000
 ESI:00000893 EDI:0033fccc
Stack dump:
0x0033f590:  0040a900 00000000 00c500c4 00c700c6
0x0033f5a0:  00c900c8 00cb00ca 00cd00cc 00cf00ce
0x0033f5b0:  00d100d0 00000001 00000001 00d700d6
0x0033f5c0:  00d900d8 00db00da 00dd00dc 00df00de
0x0033f5d0:  00c100c0 00c300c2 00c500c4 00c700c6
0x0033f5e0:  00c900c8 00cb00ca 00cd00cc 00cf00ce
Comment 1 Vitaliy Margolen 2007-05-30 17:18:09 UTC
Invalid. Read how to properly report bugs:
http://www.winehq.org/site/docs/wineusr-guide/bug-reporting

Then try again.
Comment 2 Vitaliy Margolen 2007-05-30 17:18:19 UTC
closing invalid
Comment 3 Dan Kegel 2008-04-27 06:55:42 UTC
That GUID looks like it's associated with mstask.dll.
See also
http://projects.samba.org/projects/2005/07/21
http://www.codeproject.com/KB/system/taskscheduler.aspx
Comment 4 Dan Kegel 2008-04-27 08:37:11 UTC
Also affects XDrive Desktop; see bug 12822.
Comment 5 Austin English 2008-10-30 02:12:00 UTC
Is this still an issue in current (1.1.7 or newer) wine?
Comment 6 Dan Kegel 2008-10-30 08:19:57 UTC
At least part of mstask is implemented now, please retest.
(Where'd you get lstask.exe, anyway?)
Comment 7 frog 2008-10-30 10:10:15 UTC
OK I retested under wine-1.0 and the result is the same.  I wrote lstask.exe, that's why you haven't heard of it.  It simply uses ITaskScheduler to enumerate workitems  and displays associated task information via activating each one for a specified windows machine.
Comment 8 Dan Kegel 2008-10-30 10:22:10 UTC
Can you attach the source for lstask.exe?
Comment 9 frog 2008-10-30 11:22:28 UTC
// lsTasks lists scheduled jobs for a Windows 2000 or later machine.

// Written 26-dec-2002 by frank brown

//

// Mod 16-dec-2003 by fgb: call getflags to report if task is disabled

//   (version 1.1).

//

// List format:

// -----------

// jobname: command

//

// ITaskScheduler::Enum



#define TASKS_TO_RETRIEVE 5

#define UNICODE

#define _UNICODE

#define _WIN32_DCOM 



#include <windows.h>

#include <initguid.h>

#include <ole2.h>

#include <mstask.h>

#include <msterr.h>

#include <objidl.h>

#include <wchar.h>

#include <wtypes.h>

#include <stdio.h>



// globals:



	const wchar_t szAppName[] = L"lsTasks";

	const wchar_t szCopyright[] = L"Copyright 2002-2003 by Bamboo Software";

	wchar_t szMachine[64];

	WORD wStartHh = 0,wStartMm = 0;

	wchar_t gszStartTime[32];

	wchar_t szTmp[256];

	const wchar_t szVersion[] = L"1.1";



// protos:



	void ComErrExit(LPCWSTR pszStr,HRESULT hr);

	void ExtractArg(LPWSTR pszArg,LPWSTR pszVar);

	void Help();



// let's go:



void ComErrExit(LPCWSTR pszStr,HRESULT hr)

{

	const int W_CANTCONFIRMACCOUNT = 0x80041310;

	const int W_CANTFINDMACHINE = 0x80070035;



	swprintf(szTmp,L"%s error 0x%x: ",pszStr,hr);

		switch (hr) {

			case E_ACCESSDENIED:

			case E_OUTOFMEMORY:		wcscat(szTmp,L"Access denied");

							break;

			case E_INVALIDARG:		wcscat(szTmp,L"One or more args invalid");

							break;

			case E_NOINTERFACE:		wcscat(szTmp,L"Specified interface not available");

							break;

			case CO_S_NOTALLINTERFACES:	wcscat(szTmp,L"Not all interfaces available");

							break;

			case REGDB_E_CLASSNOTREG:   wcscat(szTmp,L"Class not registered");

							break;

			case HRESULT_FROM_WIN32 (ERROR_FILE_EXISTS): wcscat(szTmp,L"Task exists");

							break;

			case W_CANTCONFIRMACCOUNT:	swprintf(szTmp,L"%s warning 0x%x: ",pszStr,hr);

							wcscat(szTmp,L"Can't confirm account exists");

							break;

			case W_CANTFINDMACHINE:		swprintf(szTmp,L"Can't find machine %s",szMachine);

							break;

			default:			wcscat(szTmp,L"Unknown error");

			}

	_putws(szTmp);

	CoUninitialize();

	ExitProcess(1);

}



void ExtractArg(LPWSTR pszArg,LPWSTR pszVar)

{

wchar_t *pch;



pch = wcschr(pszArg,L'=');

if (!pch) {

	Help();

	ExitProcess(1);

	}

do { ++pch; } while (*pch == L' ');

wcscpy(pszVar,pch);

}



void Help()

{

	wprintf(L"\n%s %s %s\n\n",szAppName,szVersion,szCopyright);

	wprintf(L"List scheduled tasks for a computer.\n\n");

	wprintf(L"usage: %s [machine] \n\n",szAppName);

}



void main(int argc, char **argv)

{

	int argcw;

	wchar_t **argvw,*pch;

	bool bDisabled = false;

	HRESULT hr = ERROR_SUCCESS;

	ITaskScheduler *pITS;

	wchar_t szLine[512];

	wchar_t szPwd[32];

	bool bSyStartup = false;

	wchar_t szTaskApp[256] = L"";

	wchar_t szTaskName[64] = L"unknown";

	IUnknown *pUnknown = NULL;

	wchar_t szUser[128];



	// Initializations:



	DWORD dwLen = 64;

	wchar_t szJunk[64];

	if (!GetComputerName(szJunk,&dwLen))

		_putws(L"It's a strange world where we can't get the computer name.");

	else

		wsprintf(szMachine,L"\\\\%s",szJunk);



	// Handle commandline:



	//if (argc < 2) { Help(); ExitProcess(0); }



	argvw = CommandLineToArgvW(GetCommandLine(),&argcw);



	if (argc > 1) {

		if (argvw[1][0] == L'\\') wcscpy(szMachine,argvw[1]);

		else wsprintf(szMachine,L"\\\\%s",argvw[1]);

		}



	for (int i=1; i<argcw; i++) {

		if (argvw[i][0] == L'/' || argvw[i][0] == L'-')

			switch(towlower(argvw[i][1])) {

				case L'?':

				case L'h':

					Help();

					ExitProcess(0);

					break;

		    }

		}



  /////////////////////////////////////////////////////////////////

  // Call CoInitialize to initialize the COM library and then 

  // CoCreateInstance to get the Task Scheduler object:

  /////////////////////////////////////////////////////////////////

  hr = CoInitialize(0);

  if (FAILED(hr)) {

	CoUninitialize();

	ExitProcess(1);

	}



  hr = CoCreateInstance(CLSID_CTaskScheduler,

                        NULL,

                        CLSCTX_SERVER,

                        IID_ITaskScheduler,

                        (void **) &pITS);



  // Select [remote] computer:



  hr = pITS->SetTargetComputer(szMachine);

  if (FAILED(hr)) ComErrExit(L"SetTargetComputer",hr);

  else wprintf(L"Scheduled jobs on %s:\n\n",szMachine);



//  LPCWSTR pwszTaskName = szTaskName;



  /////////////////////////////////////////////////////////////////

  // Call ITaskScheduler::Enum to get an enumeration object.

  /////////////////////////////////////////////////////////////////

  IEnumWorkItems *pIEnum;

  hr = pITS->Enum(&pIEnum);

  if (FAILED(hr)) ComErrExit(L"EnumWorkItems",hr);

  

  /////////////////////////////////////////////////////////////////

  // Call IEnumWorkItems::Next to retrieve tasks. Note that 

  // this example tries to retrieve five tasks for each call.

  /////////////////////////////////////////////////////////////////

  LPWSTR *lpwszNames;

  DWORD dwFetchedTasks = 0;

  while (SUCCEEDED(pIEnum->Next(TASKS_TO_RETRIEVE,

                                &lpwszNames,

                                &dwFetchedTasks))

                  && (dwFetchedTasks != 0))

  {

    ///////////////////////////////////////////////////////////////////

    // Process each task.  This involves: (1) calling Activate to get

    // the task object; (2) getting the app name; (3) printing the info.

    ///////////////////////////////////////////////////////////////////



    for (DWORD i=0; i<dwFetchedTasks; i++) {

    ///////////////////////////////////////////////////////////////////

    // Call ITaskScheduler::Activate to get the task object.

    ///////////////////////////////////////////////////////////////////

  

      ITask *pITask;

      LPCWSTR lpcwszTaskName;

      lpcwszTaskName = lpwszNames[i];

      hr = pITS->Activate(lpcwszTaskName,IID_ITask,(IUnknown**)&pITask);

  

      if (FAILED(hr)) ComErrExit(L"ITaskScheduler::Activate",hr);

 

      // Now get info about the job:



      LPWSTR lpwszAppName;

      hr = pITask->GetApplicationName(&lpwszAppName);

      if (FAILED(hr)) ComErrExit(L"ITask::GetApplicationName",hr);

  

      LPWSTR lpwszParams;

      hr = pITask->GetParameters(&lpwszParams);

      if (FAILED(hr)) ComErrExit(L"ITask::GetParameters",hr);



      DWORD dwFlags;

      hr = pITask->GetFlags(&dwFlags);

      if (FAILED(hr)) ComErrExit(L"ITask::GetFlags",hr);

      bDisabled = (TASK_FLAG_DISABLED & dwFlags)? true : false;



      pITask->Release();



      wsprintf(szLine,L"%s: %s %s",lpcwszTaskName,lpwszAppName,lpwszParams);

      if (bDisabled) wcscat(szLine,L" -disabled");

      wcscat(szLine,L"\n");

      wprintf(szLine);

      CoTaskMemFree(lpwszAppName);

      CoTaskMemFree(lpwszParams);

      CoTaskMemFree(lpwszNames[i]);

      }

    CoTaskMemFree(lpwszNames);

    }

  pITS->Release();

  CoUninitialize();

//  ExitProcess(0);

}
Comment 10 Lei Zhang 2008-10-30 11:39:15 UTC
Please use bugzilla's attachment feature. Do not paste.
Comment 11 frog 2008-10-30 12:22:20 UTC
Created attachment 16990 [details]
code for win32 app which fails under wine

posted by request
Comment 12 suryaprakash 2009-03-11 04:01:15 UTC
I have installed Ubuntu 8.10 when I run exe file I got this error

outof memory:6

I run through command line , wine exe file

these messange came later it window opened and closed with the following error outof memory 


veerababu@veerababu-desktop:~/Documents/wingsexe$ wine Wclient.exe
wine: Unhandled page fault on read access to 0x019001fc at address 0x880f32 (thread 001e), starting debugger...
First chance exception: page fault on read access to 0x019001fc in 32-bit code (0x00880f32).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00880f32 ESP:00f6f810 EBP:00f6f81c EFLAGS:00010202(   - 00      - -RI1)
 EAX:019001f8 EBX:00000020 ECX:00949548 EDX:00000020
 ESI:00949548 EDI:01f61698
Stack dump:
0x00f6f810:  01f61698 00000020 00949548 00f6f838
0x00f6f820:  00880f9d 00949548 00000020 00000001
0x00f6f830:  00000000 01f60fd0 00f6f850 008810c0
0x00f6f840:  00949548 00000020 00000000 00000000
0x00f6f850:  00f6f868 00881199 00949548 00000020
0x00f6f860:  00000000 00000000 00f6f87c 00880a78
Backtrace:
=>1 0x00880f32 in wclient (+0x480f32) (0x00f6f81c)
  2 0x00880f9d in wclient (+0x480f9d) (0x00f6f838)
  3 0x008810c0 in wclient (+0x4810c0) (0x00f6f850)
  4 0x00881199 in wclient (+0x481199) (0x00f6f868)
  5 0x00880a78 in wclient (+0x480a78) (0x00f6f87c)
  6 0x00767e30 in wclient (+0x367e30) (0x00f6f890)
  7 0x00768071 in wclient (+0x368071) (0x00f6f8a0)
  8 0x0076740d in wclient (+0x36740d) (0x00f6f8b0)
  9 0x00767e65 in wclient (+0x367e65) (0x00f6f8c0)
  10 0x007d2909 in wclient (+0x3d2909) (0x00f6f8d0)
  11 0x007d2737 in wclient (+0x3d2737) (0x00f6f8e4)
  12 0x007d5af4 in wclient (+0x3d5af4) (0x00f6f90c)
  13 0x004389b4 in wclient (+0x389b4) (0x00f6f920)
  14 0x0045cecb in wclient (+0x5cecb) (0x00f6fd44)
  15 0x0043bdad in wclient (+0x3bdad) (0x00f6fd5c)
  16 0x00421be4 in wclient (+0x21be4) (0x00f6fd78)
  17 0x0043bdfe in wclient (+0x3bdfe) (0x00f6fd98)
  18 0x00423053 in wclient (+0x23053) (0x00f6fda8)
  19 0x00423768 in wclient (+0x23768) (0x00f6fdfc)
  20 0x004230b4 in wclient (+0x230b4) (0x00f6fe64)
  21 0x0043b247 in wclient (+0x3b247) (0x00f6fe7c)
  22 0x0043b300 in wclient (+0x3b300) (0x00f6fe8c)
  23 0x0042d96e in wclient (+0x2d96e) (0x00f6fed0)
  24 0x00439209 in wclient (+0x39209) (0x00f6ff00)
  25 0x00000000 (0x00f6ffe8)
  26 0xb7f60d37 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x00880f32: cmpl	0x4(%eax),%ebx
Modules:
Module	Address			Debug info	Name (86 modules)
PE	  400000-  b70000	Export          wclient
ELF	7b800000-7b93d000	Deferred        kernel32<elf>
  \-PE	7b820000-7b93d000	\               kernel32
ELF	7bc00000-7bca7000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca7000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7e088000-7e0a0000	Deferred        spoolss<elf>
  \-PE	7e090000-7e0a0000	\               spoolss
ELF	7e0a0000-7e0bb000	Deferred        localspl<elf>
  \-PE	7e0b0000-7e0bb000	\               localspl
ELF	7e0bb000-7e0bf000	Deferred        libgpg-error.so.0
ELF	7e0bf000-7e128000	Deferred        libgcrypt.so.11
ELF	7e128000-7e13a000	Deferred        libtasn1.so.3
ELF	7e13a000-7e13e000	Deferred        libkeyutils.so.1
ELF	7e13e000-7e147000	Deferred        libkrb5support.so.0
ELF	7e147000-7e179000	Deferred        libcrypt.so.1
ELF	7e179000-7e216000	Deferred        libgnutls.so.26
ELF	7e216000-7e23a000	Deferred        libk5crypto.so.3
ELF	7e23a000-7e2cc000	Deferred        libkrb5.so.3
ELF	7e2cc000-7e2f6000	Deferred        libgssapi_krb5.so.2
ELF	7e2f6000-7e32c000	Deferred        libcups.so.2
ELF	7e388000-7e3bb000	Deferred        uxtheme<elf>
  \-PE	7e390000-7e3bb000	\               uxtheme
ELF	7e3bb000-7e3c4000	Deferred        libxcursor.so.1
ELF	7e3c4000-7e3c9000	Deferred        libxfixes.so.3
ELF	7e3c9000-7e3cd000	Deferred        libxcomposite.so.1
ELF	7e3cd000-7e3d4000	Deferred        libxrandr.so.2
ELF	7e3d4000-7e3de000	Deferred        libxrender.so.1
ELF	7e3de000-7e3e1000	Deferred        libxinerama.so.1
ELF	7e3e1000-7e402000	Deferred        imm32<elf>
  \-PE	7e3f0000-7e402000	\               imm32
ELF	7e402000-7e41b000	Deferred        libxcb.so.1
ELF	7e41b000-7e50a000	Deferred        libx11.so.6
ELF	7e50a000-7e519000	Deferred        libxext.so.6
ELF	7e519000-7e51f000	Deferred        libxxf86vm.so.1
ELF	7e51f000-7e537000	Deferred        libice.so.6
ELF	7e537000-7e540000	Deferred        libsm.so.6
ELF	7e54a000-7e54e000	Deferred        libcom_err.so.2
ELF	7e550000-7e5eb000	Deferred        winex11<elf>
  \-PE	7e560000-7e5eb000	\               winex11
ELF	7e614000-7e63b000	Deferred        libexpat.so.1
ELF	7e63b000-7e668000	Deferred        libfontconfig.so.1
ELF	7e668000-7e67e000	Deferred        libz.so.1
ELF	7e67e000-7e6f4000	Deferred        libfreetype.so.6
ELF	7e6f4000-7e721000	Deferred        ws2_32<elf>
  \-PE	7e700000-7e721000	\               ws2_32
ELF	7e721000-7e73c000	Deferred        wsock32<elf>
  \-PE	7e730000-7e73c000	\               wsock32
ELF	7e73c000-7e7e2000	Deferred        oleaut32<elf>
  \-PE	7e750000-7e7e2000	\               oleaut32
ELF	7e7e2000-7e7f6000	Deferred        libresolv.so.2
ELF	7e806000-7e825000	Deferred        iphlpapi<elf>
  \-PE	7e810000-7e825000	\               iphlpapi
ELF	7e825000-7e888000	Deferred        rpcrt4<elf>
  \-PE	7e830000-7e888000	\               rpcrt4
ELF	7e888000-7e92e000	Deferred        ole32<elf>
  \-PE	7e8a0000-7e92e000	\               ole32
ELF	7e92e000-7e965000	Deferred        winspool<elf>
  \-PE	7e940000-7e965000	\               winspool
ELF	7e965000-7ea2a000	Deferred        comctl32<elf>
  \-PE	7e970000-7ea2a000	\               comctl32
ELF	7ea2a000-7ea85000	Deferred        shlwapi<elf>
  \-PE	7ea40000-7ea85000	\               shlwapi
ELF	7ea85000-7eb99000	Deferred        shell32<elf>
  \-PE	7eaa0000-7eb99000	\               shell32
ELF	7eb99000-7ec47000	Deferred        comdlg32<elf>
  \-PE	7eba0000-7ec47000	\               comdlg32
ELF	7ec47000-7ec9a000	Deferred        advapi32<elf>
  \-PE	7ec50000-7ec9a000	\               advapi32
ELF	7ec9a000-7ed39000	Deferred        gdi32<elf>
  \-PE	7ecb0000-7ed39000	\               gdi32
ELF	7ed39000-7ee85000	Deferred        user32<elf>
  \-PE	7ed50000-7ee85000	\               user32
ELF	7efa5000-7efb1000	Deferred        libnss_files.so.2
ELF	7efb1000-7efca000	Deferred        libnsl.so.1
ELF	7efca000-7eff0000	Deferred        libm.so.6
ELF	7eff0000-7eff5000	Deferred        libxdmcp.so.6
ELF	7eff5000-7f000000	Deferred        libnss_nis.so.2
ELF	b7dc0000-b7dc3000	Deferred        libxcb-xlib.so.0
ELF	b7dc3000-b7dcc000	Deferred        libnss_compat.so.2
ELF	b7dcd000-b7dd1000	Deferred        libdl.so.2
ELF	b7dd1000-b7f2f000	Deferred        libc.so.6
ELF	b7f30000-b7f49000	Deferred        libpthread.so.0
ELF	b7f49000-b7f4c000	Deferred        libxau.so.6
ELF	b7f59000-b8090000	Export          libwine.so.1
ELF	b8092000-b80af000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000c 
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000014    0
	00000011    0
	00000010    0
00000024 
	00000025    0
0000001f (D) H:\Documents\wingsexe\Wclient.exe
	0000001e    0 <==
Backtrace:
=>1 0x00880f32 in wclient (+0x480f32) (0x00f6f81c)
  2 0x00880f9d in wclient (+0x480f9d) (0x00f6f838)
  3 0x008810c0 in wclient (+0x4810c0) (0x00f6f850)
  4 0x00881199 in wclient (+0x481199) (0x00f6f868)
  5 0x00880a78 in wclient (+0x480a78) (0x00f6f87c)
  6 0x00767e30 in wclient (+0x367e30) (0x00f6f890)
  7 0x00768071 in wclient (+0x368071) (0x00f6f8a0)
  8 0x0076740d in wclient (+0x36740d) (0x00f6f8b0)
  9 0x00767e65 in wclient (+0x367e65) (0x00f6f8c0)
  10 0x007d2909 in wclient (+0x3d2909) (0x00f6f8d0)
  11 0x007d2737 in wclient (+0x3d2737) (0x00f6f8e4)
  12 0x007d5af4 in wclient (+0x3d5af4) (0x00f6f90c)
  13 0x004389b4 in wclient (+0x389b4) (0x00f6f920)
  14 0x0045cecb in wclient (+0x5cecb) (0x00f6fd44)
  15 0x0043bdad in wclient (+0x3bdad) (0x00f6fd5c)
  16 0x00421be4 in wclient (+0x21be4) (0x00f6fd78)
  17 0x0043bdfe in wclient (+0x3bdfe) (0x00f6fd98)
  18 0x00423053 in wclient (+0x23053) (0x00f6fda8)
  19 0x00423768 in wclient (+0x23768) (0x00f6fdfc)
  20 0x004230b4 in wclient (+0x230b4) (0x00f6fe64)
  21 0x0043b247 in wclient (+0x3b247) (0x00f6fe7c)
  22 0x0043b300 in wclient (+0x3b300) (0x00f6fe8c)
  23 0x0042d96e in wclient (+0x2d96e) (0x00f6fed0)
  24 0x00439209 in wclient (+0x39209) (0x00f6ff00)
  25 0x00000000 (0x00f6ffe8)
  26 0xb7f60d37 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
veerababu@veerababu-desktop:~/Documents/wingsexe$ wine Wclient.exe
wine: Unhandled page fault on read access to 0x019001fc at address 0x880f32 (thread 001b), starting debugger...
First chance exception: page fault on read access to 0x019001fc in 32-bit code (0x00880f32).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:00880f32 ESP:00f6f810 EBP:00f6f81c EFLAGS:00010202(   - 00      - -RI1)
 EAX:019001f8 EBX:00000020 ECX:00949548 EDX:00000020
 ESI:00949548 EDI:01f61698
Stack dump:
0x00f6f810:  01f61698 00000020 00949548 00f6f838
0x00f6f820:  00880f9d 00949548 00000020 00000001
0x00f6f830:  00000000 01f60fd0 00f6f850 008810c0
0x00f6f840:  00949548 00000020 00000000 00000000
0x00f6f850:  00f6f868 00881199 00949548 00000020
0x00f6f860:  00000000 00000000 00f6f87c 00880a78
Backtrace:
=>1 0x00880f32 in wclient (+0x480f32) (0x00f6f81c)
  2 0x00880f9d in wclient (+0x480f9d) (0x00f6f838)
  3 0x008810c0 in wclient (+0x4810c0) (0x00f6f850)
  4 0x00881199 in wclient (+0x481199) (0x00f6f868)
  5 0x00880a78 in wclient (+0x480a78) (0x00f6f87c)
  6 0x00767e30 in wclient (+0x367e30) (0x00f6f890)
  7 0x00768071 in wclient (+0x368071) (0x00f6f8a0)
  8 0x0076740d in wclient (+0x36740d) (0x00f6f8b0)
  9 0x00767e65 in wclient (+0x367e65) (0x00f6f8c0)
  10 0x007d2909 in wclient (+0x3d2909) (0x00f6f8d0)
  11 0x007d2737 in wclient (+0x3d2737) (0x00f6f8e4)
  12 0x007d5af4 in wclient (+0x3d5af4) (0x00f6f90c)
  13 0x004389b4 in wclient (+0x389b4) (0x00f6f920)
  14 0x0045cecb in wclient (+0x5cecb) (0x00f6fd44)
  15 0x0043bdad in wclient (+0x3bdad) (0x00f6fd5c)
  16 0x00421be4 in wclient (+0x21be4) (0x00f6fd78)
  17 0x0043bdfe in wclient (+0x3bdfe) (0x00f6fd98)
  18 0x00423053 in wclient (+0x23053) (0x00f6fda8)
  19 0x00423768 in wclient (+0x23768) (0x00f6fdfc)
  20 0x004230b4 in wclient (+0x230b4) (0x00f6fe64)
  21 0x0043b247 in wclient (+0x3b247) (0x00f6fe7c)
  22 0x0043b300 in wclient (+0x3b300) (0x00f6fe8c)
  23 0x0042d96e in wclient (+0x2d96e) (0x00f6fed0)
  24 0x00439209 in wclient (+0x39209) (0x00f6ff00)
  25 0x00000000 (0x00f6ffe8)
  26 0xb7eaed37 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x00880f32: cmpl	0x4(%eax),%ebx
Modules:
Module	Address			Debug info	Name (86 modules)
PE	  400000-  b70000	Export          wclient
ELF	7b800000-7b93d000	Deferred        kernel32<elf>
  \-PE	7b820000-7b93d000	\               kernel32
ELF	7bc00000-7bca7000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca7000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7e083000-7e09b000	Deferred        spoolss<elf>
  \-PE	7e090000-7e09b000	\               spoolss
ELF	7e09b000-7e0b6000	Deferred        localspl<elf>
  \-PE	7e0a0000-7e0b6000	\               localspl
ELF	7e0b6000-7e0ba000	Deferred        libgpg-error.so.0
ELF	7e0ba000-7e123000	Deferred        libgcrypt.so.11
ELF	7e123000-7e135000	Deferred        libtasn1.so.3
ELF	7e135000-7e139000	Deferred        libkeyutils.so.1
ELF	7e139000-7e142000	Deferred        libkrb5support.so.0
ELF	7e142000-7e174000	Deferred        libcrypt.so.1
ELF	7e174000-7e211000	Deferred        libgnutls.so.26
ELF	7e211000-7e235000	Deferred        libk5crypto.so.3
ELF	7e235000-7e2c7000	Deferred        libkrb5.so.3
ELF	7e2c7000-7e2f1000	Deferred        libgssapi_krb5.so.2
ELF	7e2f1000-7e327000	Deferred        libcups.so.2
ELF	7e383000-7e3b6000	Deferred        uxtheme<elf>
  \-PE	7e390000-7e3b6000	\               uxtheme
ELF	7e3b6000-7e3bf000	Deferred        libxcursor.so.1
ELF	7e3bf000-7e3c4000	Deferred        libxfixes.so.3
ELF	7e3c4000-7e3c8000	Deferred        libxcomposite.so.1
ELF	7e3c8000-7e3cf000	Deferred        libxrandr.so.2
ELF	7e3cf000-7e3d9000	Deferred        libxrender.so.1
ELF	7e3d9000-7e3dc000	Deferred        libxinerama.so.1
ELF	7e3dc000-7e3fd000	Deferred        imm32<elf>
  \-PE	7e3e0000-7e3fd000	\               imm32
ELF	7e3fd000-7e402000	Deferred        libxdmcp.so.6
ELF	7e402000-7e41b000	Deferred        libxcb.so.1
ELF	7e41b000-7e50a000	Deferred        libx11.so.6
ELF	7e50a000-7e519000	Deferred        libxext.so.6
ELF	7e519000-7e51f000	Deferred        libxxf86vm.so.1
ELF	7e51f000-7e537000	Deferred        libice.so.6
ELF	7e537000-7e540000	Deferred        libsm.so.6
ELF	7e54c000-7e550000	Deferred        libcom_err.so.2
ELF	7e550000-7e5eb000	Deferred        winex11<elf>
  \-PE	7e560000-7e5eb000	\               winex11
ELF	7e614000-7e63b000	Deferred        libexpat.so.1
ELF	7e63b000-7e668000	Deferred        libfontconfig.so.1
ELF	7e668000-7e67e000	Deferred        libz.so.1
ELF	7e67e000-7e6f4000	Deferred        libfreetype.so.6
ELF	7e6f4000-7e721000	Deferred        ws2_32<elf>
  \-PE	7e700000-7e721000	\               ws2_32
ELF	7e721000-7e73c000	Deferred        wsock32<elf>
  \-PE	7e730000-7e73c000	\               wsock32
ELF	7e73c000-7e7e2000	Deferred        oleaut32<elf>
  \-PE	7e750000-7e7e2000	\               oleaut32
ELF	7e7e2000-7e7f6000	Deferred        libresolv.so.2
ELF	7e806000-7e825000	Deferred        iphlpapi<elf>
  \-PE	7e810000-7e825000	\               iphlpapi
ELF	7e825000-7e888000	Deferred        rpcrt4<elf>
  \-PE	7e830000-7e888000	\               rpcrt4
ELF	7e888000-7e92e000	Deferred        ole32<elf>
  \-PE	7e8a0000-7e92e000	\               ole32
ELF	7e92e000-7e965000	Deferred        winspool<elf>
  \-PE	7e940000-7e965000	\               winspool
ELF	7e965000-7ea2a000	Deferred        comctl32<elf>
  \-PE	7e970000-7ea2a000	\               comctl32
ELF	7ea2a000-7ea85000	Deferred        shlwapi<elf>
  \-PE	7ea40000-7ea85000	\               shlwapi
ELF	7ea85000-7eb99000	Deferred        shell32<elf>
  \-PE	7eaa0000-7eb99000	\               shell32
ELF	7eb99000-7ec47000	Deferred        comdlg32<elf>
  \-PE	7eba0000-7ec47000	\               comdlg32
ELF	7ec47000-7ec9a000	Deferred        advapi32<elf>
  \-PE	7ec50000-7ec9a000	\               advapi32
ELF	7ec9a000-7ed39000	Deferred        gdi32<elf>
  \-PE	7ecb0000-7ed39000	\               gdi32
ELF	7ed39000-7ee85000	Deferred        user32<elf>
  \-PE	7ed50000-7ee85000	\               user32
ELF	7efa5000-7efb1000	Deferred        libnss_files.so.2
ELF	7efb1000-7efca000	Deferred        libnsl.so.1
ELF	7efca000-7eff0000	Deferred        libm.so.6
ELF	7eff2000-7eff5000	Deferred        libxcb-xlib.so.0
ELF	7eff5000-7f000000	Deferred        libnss_nis.so.2
ELF	b7d11000-b7d1a000	Deferred        libnss_compat.so.2
ELF	b7d1b000-b7d1f000	Deferred        libdl.so.2
ELF	b7d1f000-b7e7d000	Deferred        libc.so.6
ELF	b7e7e000-b7e97000	Deferred        libpthread.so.0
ELF	b7e97000-b7e9a000	Deferred        libxau.so.6
ELF	b7ea7000-b7fde000	Export          libwine.so.1
ELF	b7fe0000-b7ffd000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000c 
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000014    0
	00000011    0
	00000010    0
00000024 
	00000025    0
0000001a (D) H:\Documents\wingsexe\Wclient.exe
	0000001b    0 <==
Backtrace:
=>1 0x00880f32 in wclient (+0x480f32) (0x00f6f81c)
  2 0x00880f9d in wclient (+0x480f9d) (0x00f6f838)
  3 0x008810c0 in wclient (+0x4810c0) (0x00f6f850)
  4 0x00881199 in wclient (+0x481199) (0x00f6f868)
  5 0x00880a78 in wclient (+0x480a78) (0x00f6f87c)
  6 0x00767e30 in wclient (+0x367e30) (0x00f6f890)
  7 0x00768071 in wclient (+0x368071) (0x00f6f8a0)
  8 0x0076740d in wclient (+0x36740d) (0x00f6f8b0)
  9 0x00767e65 in wclient (+0x367e65) (0x00f6f8c0)
  10 0x007d2909 in wclient (+0x3d2909) (0x00f6f8d0)
  11 0x007d2737 in wclient (+0x3d2737) (0x00f6f8e4)
  12 0x007d5af4 in wclient (+0x3d5af4) (0x00f6f90c)
  13 0x004389b4 in wclient (+0x389b4) (0x00f6f920)
  14 0x0045cecb in wclient (+0x5cecb) (0x00f6fd44)
  15 0x0043bdad in wclient (+0x3bdad) (0x00f6fd5c)
  16 0x00421be4 in wclient (+0x21be4) (0x00f6fd78)
  17 0x0043bdfe in wclient (+0x3bdfe) (0x00f6fd98)
  18 0x00423053 in wclient (+0x23053) (0x00f6fda8)
  19 0x00423768 in wclient (+0x23768) (0x00f6fdfc)
  20 0x004230b4 in wclient (+0x230b4) (0x00f6fe64)
  21 0x0043b247 in wclient (+0x3b247) (0x00f6fe7c)
  22 0x0043b300 in wclient (+0x3b300) (0x00f6fe8c)
  23 0x0042d96e in wclient (+0x2d96e) (0x00f6fed0)
  24 0x00439209 in wclient (+0x39209) (0x00f6ff00)
  25 0x00000000 (0x00f6ffe8)
  26 0xb7eaed37 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
Comment 13 Dan Kegel 2009-03-11 05:30:26 UTC
suryaprakash, please do not paste long logs in bug reports;
they should be attachments.  Also, what makes you think your
bug is related to this one?  And what app are you trying to 
run?  You should probably start by reposting your problem
in the wine-users forum, minus the long logs.

Comment 14 Susan Cragin 2009-05-26 20:45:22 UTC
In the for-what-it's-worth department, Dragon NaturallySpeaking 10 Standard shows the following error some few seconds before it crashes or freezes. 

fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {dd100002-6205-11cf-ae61-0000e8a28647} could be created for context 0x15
Comment 15 Austin English 2009-12-31 10:27:16 UTC
Still present.
Comment 16 Nikolay Sivov 2010-02-01 05:58:17 UTC
I'm asking anyone with admin privileges - add mstask component to bugzilla please.
Comment 17 Austin English 2011-03-29 17:38:19 UTC
Code hasn't changed, presumably still present.
Comment 18 Anastasius Focht 2011-12-19 14:48:33 UTC
Hello,

--- quote ---
Code hasn't changed, presumably still present.
--- quote ---

confirming, still present.

--- snip ---
$ wine lsTasks.exe 
fixme:mstask:MSTASK_ITaskScheduler_SetTargetComputer 0x12c260, L"\\\\nexus4": stub
SetTargetComputer error 0x80004001: Unknown error
--- snip ---

$ sha1sum lsTasks.exe
01dd98182620f42d78de1842a90dd7a56fd6d4c0  lsTasks.exe

$ wine --version
wine-1.3.35-43-gd9d4a06

Regards
Comment 19 Anastasius Focht 2013-12-27 16:03:32 UTC
Hello folks,

the stub mentioned in comment #18 was implemented a year ago:

http://source.winehq.org/git/wine.git/commit/5bff2fb66b46ab1834354b57baca262861b74e03

Thanks Detlef

It still fails though but that should be subject of new bugs.

$ wine --version
wine-1.7.9-209-gb231b4b

Regards
Comment 20 Anastasius Focht 2013-12-27 16:08:23 UTC
Hello folks,

... and resolving fixed.

Regards
Comment 21 Alexandre Julliard 2014-01-03 13:09:22 UTC
Closing bugs fixed in 1.7.10.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers