lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Re-make a running program --> wine pagefault?


From: Greg Chicares
Subject: [lmi] Re-make a running program --> wine pagefault?
Date: Wed, 11 Jan 2017 17:19:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1

I guess I haven't done this yet in wine...but a few moments ago I rebuilt
lmi while lmi was running. In native msw, the link would fail because the
program is running; but in my cross-building chroot, it seems that the
already-running instance abended, and the binary was replaced. I guess
that makes sense--this linker:
  $file /usr/bin/i686-w64-mingw32-ld 
  /usr/bin/i686-w64-mingw32-ld: ELF 64-bit LSB executable, [...]
wouldn't be aware that wine is running the 32-bit PE executable that
the linker wants to write.

But just in case this is interesting, I figured I should post it before
it scrolls away forever. The two early
  failed with error 0x00000000 (success.)
messages are typical wine chatter that I always ignore.

/opt/lmi/bin[0]$wine ./lmi_wx_shared --ash_nazg &
[1] 3101
/opt/lmi/bin[0]$
[1]  + exit 255   wine ./lmi_wx_shared --ash_nazg
/opt/lmi/bin[0]$wine ./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data &
[1] 3120
/opt/lmi/bin[0]$In file ../src/msw/toplevel.cpp at line 1024: 'DrawMenuBar' 
failed with error 0x00000000 (success.).
In file ../src/msw/utilsexc.cpp at line 494: 
'SetNamedPipeHandleState(PIPE_NOWAIT)' failed with error 0x00000000 (success.).
wine: Unhandled page fault on read access to 0x615a4f40 at address 0x615a4f40 
(thread 003c), starting debugger...
Unhandled exception: page fault on read access to 0x615a4f40 in 32-bit code 
(0x615a4f40).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:615a4f40 ESP:0064f5cc EBP:0064f638 EFLAGS:00010202(  R- --  I   - - - )
 EAX:615a4f40 EBX:0064f620 ECX:0014e850 EDX:0064f690
 ESI:0014e7c0 EDI:003205b8
Stack dump:
0x0064f5cc:  7114f98f 0064f690 050bff98 7bc4752d
0x0064f5dc:  7bc47ebc 00110060 0064f5ec 0014e850
0x0064f5ec:  0064f65c 00000001 0064fb3c 00000000
0x0064f5fc:  6d0d2fbe 00000002 717ec9a8 71919c5c
0x0064f60c:  0064f620 7114f9ae 0064f5d0 0064f640
0x0064f61c:  0064f68c 7b871f50 7b85c5e6 0064f650
Backtrace:
=>0 0x615a4f40 (0x0064f638)
  1 0x710a1efa in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0xe1ef9) (0x0064f6c8)
  2 0x7113983b in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x17983a) (0x0064f6e8)
  3 0x7ed6d76a WINPROC_wrapper+0x19() in user32 (0x0064f718)
  4 0x7ed6ddda in user32 (+0x8ddd9) (0x0064f768)
  5 0x7ed70319 in user32 (+0x90318) (0x0064f7b8)
  6 0x7ed36117 DispatchMessageW+0x96() in user32 (0x0064f8c8)
  7 0x7ed08955 IsDialogMessageW+0x144() in user32 (0x0064fa38)
  8 0x712e3c00 in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x323bff) (0x0064fa78)
  9 0x712e3db2 in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x323db1) (0x0064fa98)
  10 0x712e3f0d in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x323f0c) (0x0064fb08)
  11 0x70ff9dba in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x39db9) (0x0064fb18)
  12 0x70ff9eff in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x39efe) (0x0064fb88)
  13 0x70ff9b31 in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x39b30) (0x0064fbf8)
  14 0x70fc5860 in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x585f) (0x0064fc68)
  15 0x71046bdb in 
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
 (+0x86bda) (0x0064fcd8)
  16 0x00401694 in lmi_wx_shared (+0x1693) (0x0064fd58)
  17 0x00402c7d in lmi_wx_shared (+0x2c7c) (0x0064fd78)
  18 0x004013e2 in lmi_wx_shared (+0x13e1) (0x0064fe50)
  19 0x7b85a9bc call_process_entry+0xb() in kernel32 (0x0064fe68)
  20 0x7b85b9ca in kernel32 (+0x4b9c9) (0x0064fe98)
  21 0x7bc72f60 call_thread_func_wrapper+0xb() in ntdll (0x0064feb8)
  22 0x7bc75d7f call_thread_func+0xce() in ntdll (0x0064ffa8)
  23 0x7bc72f3e RtlRaiseException+0x21() in ntdll (0x0064ffc8)
  24 0x7bc4acf7 call_dll_entry_point+0x776() in ntdll (0x0064ffe8)
  25 0xf75a93ad wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  26 0xf75a9510 wine_switch_to_stack+0x1f() in libwine.so.1 (0xff8c3e58)
  27 0x7bc5020a LdrInitializeThunk+0x339() in ntdll (0xff8c3eb8)
  28 0x7b861613 __wine_kernel_init+0x872() in kernel32 (0xff8c5018)
  29 0x7bc50783 __wine_process_init+0x162() in ntdll (0xff8c5088)
  30 0xf75a6ff3 wine_init+0x2b2() in libwine.so.1 (0xff8c50d8)
  31 0x7bf00d52 main+0x81() in <wine-loader> (0xff8c5528)
  32 0xf73e3a63 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x615a4f40: -- no code accessible --
