Public bug reported:

Binary package hint: wine

I first tried to report this at http://bugs.winehq.org/, but the needed
registration for reporting a bug never sent me an e-mail like promised,
so I report it here instead.

=== wine --version ===
wine-0.9.57

=== dpkg -l wine ===
ii  wine                        0.9.57-0ubuntu1             Microsoft Windows 
Compatibility Layer (Binary Emulator and Library)

=== /etc/lsb-release ===
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

=== gcc -v ===
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr 
--enable-targets=all --enable-checking=release --build=i486-linux-gnu 
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu4)

=== uses windows or just wine ===
just wine

=== the program I'm trying to run ===

RubyRoom v.0.3 (a small program written in Ruby):
http://www.pvv.org/~alexanro/rubyroom-0.35.tbz2

using this version of Ruby:
http://rubyforge.org/frs/download.php/29263/ruby186-26.exe

using this version of GTK2 for Ruby:
http://mesh.dl.sourceforge.net/sourceforge/ruby-gnome2/ruby-gnome2-0.16.0-1-i386-mswin32.exe

=== commands used to start wine / steps to reproduce ===

Here are the steps I used. I'm sure it's possible to make these steps
even more effecient, but my main goal was to have something that was
reproducable:

1. Install Ruby in wine (in c:\ruby, straightforward installation)
   cd /tmp
   wget http://rubyforge.org/frs/download.php/29263/ruby186-26.exe
   wine ruby186-26.exe
   rm ruby186-26.exe
   cd

2. Install GTK2 for Ruby, in wine (straightforward installation)
   cd /tmp
   wget 
http://mesh.dl.sourceforge.net/sourceforge/ruby-gnome2/ruby-gnome2-0.16.0-1-i386-mswin32.exe
   wine ruby-gnome2-0.16.0-1-i386-mswin32.exe
   rm ruby-gnome2-0.16.0-1-i386-mswin32.exe
   cd

3. Create c:\ruby\mycode (~/.wine/drive_c/ruby/mycode)
   mkdir ~/.wine/drive_c/ruby/mycode

4. Extract the file "rubyroom" from rubyroom-0.35.tbz2 to c:\ruby\mycode
   cd /tmp
   wget http://www.pvv.org/~alexanro/rubyroom-0.35.tbz2
   tar jxvf rubyroom-0.35.tbz2 rubyroom-0.35/rubyroom
   mv rubyroom-0.35/rubyroom ~/.wine/drive_c/ruby/mycode
   rm -r rubyroom-0.35 rubyroom-0.35.tbz2
   cd

5. Create a .bat-file to run rubyroom, named c:\ruby\mycode\rubyroom.bat:
   * Copy this text:

@echo off
cls
echo I'm here
set PROMPT=$p$g
set HOME=.
c:
cd \ruby\mycode
..\bin\rubyw rubyroom

   * Do these commands ([] are keys on the keyboard):
   vim ~/.wine/drive_c/ruby/mycode/rubyroom.bat[return]
   :set paste[return]
   [i]
   [shift]+[insert]
   [esc]
   :set ff=dos[return]
   [Z][Z]

6. Create a .sh file to run the .bat-file, named c:\ruby\mycode\winerubyroom.sh:
   * Copy this text:

#!/bin/sh
wine cmd /c "c:\ruby\mycode\rubyroom.bat"

   * Do these commands ([] are keys on the keyboard):
   vim ~/.wine/drive_c/ruby/mycode/winerubyroom.sh[return]
   :set paste[return]
   [i]
   [shift]+[insert]
   [esc]
   [Z][Z]

7. Make the .sh-file executable
   chmod +x ~/.wine/drive_c/ruby/mycode/winerubyroom.sh

8. Create a comfortable link to the shellscript:
   sudo ln -s ~/.wine/drive_c/ruby/mycode/winerubyroom.sh 
/usr/local/bin/winerubyroom

9. Run RubyRoom with wine
   winerubyroom

=== WINEDEBUG=+relay ===

I tried adding WINEDEBUG=+relay in front of "wine" in winerubyroom.sh.
Then I tried running "winerubyroom" like this:

winerubyroom &> output.txt

The result was that I waited for several minutes (15 perhaps), without
any GUI showing up and while output.txt was growing to 387 MB and
upwards:

du output.txt -h
387M    output.txt

