[Bug 3331] New: Launch another Application Hangs

Wine Bugs wine-bugs at winehq.org
Wed Sep 14 20:46:31 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3331

           Summary: Launch another Application Hangs
           Product: Wine
           Version: 20050830
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: craig at nch.com.au


We have a Win32 installer application written in C++ . Thie application does 
the following

1. prompt for assorted licensing stuff
2. creates the main application executable. The new exe is created from static 
data in this executable using simple file open/write/close C commands. The file 
handle is closed.
3. Using WinExec then new application is run. The installer then exits.
4. The new and main application then should run normally

Under Windows 2000/XP this process works correctly.

Using Wine the second application runs but hangs. Traces show the application 
starts up but it never receives any messages via its DialogProc. The main 
window never refreshes.

Please note I have tried using WinExec, CreateProcess, ShellExecute to run the 
application and all fail in the same way.

We get a lot of info on the console around the run



fixme:win:SetWindowTextA setting text "0dB" of other process window (nil) 
should not use SendMessage
fixme:keyboard:RegisterHotKey (0x2003c,0,0x00000000,113): stub
fixme:keyboard:RegisterHotKey (0x2003c,1,0x00000000,114): stub
fixme:keyboard:RegisterHotKey (0x2003c,2,0x00000000,115): stub
fixme:keyboard:RegisterHotKey (0x2003c,3,0x00000000,116): stub
fixme:keyboard:RegisterHotKey (0x2003c,4,0x00000000,117): stub
fixme:keyboard:RegisterHotKey (0x2003c,5,0x00000000,118): stub
fixme:keyboard:RegisterHotKey (0x2003c,6,0x00000000,119): stub
fixme:keyboard:RegisterHotKey (0x2003c,7,0x00000000,120): stub
fixme:keyboard:RegisterHotKey (0x2003c,8,0x00000000,121): stub
wine: Unhandled exception (thread 0012), starting debugger...
WineDbg starting on pid 0x10
Unhandled exception: page fault on write access to 0x7d9ffd80 in 32-bit code 
(0xb7f6b77b).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:0000
 EIP:b7f6b77b ESP:7d8fba60 EBP:7d8fbb58 EFLAGS:00210246(   - 00      -RIZP1)
 EAX:00000000 EBX:b7f76ff8 ECX:7d8fba80 EDX:7d8fbba0
 ESI:7d8fbba0 EDI:7d9ffd80
Stack dump:
0x7d8fba60:  7d8fba88 00000000 00000000 00000000
0x7d8fba70:  7d9ffd80 b7e13eb0 7c0ba13c 7c0ba138
0x7d8fba80:  00000000 00000000 b7f76ff8 7d8fbba0
0x7d8fba90:  b7f76cc0 7d8fbb58 7d8fba60 b7f6b766
0x7d8fbaa0:  00000000 00000000 00000000 00000000
0x7d8fbab0:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0xb7f6b77b _dl_catch_error+0x6b in ld-linux.so.2 (0x7d8fbb58)
  2 0xb7e142c1 _dlerror_run+0xb1 in libdl.so.2 (0x7d8fbb88)
  3 0xb7e13e6c GLIBC_2+0xe6c in libdl.so.2 (0x7d8fbbbc)
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information 
for libx11.so.6
  4 0x7f2c1e9c in libx11.so.6 (+0x7fe9c) (0x7d8fbbdc)
  5 0x7f2c2680 in libx11.so.6 (+0x80680) (0x7d8fc42c)
  6 0x7f291abc in libx11.so.6 (+0x4fabc) (0x7d8fc44c)
  7 0x7f37ebdf X11DRV_SetupXIM+0xbf in winex11.drv (0x7d8fc48c)
  8 0x7f37718f x11drv_init_thread_data+0x13f in winex11.drv (0x7d8fc4a8)
  9 0x7f36ee2c X11DRV_CreateDesktopWindow+0x11c in winex11.drv (0x7d8fc4d4)
  10 0x7fa3a002 GetDesktopWindow+0xa2 in user32 (0x7d8fc560)
  11 0x7fa36596 in user32 (+0x76596) (0x7d8fc56c)
  12 0x7fa365f2 DllMain+0x32 in user32 (0x7d8fc57c)
  13 0x7fa473b8 __wine_spec_dll_entry+0x28 in user32 (0x7d8fc59c)
  14 0x7ffbfb5e call_dll_entry_point+0x12 in ntdll (0x7d8fc5b4)
  15 0x7ffc0e39 in ntdll (+0x20e39) (0x7d8fc624)
  16 0x7ffc2c71 LdrShutdownThread+0xa1 in ntdll (0x7d8fc648)
  17 0x7ffdb0d5 RtlExitUserThread+0x15 in ntdll (0x7d8fc654)
  18 0x7fc8436e in kernel32 (+0x6436e) (0x7d8fc6dc)
  19 0x7fc840b2 in kernel32 (+0x640b2) (0x7d8fc7b0)
  20 0x7ffdacd1 in ntdll (+0x3acd1) (0x7d8fcfec)
  21 0xb7ed0b8a __clone+0x5a in libc.so.6 (0x00000000)
