On Monday 25 September 2006 21:18, Lou Sanchez-Chopitea wrote: > Hi, > I have just started trying to get FG to run on a new system. I have > assembled a box based on a Tyan MB with two Athlon MP 2000+ with 2GB of > ram, running Fedora Core 5. I get segfaults in both the yum installed FG > and a local version built from sources. I tried Valgrind and get scads > of errors. (I have not yet started to classify them, but it appears that > they are in supplier libraries in addition to the FG code.) > Has anyone tried to address the multitude of Valgrind errors? Is it > known if some number of them are spurious? > Has anyone encountered problems (or success) on dual processor systems? > > Cheers > > Lou >
Hi Lou, About two weeks ago, I posted a valgrind error log on the list, which you can find here: http://durktalsma.xs4all.nl/valgrind.log This is a result from a regular AMD Athlon XP single CPU machine (1 Gig RAM). I'm under the impression that some reports are spurious, at least some of the "Conditional jump or move depends on uninitialised value(s) " or "Use of uninitialised value of size 8" messages. I checked one or two occurrences of these, and the code in question looks okay. FWIW, I'm currently trying to trace down a pretty bad memory leak (presumably related to AI) in my development copy, but I'd be surprise that that is something causing problems on your system. Cheers, Durk P.S., have you tried using gdb? Valgrind is a pretty heavy tool, and when it comes to tracing down a seg fault, gdb may be dozens of times faster. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel