[Wine] ZGameEditor crash on wine-devel 1.1.41 on Mac OS 1.6.2
diki
wineforum-user at winehq.org
Sun Mar 21 17:46:33 CDT 2010
hello,
i just built wine-devel 1.1.41 from source under Mac OS 10.6.2 using MacPorts and tried to run the Z Game Editor (http://zgameeditor.org/), which is a 3D game editor written in Pascal using OpenGL. although running any of the games built with the editor works fine - e.g. this one (http://iterationgames.com/pmwiki/pmwiki.php?n=Games.Combat) - the editor itself does not start (wine pops up a Programm Error followed by an Application Error).
the terminal states "unknown error code: invalid drawable", so i used WINEDEBUG=+wgl, and it appears closely related (i'm no expert, but the log reveals that the crash happens directly after a 'drawable' and 'context' is described and invoked). i pasted the log below, but maybe the answer is already obvious to you:
should i try using native opengl-related dlls, should i go with the 'wine' package (instead of 'wine-devel') instead, or are both of these the wrong trees to bark at? :)
(a fellow user already got it working, albeit in may 2008 (that might have been wine 0.9.58), on a linux system, and with an earlier version of the editor - so that is probably something different altogether.)
Code:
trace:wgl:wglGetProcAddress func: 'wglGetIntegerv'
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 2.1 NVIDIA-1.6.6.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : NVIDIA GeForce 9400M OpenGL Engine.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
trace:wgl:has_opengl GLX is up and running error_base = 147
trace:wgl:register_extension_string ''
trace:wgl:register_extension - 'wglGetIntegerv'
trace:wgl:register_extension - 'wglFinish'
trace:wgl:register_extension - 'wglFlush'
trace:wgl:register_extension_string 'WGL_ARB_extensions_string'
trace:wgl:register_extension - 'wglGetExtensionsStringARB'
trace:wgl:register_extension_string 'WGL_ARB_multisample'
trace:wgl:register_extension_string 'WGL_ARB_pixel_format'
trace:wgl:register_extension - 'wglChoosePixelFormatARB'
trace:wgl:register_extension - 'wglGetPixelFormatAttribfvARB'
trace:wgl:register_extension - 'wglGetPixelFormatAttribivARB'
trace:wgl:register_extension_string 'WGL_EXT_extensions_string'
trace:wgl:register_extension - 'wglGetExtensionsStringEXT'
trace:wgl:register_extension_string 'WGL_EXT_swap_control'
trace:wgl:register_extension - 'wglSwapIntervalEXT'
trace:wgl:register_extension - 'wglGetSwapIntervalEXT'
trace:wgl:register_extension_string 'WGL_WINE_pixel_format_passthrough'
trace:wgl:register_extension - 'wglSetPixelFormatWINE'
trace:wgl:X11DRV_wglGetProcAddress ('wglGetIntegerv'): (0x437abe30) - WineGL
trace:wgl:wglGetProcAddress func: 'wglFinish'
trace:wgl:X11DRV_wglGetProcAddress ('wglFinish'): (0x437abf60) - WineGL
trace:wgl:wglGetProcAddress func: 'wglFlush'
trace:wgl:X11DRV_wglGetProcAddress ('wglFlush'): (0x437ae820) - WineGL
trace:wgl:X11DRV_GetPixelFormat (0x1739b8)
trace:wgl:X11DRV_ChoosePixelFormat (0x1739b8,0x32fe08)
trace:wgl:dump_PIXELFORMATDESCRIPTOR - size / version : 40 / 1
trace:wgl:dump_PIXELFORMATDESCRIPTOR - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL
trace:wgl:dump_PIXELFORMATDESCRIPTOR - iPixelType : PFD_TYPE_RGBA
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Color : 32
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Red : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Green : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Blue : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Alpha : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Accum : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Depth : 16
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Stencil : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Aux : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - iLayerType : PFD_MAIN_PLANE
trace:wgl:get_formats Found 0 bitmap capable fbconfigs
trace:wgl:get_formats Found onscreen format FBCONFIG_ID 0x24 corresponding to iPixelFormat 1 at GLX index 0
...
trace:wgl:get_formats Found onscreen format FBCONFIG_ID 0x1e3 corresponding to iPixelFormat 448 at GLX index 447
trace:wgl:X11DRV_ChoosePixelFormat depth mismatch for iPixelFormat=5
...
trace:wgl:X11DRV_ChoosePixelFormat depth mismatch for iPixelFormat=352
trace:wgl:X11DRV_ChoosePixelFormat Successfully found a matching mode, returning index: 65 64
trace:wgl:X11DRV_SetPixelFormat (0x1739b8,65,0x32fe08)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning FBConfig=0x4060cb40 for iPixelFormat=65
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=448
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 65 for fmt_id 0x64
path: 8633_0xa0013e
trace:wgl:internal_SetPixelFormat FBConfig have :
trace:wgl:internal_SetPixelFormat - FBCONFIG_ID 0x64
trace:wgl:internal_SetPixelFormat - VISUAL_ID 0x64
trace:wgl:internal_SetPixelFormat - DRAWABLE_TYPE 0x1
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 65 for fmt_id 0x64
trace:wgl:X11DRV_DescribePixelFormat (0x1739b8,65,40,0x32fe08)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning FBConfig=0x4060cb40 for iPixelFormat=65
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=448
trace:wgl:dump_PIXELFORMATDESCRIPTOR - size / version : 40 / 1
trace:wgl:dump_PIXELFORMATDESCRIPTOR - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL
trace:wgl:dump_PIXELFORMATDESCRIPTOR - iPixelType : PFD_TYPE_RGBA
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Color : 32
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Red : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Green : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Blue : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Alpha : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Accum : 32
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Depth : 16
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Stencil : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - Aux : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR - iLayerType : PFD_MAIN_PLANE
trace:wgl:wglCreateContext (0x12dc)
trace:wgl:X11DRV_wglCreateContext (0x12dc)->(PF:65)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning FBConfig=0x4060cb40 for iPixelFormat=65
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=448
trace:wgl:X11DRV_wglCreateContext creating context 0x1766d0 (GL context creation delayed)
trace:wgl:wglMakeCurrent hdc: (0x12dc), hglrc: (0x1766d0)
trace:wgl:X11DRV_wglMakeCurrent (0x12dc,0x1766d0)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning FBConfig=0x4060cb40 for iPixelFormat=65
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=448
trace:wgl:describeDrawable HDC 0x12dc has:
trace:wgl:describeDrawable - iPixelFormat 65
trace:wgl:describeDrawable - Drawable 0xa0013e
trace:wgl:describeDrawable - FBCONFIG_ID 0x64
trace:wgl:describeDrawable - VISUAL_ID 0x64
trace:wgl:describeContext Context 0x1766d0 have (vis:0x4065f720):
trace:wgl:describeContext - FBCONFIG_ID 0x64
trace:wgl:describeContext - VISUAL_ID 0x64
trace:wgl:X11DRV_wglMakeCurrent make current for dis 0x40811200, drawable 0xa0013e, ctx 0x40660b80
wine[9583] <Error>: unknown error code: invalid drawable
wine[9583] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
set off screen: invalid drawable
trace:wgl:X11DRV_wglMakeCurrent returning False
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 65 for fmt_id 0x64
path: 8633_0xa00140
trace:wgl:wglDeleteContext hglrc: (0x1766d0)
trace:wgl:X11DRV_wglDeleteContext (0x1766d0)
shm_unlink: Invalid argument
wine: Unhandled exception 0x0eedfade at address 0x001f:0x7b829aa2 (thread 0009), starting debugger...
First chance exception: 0xc0000025 in 32-bit code (0x7bc2fa48).
Register dump:
CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037
EIP:7bc2fa48 ESP:0032f944 EBP:0032f9a8 EFLAGS:00000202( - -- I - - - )
EAX:0032fd60 EBX:0032f950 ECX:0032f8b8 EDX:00000000
ESI:0032fd54 EDI:0032f9e4
Stack dump:
0x0032f944: 00000000 00000000 7bc82b0c c0000025
0x0032f954: 00000001 0032fd60 7bc2fa48 00000000
0x0032f964: 7bc7cf74 7bc62a40 0032f98c 7bc94060
0x0032f974: 0032f9f0 00000000 00000000 00000000
0x0032f984: 00000000 40200000 40219ef0 40152000
0x0032f994: 40200000 00000000 0032fd60 0032fd54
0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x7bc2fa48 (0x0032f9a8)
1 0x7bc6314d (0x0032f9c8)
2 0x7bc19145 (0x0032fd3c)
3 0x7bc6290c (0x0032fdc8)
4 0x0057cdee in zgameeditor (+0x17cdee) (0x0032fe44)
5 0x0058e42f in zgameeditor (+0x18e42f) (0x0032fe94)
6 0x0050e8c5 in zgameeditor (+0x10e8c5) (0x0032fecc)
7 0x0062d791 in zgameeditor (+0x22d791) (0x0032fee8)
8 0x7b84ce90 in kernel32 (+0x3ce90) (0x0032ff28)
9 0x7bc6291c (0x0032ff48)
10 0x7bc63c0a (0x0032ffc8)
11 0x7bc3cd6e (0x0032ffe8)
0x7bc2fa48: subl $4,%esp
Modules:
Module Address Debug info Name (32 modules)
PE 400000- 759000 Export zgameeditor
PE 404a0000-404a4000 Deferred advapi32
PE 40710000-40714000 Deferred rpcrt4
PE 407e0000-407e3000 Deferred msimg32
PE 42560000-42564000 Deferred oleaut32
PE 42670000-42674000 Deferred ole32
PE 427a0000-427b5000 Deferred user32
PE 428d0000-428d4000 Deferred gdi32
PE 42970000-42974000 Deferred opengl32
PE 42ba0000-42ba4000 Deferred version
PE 42bc0000-42bc4000 Deferred lz32
PE 42bd0000-42be3000 Deferred comctl32
PE 42cc0000-42cc3000 Deferred imagehlp
PE 42ce0000-42ce4000 Deferred imm32
PE 42d00000-42df2000 Deferred shell32
PE 42ec0000-42ec7000 Deferred shlwapi
PE 42f40000-42fae000 Deferred comdlg32
PE 43000000-43007000 Deferred winspool
PE 43040000-4304a000 Deferred wininet
PE 430a0000-430a8000 Deferred mpr
PE 430d0000-43125000 Deferred winmm
PE 43160000-43167000 Deferred oleacc
PE 43760000-43764000 Deferred winex11
PE 438f0000-438f4000 Deferred uxtheme
PE 43950000-43953000 Deferred winecoreaudio
PE 448d0000-448d3000 Deferred msacm32
PE 448e0000-448e3000 Deferred midimap
PE 44a10000-44a17000 Deferred msacm32
PE 44a30000-44a33000 Deferred glu32
PE 44ae0000-44ae4000 Deferred olepro32
PE 7b810000-7b8c0000 Export kernel32
PE 7bc10000-7bc14000 Deferred ntdll
Threads:
process tid prio (all id:s are in hex)
00000008 (D) E:\zgameeditor\zgameeditor.exe
0000001b 0
00000009 0 <==
0000000e services.exe
00000016 0
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000018 0
00000017 0
00000013 0
00000012 0
00000019 explorer.exe
0000001a 0
Backtrace:
=>0 0x7bc2fa48 (0x0032f9a8)
1 0x7bc6314d (0x0032f9c8)
2 0x7bc19145 (0x0032fd3c)
3 0x7bc6290c (0x0032fdc8)
4 0x0057cdee in zgameeditor (+0x17cdee) (0x0032fe44)
5 0x0058e42f in zgameeditor (+0x18e42f) (0x0032fe94)
6 0x0050e8c5 in zgameeditor (+0x10e8c5) (0x0032fecc)
7 0x0062d791 in zgameeditor (+0x22d791) (0x0032fee8)
8 0x7b84ce90 in kernel32 (+0x3ce90) (0x0032ff28)
9 0x7bc6291c (0x0032ff48)
10 0x7bc63c0a (0x0032ffc8)
11 0x7bc3cd6e (0x0032ffe8)
fixme:htmlhelp:HtmlHelpW HH case HH_CLOSE_ALL not handled.
More information about the wine-users
mailing list