public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: X server segfault problem
       [not found] <4D1FD0D9.2030009@gmail.com>
@ 2011-01-03 16:55 ` Jon TURNEY
  2011-01-03 17:55   ` chm
  0 siblings, 1 reply; 8+ messages in thread
From: Jon TURNEY @ 2011-01-03 16:55 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: devel.chm.01

On 02/01/2011 01:11, chm wrote:
> I'm having a problem with cygwin 1.7.7
> and X version 1.9.3.0 where an OpenGL
> application from perl using the Mesa3D
> binding dies in the test with a segfault:

X related questions belong on the cygwin-xfree list.

>   A fatal error has occurred and Cygwin/X
>   will now exit.
> 
>   Caught signal 11 (Segmentation fault).
>   Server aborting.
> 
>   Please open /var/log/xwin/XWin.0.log
>   for more information.
> 
> When I close the popup alert, X exits.
> The XWin.0.log only has Segmentation
> fault at address 0xe.
> 
> I've been unable to determine if the
> problem is in the perl OpenGL module
> code or in the updated X+GLX+Mesa3D.

Even incorrectly written X clients shouldn't make the X server crash, so if
the X server crashes, it is an X server problem.

> To reproduce, just download the perl
> OpenGL module source:
> 
>   http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.64.tar.gz
> 
> and extract the directory.  cd to the
> OpenGL-0.64 directory and run the following
> command:
> 
>   ( set -x ; perl Makefile.PL ; make ; make test ) 2>&1 | tee
> ../pogl-x-crash-log.txt
> 
> which should configure, build and run the test
> for this module.  You will need to have gcc,
> perl and opengl installed in your cygwin.
> 
> Any help appreciated since I can no longer
> develop on cygwin since the X server started
> crashing...not even to fix the problem (if
> it is the OpenGL module code).

This kind of implies it used to work, but doesn't tell me which version it
worked with.

Anyhow, I've just fixed an OpenGL related problem which looks similar to this,
perhaps you could try the snapshot in [1] and see if that helps.

[1] http://cygwin.com/ml/cygwin-xfree/2011-01/msg00001.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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-03 16:55 ` X server segfault problem Jon TURNEY
@ 2011-01-03 17:55   ` chm
  2011-01-03 19:32     ` chm
  0 siblings, 1 reply; 8+ messages in thread
From: chm @ 2011-01-03 17:55 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Jon TURNEY, devel.chm.01

On 1/3/2011 11:55 AM, Jon TURNEY wrote:
> On 02/01/2011 01:11, chm wrote:
>> I'm having a problem with cygwin 1.7.7
>> and X version 1.9.3.0 where an OpenGL
>> application from perl using the Mesa3D
>> binding dies in the test with a segfault:
>
> X related questions belong on the cygwin-xfree list.
>
>>    A fatal error has occurred and Cygwin/X
>>    will now exit.
>>
>>    Caught signal 11 (Segmentation fault).
>>    Server aborting.
>>
>>    Please open /var/log/xwin/XWin.0.log
>>    for more information.
>>
>> When I close the popup alert, X exits.
>> The XWin.0.log only has Segmentation
>> fault at address 0xe.
>>
>> I've been unable to determine if the
>> problem is in the perl OpenGL module
>> code or in the updated X+GLX+Mesa3D.
>
> Even incorrectly written X clients shouldn't make the X server crash, so if
> the X server crashes, it is an X server problem.
>
>> To reproduce, just download the perl
>> OpenGL module source:
>>
>>    http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.64.tar.gz
>>
>> and extract the directory.  cd to the
>> OpenGL-0.64 directory and run the following
>> command:
>>
>>    ( set -x ; perl Makefile.PL ; make ; make test ) 2>&1 | tee
>> ../pogl-x-crash-log.txt
>>
>> which should configure, build and run the test
>> for this module.  You will need to have gcc,
>> perl and opengl installed in your cygwin.
>>
>> Any help appreciated since I can no longer
>> develop on cygwin since the X server started
>> crashing...not even to fix the problem (if
>> it is the OpenGL module code).
>
> This kind of implies it used to work, but doesn't tell me which version it
> worked with.

It worked with cygwin 1.5.25 and earlier.  The X that
came with the move to the 1.7.x series was the first
that had the crash.

> Anyhow, I've just fixed an OpenGL related problem which looks similar to this,
> perhaps you could try the snapshot in [1] and see if that helps.
>
> [1] http://cygwin.com/ml/cygwin-xfree/2011-01/msg00001.html

I assume this is a binary to replace the existing
XWin.exe....just ran the new XWin.20110102-git-29db9091c6ae4995.exe
and the server did not crash when I ran the test.  There was
a problem with a missing font so the text did not display but
I don't know if that was because I did not set something up
correctly in "just running" the XWin program by hand.

