http://bugs.winehq.org/show_bug.cgi?id=27701
Summary: Panta Rhei demoscene demo crashes on startup Product: Wine Version: 1.3.23 Platform: x86 URL: http://www.pouet.net/prod.php?which=56902 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
$ ./FLP-PR.EXE
wine: Unhandled page fault on read access to 0xffffffff at address 0x7e402558 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0x7e402558). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e402558 ESP:080ffe48 EBP:080ffe90 EFLAGS:00010202( R- -- I - - - ) EAX:00000001 EBX:00000000 ECX:0012fc78 EDX:0012fb18 ESI:00010046 EDI:00000000 Stack dump: 0x080ffe48: 004201eb 00000260 004305b8 00421c43 0x080ffe58: 004000d8 080ffe70 7b85391b 7b88b688 0x080ffe68: 080ffe88 7b85398f 00421c42 00000000 0x080ffe78: 00000000 7e370000 7b85396b 004000d8 0x080ffe88: 7e370000 00420096 00000000 7b8596ac 0x080ffe98: 7ffdf000 7bc4aa7a 7b88b688 7ffdf000 Backtrace: =>0 0x7e402558 in opengl32 (+0x92558) (0x080ffe90) 1 0x7b8596ac call_process_entry+0xb() in kernel32 (0x00000000) 0x7e402558: imull $0x67772e32,%fs:0x0(%bp,%di),%esi
http://bugs.winehq.org/show_bug.cgi?id=27701
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2011-07-05 09:04:46 CDT --- Created an attachment (id=35450) --> (http://bugs.winehq.org/attachment.cgi?id=35450) Panta Rhei demo
http://bugs.winehq.org/show_bug.cgi?id=27701
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27701
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |wylda@volny.cz Ever Confirmed|0 |1
--- Comment #2 from Wylda wylda@volny.cz 2011-07-09 05:52:55 CDT ---
Confirming. Crashes in all the following version so probably never worked correctly: * 1.0.1, 1.1.15, 1.1.30, 1.2.0, 1.3.16, 1.3.24
http://bugs.winehq.org/show_bug.cgi?id=27701
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |opengl Summary|Panta Rhei demoscene demo |Panta Rhei demoscene demo |crashes on startup |crashes on startup (custom | |loader can't cope with | |opengl32 -> gdi32 forwarded | |imports)
--- Comment #3 from Anastasius Focht focht@gmx.net 2011-12-13 14:40:09 CST --- Hello,
confirming, still present. This problem is essentially the same as bug 25423
I dumped the problematic part from the loaders "IAT" from memory:
--- snip --- ... 0043055C 201260BA ; opengl32.glViewport 00430560 2016C547 ; ASCII "gdi32.ChoosePixelFormat" 00430564 2016C55F ; ASCII "gdi32.wglCopyContext" 00430568 2012624C ; opengl32.wglCreateContext 0043056C 20126276 ; opengl32.wglCreateLayerContext 00430570 2016C574 ; ASCII "gdi32.wglDeleteContext" 00430574 20126351 ; opengl32.wglDescribeLayerPlane 00430578 2016C58B ; ASCII "gdi32.DescribePixelFormat" 0043057C 2016C5A5 ; ASCII "gdi32.wglGetCurrentContext" 00430580 2016C5C0 ; ASCII "gdi32.wglGetCurrentDC" 00430584 200BECE0 ; opengl32.wglGetDefaultProcAddress 00430588 201263DC ; opengl32.wglGetLayerPaletteEntries 0043058C 2016C5D6 ; ASCII "gdi32.GetPixelFormat" 00430590 201266E1 ; opengl32.wglGetProcAddress 00430594 2012621B ; opengl32.wglMakeCurrent 00430598 20126B4B ; opengl32.wglRealizeLayerPalette 0043059C 20126BB3 ; opengl32.wglSetLayerPaletteEntries 004305A0 2016C5EB ; ASCII "gdi32.SetPixelFormat" 004305A4 2016C600 ; ASCII "gdi32.wglShareLists" 004305A8 20128343 ; opengl32.wglSwapBuffers 004305AC 20126C1B ; opengl32.wglSwapLayerBuffers 004305B0 2016C614 ; ASCII "gdi32.wglUseFontBitmapsA" 004305B4 2016C62D ; ASCII "gdi32.wglUseFontBitmapsW" 004305B8 00000000 --- snip ---
You need wrappers for the following functions to get the demo to work:
--- snip --- opengl32.ChoosePixelFormat opengl32.wglCopyContext opengl32.wglDeleteContext opengl32.DescribePixelFormat opengl32.wglGetCurrentContext opengl32.wglGetCurrentDC opengl32.GetPixelFormat opengl32.SetPixelFormat opengl32.wglShareLists opengl32.wglUseFontBitmapsA opengl32.wglUseFontBitmapsW --- snip ---
Bug 25423 commit template:
http://source.winehq.org/git/wine.git/commitdiff/8a2e38cc45aef0d064e3af53b34...
$ wine --version wine-1.3.34-299-g2a06bea
Regards
http://bugs.winehq.org/show_bug.cgi?id=27701
--- Comment #4 from Stefan Leichter Stefan.Leichter@camLine.com 2012-01-04 03:03:27 CST --- Created attachment 38252 --> http://bugs.winehq.org/attachment.cgi?id=38252 wrappers for the functions
does not really help on my box, can someone else please test this patch
http://bugs.winehq.org/show_bug.cgi?id=27701
--- Comment #5 from Anastasius Focht focht@gmx.net 2012-01-04 15:33:16 CST --- Hello Stefan,
--- quote --- does not really help on my box, can someone else please test this patch --- quote ---
yes it still crashes with the patch but that is fine for now. The crash is caused by another bug which is technically a different issue (missing undocumented opengl32 export). I'd like to keep it separated as this bug is about forwarded imports.
The IAT now looks more sane:
--- snip --- ... 0043055C 49ED0266 ; opengl32.glViewport 00430560 49ED05AB ; opengl32.wglChoosePixelFormat 00430564 49ED03FF ; opengl32.wglCopyContext 00430568 49ED0561 ; opengl32.wglCreateContext 0043056C 49ED0645 ; opengl32.wglCreateLayerContext 00430570 49ED0437 ; opengl32.wglDeleteContext 00430574 49ED0720 ; opengl32.wglDescribeLayerPlane 00430578 49ED05DC ; opengl32.wglDescribePixelFormat 0043057C 49ED058B ; opengl32.wglGetCurrentContext 00430580 49ED0541 ; opengl32.wglGetCurrentDC 00430584 49E68D90 ; opengl32.wglGetDefaultProcAddress 00430588 49ED07AB ; opengl32.wglGetLayerPaletteEntries 0043058C 49ED061B ; opengl32.wglGetPixelFormat 00430590 49ED0AB0 ; opengl32.wglGetProcAddress 00430594 49ED0461 ; opengl32.wglMakeCurrent 00430598 49ED0F1A ; opengl32.wglRealizeLayerPalette 0043059C 49ED0F82 ; opengl32.wglSetLayerPaletteEntries 004305A0 49ED03C7 ; opengl32.wglSetPixelFormat 004305A4 49ED0492 ; opengl32.wglShareLists 004305A8 49ED2712 ; opengl32.wglSwapBuffers 004305AC 49ED0FEA ; opengl32.wglSwapLayerBuffers 004305B0 49ED04C3 ; opengl32.wglUseFontBitmapsA 004305B4 49ED0502 ; opengl32.wglUseFontBitmapsW --- snip ---
If you get this in I'll create a follow up bug with a solution that allows to fully run the demo (already tested).
Regards
http://bugs.winehq.org/show_bug.cgi?id=27701
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=27701
--- Comment #6 from Stefan Leichter Stefan.Leichter@camLine.com 2012-01-06 15:51:53 CST --- (In reply to comment #5)
--- quote --- If you get this in I'll create a follow up bug with a solution that allows to fully run the demo (already tested). --- quote ---
Done http://source.winehq.org/git/wine.git/commit/03c7dfbd4d5cb847af1f905c0414832...
Regards
http://bugs.winehq.org/show_bug.cgi?id=27701
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |03c7dfbd4d5cb847af1f905c041 | |4832c2f61e4e3 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com 2012-01-06 16:02:56 CST --- (In reply to comment #5)
Hello Stefan,
--- quote --- does not really help on my box, can someone else please test this patch --- quote ---
yes it still crashes with the patch but that is fine for now. The crash is caused by another bug which is technically a different issue (missing undocumented opengl32 export). I'd like to keep it separated as this bug is about forwarded imports.
http://source.winehq.org/git/wine.git/commitdiff/03c7dfbd4d5cb847af1f905c041...
http://bugs.winehq.org/show_bug.cgi?id=27701
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:50:20 CST --- Closing bugs fixed in 1.3.37.
https://bugs.winehq.org/show_bug.cgi?id=27701
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.pouet.net/prod.p |https://web.archive.org/web |hp?which=56902 |/20180812060905/http://arch | |ive.scene.org/pub/parties/2 | |011/revision11/intro_pc4k/f | |lp-pr.zip