delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/24/11:58:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E7F3909.1010200@verizon.net>
Date: Mon, 24 Mar 2003 08:57:45 -0800
From: Tron Thomas <tron DOT thomas AT verizon DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: lhall AT rfk DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Sementation fault in OpenGL application
References: <114780-220033124153027186 AT M2W033 DOT mail2web DOT com>
X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [4.65.12.184] at Mon, 24 Mar 2003 10:57:45 -0600

Actually I'm thinking that the problem is not with the video driver.  I 
renamed the driver dll so that the system would use the software 
renderer instead of the video card driver.  The same problem occurred in 
a call to wglChoosePixelFormat provided by the software render.

I checked the documentation for DrvSetPixelFormat on the Microsoft 
website.  It mentioned that this call should only be made once and 
calling it multiple times can cause problems with the window manager and 
the multithreaded applications.  I would think that this function has 
already been called earlier in the program when I actually specify my 
pixel format while initializing OpenGL with calls to the 
ChoosePixelFormat and SetPixelFormat API's.

After this initialization, I then try to create a texture, and that is 
where the problem is occuring.   I'm not sure why this DrvSetPixelFormat 
is being called while making the texture.  It seems that this method 
might be called when it shouldn't be, and that could be related to the 
problem.

lhall AT pop DOT ma DOT ultranet DOT com wrote:

>Unless someone here has the same video card, driver (+version), and
>can reproduce your problem, I'm not sure you'll get much response 
>here beyond the advice already given.  Certainly it is possible that
>there is a video driver issue and that would certainly be specific to
>the card in question.  But it's also possible that your program is 
>causing a problem for the video driver.  It's also possible that there's
>a bug elsewhere (i.e. gcc) which is contributing to this failure.  But
>the answer to where the problem actually lies will come from some analysis.
>Then again, there might be someone here on the list that has seen exactly
>this problem and will pipe up with a solution.  It's my impression that if
>that was the case, you would've heard from that person already.  So I'm
>recommending you don't hold your breath waiting for that nice, simple 
>solution to come your way. ;-)
>
>Larry
>
>Original Message:
>-----------------
>From: Tron Thomas tron DOT thomas AT verizon DOT net
>Date: Sun, 23 Mar 2003 16:31:07 -0800
>To: cygwin AT cygwin DOT com
>Subject: Sementation fault in OpenGL application
>
>
>Earlier I had posted a message concerning I segmentation fault I get 
>when I build an OpenGL application using the GCC compiler on Cygwin.  I 
>have since discovered that the debugger spits out some information when 
>the segmentation fault occurs.  The is what it says:
>
>Program received signal SIGSEGV, Segmentation fault.
>0x6966190c in nvoglnt!DrvSetPixelFormat ()
>
>I have a 64 Megabyte nVidia GeForce 3 video card on my system.  The 
>debug message implies the error is occuring in the video driver.  I do 
>not know what would be causing this, especially when the program runs 
>fine when built with other compilers.
>
>Can anyone offer any help on this matter?
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>  
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019