--Chris

P.S.  This might bounce from the cygwin-xfree since I don't
know if I have sign up for that list.


--
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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-03 17:55   ` chm
@ 2011-01-03 19:32     ` chm
  2011-01-03 19:41       ` chm
  2011-01-03 20:24       ` Christopher Faylor
  0 siblings, 2 replies; 8+ messages in thread
From: chm @ 2011-01-03 19:32 UTC (permalink / raw)
  To: chm; +Cc: cygwin-xfree, Jon TURNEY

On 1/3/2011 12:54 PM, chm wrote:
> On 1/3/2011 11:55 AM, Jon TURNEY wrote:
>> On 02/01/2011 01:11, chm wrote:
>>> I'm having a problem with cygwin 1.7.7
>>> and X version 1.9.3.0 where an OpenGL
>>> application from perl using the Mesa3D
>>> binding dies in the test with a segfault:
>>
>> X related questions belong on the cygwin-xfree list.
>>
>>> A fatal error has occurred and Cygwin/X
>>> will now exit.
>>>
>>> Caught signal 11 (Segmentation fault).
>>> Server aborting.
>>>
>>> Please open /var/log/xwin/XWin.0.log
>>> for more information.
>>>
>>> When I close the popup alert, X exits.
>>> The XWin.0.log only has Segmentation
>>> fault at address 0xe.
>>>
>>> I've been unable to determine if the
>>> problem is in the perl OpenGL module
>>> code or in the updated X+GLX+Mesa3D.
>>
>> Even incorrectly written X clients shouldn't make the X server crash, so if
>> the X server crashes, it is an X server problem.
>>
>>> To reproduce, just download the perl
>>> OpenGL module source:
>>>
>>> http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.64.tar.gz
>>>
>>> and extract the directory. cd to the
>>> OpenGL-0.64 directory and run the following
>>> command:
>>>
>>> ( set -x ; perl Makefile.PL ; make ; make test ) 2>&1 | tee
>>> ../pogl-x-crash-log.txt
>>>
>>> which should configure, build and run the test
>>> for this module. You will need to have gcc,
>>> perl and opengl installed in your cygwin.
>>>
>>> Any help appreciated since I can no longer
>>> develop on cygwin since the X server started
>>> crashing...not even to fix the problem (if
>>> it is the OpenGL module code).
>>
>> This kind of implies it used to work, but doesn't tell me which version it
>> worked with.
>
> It worked with cygwin 1.5.25 and earlier. The X that
> came with the move to the 1.7.x series was the first
> that had the crash.
>
>> Anyhow, I've just fixed an OpenGL related problem which looks similar to this,
>> perhaps you could try the snapshot in [1] and see if that helps.
>>
>> [1] http://cygwin.com/ml/cygwin-xfree/2011-01/msg00001.html
>
> I assume this is a binary to replace the existing
> XWin.exe....just ran the new XWin.20110102-git-29db9091c6ae4995.exe
> and the server did not crash when I ran the test. There was
> a problem with a missing font so the text did not display but
> I don't know if that was because I did not set something up
> correctly in "just running" the XWin program by hand.
>
> --Chris

I've just added myself to the cygwin-xfree list so this
reply should go through now.

Took a bit more of a look at the font problem and I don't
see anything obvious.  The last time I had this problem
it was something related to the X font setup.  The crashing
problem is definitely fixed with this XWin.20110102...

Cheers,
Chris

> P.S. This might bounce from the cygwin-xfree since I don't
> know if I have sign up for that list.
>
>


--
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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-03 19:32     ` chm
@ 2011-01-03 19:41       ` chm
  2011-01-05  1:32         ` chm
  2011-01-03 20:24       ` Christopher Faylor
  1 sibling, 1 reply; 8+ messages in thread
From: chm @ 2011-01-03 19:41 UTC (permalink / raw)
  To: chm; +Cc: cygwin-xfree, Jon TURNEY

