[ros-bugs] [Bug 1107] Starting applications from the shell causes a desktop pause.

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Thu Dec 15 05:45:02 CET 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=1107





------- Additional Comments From waxdragon at gmail.com  2005-12-15 05:45 CET -------
Entered debugger on embedded INT3 at 0x0008:0x800b06d0.
kdb:> proc list
ESC[7h^E  PID         State       Filename
 *0x00000004  In Memory   System
  0x00000060  In Memory   smss.exe
  0x0000007c  In Memory   csrss.exe
  0x000000a0  In Memory   winlogon.exe
  0x000000bc  In Memory   services.exe
  0x000000cc  In Memory   eventlog.exe
  0x000000d8  In Memory   umpnpmgr.exe
  0x000000e8  In Memory   dhcp.exe
  0x00000114  In Memory   userinit.exe
  0x00000120  In Memory   explorer.exe
  0x00000144  In Memory   cmd.exe
kdb:> proc attach 0x120
Attached to process 0x00000120, thread 0x00000124.
kdb:> thread list
  TID         State        Prior.  Affinity    EBP         EIP
 *0x00000124  Waiting        8     0x00000001  0x007ecba8  0x7ffe0304
kdb:> bt
Eip:
<7ffe0304>
Frames:
<KERNEL32.dll:2e7a3 (./lib/kernel32/synch/wait.c:0 ())>
<shell32.dll:198a7 (lib/shell32/shelllink.c:2564 (ShellLink_InvokeCommand))>
<shell32.dll:28744 (lib/shell32/shlexec.c:1066 (shellex_run_context_menu_default))>
<shell32.dll:28904 (lib/shell32/shlexec.c:1116 (shellex_load_object_and_run))>
...... on and on....

lib/shell32/shelllink.c:2564 is a call to WaitForSingleObject:

    sei.nShow = This->iShowCmd;
    sei.lpIDList = This->pPidl;
    sei.lpDirectory = This->sWorkDir;
    sei.lpParameters = args;
    sei.lpVerb = szOpen;
 
    if( ShellExecuteExW( &sei ) )
    {   
        if ( sei.hProcess )
        {   
            WaitForSingleObject( sei.hProcess, 10000 );
            CloseHandle( sei.hProcess );
        }
        r = S_OK;
    }
    else
        r = E_FAIL;
 
    HeapFree( GetProcessHeap(), 0, args );
    HeapFree( GetProcessHeap(), 0, path );
 
    return r;


This line was last touched by GvG in 19356





-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list