Re: [Flightgear-devel] VBO patch

2004-05-28 Thread Roman Grigoriev

- Original Message -
From: Andy Ross [EMAIL PROTECTED]
To: FlightGear developers discussions [EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 6:20 PM
Subject: Re: [Flightgear-devel] VBO patch


 Roman Grigoriev wrote:
  Here is my new VBO code but it's so strange that it doesn't work with
  flightgear give me segfault
  also notice that it doesn't work with ptherads (I don't know why too)
  So I move all vertex,tex,norm,color to constructor from draw method
  plib applications work fine but there is a problem with flightgear
  I tried on it linux nvidia 5341

 You might want to send this to the plib folks too, since they're the
 only ones who can apply the changes.

 I don't have much in the way of debugging suggestions, unfortunately,
 except the obvious: look at a backtrace, etc...  How do you know it
 doesn't work with pthreads when it doesn't work with FlightGear at
 all?
Hi Andy!
My code works on 02.2004 CVS snapshot.
but when I try to use it on latest flightgear I got segfault.
on 02.2004 CVS it works on simple version and doesn't work on phreads
version
BTW how can I debug it if problem in plib code and not in fligtgear
I do it this way:
1) run flightgear. got coredump core.1234
2) run gdb -c core.1234
3) program terminated with signal 11
#0 0x4fc1042 in ?? ()
4) where
5)#0  0x4fc1042  in ()
  #1 ..
#14 ...
What should I do to debug it properly?
Thanx in advance
Bye
Roman



 Andy

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] VBO patch

2004-05-27 Thread Roman Grigoriev
Hi guys!
Here is my new VBO code but it's so strange that it doesn't work with
flightgear give me segfault
also notice that it doesn't work with ptherads (I don't know why too)
So I move all vertex,tex,norm,color to constructor from draw method
plib applications work fine but there is a problem with flightgear
I tried on it linux nvidia 5341
Bye
Roman



ssgVtxTable.cxx.gz
Description: GNU Zip compressed data
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] VBO patch

2004-05-27 Thread Andy Ross
Roman Grigoriev wrote:
 Here is my new VBO code but it's so strange that it doesn't work with
 flightgear give me segfault
 also notice that it doesn't work with ptherads (I don't know why too)
 So I move all vertex,tex,norm,color to constructor from draw method
 plib applications work fine but there is a problem with flightgear
 I tried on it linux nvidia 5341

You might want to send this to the plib folks too, since they're the
only ones who can apply the changes.

I don't have much in the way of debugging suggestions, unfortunately,
except the obvious: look at a backtrace, etc...  How do you know it
doesn't work with pthreads when it doesn't work with FlightGear at
all?

Andy

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel