[pkg-fgfs-crew] Bug#763285: flightgear: unable to start (segfault)
Arturo Borrero Gonzalez
arturo.borrero.glez at gmail.com
Sun Sep 28 20:38:21 UTC 2014
Hi,
here some additional information:
aborrero at nostromo:~$ fgfs
getDefaultWindow: failed to create GraphicsContext
getDefaultWindow: failed to create GraphicsContext
Enabling ATI viewport hack
Segmentation fault
aborrero at nostromo:~$ valgrind fgfs
==8826== Memcheck, a memory error detector
==8826== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==8826== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==8826== Command: fgfs
==8826==
==8826== Invalid read of size 1
==8826== at 0xAA61884: ____strtod_l_internal (strtod_l.c:600)
==8826== by 0x7FCCF1B: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xFFF: ???
==8826== by 0xAA8E365: _IO_file_doallocate (filedoalloc.c:129)
==8826== by 0xDA69C9F: ???
==8826== by 0xDA692EF: ???
==8826== by 0xDA5CE6F: ???
==8826== by 0xDA69C9F: ???
==8826== by 0x1: ???
==8826== by 0x1: ???
==8826== by 0x100000000: ???
==8826== by 0xDABCCBF: ???
==8826== Address 0xdabe590 is 0 bytes after a block of size 0 alloc'd
==8826== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==8826== by 0x7FF2290: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0x17001000FF: ???
==8826== by 0x880012:
flightgear::FlightPlan::waypointFromString(std::string const&) (in
/usr/games/fgfs)
==8826== by 0x7F9A5E7: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xB8E00: ???
==8826== by 0x400000000: ???
==8826== by 0x7F06688B773F: ???
==8826== by 0x7F06640486A7: ???
==8826==
==8826== Invalid read of size 1
==8826== at 0xAA618C0: ____strtod_l_internal (strtod_l.c:623)
==8826== by 0x7FCCF1B: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xFFF: ???
==8826== by 0xAA8E365: _IO_file_doallocate (filedoalloc.c:129)
==8826== by 0xDA69C9F: ???
==8826== by 0xDA692EF: ???
==8826== by 0xDA5CE6F: ???
==8826== by 0xDA69C9F: ???
==8826== by 0x1: ???
==8826== by 0x1: ???
==8826== by 0x100000000: ???
==8826== by 0xDABCCBF: ???
==8826== Address 0xdabe590 is 0 bytes after a block of size 0 alloc'd
==8826== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==8826== by 0x7FF2290: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0x17001000FF: ???
==8826== by 0x880012:
flightgear::FlightPlan::waypointFromString(std::string const&) (in
/usr/games/fgfs)
==8826== by 0x7F9A5E7: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xB8E00: ???
==8826== by 0x400000000: ???
==8826== by 0x7F06688B773F: ???
==8826== by 0x7F06640486A7: ???
==8826==
==8826== Invalid read of size 1
==8826== at 0x4C30074: strstr (vg_replace_strmem.c:1452)
==8826== by 0x7FCCFBB: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xFFF: ???
==8826== by 0xAA8E365: _IO_file_doallocate (filedoalloc.c:129)
==8826== by 0xDA69C9F: ???
==8826== by 0xDA692EF: ???
==8826== by 0xDA5CE6F: ???
==8826== by 0xDA69C9F: ???
==8826== by 0x1: ???
==8826== by 0x1: ???
==8826== by 0x100000000: ???
==8826== by 0xDABCCBF: ???
==8826== Address 0xdac0000 is 0 bytes after a block of size 0 alloc'd
==8826== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==8826== by 0x7FF2290: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0x17001100FF: ???
==8826== by 0x880012:
flightgear::FlightPlan::waypointFromString(std::string const&) (in
/usr/games/fgfs)
==8826== by 0x7F9A5E7: ??? (in
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2)
==8826== by 0xB8E00: ???
==8826== by 0x400000000: ???
==8826== by 0x7F06688B773F: ???
==8826== by 0x7F06640486A7: ???
==8826==
getDefaultWindow: failed to create GraphicsContext
getDefaultWindow: failed to create GraphicsContext
Enabling ATI viewport hack
==8826== Invalid read of size 8
==8826== at 0xA2C3228: std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string(std::string const&) (in
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==8826== by 0x5D46E70: SGPath::SGPath(std::string const&,
SGPath::Permissions (*)(SGPath const&)) (in
/usr/lib/x86_64-linux-gnu/libSimGearCore.so.3.0.0)
==8826== by 0x8878D4: flightgear::NavDataCache::NavDataCache() (in
/usr/games/fgfs)
==8826== by 0x88876A: flightgear::NavDataCache::instance() (in
/usr/games/fgfs)
==8826== by 0x5E1592: fgMainInit(int, char**) (in /usr/games/fgfs)
==8826== by 0x5A43F0: main (in /usr/games/fgfs)
==8826== Address 0x60 is not stack'd, malloc'd or (recently) free'd
==8826==
==8826==
==8826== Process terminating with default action of signal 11 (SIGSEGV)
==8826== Access not within mapped region at address 0x60
==8826== at 0xA2C3228: std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string(std::string const&) (in
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==8826== by 0x5D46E70: SGPath::SGPath(std::string const&,
SGPath::Permissions (*)(SGPath const&)) (in
/usr/lib/x86_64-linux-gnu/libSimGearCore.so.3.0.0)
==8826== by 0x8878D4: flightgear::NavDataCache::NavDataCache() (in
/usr/games/fgfs)
==8826== by 0x88876A: flightgear::NavDataCache::instance() (in
/usr/games/fgfs)
==8826== by 0x5E1592: fgMainInit(int, char**) (in /usr/games/fgfs)
==8826== by 0x5A43F0: main (in /usr/games/fgfs)
==8826== If you believe this happened as a result of a stack
==8826== overflow in your program's main thread (unlikely but
==8826== possible), you can try to increase the size of the
==8826== main thread stack using the --main-stacksize= flag.
==8826== The main thread stack size used in this run was 8388608.
==8826==
==8826== HEAP SUMMARY:
==8826== in use at exit: 1,074,075 bytes in 6,971 blocks
==8826== total heap usage: 72,012 allocs, 65,041 frees, 7,906,025
bytes allocated
==8826==
==8826== LEAK SUMMARY:
==8826== definitely lost: 1,120 bytes in 24 blocks
==8826== indirectly lost: 694 bytes in 13 blocks
==8826== possibly lost: 124,519 bytes in 3,341 blocks
==8826== still reachable: 947,742 bytes in 3,593 blocks
==8826== suppressed: 0 bytes in 0 blocks
==8826== Rerun with --leak-check=full to see details of leaked memory
==8826==
==8826== For counts of detected and suppressed errors, rerun with: -v
==8826== ERROR SUMMARY: 19 errors from 4 contexts (suppressed: 0 from 0)
Killed
--
Arturo Borrero González
More information about the pkg-fgfs-crew
mailing list