|
From: Melchior F. <mf...@kd...> - 2004-05-31 17:04:25
|
Since quite a while I'm not able to valgrind fgfs (http://www.flightgear.org/). It segfaults and I can't make much sense of the bt. The FAQ doesn't mention anything related. fgfs alone runs without problems. m. $ valgrind --tool=none ./fgfs ==32253== Nulgrind, a binary JIT-compiler for x86-linux. ==32253== Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote. ==32253== Using valgrind-2.1.2.CVS, a program supervision framework for x86-linux. ==32253== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. ==32253== For more details, rerun with: -v ==32253== ==32253== ==32253== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==32253== Access not within mapped region at address 0x0 ==32253== at 0x8107A351: gz_open (in /lib/libz.so.1.1.4) ==32253== by 0x81078D84: gzopen (in /lib/libz.so.1.1.4) ==32253== by 0x83A83D6: gzfilebuf::open(char const*, std::_Ios_Openmode) (zfstream.cxx:118) ==32253== by 0x83A68CA: sg_gzifstream::open(std::string const&, std::_Ios_Openmode) (sgstream.cxx:70) ==32253== Segmentation fault $ $ gdb fgfs vgcore.pid32253 [...] (gdb) bt #0 0x8107a351 in gz_open () from /lib/libz.so.1 #1 0x81078d85 in gzopen () from /lib/libz.so.1 #2 0x083a83d7 in gzfilebuf::open(char const*, std::_Ios_Openmode) (this=0xabffd9e8, name=0x87bf00c "/home/m/.fgfsrc.server", io_mode=12) at zfstream.cxx:118 #3 0x083a68cb in sg_gzifstream::open(std::string const&, std::_Ios_Openmode) (this=0xabffd9e0, name=@0xabffdc70, io_mode=12) at sgstream.cxx:70 #4 0x083a6691 in sg_gzifstream (this=0xabffd9e0, name=@0xabffdc70, io_mode=12) at sgstream.cxx:46 #5 0x0805c749 in fgScanForOption (option=@0xabffdb40, path=@0xabffdc70) at fg_init.cxx:175 #6 0x0805ceee in fgInitFGRoot(int, char**) (argc=1, argv=0xabffdfd4) at fg_init.cxx:237 #7 0x08055aea in fgMainInit(int, char**) (argc=1, argv=0xabffdfd4) at main.cxx:1542 #8 0x080513ae in main (argc=1, argv=0xabffdfd4) at bootstrap.cxx:175 |