public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* glXMakeCurrent() call crashes X server
@ 2014-06-02 12:04 Chris Marshall
  2014-06-02 12:29 ` Jon TURNEY
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Marshall @ 2014-06-02 12:04 UTC (permalink / raw)
  To: cygwin-xfree

Resend 2...

Great.  Now I appear to have hit the spam filter.  Maybe the
no-attachments version will make it through.  Someone will have to
check the spam tray to retrieve the original message.

--Chris

On Thu, May 29, 2014 at 1:00 PM, Chris Marshall <devel.chm.01@gmail.com> wrote:
>
> [Resent with bzip2 compressed cygcheck output file---too big for list]
>
> I've been unable to debug the following failure because it results in the entire cygwin X server crashing.  The code involved is from building the Prima::OpenGL module which fails running test t/02_basic.t in the call to glXMakeCurrent() in the x11.c file.
>
> I've attached an edited version of the cygcheck output, the XWin.0.log, and the output error message from the mintty console which appears to have the "final gasp" message which does not make it into XWin.0.log (presumably because of the crash):
>
>
>>  winGetWindowInfo: forcing window to exist
>>  assertion "pWin->parent" failed: file
>>  "/wip/cygport-git/xorg-server/xorg-server-1.15.0-3/src/xserver-cygwin-1.15.0-3/hw/xwin/winmultiwindowwindow.c",
>>  line 63, function: isToplevelWindow
>
>
>
> Here follows the perl/CPAN steps to reproduce the problem:
>
>  1. Install the perl OpenGL module from CPAN
>
>      http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.6703.tar.gz
>
> 2. Install the Prima module from CPAN with the option
>     CYGWIN_X11=1 at the perl Makefile.PL stage as the
>     current cygwin default was before cygwinX supported
>     WGL through a GLX pass-through.
>
>     http://search.cpan.org/CPAN/authors/id/K/KA/KARASIK/Prima-1.39.tar.gz
>
> 3. Build the Prima::OpenGL module from CPAN and
>     run the failing test:  perl -Mblib t/02_basic.t
>
>     http://search.cpan.org/CPAN/authors/id/K/KA/KARASIK/Prima-OpenGL-0.05.tar.gz
>
>
> Apologies for the perl-based report.   I've included links to the current distribution files for the 3 main modules but there may be other dependencies required to complete a full manual build.  The simplest would be to use an automated install client such as cpan, cpanm,...
>
> --Chris
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glXMakeCurrent() call crashes X server
  2014-06-02 12:04 glXMakeCurrent() call crashes X server Chris Marshall
@ 2014-06-02 12:29 ` Jon TURNEY
  2014-06-02 14:00   ` Chris Marshall
  0 siblings, 1 reply; 3+ messages in thread
From: Jon TURNEY @ 2014-06-02 12:29 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: devel.chm.01

On 02/06/2014 13:04, Chris Marshall wrote:
> On Thu, May 29, 2014 at 1:00 PM, Chris Marshall wrote:
>> I've been unable to debug the following failure because it results in the entire cygwin X server crashing.  The code involved is from building the Prima::OpenGL module which fails running test t/02_basic.t in the call to glXMakeCurrent() in the x11.c file.
>>
>> I've attached an edited version of the cygcheck output, the XWin.0.log, and the output error message from the mintty console which appears to have the "final gasp" message which does not make it into XWin.0.log (presumably because of the crash):
>>
>>
>>>   winGetWindowInfo: forcing window to exist
>>>   assertion "pWin->parent" failed: file
>>>   "/wip/cygport-git/xorg-server/xorg-server-1.15.0-3/src/xserver-cygwin-1.15.0-3/hw/xwin/winmultiwindowwindow.c",
>>>   line 63, function: isToplevelWindow

Thanks for the bug report and reproduction steps.

I think this looks like a bug I fixed in 1.15.1-1, where the X server 
would crash if OpenGL was used on the (hidden) root window in 
multiwindow mode. [1]

In any case, can you please retry with the latest X server version.

[1] https://cygwin.com/ml/cygwin-xfree-announce/2014-04/msg00003.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glXMakeCurrent() call crashes X server
  2014-06-02 12:29 ` Jon TURNEY
@ 2014-06-02 14:00   ` Chris Marshall
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Marshall @ 2014-06-02 14:00 UTC (permalink / raw)
  To: cygwin-xfree

Just tested with XWin.exe version 1.15.1-2 built 2014-05-06
and no crash (yea!).

--Chris

On Mon, Jun 2, 2014 at 8:29 AM, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> On 02/06/2014 13:04, Chris Marshall wrote:
>
>> On Thu, May 29, 2014 at 1:00 PM, Chris Marshall wrote:
>>>
>>> I've been unable to debug the following failure because it results in the
>>> entire cygwin X server crashing.  The code involved is from building the
>>> Prima::OpenGL module which fails running test t/02_basic.t in the call to
>>> glXMakeCurrent() in the x11.c file.
>>>
>>> I've attached an edited version of the cygcheck output, the XWin.0.log,
>>> and the output error message from the mintty console which appears to have
>>> the "final gasp" message which does not make it into XWin.0.log (presumably
>>> because of the crash):
>>>
>>>
>>>>   winGetWindowInfo: forcing window to exist
>>>>   assertion "pWin->parent" failed: file
>>>>
>>>> "/wip/cygport-git/xorg-server/xorg-server-1.15.0-3/src/xserver-cygwin-1.15.0-3/hw/xwin/winmultiwindowwindow.c",
>>>>   line 63, function: isToplevelWindow
>
>
> Thanks for the bug report and reproduction steps.
>
> I think this looks like a bug I fixed in 1.15.1-1, where the X server would
> crash if OpenGL was used on the (hidden) root window in multiwindow mode.
> [1]
>
> In any case, can you please retry with the latest X server version.
>
> [1] https://cygwin.com/ml/cygwin-xfree-announce/2014-04/msg00003.html
>
> --
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-02 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-02 12:04 glXMakeCurrent() call crashes X server Chris Marshall
2014-06-02 12:29 ` Jon TURNEY
2014-06-02 14:00   ` Chris Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).