Modules:
Module  Address                 Debug info      Name (90 modules)
PE        400000-  44d000       Dwarf           lmi_wx_shared
PE        650000- 3381000       Deferred        liblmi
PE       3390000- 37c4000       Deferred        libxml2-2
PE       37d0000- 4b2a000       Deferred        skeleton
PE       4b30000- 4dc0000       Deferred        wxcode_mswu_pdfdoc-3.1
PE      62040000-6212c000       Deferred        libxslt-1
PE      6b240000-6b25c000       Deferred        wx_new
PE      6d0c0000-6d137000       Deferred        libgcc_s_sjlj-1
PE      6d600000-6d662000       Deferred        libexslt-0
PE      6fe40000-703d4000       Deferred        libstdc++-6
PE      70fc0000-71cb4000       Dwarf           
wxmsw311u_gcc_gcc-491-5fd8da1322Z:\opt\lmi\local\lib\wxmsw311u_gcc_gcc-491-5fd8da132214bb973133d574fde5cbee.dll
ELF     7b800000-7ba55000       Dwarf           kernel32<elf>
  \-PE  7b810000-7ba55000       \               kernel32
ELF     7bc00000-7bcd6000       Dwarf           ntdll<elf>
  \-PE  7bc10000-7bcd6000       \               ntdll
ELF     7bf00000-7bf04000       Dwarf           <wine-loader>
ELF     7de27000-7de44000       Deferred        libgcc_s.so.1
ELF     7de50000-7de90000       Deferred        usp10<elf>
  \-PE  7de60000-7de90000       \               usp10
ELF     7de90000-7dea4000       Deferred        msimg32<elf>
  \-PE  7dea0000-7dea4000       \               msimg32
ELF     7dea4000-7dec8000       Deferred        imm32<elf>
  \-PE  7deb0000-7dec8000       \               imm32
ELF     7df0e000-7df43000       Deferred        uxtheme<elf>
  \-PE  7df10000-7df43000       \               uxtheme
ELF     7df43000-7df4a000       Deferred        libxfixes.so.3
ELF     7df4a000-7df56000       Deferred        libxcursor.so.1
ELF     7df56000-7df69000       Deferred        libxi.so.6
ELF     7df69000-7df75000       Deferred        libxrender.so.1
ELF     7df75000-7df7c000       Deferred        libxxf86vm.so.1
ELF     7df7c000-7df82000       Deferred        libxdmcp.so.6
ELF     7df82000-7dfa8000       Deferred        libxcb.so.1
ELF     7dfa8000-7e0fa000       Deferred        libx11.so.6
ELF     7e0fa000-7e10f000       Deferred        libxext.so.6
ELF     7e10f000-7e19c000       Deferred        winex11<elf>
  \-PE  7e120000-7e19c000       \               winex11
