Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] Problems with Wine 1.5.4 in Debian testing 64 bit

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
shmerl
Posts: 302
Joined: 2009-07-30 21:41

[solved] Problems with Wine 1.5.4 in Debian testing 64 bit

#1 Post by shmerl »

I just installed Wine 1.5.4-0.2 on Debian testing, and finally released Nvidia drivers from hold, since 295.49-1 just rolled into testing. And now Wine based applications (like games which rely on 32 bit OpenGL from libgl1-nvidia-glx-ia32) are broken. Did anyone experience this regression? Does it have anything to do with multiarch changes or it's something else?

Here's what happens:

Code: Select all

fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32f344,0x32f33c): stub                                                                                           
fixme:win:EnumDisplayDevicesW ((null),0,0x32c588,0x00000000), stub!                                                                                                   
fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0000-0000-0000-000000000000}.                                                                                   
*** glibc detected *** ... malloc(): memory corruption: 0x7c99c490 ***                                                                                        
======= Backtrace: =========                                                                                                                                          
/lib32/libc.so.6(+0x6f121)[0xf74d9121]                                                                                                                                
/lib32/libc.so.6(+0x71f24)[0xf74dbf24]                                                                                                                                
/lib32/libc.so.6(__libc_calloc+0xab)[0xf74dd29b]                                                                                                                      
/usr/lib32/libXi.so.6(XIQueryDevice+0x1b3)[0x7e11f943]                                                                                                                
/usr/lib32/wine-unstable/winex11.drv.so(+0x37a15)[0x7e301a15]                                                                                                         
/usr/lib32/wine-unstable/winex11.drv.so(+0x382c8)[0x7e3022c8]                                                                                                         
/usr/lib32/wine-unstable/winex11.drv.so(+0x22ed0)[0x7e2eced0]                                                                                                         
/usr/lib32/wine-unstable/user32.dll.so(EnumWindows+0x71)[0x7ed820e1]                                                                                                  
/usr/lib32/wine-unstable/winex11.drv.so(+0x23448)[0x7e2ed448]                                                                                                         
/usr/lib32/wine-unstable/winex11.drv.so(+0x5d82b)[0x7e32782b]                                                                                                         
/usr/lib32/wine-unstable/winex11.drv.so(X11DRV_ChangeDisplaySettingsEx+0x561)[0x7e313891]                                                                             
/usr/lib32/wine-unstable/user32.dll.so(ChangeDisplaySettingsExW+0x42)[0x7ed75142]                                                                                     
/usr/lib32/wine-unstable/wined3d.dll.so(wined3d_device_set_display_mode+0xea)[0x7d68ac9a]                                                                             
/usr/lib32/wine-unstable/ddraw.dll.so(+0x1aeb1)[0x7d8b5eb1]                                                                                                           
/usr/lib32/wine-unstable/ddraw.dll.so(+0x1af42)[0x7d8b5f42]                                                                                                           
[0x43fb3c2]                                                                                                                                                           
[0x43f2ad8]                                                                                                                                                           
[0x1110d24a]                                                                                                                                                          
[0x11107971]                                                                                                                                                          
[0x10389779]                                                                                                                                                          
[0xb161de]                                                                                                                                                            
[0x1000ed27]                                                                                                                                                          
[0x1090bba7]                                                                                                                                                          
[0x109093ec]                                                                                                                                                          
[0x109215ea]                                                                                                                                                          
/usr/lib32/wine-unstable/kernel32.dll.so[0x7b85cb0c]
/usr/lib32/wine-unstable/kernel32.dll.so[0x7b85dcdf]
/usr/lib32/wine-unstable/ntdll.dll.so[0x7bc748d0]
/usr/lib32/wine-unstable/ntdll.dll.so(call_thread_func+0x7d)[0x7bc7730d]
/usr/lib32/wine-unstable/ntdll.dll.so[0x7bc748ae]
/usr/lib32/wine-unstable/ntdll.dll.so[0x7bc4d04e]
/usr/lib32/libwine-unstable.so.1(+0x9b7d)[0xf75e9b7d]
Last edited by shmerl on 2012-05-22 23:58, edited 1 time in total.

