Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-18 Thread Christian Schmitt
Tobias Ramforth wrote:
 Hi!
 
 Everytime.  I'll try rolling back to an older OSG when I get a chance.
 
 Are you sure you recompiled every single lib using up-to-date sources 
 (CVS/SVN)?
 I encountered a segfault, as well, but I forgot to recompile simgear.
 Double check the compilation order, too!
 
 
 Regards,
 
 Tobias
 

Today I recompiled everything, starting with an update from OSG-2.3.4 to 
HEAD. After that recompiled simgear and flightgear. Now everything is 
working as it sould again and I have the impression that it is running 
faster and smoother again.

Cheers,
Chris

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-13 Thread James Sleeman

On Sat, 2008-04-12 at 14:59 +0100, LeeE wrote:

 Does it segfault every time or is it inconsistent?  I'm about a week 

Everytime.  I'll try rolling back to an older OSG when I get a chance.

-- 
James Sleeman [EMAIL PROTECTED]


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-13 Thread Tobias Ramforth

Hi!


Everytime.  I'll try rolling back to an older OSG when I get a chance.


Are you sure you recompiled every single lib using up-to-date sources 
(CVS/SVN)?

I encountered a segfault, as well, but I forgot to recompile simgear.
Double check the compilation order, too!


Regards,

Tobias


begin:vcard
fn:Tobias Ramforth
n:Ramforth;Tobias
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-13 Thread Stefan Seifert
On Sunday, 13. April 2008, James Sleeman wrote:
 On Sat, 2008-04-12 at 14:59 +0100, LeeE wrote:
  Does it segfault every time or is it inconsistent?  I'm about a week

 Everytime.  I'll try rolling back to an older OSG when I get a chance.

Just a note: I'm having the same problem since 2.3.7. A workaround is to just 
create a symlink from osgPlugins-2.3.8 to osgPlugins-2.3.6.
Probably something in the build system changed, so one has to call an extra 
command (maybe make plugins_install or something like that?). Will 
investigate further when I'm back from enjoying the fine weather here :)

Stefan

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-13 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan Seifert wrote:
| On Sunday, 13. April 2008, James Sleeman wrote:
| On Sat, 2008-04-12 at 14:59 +0100, LeeE wrote:
| Does it segfault every time or is it inconsistent?  I'm about a week
| Everytime.  I'll try rolling back to an older OSG when I get a chance.
|
| Just a note: I'm having the same problem since 2.3.7. A workaround is to just
| create a symlink from osgPlugins-2.3.8 to osgPlugins-2.3.6.
| Probably something in the build system changed, so one has to call an extra
| command (maybe make plugins_install or something like that?). Will
| investigate further when I'm back from enjoying the fine weather here :)
|
| Stefan
I'm not seeing this with a very recent OSG (Friday). Given your workaround, I
would suggest that there's an inconsistency between the version number in the
code and that in the cmake build / install system; you should try running cmake
or ccmake again and then rebuild OSG. Also, I always run ldconfig after
installing a new build of OSG.

