Application stops working between Ubuntu 11.04 and 11.10

Questions about Wine on Linux
Locked
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Application stops working between Ubuntu 11.04 and 11.10

Post by abarrow »

... and Linux Mint 12

Application Sailwave (http://www.sailwave.com/download/downsailwave.php) working at Gold or Platinum level in all Ubuntu versions up to 11.04. Now it starts, opens the main window, and immediately stops. Error message when started from the command line is:
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Value in failed request: 0x0
Serial number of failed request: 22473
Current serial number in output stream: 22492
Did considerable Googling and only find random references to X_CreatePixmap, which appears to be the problem.

Anyone have any thoughts on troubleshooting this one?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Application stops working between Ubuntu 11.04 and 11.10

Post by vitamin »

Wine version? If it's not wine-13.33+ - upgrade.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Darn - latest in the PPA is 1.3.28. I guess I'm getting lazy in my old age... Don't feel like going through an entire compile - is there another source of debs out there somewhere?
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Scratch that.. found it.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Okay, got 1.3.24 installed. Still no joy. Exactly the same error message.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

abarrow wrote:Okay, got 1.3.24 installed. Still no joy. Exactly the same error message.
Install Wine debug symbols, then run your program with:

Code: Select all

WINEDEBUG=synchronous wine program.exe
When it crashes post complete terminal output. If it's too big, please use pastebin.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Okay, here's the output. Sorry if it's long:

andy@andy-Desktop-Mint ~/.wine/drive_c/Program Files/Sailwave $ WINEDEBUG=synchronous wine sailwave.exe
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
err:x11drv:error_handler X protocol error: serial=50254, request_code=53 - breaking into debugger
wine: Unhandled exception 0x80000003 at address 0x7bc72f2c (thread 0009), starting debugger...
fixme:dbghelp_dwarf:compute_location Only supporting one reg (edx/19 -> -2)
0x7bc72f2c DbgBreakPoint in ntdll: int $3
Modules:
Module Address Debug info Name (99 modules)
PE 400000- 6d4000 Export sailwave
ELF 7b800000-7b9b6000 Dwarf kernel32<elf>
\-PE 7b810000-7b9b6000 \ kernel32
ELF 7bc00000-7bcc3000 Dwarf ntdll<elf>
\-PE 7bc10000-7bcc3000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7da5c000-7da72000 Deferred winemapi<elf>
\-PE 7da60000-7da72000 \ winemapi
ELF 7da72000-7da8d000 Deferred spoolss<elf>
\-PE 7da80000-7da8d000 \ spoolss
ELF 7da8d000-7da96000 Deferred librt.so.1
ELF 7da96000-7da9b000 Deferred libgpg-error.so.0
ELF 7da9b000-7dab2000 Deferred libresolv.so.2
ELF 7dab2000-7dab6000 Deferred libkeyutils.so.1
ELF 7dab6000-7daff000 Deferred libdbus-1.so.3
ELF 7daff000-7db84000 Deferred libgcrypt.so.11
ELF 7db84000-7db96000 Deferred libtasn1.so.3
ELF 7db96000-7db9f000 Deferred libkrb5support.so.0
ELF 7db9f000-7dbc8000 Deferred libk5crypto.so.3
ELF 7dbc8000-7dc91000 Deferred libkrb5.so.3
ELF 7dc91000-7dca4000 Deferred libavahi-client.so.3
ELF 7dca4000-7dcb2000 Deferred libavahi-common.so.3
ELF 7dcb2000-7dd62000 Deferred libgnutls.so.26
ELF 7dd62000-7dda0000 Deferred libgssapi_krb5.so.2
ELF 7dda0000-7ddf2000 Deferred libcups.so.2
ELF 7ddf3000-7de14000 Deferred localspl<elf>
\-PE 7de00000-7de14000 \ localspl
ELF 7de57000-7de8b000 Deferred uxtheme<elf>
\-PE 7de60000-7de8b000 \ uxtheme
ELF 7de8b000-7de91000 Deferred libxfixes.so.3
ELF 7de91000-7de9c000 Deferred libxcursor.so.1
ELF 7dea0000-7dea4000 Deferred libcom_err.so.2
ELF 7df15000-7df3f000 Deferred libexpat.so.1
ELF 7df3f000-7df74000 Deferred libfontconfig.so.1
ELF 7df74000-7df84000 Deferred libxi.so.6
ELF 7df84000-7df88000 Deferred libxcomposite.so.1
ELF 7df88000-7df91000 Deferred libxrandr.so.2
ELF 7df91000-7df9c000 Deferred libxrender.so.1
ELF 7df9c000-7dfa2000 Deferred libxxf86vm.so.1
ELF 7dfa2000-7dfa6000 Deferred libxinerama.so.1
ELF 7dfa6000-7dfc8000 Deferred imm32<elf>
\-PE 7dfb0000-7dfc8000 \ imm32
ELF 7dfc8000-7dfcf000 Deferred libxdmcp.so.6
ELF 7dfcf000-7dfd3000 Deferred libxau.so.6
ELF 7dfd3000-7dff2000 Deferred libxcb.so.1
ELF 7dff2000-7dff8000 Deferred libuuid.so.1
ELF 7dff8000-7e012000 Deferred libice.so.6
ELF 7e012000-7e148000 Dwarf libx11.so.6
ELF 7e148000-7e15b000 Deferred libxext.so.6
ELF 7e15b000-7e200000 Dwarf winex11<elf>
\-PE 7e170000-7e200000 \ winex11
ELF 7e200000-7e297000 Deferred libfreetype.so.6
ELF 7e297000-7e2b6000 Deferred libtinfo.so.5
ELF 7e2b6000-7e2d8000 Deferred libncurses.so.5
ELF 7e2d8000-7e2fe000 Deferred mpr<elf>
\-PE 7e2e0000-7e2fe000 \ mpr
ELF 7e2fe000-7e313000 Deferred libz.so.1
ELF 7e335000-7e3a3000 Deferred wininet<elf>
\-PE 7e340000-7e3a3000 \ wininet
ELF 7e3a3000-7e3d9000 Deferred oledlg<elf>
\-PE 7e3b0000-7e3d9000 \ oledlg
ELF 7e3d9000-7e4cb000 Deferred oleaut32<elf>
\-PE 7e3f0000-7e4cb000 \ oleaut32
ELF 7e4cb000-7e541000 Deferred rpcrt4<elf>
\-PE 7e4e0000-7e541000 \ rpcrt4
ELF 7e541000-7e647000 Deferred ole32<elf>
\-PE 7e560000-7e647000 \ ole32
ELF 7e647000-7e671000 Deferred mapi32<elf>
\-PE 7e650000-7e671000 \ mapi32
ELF 7e671000-7e6ab000 Deferred winspool<elf>
\-PE 7e680000-7e6ab000 \ winspool
ELF 7e6ab000-7e714000 Deferred shlwapi<elf>
\-PE 7e6c0000-7e714000 \ shlwapi
ELF 7e714000-7e92f000 Deferred shell32<elf>
\-PE 7e720000-7e92f000 \ shell32
ELF 7e92f000-7ea3b000 Deferred comdlg32<elf>
\-PE 7e940000-7ea3b000 \ comdlg32
ELF 7ea3b000-7eaf0000 Dwarf gdi32<elf>
\-PE 7ea50000-7eaf0000 \ gdi32
ELF 7eaf0000-7ec31000 Dwarf user32<elf>
\-PE 7eb00000-7ec31000 \ user32
ELF 7ec31000-7ed2e000 Deferred comctl32<elf>
\-PE 7ec40000-7ed2e000 \ comctl32
ELF 7ed2e000-7ed8e000 Deferred advapi32<elf>
\-PE 7ed40000-7ed8e000 \ advapi32
ELF 7ef8e000-7ef9b000 Deferred libnss_files.so.2
ELF 7ef9b000-7efb4000 Deferred libnsl.so.1
ELF 7efb4000-7efde000 Deferred libm.so.6
ELF 7efde000-7efe7000 Deferred libsm.so.6
ELF 7efe7000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7461000-f746d000 Deferred libnss_nis.so.2
ELF f746e000-f7473000 Deferred libdl.so.2
ELF f7473000-f75ed000 Deferred libc.so.6
ELF f75ee000-f7609000 Deferred libpthread.so.0
ELF f7621000-f762b000 Deferred libnss_compat.so.2
ELF f762b000-f776d000 Dwarf libwine.so.1
ELF f776f000-f778f000 Deferred ld-linux.so.2
ELF f778f000-f7790000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Sailwave\sailwave.exe
00000009 0 <==
0000000e services.exe
0000001e 0
0000001d 0
00000018 0
00000017 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
00000019 0
00000014 0
00000013 0
0000001a plugplay.exe
0000001f 0
0000001c 0
0000001b 0
00000020 explorer.exe
00000021 0
Backtrace:
=>0 0x7bc72f2c DbgBreakPoint() in ntdll (0x0033e6f4)
1 0x7e04cd6b _XError+0x12a() in libx11.so.6 (0x7d6a96b0)
2 0x7e04993d in libx11.so.6 (+0x3793c) (0x7d713c68)
3 0x7e049997 in libx11.so.6 (+0x37996) (0x7d712a08)
4 0x7e04a850 _XReply+0x1cf() in libx11.so.6 (0x7d712a08)
5 0x7e045e76 XSync+0x65() in libx11.so.6 (0x04c013dc)
6 0x7e045f13 in libx11.so.6 (+0x33f12) (0x04c013dc)
7 0x7e04ba82 in libx11.so.6 (+0x39a81) (0x04c013dc)
8 0x7e027108 XCreatePixmap+0x97() in libx11.so.6 (0x04c013dc)
9 0x7e1d5226 xrenderdrv_StretchBlt+0x235(dst_dev=0x145cb0, dst=0x33ea84, src_dev=0x159910, src=0x33eab8, rop=0xb8074a) [/build/buildd/wine1.3-1.3.34/dlls/winex11.drv/xrender.c:2196] in winex11 (0x0033e9c4)
10 0x7ea5a62b StretchBlt+0x3aa(hdcDst=0x550c, xDst=0, yDst=0, widthDst=0x1e, heightDst=0x1a, hdcSrc=0x5528, xSrc=0, ySrc=0, widthSrc=0x1e, heightSrc=0x1a, rop=0xb8074a) [/build/buildd/wine1.3-1.3.34/dlls/gdi32/bitblt.c:656] in gdi32 (0x0033eb04)
11 0x7ea5a6d4 BitBlt+0x73(hdcDst=0x550c, xDst=0, yDst=0, width=0x1e, height=0x1a, hdcSrc=0x5528, xSrc=0, ySrc=0, rop=0xb8074a) [/build/buildd/wine1.3-1.3.34/dlls/gdi32/bitblt.c:605] in gdi32 (0x0033eb54)
12 0x00451f7c in sailwave (+0x51f7b) (0x0033ee4c)
13 0x7eba27fc call_window_proc+0x5b(hwnd=0x33ebec, msg=0xf, wp=0, lp=0, result=0x33f420, arg=0x44e578) [/build/buildd/wine1.3-1.3.34/dlls/user32/winproc.c:242] in user32 (0x0033ee9c)
14 0x7eba35ea WINPROC_CallProcWtoA+0xa69(callback=0x7eba27a0, hwnd=0x10122, msg=0xf, wParam=0, lParam=0, result=0x33f420, arg=0x44e578) [/build/buildd/wine1.3-1.3.34/dlls/user32/winproc.c:857] in user32 (0x0033f36c)
15 0x7eba4ec9 WINPROC_call_window+0x1c8(hwnd=0x10122, msg=0xf, wParam=0, lParam=0, result=0x33f420, unicode=0x1, mapping=6265248) [/build/buildd/wine1.3-1.3.34/dlls/user32/winproc.c:901] in user32 (0x0033f3bc)
16 0x7eb64a31 call_window_proc+0x90(hwnd=0x10122, msg=0xf, wparam=0, lparam=0, unicode=0x1, same_thread=0x1, mapping=6265248) [/build/buildd/wine1.3-1.3.34/dlls/user32/message.c:2211] in user32 (0x0033f42c)
17 0x7eb6b5e6 send_message+0x205(info=0x33f4c4, res_ptr=0x33f4f0, unicode=0x1) [/build/buildd/wine1.3-1.3.34/dlls/user32/message.c:3084] in user32 (0x0033f4ac)
18 0x7eb6ba5c SendMessageW+0x4b(hwnd=0x10122, msg=0xf, wparam=0, lparam=0) [/build/buildd/wine1.3-1.3.34/dlls/user32/message.c:3264] in user32 (0x0033f4fc)
19 0x7eb77186 RedrawWindow+0x225(hwnd=0x100c4, rect=<is not available>, hrgn=(nil), flags=0x180) [/build/buildd/wine1.3-1.3.34/dlls/user32/painting.c:782] in user32 (0x0033f56c)
20 0x7eb77859 UpdateWindow+0x38(hwnd=0x100c4) [/build/buildd/wine1.3-1.3.34/dlls/user32/painting.c:1212] in user32 (0x0033f58c)
21 0x005882a2 in sailwave (+0x1882a1) (0x0033f5dc)
22 0x0056cdd8 in sailwave (+0x16cdd7) (0x0033f634)
23 0x005783bf in sailwave (+0x1783be) (0x0033fe5c)
24 0x0053021b in sailwave (+0x13021a) (0x0033fe88)
25 0x7b85abcf start_process+0x5e(peb=0x7ffdf000) [/build/buildd/wine1.3-1.3.34/dlls/kernel32/process.c:1093] in kernel32 (0x0033fec8)
26 0x7bc72f20 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
27 0x7bc759ad call_thread_func+0x7c(entry=0x7b85ab70, arg=0x7ffdf000, frame=0x33ffc8) [/build/buildd/wine1.3-1.3.34/dlls/ntdll/signal_i386.c:2532] in ntdll (0x0033ffa8)
28 0x7bc72efe RtlRaiseException+0x21() in ntdll (0x0033ffc8)
29 0x7bc4a97e start_process+0x1d(kernel_start=0x7b85ab70) [/build/buildd/wine1.3-1.3.34/dlls/ntdll/loader.c:2612] in ntdll (0x0033ffe8)
30 0xf76346ed wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Value in failed request: 0x0
Serial number of failed request: 50254
Current serial number in output stream: 50255
For the first time, I actually got the Wine Program Error box.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Sorry, just discovered Pastebin. If the forum moderator wants to delete my long post, here's the error output in Pasetbin

http://pastebin.com/Fyn7eTiD
mogorva
Level 4
Level 4
Posts: 107
Joined: Fri Oct 16, 2009 10:27 am

Post by mogorva »

I see the same problem when trying to start Sailwave 2.02 build 6 with Wine-1.3.28-1.3.34 on Fedora 16 and with X.Org X Server 1.11.2.
However, the problem seems to be fixed in the current git version (wine-1.3.34-202-gb0f704d) and the application starts correctly.

abarrow, you can compile the git version from source to see if the problem has been fixed for you too (or wait until Wine-1.3.35 released).
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

Works fine here with current git, too.

But when installing the app it trys to add the start menu entry. When you remove the "Sailwave", the button "next" will not work. But the button "back" will proceed the installation. Is that supposed to work that way? How does that work on win?
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Thanks guys. Cloning the git now. I'll let you know...
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Application stops working between Ubuntu 11.04 and 11.10

Post by jjmckenzie »

On Sat, Dec 10, 2011 at 6:22 PM, abarrow <[email protected]> wrote:
Okay, here's the output. Sorry if it's long:

andy@andy-Desktop-Mint ~/.wine/drive_c/Program Files/Sailwave $ WINEDEBUG=synchronous wine sailwave.exe
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
err:x11drv:error_handler X protocol error: serial=50254, request_code=53 - breaking into debugger
Re-install your video drivers and make sure to include the 32 bit
version, if you are running on a 64 bit platform.

James
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Darned good idea, but I'm not sure what 32 bit versions you are referring to. I'm running Nvidia. Can you be more specific?

If I go for installation of nvidia-current:386, the system wants to uninstall pretty much everything else that I have.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Darn,
andy@andy-Desktop-Mint ~/Dropbox/SSS/sailwave/Program File $ sudo aptitude install nvidia-glx nvidia-glx-ia32
No candidate version found for nvidia-glx
No candidate version found for nvidia-glx-ia32
No candidate version found for nvidia-glx
No candidate version found for nvidia-glx-ia32
No packages will be installed, upgraded, or removed.
ia32-libs was suggested, but those are already installed.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

abarrow wrote:Darned good idea, but I'm not sure what 32 bit versions you are referring to.
When Nvidia driver installer asks:

Code: Select all

Install NVIDIA's 32-bit compatibility OpenGL libraries?
Select "Yes". Latest Nvidia drivers can be downloaded here: http://www.nvidia.com/object/unix.html
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Thanks. NVIDIA install worked with the 32 bit extensions. Still getting the same error.

Pastebin here http://pastebin.com/ANzQ9Xix
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

abarrow wrote:Still getting the same error.
You problem was not related to drivers. But having latest drivers is good.

Please try latest git version of Wine (current development). Or wait for wine-1.3.35 due out this Friday. There are number of fixes for various causes of that X error.

Also try disabling "winemenubuilder.exe" in winecfg libraries tab.
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

Post by abarrow »

Thanks. Tried compliing from GIT, but obviously I'm not as experienced as you guys - couldn't make it work. I'll wait for 1.3.35.

Tried disabling winemenubuilder.exe - no joy.

Thanks to everyone for helping on this. You guys are first rate!
abarrow
Level 2
Level 2
Posts: 13
Joined: Fri Dec 09, 2011 4:50 pm

SOLVED

Post by abarrow »

I'm happy to report that Sailwave is working perfectly with 1.3.35. One old bug in Sailwave compatibility also seems to be fixed - the program was calling sserife.fon which was failing, causing vertical bars in some menus and text boxes. The work-around was to remove the sserife.fon file, which fixed the problem for Sailwave, but probably broke other applications.

It appears now that menus display properly, without removal of sserife.fon. This definitely takes Sailwave to platinum status.

Thanks to everyone for your help getting this program working. There are a lot of sail race officials out there who can now use this program on Linux again. The application developer, who offers the program for free, has a renewed interest in ensuring that future releases of his program continue to be compatible with WINE.
Locked