ELF     7e19c000-7e1c9000       Deferred        libpng12.so.0
ELF     7e1c9000-7e1e6000       Deferred        libz.so.1
ELF     7e1e6000-7e298000       Deferred        libfreetype.so.6
ELF     7e298000-7e2bb000       Deferred        libtinfo.so.5
ELF     7e2bb000-7e2e3000       Deferred        libncurses.so.5
ELF     7e2e3000-7e2fb000       Deferred        libresolv.so.2
ELF     7e2fb000-7e320000       Deferred        iphlpapi<elf>
  \-PE  7e300000-7e320000       \               iphlpapi
ELF     7e320000-7e355000       Deferred        ws2_32<elf>
  \-PE  7e330000-7e355000       \               ws2_32
ELF     7e355000-7e370000       Deferred        wsock32<elf>
  \-PE  7e360000-7e370000       \               wsock32
ELF     7e370000-7e39b000       Deferred        msacm32<elf>
  \-PE  7e380000-7e39b000       \               msacm32
ELF     7e39b000-7e453000       Deferred        winmm<elf>
  \-PE  7e3a0000-7e453000       \               winmm
ELF     7e453000-7e57d000       Deferred        oleaut32<elf>
  \-PE  7e470000-7e57d000       \               oleaut32
ELF     7e57d000-7e5f8000       Deferred        rpcrt4<elf>
  \-PE  7e590000-7e5f8000       \               rpcrt4
ELF     7e5f8000-7e726000       Deferred        ole32<elf>
  \-PE  7e610000-7e726000       \               ole32
ELF     7e726000-7e7d3000       Deferred        msvcrt<elf>
  \-PE  7e740000-7e7d3000       \               msvcrt
ELF     7e7d3000-7e80f000       Deferred        winspool<elf>
  \-PE  7e7e0000-7e80f000       \               winspool
ELF     7e80f000-7e885000       Deferred        shlwapi<elf>
  \-PE  7e820000-7e885000       \               shlwapi
ELF     7e885000-7eaae000       Deferred        shell32<elf>
  \-PE  7e890000-7eaae000       \               shell32
ELF     7eaae000-7eb93000       Deferred        comdlg32<elf>
  \-PE  7eab0000-7eb93000       \               comdlg32
ELF     7eb93000-7ebac000       Deferred        version<elf>
  \-PE  7eba0000-7ebac000       \               version
ELF     7ebac000-7ecc6000       Deferred        gdi32<elf>
  \-PE  7ebc0000-7ecc6000       \               gdi32
ELF     7ecc6000-7ee14000       Dwarf           user32<elf>
  \-PE  7ece0000-7ee14000       \               user32
ELF     7ee14000-7ef0e000       Deferred        comctl32<elf>
  \-PE  7ee20000-7ef0e000       \               comctl32
ELF     7ef0e000-7ef7c000       Deferred        advapi32<elf>
  \-PE  7ef20000-7ef7c000       \               advapi32
ELF     7ef7c000-7ef89000       Deferred        libnss_files.so.2
ELF     7ef89000-7ef95000       Deferred        libnss_nis.so.2
ELF     7ef95000-7efae000       Deferred        libnsl.so.1
ELF     7efae000-7eff4000       Deferred        libm.so.6
ELF     7eff7000-7f000000       Deferred        libnss_compat.so.2
ELF     f73c0000-f73c4000       Deferred        libxau.so.6
ELF     f73c5000-f73ca000       Deferred        libdl.so.2
ELF     f73ca000-f7577000       Dwarf           libc.so.6
ELF     f7578000-f7594000       Deferred        libpthread.so.0
ELF     f75a0000-f7755000       Dwarf           libwine.so.1
ELF     f7757000-f7778000       Deferred        ld-linux.so.2
ELF     f7778000-f7779000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 beyond32.exe
        0000004d    0
        00000065    0
        00000009    0
0000000e services.exe
        00000020    0
        0000001f    0
        00000014    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        00000019    0
        00000017    0
        00000013    0
0000001a plugplay.exe
        00000022    0
        00000021    0
        0000001b    0
00000024 explorer.exe
        00000026    0
        00000025    0
00000062 (D) Z:\opt\lmi\bin\lmi_wx_shared.exe
        0000003c    0 <==
0000004c explorer.exe
        0000005e    0
        0000003e    0

[1]  + exit 5     wine ./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data
/opt/lmi/bin[0]$



reply via email to

[Prev in Thread] Current Thread [Next in Thread]