On 1/3/2011 2:32 PM, chm wrote:
> On 1/3/2011 12:54 PM, chm wrote:
>> On 1/3/2011 11:55 AM, Jon TURNEY wrote:
>>> On 02/01/2011 01:11, chm wrote:
>>>> I'm having a problem with cygwin 1.7.7
>>>> and X version 1.9.3.0 where an OpenGL
>>>> application from perl using the Mesa3D
>>>> binding dies in the test with a segfault:
>>>
>>> X related questions belong on the cygwin-xfree list.
>>>
>>>> A fatal error has occurred and Cygwin/X
>>>> will now exit.
>>>>
>>>> Caught signal 11 (Segmentation fault).
>>>> Server aborting.
>>>>
>>>> Please open /var/log/xwin/XWin.0.log
>>>> for more information.
>>>>
>>>> When I close the popup alert, X exits.
>>>> The XWin.0.log only has Segmentation
>>>> fault at address 0xe.
>>>>
>>>> I've been unable to determine if the
>>>> problem is in the perl OpenGL module
>>>> code or in the updated X+GLX+Mesa3D.
>>>
>>> Even incorrectly written X clients shouldn't make the X server crash, so if
>>> the X server crashes, it is an X server problem.
>>>
>>>> To reproduce, just download the perl
>>>> OpenGL module source:
>>>>
>>>> http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.64.tar.gz
>>>>
>>>> and extract the directory. cd to the
>>>> OpenGL-0.64 directory and run the following
>>>> command:
>>>>
>>>> ( set -x ; perl Makefile.PL ; make ; make test ) 2>&1 | tee
>>>> ../pogl-x-crash-log.txt
>>>>
>>>> which should configure, build and run the test
>>>> for this module. You will need to have gcc,
>>>> perl and opengl installed in your cygwin.
>>>>
>>>> Any help appreciated since I can no longer
>>>> develop on cygwin since the X server started
>>>> crashing...not even to fix the problem (if
>>>> it is the OpenGL module code).
>>>
>>> This kind of implies it used to work, but doesn't tell me which version it
>>> worked with.
>>
>> It worked with cygwin 1.5.25 and earlier. The X that
>> came with the move to the 1.7.x series was the first
>> that had the crash.
>>
>>> Anyhow, I've just fixed an OpenGL related problem which looks similar to this,
>>> perhaps you could try the snapshot in [1] and see if that helps.
>>>
>>> [1] http://cygwin.com/ml/cygwin-xfree/2011-01/msg00001.html
>>
>> I assume this is a binary to replace the existing
>> XWin.exe....just ran the new XWin.20110102-git-29db9091c6ae4995.exe
>> and the server did not crash when I ran the test. There was
>> a problem with a missing font so the text did not display but
>> I don't know if that was because I did not set something up
>> correctly in "just running" the XWin program by hand.
>>
>> --Chris
>
> I've just added myself to the cygwin-xfree list so this
> reply should go through now.
>
> Took a bit more of a look at the font problem and I don't
> see anything obvious. The last time I had this problem
> it was something related to the X font setup. The crashing
> problem is definitely fixed with this XWin.20110102...

I tried passing the new XWin.20110102 as the server option
to startxwin but am still getting the font errors.  No
crashes, though.

> Cheers,
> Chris
>
>> P.S. This might bounce from the cygwin-xfree since I don't
>> know if I have sign up for that list.
>>
>>
>
>


--
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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-03 19:32     ` chm
  2011-01-03 19:41       ` chm
@ 2011-01-03 20:24       ` Christopher Faylor
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher Faylor @ 2011-01-03 20:24 UTC (permalink / raw)
  To: cygwin-xfree

On Mon, Jan 03, 2011 at 02:32:15PM -0500, chm wrote:
>I've just added myself to the cygwin-xfree list so this
>reply should go through now.

You don't have to subscribe to the list to send email.  Witness:

http://cygwin.com/ml/cygwin-xfree/2011-01/msg00003.html

--
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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-03 19:41       ` chm
@ 2011-01-05  1:32         ` chm
  2011-01-05 17:02           ` Jon TURNEY
  0 siblings, 1 reply; 8+ messages in thread
From: chm @ 2011-01-05  1:32 UTC (permalink / raw)
  To: Jon TURNEY; +Cc: cygwin-xfree