I tried killing winerubyroom with ctrl-c and ctrl-\, but it didn't
respond, so I tried "pkill wine". This didn't work either, but good old
"pkill -9 wine" made it stop.

The 20 first lines in output.txt were (head -20 output.txt):
trace:relay:load_list L"RelayExclude" = 
L"ntdll.RtlEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98"
trace:relay:load_list L"RelayFromExclude" = 
L"winex11.drv;user32;gdi32;advapi32;kernel32"
0009:Call KERNEL32.__wine_kernel_init() ret=7bc47de8
trace:relay:load_list L"RelayExclude" = 
L"ntdll.RtlEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98"
trace:relay:load_list L"RelayFromExclude" = 
L"winex11.drv;user32;gdi32;advapi32;kernel32"
000b:Call KERNEL32.__wine_kernel_init() ret=7bc47de8
000b:Call PE DLL (proc=0x7bc76620,module=0x7bc10000 
L"ntdll.dll",reason=PROCESS_ATTACH,res=0x1)
000b:Ret  PE DLL (proc=0x7bc76620,module=0x7bc10000 
L"ntdll.dll",reason=PROCESS_ATTACH,res=0x1) retval=1
000b:Call PE DLL (proc=0x7b8a1c10,module=0x7b820000 
L"KERNEL32.dll",reason=PROCESS_ATTACH,res=0x1)
000b:Ret  PE DLL (proc=0x7b8a1c10,module=0x7b820000 
L"KERNEL32.dll",reason=PROCESS_ATTACH,res=0x1) retval=1
000b:Call PE DLL (proc=0x7ee436d0,module=0x7ee10000 
L"advapi32.dll",reason=PROCESS_ATTACH,res=0x1)
000b:Ret  PE DLL (proc=0x7ee436d0,module=0x7ee10000 
L"advapi32.dll",reason=PROCESS_ATTACH,res=0x1) retval=1
000b:Starting process L"c:\\windows\\system32\\wineboot.exe" 
(entryproc=0x7ee8ea30)
000b:Call KERNEL32.GetWindowsDirectoryW(7ee94c20,00000104) ret=7ee8d0e6
000b:Ret  KERNEL32.GetWindowsDirectoryW() retval=0000000a ret=7ee8d0e6
000b:Call KERNEL32.SetCurrentDirectoryW(7ee94c20 L"c:\\windows") ret=7ee8d0f7
000b:Ret  KERNEL32.SetCurrentDirectoryW() retval=00000001 ret=7ee8d0f7
000b:Call KERNEL32.CreateEventW(00000000,00000001,00000000,7ee8f680 
L"__wineboot_event") ret=7ee8d2ef
000b:Ret  KERNEL32.CreateEventW() retval=00000014 ret=7ee8d2ef
000b:Call KERNEL32.ResetEvent(00000014) ret=7ee8d300

The 20 last lines in output.txt were (tail -20 output.txt):
000f:Ret  KERNEL32.__wine_dll_unregister_16() retval=00000010 ret=7e979000
000f:Ret  PE DLL (proc=0x7e97e3d0,module=0x7e970000 
L"imm32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ece44c0,module=0x7ec30000 
L"user32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7ece44c0,module=0x7ec30000 
L"user32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7e9f6020,module=0x7e990000 
L"winex11.drv",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7e9f6020,module=0x7e990000 
L"winex11.drv",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ebefe20,module=0x7eb90000 
L"gdi32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7ebefe20,module=0x7eb90000 
L"gdi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ee46a30,module=0x7ee10000 
L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
000f:Call KERNEL32.CloseHandle(0000001c) ret=7ee453c2
000f:Ret  KERNEL32.CloseHandle() retval=00000001 ret=7ee453c2
000f:Ret  PE DLL (proc=0x7ee46a30,module=0x7ee10000 
L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7edf62a0,module=0x7ede0000 
L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7edf62a0,module=0x7ede0000 
L"iphlpapi.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ed956d0,module=0x7ed60000 
L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7ed956d0,module=0x7ed60000 
L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7b8a1c10,module=0x7b820000 
L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7b8a1c10,module=0x7b820000 
L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7bc76620,module=0x7bc10000 
L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7bc76620,module=0x7bc10000 
L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1


I'll attach a screenshot of how the problem looks.

** Affects: wine (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[hardy] wine has fontproblems with gtk2+ruby
https://bugs.launchpad.net/bugs/202985
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to