flypp
Posts: 5
Joined: 2012-05-22 07:24

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#2 Post by flypp »

Same for me. Using Debian Wheezy amd64.

I have not wine installed from repos, but compiled by myself. I can see a "malloc() memory corruption" message too.

Stop working after nvidia and libc6 update (i don't know whom to blame).

flypp
Posts: 5
Joined: 2012-05-22 07:24

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#3 Post by flypp »

I think i found something. Compare:
http://packages.debian.org/wheezy/amd64 ... 2/filelist

with:
http://packages.debian.org/squeeze/amd6 ... 2/filelist

None 32bit files installed in Wheezy?.


Same with nvidia-glx-ia32: No files in Wheezy

shmerl
Posts: 302
Joined: 2009-07-30 21:41

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#4 Post by shmerl »

Not sure what the site suggests, but actual package installs files. You can test it as:

dpkg -L libgl1-nvidia-glx-ia32

I installed Wine from here: http://dev.carbon-project.org/debian/wine-unstable/ I also tested it with installing previous Nvidia driver using the Nvidia way. Same story.

flypp
Posts: 5
Joined: 2012-05-22 07:24

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#5 Post by flypp »

After reading this:
http://www.linuxquestions.org/questions ... rs-943635/

I tried to remove /usr/lib/xorg/modules/extensions/libglx.so and then:
sudo ln -s /usr/lib/nvidia/current/libglx.so.295.49 /usr/lib/xorg/modules/extensions/libglx.so

I launch a game in wine and.... no luck... but at least the "memory corruption" message wasn't show.

Now I'm compiling wine again. Will post with the results.

** Edit **

Nopes :(
(and memory corruption is back)
Last edited by flypp on 2012-05-22 22:00, edited 1 time in total.

shmerl
Posts: 302
Joined: 2009-07-30 21:41

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#6 Post by shmerl »

I got some update from the wine-unstable packages maintainer (http://dev.carbon-project.org/debian/wine-unstable/). According to him it's related to outdated 32 bit compatibility libs.

Here is his response:
Most likely your 32-Bit libXi is outdated. Please update that. As this is the
closed-source nVidia driver it could also (in addition) mean, that you need a
rebuilt version of that driver (against a recent libXi)

At least that was a recent issue with other drivers.
In short, one way to do it is:
just download and unpack the i386 package for libXi (libxi6) and move the
libXi.so.6.1.0 file to /usr/lib32

That is an ugly hack, but works for the time being (which shouldn't be too long
anymore).
I didn't have a chance to test this method yet, I'll try a bit later and will post the results here. These kind of problems can pop up until multiarch will be fully implemented in testing.

flypp
Posts: 5
Joined: 2012-05-22 07:24

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#7 Post by flypp »

shmerl:

I extracted that file in /usr/lib and now i'm getting a error with libpulse. Trying to rebuild again (game still does not work, nothing happend).

Code: Select all

flypp@flypp-desktop:~/.wine/drive_c/Archivos de programa/Diablo II$ fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
ALSA lib ../../src/conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib ../../../src/pcm/pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9e
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9e
fixme:dbghelp_dwarf:compute_location Only supporting one reg (edi/24 -> -2)
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
wine: Unhandled page fault on read access to 0x00020a50 at address 0x20a50 (thread 0024), starting debugger...
Unhandled exception: page fault on read access to 0x00020a50 in 32-bit code (0x00020a50).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00020a50 ESP:0033f9ac EBP:0033f9c8 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000001 EBX:7c99e598 ECX:f77c3ff4 EDX:7c99e008
 ESI:00000001 EDI:7c85f1e0
Stack dump:
0x0033f9ac:  7c9670c8 7d617cbc 7be8a434 0033f9d8
0x0033f9bc:  7c96706a 7c99e598 00000040 0033f9d8
0x0033f9cc:  7c9963e0 f77c3ff4 f77c3ff4 0033fbd8
0x0033f9dc:  f77b5fb6 f77c44e4 00000000 001343f8
0x0033f9ec:  7ee79428 f77c4918 f77c4c08 7c58f290
0x0033f9fc:  7c58fa08 7c5910e8 7c5916d8 7c591998
Backtrace:
=>0 0x00020a50 (0x0033f9c8)
  1 0x7c9963e0 in libpulse.so.0 (+0x383df) (0x0033f9d8)
  2 0xf77b5fb6 in ld-linux.so.2 (+0xefb5) (0x0033fbd8)
  3 0xf74eb7bf in libc.so.6 (+0x2f7be) (0x0033fc18)
  4 0xf74eb82f exit+0x2e() in libc.so.6 (0x0033fc38)
  5 0x7ef90266 NtTerminateProcess+0x65(handle=0xffffffff, exit_code=0x1) [/home/flypp/Downloads/wine-git/dlls/ntdll/process.c:63] in ntdll (0x0033fcd8)
  6 0x7ee2cd3f process_ExitProcess+0x2e(status=0xc0000005) [/home/flypp/Downloads/wine-git/dlls/kernel32/process.c:2618] in kernel32 (0x0033fcf8)
  7 0x7ee2b4e2 ExitProcess+0x11() in kernel32 (0x0033fd0c)
  8 0xc0000005 (0x0033fd0c)
  9 0x00402325 in game (+0x2324) (0x0033fd44)
  10 0x0040249b in game (+0x249a) (0x0033fe70)
  11 0x7ee2b4cc call_process_entry+0xb() in kernel32 (0x0033fe88)
  12 0x7ee2c64f start_process+0x5e(peb=0x7ffdf000) [/home/flypp/Downloads/wine-git/dlls/kernel32/process.c:1083] in kernel32 (0x0033fec8)
  13 0x7efa3970 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  14 0x7efa667d call_thread_func+0x7c(entry=0x7ee2c5f0, arg=0x7ffdf000, frame=0x33ffc8) [/home/flypp/Downloads/wine-git/dlls/ntdll/signal_i386.c:2522] in ntdll (0x0033ffa8)
  15 0x7efa394e call_thread_entry_point+0x11() in ntdll (0x0033ffc8)
  16 0x7ef7bc6e start_process+0x1d(kernel_start=0x7ee2c5f0) [/home/flypp/Downloads/wine-git/dlls/ntdll/loader.c:2653] in ntdll (0x0033ffe8)
  17 0xf766bacd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  18 0xf766bb8b wine_switch_to_stack+0x2a(func=0x7ef7bc50, arg=0x7ee2c5f0, stack=0x340000) [/home/flypp/Downloads/wine-git/libs/wine/port.c:59] in libwine.so.1 (0xff8418c8)
  19 0x7ef817e6 LdrInitializeThunk+0x3b5(kernel_start=0x7ee2c5f0, unknown2=0, unknown3=0, unknown4=0) [/home/flypp/Downloads/wine-git/dlls/ntdll/loader.c:2709] in ntdll (0xff841938)
  20 0x7ee32512 __wine_kernel_init+0x9e1() [/home/flypp/Downloads/wine-git/dlls/kernel32/process.c:1255] in kernel32 (0xff842ad8)
  21 0x7ef81f3b __wine_process_init+0x25a() [/home/flypp/Downloads/wine-git/dlls/ntdll/loader.c:2918] in ntdll (0xff842b58)
  22 0xf7668fe8 wine_init+0x277(argc=0x2, argv=0xff8430b4, error="", error_size=0x400) [/home/flypp/Downloads/wine-git/libs/wine/loader.c:831] in libwine.so.1 (0xff842bb8)
  23 0x7bf00ffb main+0x7a(argc=0x2, argv=0xff8430b4) [/home/flypp/Downloads/wine-git/loader/main.c:230] in <wine-loader> (0xff843008)
(...)


shmerl
Posts: 302
Joined: 2009-07-30 21:41

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#8 Post by shmerl »

Yes, Wine needs some patches to work with PulseAudio. And default 32 bit compat libs are missing some PulseAudio components. I didn't manage to resolve that mess even with manual hacks like above (copying 32 bit PulseAudio related libs in lib32 and etc.) Because of that I simply removed Pulse and use pure ALSA for now. It helped for this problem before. Hopefully multiarch will solve this bug as well.

flypp
Posts: 5
Joined: 2012-05-22 07:24

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#9 Post by flypp »

After compilation (last git version), everything ok :D

Thanks for the tip shmerl, really appreciated ^^

shmerl
Posts: 302
Joined: 2009-07-30 21:41

Re: Problems with Wine 1.5.4-0.2 in Debian testing 64 bit

#10 Post by shmerl »

Glad it worked! I just tested that workaround - it solved the issue for me as well.

stuartf
Posts: 2
Joined: 2012-06-03 19:56

Re: [solved] Problems with Wine 1.5.4 in Debian testing 64 b

#11 Post by stuartf »

I ran into the pulseaudio errors when I just copied the libXi from the 32bit package. But things appear to be working when instead I enabled multiarch

Code: Select all

dpkg --add-architecture i386
and ran

Code: Select all

sudo aptitude install libXi6:i386
which triggered the install of a bunch of other i386 libs.

shmerl
Posts: 302
Joined: 2009-07-30 21:41

Re: [solved] Problems with Wine 1.5.4 in Debian testing 64 b

#12 Post by shmerl »

Was it sid or it's available for testing as well?

thunder.m
Posts: 1
Joined: 2012-06-10 12:18

Re: [solved] Problems with Wine 1.5.4 in Debian testing 64 b

#13 Post by thunder.m »

I hade same problem, my solution was to download lib32asound2-plugins package from stable and install it manualy after that wine works without any problems......

cloudsv
Posts: 1
Joined: 2012-06-28 14:58

Re: [solved] Problems with Wine 1.5.4 in Debian testing 64 b

#14 Post by cloudsv »

hi all, i have same problem.
I have debian testing and compiled wine 1.5.5 from http://dev.carbon-project.org/debian/wine-unstable/ with patches for WoT(World of tanks).
All games work's perfectly (WoT,Diablo, WoW), but yesterday i install server Killing Floor and i whant play this game with my friends.
When i try start game i see this:

Code: Select all

wine KillingFloor.exe 
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32c988,0x32c984): stub
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
fixme:win:EnumDisplayDevicesW ((null),0,0x32a048,0x00000000), stub!
*** glibc detected *** KillingFloor.exe: malloc(): memory corruption: 0x74a5ffc0 ***
======= Backtrace: =========
/lib32/libc.so.6(+0x6f181)[0xf7547181]
/lib32/libc.so.6(+0x71f84)[0xf7549f84]
/lib32/libc.so.6(__libc_malloc+0x5c)[0xf754bb8c]
/usr/lib32/libXi.so.6(XIQueryDevice+0x140)[0x7d6898d0]
/usr/lib32/wine-unstable/winex11.drv.so(+0x37ca5)[0x7d9a7ca5]
/usr/lib32/wine-unstable/winex11.drv.so(X11DRV_ClipCursor+0xa5)[0x7d9a8d45]
/usr/lib32/wine-unstable/user32.dll.so(ClipCursor+0x151)[0x7e933c51]
[0x11110eeb]
[0x1111379b]
[0x11019d08]
/usr/lib32/wine-unstable/user32.dll.so(+0xb49da)[0x7e9b49da]
/usr/lib32/wine-unstable/user32.dll.so(+0xb509c)[0x7e9b509c]
/usr/lib32/wine-unstable/user32.dll.so(+0xb7652)[0x7e9b7652]
/usr/lib32/wine-unstable/user32.dll.so(+0x7856e)[0x7e97856e]
/usr/lib32/wine-unstable/user32.dll.so(+0x7eb76)[0x7e97eb76]
/usr/lib32/wine-unstable/user32.dll.so(SendMessageW+0x4c)[0x7e97efec]
/usr/lib32/wine-unstable/user32.dll.so(+0x572ea)[0x7e9572ea]
/usr/lib32/wine-unstable/user32.dll.so(SetFocus+0x10c)[0x7e957b3c]
/usr/lib32/wine-unstable/user32.dll.so(+0x41a49)[0x7e941a49]
/usr/lib32/wine-unstable/user32.dll.so(DefWindowProcW+0x155)[0x7e9431b5]
[0x11113f4e]
[0x11019d08]
/usr/lib32/wine-unstable/user32.dll.so(+0xb49da)[0x7e9b49da]
/usr/lib32/wine-unstable/user32.dll.so(+0xb509c)[0x7e9b509c]
/usr/lib32/wine-unstable/user32.dll.so(+0xb7652)[0x7e9b7652]
/usr/lib32/wine-unstable/user32.dll.so(+0x7856e)[0x7e97856e]
/usr/lib32/wine-unstable/user32.dll.so(+0x7eb76)[0x7e97eb76]
/usr/lib32/wine-unstable/user32.dll.so(SendMessageW+0x4c)[0x7e97efec]
/usr/lib32/wine-unstable/user32.dll.so(+0x577f5)[0x7e9577f5]
/usr/lib32/wine-unstable/user32.dll.so(SetFocus+0x1c5)[0x7e957bf5]
[0x11113396]
[0x11019d08]
/usr/lib32/wine-unstable/user32.dll.so(+0xb49da)[0x7e9b49da]
/usr/lib32/wine-unstable/user32.dll.so(+0xb509c)[0x7e9b509c]
/usr/lib32/wine-unstable/user32.dll.so(+0xb7652)[0x7e9b7652]
/usr/lib32/wine-unstable/user32.dll.so(+0x7856e)[0x7e97856e]
/usr/lib32/wine-unstable/user32.dll.so(+0x7eb76)[0x7e97eb76]
/usr/lib32/wine-unstable/user32.dll.so(SendMessageW+0x4c)[0x7e97efec]
/usr/lib32/wine-unstable/user32.dll.so(+0xab6c7)[0x7e9ab6c7]
/usr/lib32/wine-unstable/user32.dll.so(CreateWindowExW+0x76)[0x7e9a5736]
[0x1101e65c]
[0x1111031d]
[0x459968]
[0x10908c20]
[0x1091183a]
[0x0]
======= Memory map: ========
00010000-00110000 rw-p 00000000 00:00 0 
00110000-00180000 rwxp 00000000 00:00 0 
00180000-00220000 ---p 00000000 00:00 0 
00220000-00223000 rwxp 00000000 00:00 0 
00223000-00224000 ---p 00000000 00:00 0 
00224000-00230000 ---p 00000000 00:00 0 
00230000-00232000 ---p 00000000 00:00 0 
00232000-00330000 rwxp 00000000 00:00 0 
00330000-00772000 r-xp 00000000 09:01 91236308                           /home/clsv/games/kf/System/Engine.dll
if i do:
just download and unpack the i386 package for libXi (libxi6) and move the
libXi.so.6.1.0 file to /usr/lib32
That is an ugly hack, but works for the time being (which shouldn't be too long
anymore).
i see this:

Code: Select all

wine KillingFloor.exe 
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32c988,0x32c984): stub
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
fixme:win:EnumDisplayDevicesW ((null),0,0x32a048,0x00000000), stub!
fixme:dbghelp:elf_search_auxv can't find symbol in module
Inconsistency detected by ld.so: dl-close.c: 743: _dl_close: Assertion `map->l_init_called' failed!
What I'm doing wrong?

thx for help ;-)


UPD:
I solve this problem.
I download http://packages.debian.org/wheezy/libx11-6 , unpack libX11.so.6.3.0 to /usr/lib32/ and this error "symbol lookup error: /usr/lib32/libXi.so: undefined symbol: _XGetRequest" disappeared.

Post Reply