Hello,
it seems that this patch introduced a nasty bug (at least for me). With "DesktopDoubleBuffered" = "N" wine get's a SIGSEGV, tries to start the debugger, next SIGSEGV looping forever. The SIGSEGV happens in DefaultScreenOfDisplay (X function) called from X11DRV_GDI_Initialize and that one is called by process_attach (x11drv_main.c) . Setting "DesktopDoubleBuffered" = "Y" 'fixes' the bug.
Any idea?
bye michael
P.S.: i'll open a bug report but at the moment i'm too tired.
On Thu, Nov 14, 2002 at 10:16:39PM -0600, Alexandre Julliard wrote:
ChangeSet ID: 6301 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2002/11/14 22:16:39
Modified files: include : x11drv.h config.h.in graphics/x11drv: opengl.c dlls/x11drv : x11drv_main.c dlls/opengl32 : Makefile.in dlls/glu32 : Makefile.in dlls/ddraw : Makefile.in dlls/d3d8 : Makefile.in . : configure.ac configure
Log message: Lionel Ulmer lionel.ulmer@free.fr Load OpenGL library dynamically from x11drv.
Patch: http://cvs.winehq.com/patch.py?id=6301
Old revision New revision Changes Path 1.117 1.118 +3 -1 wine/include/x11drv.h 1.132 1.133 +3 -0 wine/include/config.h.in 1.12 1.13 +79 -22 wine/graphics/x11drv/opengl.c 1.64 1.65 +8 -9 wine/dlls/x11drv/x11drv_main.c 1.12 1.13 +1 -1 wine/dlls/opengl32/Makefile.in 1.3 1.4 +1 -1 wine/dlls/glu32/Makefile.in 1.26 1.27 +1 -1 wine/dlls/ddraw/Makefile.in 1.3 1.4 +1 -1 wine/dlls/d3d8/Makefile.in 1.95 1.96 +6 -3 wine/configure.ac 1.361 1.362 +67 -4 wine/configure
it seems that this patch introduced a nasty bug (at least for me). With "DesktopDoubleBuffered" = "N" wine get's a SIGSEGV, tries to start the debugger, next SIGSEGV looping forever.
Hmmmm, I just tried it here (with my own tree, not with the version merged by Alexandre in CVS but it should be similar) and I have no crash even when setting the option to 'N'. I tried both in Desktop and non-Desktop mode and both work fine.
Could you run Wine with gdb and in Synchronous mode and attach to the bug report you will raise ( :-) ) or by private mailing me all the information you could obtain at the moment of the crash (ie where it crashes, the value of the display variable, ...).
Lionel
On Wed, Nov 20, 2002 at 09:34:20PM +0100, Lionel Ulmer wrote:
it seems that this patch introduced a nasty bug (at least for me). With "DesktopDoubleBuffered" = "N" wine get's a SIGSEGV, tries to start the debugger, next SIGSEGV looping forever.
Hmmmm, I just tried it here (with my own tree, not with the version merged by Alexandre in CVS but it should be similar) and I have no crash even when setting the option to 'N'. I tried both in Desktop and non-Desktop mode and both work fine.
Yes, i couldn't reproduce it myself on a second machine and i started to think that i'm crazy. After the first shock I did a diff of the configs of the two machines and found the needed info to make the bug reproducible: "DesktopDoubleBuffered" = "N" AND "ScreenDepth" = "8" need to be set.
Could you run Wine with gdb and in Synchronous mode and attach to the bug report you will raise ( :-) ) or by private mailing me all the information
Voila: http://bugs.winehq.com/show_bug.cgi?id=1159
you could obtain at the moment of the crash (ie where it crashes, the value of the display variable, ...).
Oh, now that the bug is reprocducible i silently hope(d) you could gather them yourself ;). If you still need my help feel free to shout.
bye michael