Segfault in genapts with current CVS
Chris Metzler <[email protected]> Mon, 20 Mar 2006 22:24:49 -0500
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0670945961== Content-Type: multipart/signed; boundary="Sig_eBtu5/krEYDCWlTJlI2kKaf"; protocol="application/pgp-signature"; micalg=PGP-SHA1 --Sig_eBtu5/krEYDCWlTJlI2kKaf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable AMD64, 2GB memory, plenty of disk. Invoked with args of "--input=3Dapt.dat= .gz --work=3D../../work/ --min-lon=3D-90 --max-lon=3D-80 --min-lat=3D30 --max-l= at=3D40". It gets most of the way through apt.dat (up to M59) before failure: Output file =3D ../../work//AirportObj/w090n30/w089n31/M59.btg.gz points size =3D 25 pt_materials =3D 25 triangles size =3D 175 tri_materials =3D 175 strips size =3D 1 strip_materials =3D 1 fans size =3D 0 fan_materials =3D 0 nodes =3D 367 colors =3D 0 normals =3D 24 tex coords =3D 428 total top level objects =3D 35 Output file =3D ../../work//AirportObj/w090n30/w089n31/1498704.ind Output file =3D ../../work//AirportObj/w090n30/w089n31/1498704.ind Output file =3D ../../work//AirportObj/w090n30/w089n31/1498704.ind Output file =3D ../../work//AirportObj/w090n30/w089n31/1498704.ind Program received signal SIGSEGV, Segmentation fault. 0x00002aaaab1c7e64 in fwrite () from /lib/libc.so.6 (gdb) bt #0 0x00002aaaab1c7e64 in fwrite () from /lib/libc.so.6 #1 0x000000000044b360 in clip_and_write_poly (root=3D@0x7fffffafe730, p_in= dex=3D62132, area=3DHoleArea, b=3D@0x7fffffafe5d0, shape=3D@0x7fffffaff500,= preserve3d=3Dtrue) at chop-bin.cxx:126 #2 0x000000000044dba4 in tgChopNormalPolygon (path=3D@0x7fffffb00e40, area= =3DHoleArea, shape=3D@0x7fffffaff500, preserve3d=3Dtrue) at chop-bin.cxx:195 #3 0x0000000000416767 in build_airport (airport_id=3D@0x7fffffb01e60, alt_m= =3D319.12561, runways_raw=3D<value optimized out>, beacons_raw=3D@0x7fffffb= 01b90, towers_raw=3D@0x7fffffb01b70, windsocks_raw=3D@0x7fffffb01b50, root= =3D@0x7fffffb01cd0, elev_src=3D@0x7fffffb01bd0) at build.cxx:1359 #4 0x00000000004390e3 in main (argc=3D<value optimized out>, argv=3D<value= optimized out>) at main.cxx:328 I see the "value optimized out" stuff in the above; I did, however, remove the -O2 options from the Lib/TriangleJRS makefile, as suggested in the docs. I'm going to try it again with -O2 also removed from Lib/Polygon (where chop-bin resides), but if anyone has other advice, please let me know. I feel like I'm so close to getting this working. -c --=20 Chris Metzler [email protected] (remove "snip-me." to email) "As a child I understood how to give; I have forgotten this grace since I have become civilized." - Chief Luther Standing Bear --Sig_eBtu5/krEYDCWlTJlI2kKaf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFEH3IJEqzZtgaaqqERAlG6AJ9EJoxteeJLalstiQKz5nF/FN0xsACeLpod Lruy5jpp0AIaPGMadbfhwwc= =MFQg -----END PGP SIGNATURE----- --Sig_eBtu5/krEYDCWlTJlI2kKaf-- --===============0670945961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d --===============0670945961==--