On 1/3/2011 2:41 PM, chm wrote:
> On 1/3/2011 2:32 PM, chm wrote:
>> On 1/3/2011 12:54 PM, chm wrote:
>>> On 1/3/2011 11:55 AM, Jon TURNEY wrote:
>>>> On 02/01/2011 01:11, chm wrote:
>>>>> I'm having a problem with cygwin 1.7.7
>>>>> and X version 1.9.3.0 where an OpenGL
>>>>> application from perl using the Mesa3D
>>>>> binding dies in the test with a segfault:
>>>>
>>>> X related questions belong on the cygwin-xfree list.
>>>>
>>>>> A fatal error has occurred and Cygwin/X
>>>>> will now exit.
>>>>>
>>>>> Caught signal 11 (Segmentation fault).
>>>>> Server aborting.
>>>>>
>>>>> Please open /var/log/xwin/XWin.0.log
>>>>> for more information.
>>>>>
>>>>> When I close the popup alert, X exits.
>>>>> The XWin.0.log only has Segmentation
>>>>> fault at address 0xe.
>>>>>
>>>>> I've been unable to determine if the
>>>>> problem is in the perl OpenGL module
>>>>> code or in the updated X+GLX+Mesa3D.
>>>>
>>>> Even incorrectly written X clients shouldn't make the X server crash, so if
>>>> the X server crashes, it is an X server problem.
>>>>
>>>>> To reproduce, just download the perl
>>>>> OpenGL module source:
>>>>>
>>>>> http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.64.tar.gz
>>>>>
>>>>> and extract the directory. cd to the
>>>>> OpenGL-0.64 directory and run the following
>>>>> command:
>>>>>
>>>>> ( set -x ; perl Makefile.PL ; make ; make test ) 2>&1 | tee
>>>>> ../pogl-x-crash-log.txt
>>>>>
>>>>> which should configure, build and run the test
>>>>> for this module. You will need to have gcc,
>>>>> perl and opengl installed in your cygwin.
>>>>>
>>>>> Any help appreciated since I can no longer
>>>>> develop on cygwin since the X server started
>>>>> crashing...not even to fix the problem (if
>>>>> it is the OpenGL module code).
>>>>
>>>> This kind of implies it used to work, but doesn't tell me which version it
>>>> worked with.
>>>
>>> It worked with cygwin 1.5.25 and earlier. The X that
>>> came with the move to the 1.7.x series was the first
>>> that had the crash.
>>>
>>>> Anyhow, I've just fixed an OpenGL related problem which looks similar to this,
>>>> perhaps you could try the snapshot in [1] and see if that helps.
>>>>
>>>> [1] http://cygwin.com/ml/cygwin-xfree/2011-01/msg00001.html
>>>
>>> I assume this is a binary to replace the existing
>>> XWin.exe....just ran the new XWin.20110102-git-29db9091c6ae4995.exe
>>> and the server did not crash when I ran the test. There was
>>> a problem with a missing font so the text did not display but
>>> I don't know if that was because I did not set something up
>>> correctly in "just running" the XWin program by hand.
>>>
>>> --Chris
>>
>> I've just added myself to the cygwin-xfree list so this
>> reply should go through now.
>>
>> Took a bit more of a look at the font problem and I don't
>> see anything obvious. The last time I had this problem
>> it was something related to the X font setup. The crashing
>> problem is definitely fixed with this XWin.20110102...
>
> I tried passing the new XWin.20110102 as the server option
> to startxwin but am still getting the font errors. No
> crashes, though.

Final update: I tried on another cygwin install and it worked
out of the box with the new XWin.2011 program.  Then I went
back and tried the original system and it now works as
expected.  Maybe there was a lingering font connection to
the previous XWin.exe.

Thanks for the fix,
Chris

>> Cheers,
>> 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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-05  1:32         ` chm
@ 2011-01-05 17:02           ` Jon TURNEY
  2011-01-06  0:02             ` chm
  0 siblings, 1 reply; 8+ messages in thread
From: Jon TURNEY @ 2011-01-05 17:02 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: devel.chm.01

On 05/01/2011 01:32, chm wrote:
> Final update: I tried on another cygwin install and it worked
> out of the box with the new XWin.2011 program.  Then I went
> back and tried the original system and it now works as
> expected.  Maybe there was a lingering font connection to
> the previous XWin.exe.
> 
> Thanks for the fix,

Thanks for testing. I'll make an updated package with this change when I can.

I can't offer any insight into your 'font errors' since you didn't provide any
details.

-- 
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] 8+ messages in thread

* Re: X server segfault problem
  2011-01-05 17:02           ` Jon TURNEY
@ 2011-01-06  0:02             ` chm
  0 siblings, 0 replies; 8+ messages in thread
From: chm @ 2011-01-06  0:02 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Jon TURNEY, devel.chm.01

On 1/5/2011 12:02 PM, Jon TURNEY wrote:
> On 05/01/2011 01:32, chm wrote:
>> Final update: I tried on another cygwin install and it worked
>> out of the box with the new XWin.2011 program.  Then I went
>> back and tried the original system and it now works as
>> expected.  Maybe there was a lingering font connection to
>> the previous XWin.exe.
>>
>> Thanks for the fix,
>
> Thanks for testing. I'll make an updated package with this change when I can.

Great!

> I can't offer any insight into your 'font errors' since you didn't provide any
> details.

Since I could not reproduce it, details were difficult.  :-)

Thanks again,
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] 8+ messages in thread

end of thread, other threads:[~2011-01-06  0:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4D1FD0D9.2030009@gmail.com>
2011-01-03 16:55 ` X server segfault problem Jon TURNEY
2011-01-03 17:55   ` chm
2011-01-03 19:32     ` chm
2011-01-03 19:41       ` chm
2011-01-05  1:32         ` chm
2011-01-05 17:02           ` Jon TURNEY
2011-01-06  0:02             ` chm
2011-01-03 20:24       ` Christopher Faylor

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).