Tim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIAny+eDhWHdXrDRURAslrAKCeaPrFWQWSk/q+mSUsnHMJIP6jpACgzAA6
uCjCOBcy3Hv+bkcEQKtOJNA=
=86qT
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-12 Thread Anders Gidenstam
On Sat, 12 Apr 2008, James Sleeman wrote:

 Am I the only one getting segfaults on a full compile of the latest HEAD
 or is it just not working at the moment.  Full update and compile of
 everything, SimGear, OSG, Plib1.8.5, flightgear with --enable-osgviewer,
 and data all up to date.  Segfaults as soon as it tries to display the
 splash screen (disabling the splash doesn't get much further).

Hi,

Double check that OSG finds it's plugins and that the plugin for that 
image type exist (presumably FlightGear uses the formats .rgb, PNG and 
JPEG?). A missing OSG plugin unfortunately leads to a crash similar to 
this instead of an error message.

Cheers,

Anders
-- 
---
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-12 Thread James Sleeman

On Sat, 2008-04-12 at 10:35 +0200, Anders Gidenstam wrote:

 Double check that OSG finds it's plugins and that the plugin for that 
 image type exist (presumably FlightGear uses the formats .rgb, PNG and 
 JPEG?).

{prefix}/lib/psgPlugins-2.3.6 contains plugins for rgb, png and jpeg.
But how can I tell if osg is finding them?



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-12 Thread Christian Schmitt
James Sleeman wrote:
 Am I the only one getting segfaults on a full compile of the latest HEAD
 or is it just not working at the moment.  Full update and compile of
 everything, SimGear, OSG, Plib1.8.5, flightgear with --enable-osgviewer,
 and data all up to date.  Segfaults as soon as it tries to display the
 splash screen (disabling the splash doesn't get much further).

I can confirm this problem. I had to go back to OSG 2.3.4 and recompile 
flightgear and simgear, before it started working again. Maybe 2.3.5 
works, too, but it didn't for me (forgot to recompile simgear). I don't 
want to make further tests right now, since it takes some hours on my 
machine.

Cheers,
Chris

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Segfault on current HEAD?

2008-04-12 Thread LeeE
On Saturday 12 April 2008 06:03, James Sleeman wrote:
 Am I the only one getting segfaults on a full compile of the
 latest HEAD or is it just not working at the moment.  Full update
 and compile of everything, SimGear, OSG, Plib1.8.5, flightgear
 with --enable-osgviewer, and data all up to date.  Segfaults as
 soon as it tries to display the splash screen (disabling the
 splash doesn't get much further).

 Backtrace from gdb below, if there is anything else I can provide
 to assist just let me know, been a long time since I did any real
 application development so I'm kinda outta touch on debugging :(

Does it segfault every time or is it inconsistent?  I'm about a week 
or two old here and I get frequent segfaults on start-up but a 
second attempt usually works ok (excepting the other bugs that turn 
up in the course of running, of course).

LeeE

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Segfault on current HEAD?

2008-04-11 Thread James Sleeman
Am I the only one getting segfaults on a full compile of the latest HEAD
or is it just not working at the moment.  Full update and compile of
everything, SimGear, OSG, Plib1.8.5, flightgear with --enable-osgviewer,
and data all up to date.  Segfaults as soon as it tries to display the
splash screen (disabling the splash doesn't get much further).

Backtrace from gdb below, if there is anything else I can provide to
assist just let me know, been a long time since I did any real
application development so I'm kinda outta touch on debugging :(


#0  0x2b45d5401030 in std::operator char, std::char_traitschar,
std::allocatorchar  () from /usr/lib/libstdc++.so.6
#1  0x0093592d in simgear::ModelRegistry::readImage (
this=value optimized out, [EMAIL PROTECTED], opt=0xda7e40)
at ../../../../SimGear/simgear/scene/model/ModelRegistry.cxx:265
#2  0x2b45d44d6884 in osgDB::readImageFile ()
   from /usr/local/lib/libosgDB.so.32
#3  0x0046031c in FGSplashGroupUpdateCallback::operator() (
this=0xdef830, node=0xdbc4c0, nv=0xdbc2c0)
at /usr/local/stow/flightgear/include/osgDB/ReadFile:66
#4  0x2b45d4bfc74c in osg::Group::accept ()
   from /usr/local/lib/libosg.so.32
#5  0x2b45d4bfae20 in osg::Group::traverse ()
   from /usr/local/lib/libosg.so.32
#6  0x2b45d4bfc74c in osg::Group::accept ()
   from /usr/local/lib/libosg.so.32
#7  0x2b45d3dae811 in osgViewer::Viewer::updateTraversal ()
   from /usr/local/lib/libosgViewer.so.32
#8  0x2b45d3db76ba in osgViewer::ViewerBase::frame ()
   from /usr/local/lib/libosgViewer.so.32
#9  0x2b45d3db77da in osgViewer::ViewerBase::run ()
   from /usr/local/lib/libosgViewer.so.32
#10 0x00473601 in fgOSMainLoop ()
at ../../../FlightGear/src/Main/fg_os_osgviewer.cxx:269
#11 0x00427dca in fgMainInit (argc=1, argv=0x7fffd97fc148)
at ../../../FlightGear/src/Main/main.cxx:1075
#12 0x0042335d in main (argc=1, argv=0x7fffd97fc148)
at ../../../FlightGear/src/Main/bootstrap.cxx:220

-- 
James Sleeman, Gogo Internet Services
http://host.gogo.co.nz/ - Webhosting + Free Domain or 25% Discount for Designers
http://code.gogo.co.nz/ - PHP Programming


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel