Geoff, this would appear to be a potential problem in the tile freeing code. Can you give me a route (i.e. a series of waypoints) that will show the problem (and the approximate place where things die.) Also, leave the visibility at the default for the test (or tell me what visibility you are using) because the visibility value determines the size of the tile cache which affects when tiles need to be removed.
Regards, Curt. Geoff Reidy writes: > Hi all, > > I'm running current cvs of plib, simgear and flightgear on linux. > Compiled with threads and without logging. > After running for 3 or 4 hours fgfs always seg faults on me, normally I > strip the binary but this time I didn't and now I get this error: > fgfs: ssg.h:302: void ssgBase::deRef(): Assertion `refc > 0' failed. > Aborted > > So I ran it through gdb and did a backtrace. (The nav-vor-ident errors > occur the whole time the program is running at the rate of about one per > second.) > > Let me know if there's anything else I can do. > > Regards, > Geoff > > $GPRMC,091314,A,1153.264,S,12434.835,E,610.9,-43.4,1411102,0.000,E*4B > $GPGGA,091314,1153.264,S,12434.835,E,1,,,15031,F,,,,*37 > $GPRMC,091314,A,1153.264,S,12434.835,E,610.9,-43.4,1411102,0.000,E*4B > $GPGGA,091314,1153.264,S,12434.835,E,1,,,15031,F,,,,*37 > Failed to remove nav-vor-ident sound > Failed to remove nav-vor-ident sound > Failed to remove nav-vor-ident sound > Failed to remove nav-vor-ident sound > fgfs: ssg.h:302: void ssgBase::deRef(): Assertion `refc > 0' failed. > > Program received signal SIGABRT, Aborted. > 0x4042a3d1 in kill () from /lib/i686/libc.so.6 > (gdb) bt > #0 0x4042a3d1 in kill () from /lib/i686/libc.so.6 > #1 0x40305dad in raise () from /lib/i686/libpthread.so.0 > #2 0x4042b979 in abort () from /lib/i686/libc.so.6 > #3 0x4042466f in __assert_fail () from /lib/i686/libc.so.6 > #4 0x082b2c56 in ssgDeRefDelete(ssgBase*) () at ssg.cxx:89 > #5 0x082b89c9 in ~ssgLeaf (this=0xccb62a0) at ssgLeaf.cxx:79 > #6 0x082ce88b in ~ssgVtxTable (this=0xccb62a0) at ssgVtxTable.cxx:148 > #7 0x082b2c38 in ssgDeRefDelete(ssgBase*) (s=0x1) at ssg.cxx:89 > #8 0x082b59c4 in ssgBranch::removeKid(int) (this=0xcca3660, n=1076928544) > at ssgBranch.cxx:97 > #9 0x081f036e in fgPartialFreeSSGtree (b=0xcca3660, n=90) at > tileentry.cxx:724 > #10 0x081f0385 in fgPartialFreeSSGtree (b=0xcca3500, n=100) at > tileentry.cxx:713 > #11 0x081f0385 in fgPartialFreeSSGtree (b=0x52128070, n=100) at > tileentry.cxx:713 > #12 0x081f0385 in fgPartialFreeSSGtree (b=0x52932bb0, n=100) at > tileentry.cxx:713 > #13 0x081f0695 in FGTileEntry::free_tile() (this=0x52932ab8) at > tileentry.cxx:777 > #14 0x081f4562 in FGTileMgr::update(double, double, double, double*, > SGBucket, SGBucket, Point3D) (this=0x8401b40, > lon=1.2731974745791634e-313, lat=0.005715523559064053, > visibility_meters=64000, abs_pos_vector=0x8bc0314, p_current=Cannot > access memory at address 0x6 > ) at tilemgr.cxx:398 > #15 0x08053126 in fgMainLoop () at ../../src/Main/location.hxx:116 > #16 0x40084df2 in glutMainLoop () from /usr/X11R6/lib/libglut.so.3 > #17 0x4008406d in glutMainLoop () from /usr/X11R6/lib/libglut.so.3 > #18 0x08054803 in mainLoop(int, char**) (argc=1, argv=0xbffff5d0) at > main.cxx:1742 > #19 0x08054ebf in main (argc=1, argv=0xbffff774) at main.cxx:1834 > #20 0x40419082 in __libc_start_main () from /lib/i686/libc.so.6 > (gdb) > > > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
