[Bug 35832] SketchUp 2014 hangs after choosing a template (Ruby's win32 wrapper accesses msvcrt internal 'ioinfo' structure)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 21 14:04:37 CDT 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet, download
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://www.chip.de/download
                   |                            |s/SketchUp_19028747.html
                 CC|                            |focht at gmx.net
          Component|-unknown                    |msvcrt
         Resolution|---                         |DUPLICATE
            Summary|SketchUp 2014 hangs after   |SketchUp 2014 hangs after
                   |choosing a template         |choosing a template (Ruby's
                   |                            |win32 wrapper accesses
                   |                            |msvcrt internal 'ioinfo'
                   |                            |structure)

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

confirming.
It's actually a dupe of bug 34941

Use 'winetricks -q vcrun6' to work around.

SketchUp 2014 uses Ruby 2.0.0 engine internally which makes assumptions about
msvcrt internal data structures.

Prerequisite: 'winetricks -q dotnet40' (if the framework download fails).

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/SketchUp/SketchUp 2014

$ WINEDEBUG=+tid,+seh,+relay wine ./SketchUp.exe >>log.txt 2>&1
...
002a:Call PE DLL (proc=0x66781058,module=0x66780000
L"msvcrt-ruby200.dll",reason=PROCESS_ATTACH,res=0x1) 
...
002a:Call KERNEL32.CreateFileW(07c8c5e0 L"C:/Program Files/SketchUp/SketchUp
2014/Tools/extensions.rb",80000000,00000003,0033f200,00000003,00000080,00000000)
ret=7daff461
002a:Ret  KERNEL32.CreateFileW() retval=00000424 ret=7daff461 
...
002a:Call msvcrt.strlen(07c8bb28 "C:/Program Files/SketchUp/SketchUp
2014/Tools/extensions.rb") ret=668dc2c4
002a:Ret  msvcrt.strlen() retval=0000003b ret=668dc2c4
002a:Call msvcrt.malloc(0000003c) ret=667e9848
002a:Call ntdll.RtlAllocateHeap(00110000,00000000,0000003c) ret=7db07023
002a:Ret  ntdll.RtlAllocateHeap() retval=06d205e8 ret=7db07023
002a:Ret  msvcrt.malloc() retval=06d205e8 ret=667e9848
002a:trace:seh:__regs_MSVCRT__setjmp buf=0x33f394 ebx=06d20498 esi=0016c618
edi=00000001 ebp=0033f410 esp=0033f364 eip=6691d53f frame=0033f890
002a:Call msvcrt._setmode(00000003,00008000) ret=667fd2f8
002a:Ret  msvcrt._setmode() retval=00004000 ret=667fd2f8
002a:Call msvcrt._get_osfhandle(00000003) ret=669347cd
002a:Ret  msvcrt._get_osfhandle() retval=00000424 ret=669347cd
002a:Call msvcrt._get_osfhandle(00000003) ret=669347f6
002a:Ret  msvcrt._get_osfhandle() retval=00000424 ret=669347f6
002a:Call KERNEL32.PeekConsoleInputA(00000424,0033f240,00000001,0033f254)
ret=66934818
002a:Ret  KERNEL32.PeekConsoleInputA() retval=00000000 ret=66934818
002a:Call msvcrt.malloc(00002000) ret=667e9848
002a:Call ntdll.RtlAllocateHeap(00110000,00000000,00002000) ret=7db07023
002a:Ret  ntdll.RtlAllocateHeap() retval=07c8c628 ret=7db07023
002a:Ret  msvcrt.malloc() retval=07c8c628 ret=667e9848
002a:trace:seh:__regs_MSVCRT__setjmp buf=0x33f1b4 ebx=06d20560 esi=00000004
edi=0033f23c ebp=0033f220 esp=0033f184 eip=66923641 frame=0033f890
002a:trace:seh:__regs_MSVCRT__setjmp buf=0x6a01ce0 ebx=0033f1f8 esi=6691fac0
edi=06a01c88 ebp=0033f180 esp=0033f144 eip=6692310f frame=0033f890
002a:Call KERNEL32.ReleaseMutex(00000418) ret=66923128
002a:Ret  KERNEL32.ReleaseMutex() retval=00000001 ret=66923128
002a:Call msvcrt._get_osfhandle(00000003) ret=6693d55d
002a:Ret  msvcrt._get_osfhandle() retval=00000424 ret=6693d55d
002a:Call msvcrt._get_osfhandle(00000003) ret=6693d58a
002a:Ret  msvcrt._get_osfhandle() retval=00000424 ret=6693d58a
000b:Ret  KERNEL32.WaitForSingleObject() retval=00000102 ret=6691f885 
...
002a:err:ntdll:RtlpWaitForCriticalSection section 0x16a038 "?" wait timed out
in thread 002a, blocked by 0000, retrying (60 sec) 
...
--- snip ---

Debugger session:

--- snip ---
Wine-dbg>info process
 pid      threads  executable (all id:s are in hex)
 00000029 17       'SketchUp.exe'
 0000002b 7        \_ 'rpcss.exe'
 00000014 1        'explorer.exe'
 0000000e 6        'services.exe'
 00000022 3        \_ 'plugplay.exe'
 0000001c 4        \_ 'winedevice.exe'
 00000012 4        \_ 'mscorsvw.exe'
 00000008 1        'notepad.exe'
...
Wine-dbg>info thread
process  tid      prio (all id:s are in hex)
...
00000029 SketchUp.exe
    0000000b    0
    00000047    0
    00000046    0
    00000045    0
    00000044    0
    00000043   -1
    00000042    0
    00000041    0
    00000040   -1
    0000003f    0
    0000003e    0
    0000003d    0
    0000003c    0
    0000003b    0
    0000003a    0
    00000039    0
    0000002a    0 
...

Backtracing for thread 002a in process 0029 (C:\Program Files\SketchUp\SketchUp
2014\SketchUp.exe):
Backtrace:
=>0 0xf773e42e __kernel_vsyscall+0xe() in [vdso].so (0x0033ed58)
  1 0xf753125b __libc_read+0x4a() in libpthread.so.0 (0x0033ed58)
  2 0x7bc7f746 wait_select_reply+0x30(cookie=0x33ee3c)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/server.c:333] in ntdll
(0x0033ed58)
  3 0x7bc8052d server_select+0x182(select_op=0x33ee8c, size=0x8, flags=0,
timeout=0x33ef90)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/server.c:597] in ntdll
(0x0033ee68)
  4 0x7bc398cb wait_semaphore+0x9f(crit=0x16a038, timeout=0x12c)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/critsection.c:238] in ntdll
(0x0033efa8)
  5 0x7bc39deb RtlpWaitForCriticalSection+0x1e2(crit=<couldn't compute
location>)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/critsection.c:455] in ntdll
(0x0033f068)
  6 0x7bc39fe9 RtlEnterCriticalSection+0xdc(crit=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/critsection.c:558] in ntdll
(0x0033f0b8)
  7 0x6693d5c8 in msvcrt-ruby200 (+0x1bd5c7) (0x0033f160)
  8 0x667f38d1 in msvcrt-ruby200 (+0x738d0) (0x0033f180)
  9 0x669236ac in msvcrt-ruby200 (+0x1a36ab) (0x0033f220)
  10 0x667f52f2 in msvcrt-ruby200 (+0x752f1) (0x0033f260)
  11 0x667fca39 in msvcrt-ruby200 (+0x7ca38) (0x0033f2e0)
  12 0x66832280 in msvcrt-ruby200 (+0xb227f) (0x0033f300)
  13 0x6684a1be in msvcrt-ruby200 (+0xca1bd) (0x0033f360)
  14 0x6691d5b9 in msvcrt-ruby200 (+0x19d5b8) (0x0033f410)
  15 0x66837301 in msvcrt-ruby200 (+0xb7300) (0x0033f430)
  16 0x668929f0 in msvcrt-ruby200 (+0x1129ef) (0x0033f4b0)
  17 0x667d18c9 in msvcrt-ruby200 (+0x518c8) (0x0033f540)
  18 0x66894c5d in msvcrt-ruby200 (+0x114c5c) (0x0033f5f0)
  19 0x667d3927 in msvcrt-ruby200 (+0x53926) (0x0033f6a0)
  20 0x667d55fa in msvcrt-ruby200 (+0x555f9) (0x0033f770)
  21 0x0088ca0e in sketchup (+0x48ca0d) (0x0033f780)
  22 0x667d1820 in msvcrt-ruby200 (+0x5181f) (0x0033f850)
  23 0x0088ef8b in sketchup (+0x48ef8a) (0x0033f89c)
  24 0x00890236 in sketchup (+0x490235) (0x0033f970)
  25 0x00890f7f in sketchup (+0x490f7e) (0x0033fa10)
  26 0x00892d63 in sketchup (+0x492d62) (0x0033fa9c)
  27 0x004dc4b9 in sketchup (+0xdc4b8) (0x0033fd78)
  28 0x7883e3c3 in mfc100u (+0x24e3c2) (0x0033fd8c)
  29 0x00b03982 in sketchup (+0x703981) (0x0033fe20) 
...
--- snip ---

$ sha1sum SketchUpMake-de_14.0.4900.exe 
663cb24caedeabee5753cbf295c04eddefaf4e49  SketchUpMake-de_14.0.4900.exe

$ du -sh SketchUpMake-de_14.0.4900.exe 
85M    SketchUpMake-de_14.0.4900.exe

$ wine --version
wine-1.7.14-207-g8199430

Regards

*** This bug has been marked as a duplicate of bug 34941 ***

-- 
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