0xb7f6b77b _dl_catch_error+0x6b in ld-linux.so.2: movl  %ecx,0x0(%edi)
Modules:
Module  Address                 Debug info      Name (82 modules)
PE      0x00400000-0049d000     Deferred        scribe
ELF     0x7bf00000-7bf07000     Deferred        <wine-loader>
ELF     0x7d7e9000-7d7fd000     Deferred        joystick.drv<elf>
  \-PE  0x7d7f0000-7d7fd000     \               joystick.drv
ELF     0x7d9cb000-7d9fc000     Deferred        uxtheme<elf>
  \-PE  0x7d9d0000-7d9fc000     \               uxtheme
ELF     0x7de4c000-7df4b000     Deferred        libcrypto.so.0
ELF     0x7df4b000-7df7c000     Deferred        libssl.so.0
ELF     0x7df7c000-7df98000     Deferred        libcups.so.2
ELF     0x7dfab000-7dfc0000     Deferred        midimap<elf>
  \-PE  0x7dfb0000-7dfc0000     \               midimap
ELF     0x7e0dd000-7e0f6000     Deferred        msacm.drv<elf>
  \-PE  0x7e0e0000-7e0f6000     \               msacm.drv
ELF     0x7e0f6000-7e139000     Deferred        wineoss.drv<elf>
  \-PE  0x7e110000-7e139000     \               wineoss.drv
ELF     0x7e521000-7e53e000     Deferred        imm32<elf>
  \-PE  0x7e530000-7e53e000     \               imm32
ELF     0x7e53e000-7e55b000     Deferred        ximcp.so.2
ELF     0x7e55b000-7e563000     Deferred        libxrender.so.1
ELF     0x7efb8000-7f171000     Deferred        i915_dri.so
ELF     0x7f171000-7f1c3000     Deferred        libpthread.so.0
ELF     0x7f1c3000-7f22f000     Deferred        libgl.so.1
ELF     0x7f242000-7f30c000     --none--        libx11.so.6
ELF     0x7f30c000-7f324000     Deferred        libice.so.6
ELF     0x7f324000-7f39f000     Export          winex11.drv<elf>
  \-PE  0x7f340000-7f39f000     \               winex11.drv
ELF     0x7f39f000-7f3bf000     Deferred        libexpat.so.0
ELF     0x7f3bf000-7f3ee000     Deferred        libfontconfig.so.1
ELF     0x7f401000-7f412000     Deferred        libz.so.1
ELF     0x7f412000-7f477000     Deferred        libfreetype.so.6
ELF     0x7f48a000-7f4ac000     Deferred        msacm32<elf>
  \-PE  0x7f490000-7f4ac000     \               msacm32
ELF     0x7f4ac000-7f4d5000     Deferred        winspool.drv<elf>
  \-PE  0x7f4c0000-7f4d5000     \               winspool.drv
ELF     0x7f4d5000-7f560000     Deferred        comdlg32<elf>
  \-PE  0x7f4f0000-7f560000     \               comdlg32
ELF     0x7f560000-7f5db000     Deferred        winmm<elf>
  \-PE  0x7f570000-7f5db000     \               winmm
ELF     0x7f5db000-7f689000     Deferred        comctl32<elf>
  \-PE  0x7f5f0000-7f689000     \               comctl32
ELF     0x7f689000-7f6d3000     Deferred        rpcrt4<elf>
  \-PE  0x7f6a0000-7f6d3000     \               rpcrt4
ELF     0x7f6d3000-7f75a000     Deferred        ole32<elf>
  \-PE  0x7f6f0000-7f75a000     \               ole32
ELF     0x7f75a000-7f7b4000     Deferred        shlwapi<elf>
  \-PE  0x7f770000-7f7b4000     \               shlwapi
ELF     0x7f7b4000-7f873000     Deferred        shell32<elf>
  \-PE  0x7f7d0000-7f873000     \               shell32
ELF     0x7f873000-7f892000     Deferred        iphlpapi<elf>
  \-PE  0x7f880000-7f892000     \               iphlpapi
ELF     0x7f892000-7f8bb000     Deferred        ws2_32<elf>
  \-PE  0x7f8a0000-7f8bb000     \               ws2_32
ELF     0x7f8bb000-7f8d7000     Deferred        wsock32<elf>
  \-PE  0x7f8c0000-7f8d7000     \               wsock32
ELF     0x7f8d7000-7f913000     Deferred        advapi32<elf>
  \-PE  0x7f8f0000-7f913000     \               advapi32
ELF     0x7f913000-7f998000     Deferred        gdi32<elf>
  \-PE  0x7f930000-7f998000     \               gdi32
ELF     0x7f998000-7fab0000     Export          user32<elf>
  \-PE  0x7f9c0000-7fab0000     \               user32
ELF     0x7fbb7000-7fbc0000     Deferred        libxcursor.so.1
ELF     0x7fbc4000-7fbc8000     Deferred        iso8859-1.so
ELF     0x7fbc8000-7fbcb000     Deferred        xlcdef.so.2
ELF     0x7fbcb000-7fbce000     Deferred        libxrandr.so.2
ELF     0x7fbfa000-7fd00000     Export          kernel32<elf>
  \-PE  0x7fc20000-7fd00000     \               kernel32
ELF     0x7fe12000-7fe20000     Deferred        libxext.so.6
ELF     0x7fe20000-7fe2a000     Deferred        libnss_files.so.2
ELF     0x7fe2a000-7fe34000     Deferred        libnss_nis.so.2
ELF     0x7fe34000-7fe4a000     Deferred        libnsl.so.1
ELF     0x7fe4b000-7fe50000     Deferred        libxxf86vm.so.1
ELF     0x7fe54000-7fe5d000     Deferred        libsm.so.6
ELF     0x7fe5d000-7fe80000     Deferred        libm.so.6
ELF     0x7fe80000-7ff75000     Deferred        libwine_unicode.so.1
ELF     0x7ff77000-7ff7d000     Deferred        libxxf86dga.so.1
ELF     0x7ff7d000-7ff86000     Deferred        libnss_compat.so.2
ELF     0x7ff88000-80000000     Export          ntdll<elf>
  \-PE  0x7ffa0000-80000000     \               ntdll
ELF     0xb7e13000-b7e17000     Export          libdl.so.2
ELF     0xb7e17000-b7f34000     Export          libc.so.6
ELF     0xb7f35000-b7f4e000     Deferred        libwine.so.1
ELF     0xb7f61000-b7f78000     Export          ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000010 (D) C:\Program Files\NCH Swift Sound\Scribe\scribe.exe
        00000013   15
        00000012   -2 <==
        00000011    0
00000008 
        00000009    0
WineDbg terminated on pid 0x10

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list