Board index FlightGear Support Compiling

Short experience report: 2.99 GIT on Opensuse 12.3

Building FlightGear from source, and in the need for help?

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby sgofferj » Sat Nov 16, 2013 7:52 pm

Hooray wrote in Sat Nov 16, 2013 7:42 pm:debug binaries will contain all the required info, compiled right into them - which is what gdb will use, no need for any separate files - once you build SG/FG with debug symbols included (not stripped!), gdb will be able to find things - which is the reason why you're getting monster-binaries, i.e 80+ MB for fgfs

AH, that was the missing link! :)

PS: Sorry, I realize that you are not a developer, but you once mentioned that you had literally dozens of "Linux Foo Certificates" :lol:

Nononono! Linux certificates only "SuSE Certified Linux Trainer". And at work, I specialized in networking and security. See here :).
I know a little bit about programming and I have recently written stuff and even some libraries for Arduino, but I have zero experience with complex development, i.e. everything that would involve even the use of make. I never wrote any x86-program which was more complicated to make than a single call of gcc or a single click on "compile/run" in an IDE.
FG 3.1 GIT / Opensuse 12.3 / Phenom II X4 / GForce GTX560
Stefan's little Flightgear corner | The Finnish Weather Center | Wolves in Finland

Working on: EFTP
COM: IAX2:home.gofferje.net/stefan (MO-FR 0700-2000 UTC, SA+SU 0900-2000 UTC)
sgofferj
 
Posts: 789
Joined: Mon Dec 05, 2011 5:13 pm
Location: EFTP
Callsign: OH-SW
Version: 3.1 GIT
OS: Opensuse

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby sgofferj » Sat Nov 16, 2013 8:20 pm

New crash. I set up multi-monitors with this config:
Code: Select all
<?xml version="1.0"?>
<PropertyList>
   <sim>
      <rendering>
            <camera-group>
              <window>
                <name>LEFT</name>
                <host-name type="string"></host-name>
                <display>0</display>
                <screen>0</screen>
                <x>0</x>
                <y>0</y>
                <width>1600</width>
                <height>900</height>
                <decoration type = "bool">false</decoration>
                <fullscreen type = "bool">false</fullscreen>
              </window>

              <window>
                <name>RIGHT</name>
                <host-name type="string"></host-name>
                <display>0</display>
                <screen>0</screen>
                <x>1600</x>
                <y>0</y>
                <width>1600</width>
                <height>900</height>
                <decoration type = "bool">false</decoration>
                <fullscreen type = "bool">false</fullscreen>
              </window>
             
              <camera>
                <window>
                  <name>LEFT</name>
                </window>
                <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1600</width>
                  <height>900</height>
                </viewport>
                <view>
                  <heading-deg type = "double">0</heading-deg>
                </view>
                <frustum>
                  <top>0.125</top>
                  <bottom>-0.125</bottom>
                  <left>-.466</left>
                  <right>.-022</right>
                  <near>0.4</near>
                  <far>120000.0</far>
                </frustum>
              </camera>
             
              <camera>
                <window>
                  <name type="string">RIGHT</name>
                </window>
                <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1600</width>
                  <height>900</height>
                </viewport>
                <view>
                  <heading-deg type = "double">0</heading-deg>
                </view>
                <frustum>
                  <top>0.123</top>
                  <bottom>-0.125</bottom>
                  <left>0.022</left>
                  <right>.466</right>
                  <near>0.4</near>
                  <far>120000.0</far>
                </frustum>
              </camera>
             
              <gui>
                <window>
                  <name type="string">RIGHT</name>
                </window>
              </gui>
            </camera-group>
      </rendering>
   </sim>
</PropertyList>


and now, FG segfaults on startup (2 out of 5 tries, the computer switches suddenly off (1 out of 5 tries) or it works flawlessly until I exit and segfaults then.

Here's the bt from the crash at startup:
Code: Select all
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/fgfs...done.
[New LWP 3558]
[New LWP 3585]
[New LWP 3591]
[New LWP 3586]
[New LWP 3604]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/bin/fgfs --fg-root=/usr/local/share/flightgear --fg-scenery=/opt/Ter'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fbccf62a624 in osgUtil::RenderStage::reset() () from /usr/lib64/libosgUtil.so.80
(gdb) bt full
#0  0x00007fbccf62a624 in osgUtil::RenderStage::reset() () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#1  0x00007fbccf63895e in osgUtil::SceneView::cullStage(osg::Matrixd const&, osg::Matrixd const&, osgUtil::CullVisitor*, osgUtil::StateGraph*, osgUtil::RenderStage*, osg::Viewport*) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#2  0x00007fbccf6353bf in osgUtil::SceneView::cull() () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#3  0x00007fbccf259afc in osgViewer::Renderer::cull() () from /usr/lib64/libosgViewer.so.80
No symbol table info available.
#4  0x00007fbccf28e5c5 in osgViewer::ViewerBase::renderingTraversals() () from /usr/lib64/libosgViewer.so.80
No symbol table info available.
#5  0x000000000139b9f5 in fgOSMainLoop () at /usr/src/flightgear/src/Viewer/fg_os_osgviewer.cxx:363
        idleFunc = 0xe99a41 <fgIdleFunction()>
        manipulator = {_ptr = 0x3c9ce20}
#6  0x0000000000e9ae23 in fgMainInit (argc=23, argv=0x7fffd270bac8) at /usr/src/flightgear/src/Main/main.cxx:394
        version = "unknown version"
        col = 0x3b1f780
        configResult = 0
        result = 0
#7  0x0000000000e6e6e2 in main (argc=23, argv=0x7fffd270bac8) at /usr/src/flightgear/src/Main/bootstrap.cxx:219
        _hostname = "enterprise\000\000\000\000\000\000P\270p\322\377\177\000\000P(C̼\177\000\000pȱ\003\000\000\000\000\001\270\261\003\000\000\000\000\220\270p\322\377\177\000\000P(C̼\177\000\000pȱ\003\000\000\000\000\240\270p\322\377\177\000\000иp\322\377\177\000\000\360\006\371\001", '\000' <repeats 12 times>"\210, \273p\322\377\177\000\000Ⱥp\322\377\177\000\000\027\000\000\000\000\000\000\000@\271p\322\377\177\000\000\065ݠм\177\000\000\001", '\000' <repeats 15 times>, "`\000\000\000\000\000\000\000H\333Xм\177\000\000\260ȱ\003\000\000\000\000@\271p\322\377\177\000\000\020\354\370\001\000\000\000\000\205A\241м\177\000\000\260ȱ\003\000\000\000\000\017\000\000\000\000\000\000\000\071v", '\000' <repeats 14 times>"\260, ȱ\003\000\000\000\000)\000\000\000\000\000\000"
        fgviewer = false
(gdb) t 1
[Switching to thread 1 (Thread 0x7fbcd0bcb7c0 (LWP 3558))]
#7  0x0000000000e6e6e2 in main (argc=23, argv=0x7fffd270bac8) at /usr/src/flightgear/src/Main/bootstrap.cxx:219
219               fgMainInit(argc, argv);
(gdb) bt full
#0  0x00007fbccf62a624 in osgUtil::RenderStage::reset() () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#1  0x00007fbccf63895e in osgUtil::SceneView::cullStage(osg::Matrixd const&, osg::Matrixd const&, osgUtil::CullVisitor*, osgUtil::StateGraph*, osgUtil::RenderStage*, osg::Viewport*) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#2  0x00007fbccf6353bf in osgUtil::SceneView::cull() () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#3  0x00007fbccf259afc in osgViewer::Renderer::cull() () from /usr/lib64/libosgViewer.so.80
No symbol table info available.
#4  0x00007fbccf28e5c5 in osgViewer::ViewerBase::renderingTraversals() () from /usr/lib64/libosgViewer.so.80
No symbol table info available.
#5  0x000000000139b9f5 in fgOSMainLoop () at /usr/src/flightgear/src/Viewer/fg_os_osgviewer.cxx:363
        idleFunc = 0xe99a41 <fgIdleFunction()>
        manipulator = {_ptr = 0x3c9ce20}
#6  0x0000000000e9ae23 in fgMainInit (argc=23, argv=0x7fffd270bac8) at /usr/src/flightgear/src/Main/main.cxx:394
        version = "unknown version"
        col = 0x3b1f780
        configResult = 0
        result = 0
#7  0x0000000000e6e6e2 in main (argc=23, argv=0x7fffd270bac8) at /usr/src/flightgear/src/Main/bootstrap.cxx:219
        _hostname = "enterprise\000\000\000\000\000\000P\270p\322\377\177\000\000P(C̼\177\000\000pȱ\003\000\000\000\000\001\270\261\003\000\000\000\000\220\270p\322\377\177\000\000P(C̼\177\000\000pȱ\003\000\000\000\000\240\270p\322\377\177\000\000иp\322\377\177\000\000\360\006\371\001", '\000' <repeats 12 times>"\210, \273p\322\377\177\000\000Ⱥp\322\377\177\000\000\027\000\000\000\000\000\000\000@\271p\322\377\177\000\000\065ݠм\177\000\000\001", '\000' <repeats 15 times>, "`\000\000\000\000\000\000\000H\333Xм\177\000\000\260ȱ\003\000\000\000\000@\271p\322\377\177\000\000\020\354\370\001\000\000\000\000\205A\241м\177\000\000\260ȱ\003\000\000\000\000\017\000\000\000\000\000\000\000\071v", '\000' <repeats 14 times>"\260, ȱ\003\000\000\000\000)\000\000\000\000\000\000"
        fgviewer = false
(gdb) t2  2
[Switching to thread 2 (Thread 0x7fbcc7908700 (LWP 3585))]
#0  0x0000000000e74f07 in operator new (__p=0x3ca66c4) at /usr/include/c++/4.7/new:112
112   { return __p; }
(gdb) bt full
#0  0x0000000000e74f07 in operator new (__p=0x3ca66c4) at /usr/include/c++/4.7/new:112
No locals.
#1  0x0000000000fa7b0d in std::_Construct<osg::Vec3f, osg::Vec3f> (__p=0x3ca66c4, __value=...) at /usr/include/c++/4.7/bits/stl_construct.h:85
No locals.
#2  0x0000000000fa6fd2 in std::__uninitialized_copy<false>::__uninit_copy<osg::Vec3f*, osg::Vec3f*> (__first=0x4295e64, __last=0x0, __result=0x3c9edb0) at /usr/include/c++/4.7/bits/stl_uninitialized.h:77
        __cur = 0x3ca66c4
#3  0x0000000000fa5cc1 in std::uninitialized_copy<osg::Vec3f*, osg::Vec3f*> (__first=0x428e550, __last=0x0, __result=0x3c9edb0) at /usr/include/c++/4.7/bits/stl_uninitialized.h:119
No locals.
#4  0x0000000000fa4848 in std::__uninitialized_copy_a<osg::Vec3f*, osg::Vec3f*, osg::Vec3f> (__first=0x428e550, __last=0x0, __result=0x3c9edb0) at /usr/include/c++/4.7/bits/stl_uninitialized.h:260
No locals.
#5  0x0000000000fa5f54 in std::__uninitialized_move_if_noexcept_a<osg::Vec3f*, osg::Vec3f*, std::allocator<osg::Vec3f> > (__first=0x428e550, __last=0x0, __result=0x3c9edb0, __alloc=...) at /usr/include/c++/4.7/bits/stl_uninitialized.h:283
No locals.
#6  0x0000000001633d66 in std::vector<osg::Vec3f, std::allocator<osg::Vec3f> >::_M_fill_insert (this=0x42baa50, __position=<error reading variable: Cannot access memory at address 0x0>, __n=4, __x=...) at /usr/include/c++/4.7/bits/vector.tcc:491
        __len = 4
        __elems_before = 0
        __new_start = 0x3c9edb0
        __new_finish = 0x0
#7  0x00007fbcd036c975 in osgText::Text::computePositions(unsigned int) const () from /usr/lib64/libosgText.so.80
No symbol table info available.
#8  0x00007fbcd036bbab in osgText::Text::drawImplementation(osg::State&, osg::Vec4f const&) const () from /usr/lib64/libosgText.so.80
No symbol table info available.
#9  0x00007fbcd036bd1e in osgText::Text::drawImplementation(osg::RenderInfo&) const () from /usr/lib64/libosgText.so.80
No symbol table info available.
#10 0x00007fbccf629667 in osgUtil::RenderLeaf::render(osg::RenderInfo&, osgUtil::RenderLeaf*) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#11 0x00007fbccf623795 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#12 0x00007fbccf623824 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#13 0x00007fbccf623824 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#14 0x00007fbccf62a7c3 in osgUtil::RenderStage::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#15 0x00007fbccf62dc96 in osgUtil::RenderStage::drawInner(osg::RenderInfo&, osgUtil::RenderLeaf*&, bool&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#16 0x00007fbccf62d8ba in osgUtil::RenderStage::draw(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#17 0x00007fbccf629b7b in osgUtil::RenderStage::drawPostRenderStages(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#18 0x00007fbccf62d793 in osgUtil::RenderStage::draw(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#19 0x00007fbccf6374a5 in osgUtil::SceneView::draw() () from /usr/lib64/libosgUtil.so.80
No symbol table info available.
#20 0x00007fbccf2562cb in osgViewer::Renderer::draw() () from /usr/lib64/libosgViewer.so.80
No symbol table info available.
#21 0x00007fbccebeb5f9 in osg::GraphicsContext::runOperations() () from /usr/lib64/libosg.so.80
No symbol table info available.
#22 0x00007fbccec47cc1 in osg::OperationThread::run() () from /usr/lib64/libosg.so.80
No symbol table info available.
#23 0x00007fbccebedf18 in osg::GraphicsThread::run() () from /usr/lib64/libosg.so.80
No symbol table info available.
#24 0x00007fbcce846e1e in OpenThreads::ThreadPrivateActions::StartThread(void*) () from /usr/lib64/libOpenThreads.so.12
No symbol table info available.
#25 0x00007fbcd0593e0f in start_thread (arg=0x7fbcc7908700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fbcc7908700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140448778716928, 9104804245468186844, 0, 65247152, 65249248, 140448778716928, -9141379151914497828, -9141353371402794788}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#26 0x00007fbccbb9a44d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
(gdb) t 3
[Switching to thread 3 (Thread 0x7fbcc32f9700 (LWP 3591))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
(gdb) bt full
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00000000018b9b33 in SGWaitCondition::PrivateData::wait (this=0x3ed7670, mutex=...) at /usr/src/simgear/simgear/threads/SGThread.cxx:300
        err = 0
        __PRETTY_FUNCTION__ = "void SGWaitCondition::PrivateData::wait(SGMutex::PrivateData&)"
#2  0x00000000018b97a3 in SGWaitCondition::wait (this=0x3e4d7a0, mutex=...) at /usr/src/simgear/simgear/threads/SGThread.cxx:399
No locals.
#3  0x00000000018c63d3 in SGBlockingDeque<SyncItem>::pop_front (this=0x3e4d790) at /usr/src/simgear/simgear/threads/SGQueue.hxx:349
        __PRETTY_FUNCTION__ = "T SGBlockingDeque<T>::pop_front() [with T = SyncItem]"
        g = {lock = @0x3e4d798}
        item = {_dir = "Airports/M", _type = SyncItem::AirportData, _status = SyncItem::Cached}
#4  0x00000000018c1569 in simgear::SGTerraSync::SvnThread::runExternal (this=0x3e4d5b0) at /usr/src/simgear/simgear/scene/tsync/terrasync.cxx:487
        next = {_dir = "Airports/M", _type = SyncItem::AirportData, _status = SyncItem::Cached}
#5  0x00000000018c1516 in simgear::SGTerraSync::SvnThread::run (this=0x3e4d5b0) at /usr/src/simgear/simgear/scene/tsync/terrasync.cxx:475
No locals.
#6  0x00000000018b9880 in SGThread::PrivateData::start_routine (data=0x3e4d5b0) at /usr/src/simgear/simgear/threads/SGThread.cxx:204
        thread = 0x3e4d5b0
#7  0x00007fbcd0593e0f in start_thread (arg=0x7fbcc32f9700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fbcc32f9700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140448705255168, 9104804245468186844, 0, 140736723991232, 0, 140448705255168, -9141386506509121316, -9141353371402794788}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007fbccbb9a44d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
(gdb) t 4
[Switching to thread 4 (Thread 0x7fbcc7107700 (LWP 3586))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185   in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt full
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007fbcce84702b in OpenThreads::Barrier::block(unsigned int) () from /usr/lib64/libOpenThreads.so.12
No symbol table info available.
#2  0x00007fbccec47cc1 in osg::OperationThread::run() () from /usr/lib64/libosg.so.80
No symbol table info available.
#3  0x00007fbccebedf18 in osg::GraphicsThread::run() () from /usr/lib64/libosg.so.80
No symbol table info available.
#4  0x00007fbcce846e1e in OpenThreads::ThreadPrivateActions::StartThread(void*) () from /usr/lib64/libOpenThreads.so.12
No symbol table info available.
#5  0x00007fbcd0593e0f in start_thread (arg=0x7fbcc7107700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fbcc7107700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140448770324224, 9104804245468186844, 0, 65248304, 65249248, 140448770324224, -9141378052939740964, -9141353371402794788}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007fbccbb9a44d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
(gdb) t 5
[Switching to thread 5 (Thread 0x7fbcc8715700 (LWP 3604))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185   in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) bt full
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00000000018b9b33 in SGWaitCondition::PrivateData::wait (this=0x3b1cb00, mutex=...) at /usr/src/simgear/simgear/threads/SGThread.cxx:300
        err = 0
        __PRETTY_FUNCTION__ = "void SGWaitCondition::PrivateData::wait(SGMutex::PrivateData&)"
#2  0x00000000018b97a3 in SGWaitCondition::wait (this=0x3b1c9d8, mutex=...) at /usr/src/simgear/simgear/threads/SGThread.cxx:399
No locals.
#3  0x000000000180aff9 in SGBlockingQueue<LogStreamPrivate::LogEntry>::pop (this=0x3b1c978) at /usr/src/simgear/simgear/threads/SGQueue.hxx:228
        __PRETTY_FUNCTION__ = "T SGBlockingQueue<T>::pop() [with T = LogStreamPrivate::LogEntry]"
        g = {lock = @0x3b1c9d0}
        item = {debugClass = SG_VIEW, debugPriority = SG_INFO, file = 0x1983e78 "/usr/src/flightgear/src/Viewer/splash.cxx", line = 421, message =
    'E' <repeats 40 times>, "8\000\000\000\000\000\000\aA\000\000\000\000\000\000\000\360X\227\001\000\000\000\000@v\347\t\000\000\000\000\212\003\063\001", '\000' <repeats 12 times>"\246, \003\063\001", '\000' <repeats 12 times>"\321, EEEEEE\a\221\000\000\000\000\000\000\000\020W\237\001\000\000\000\000\002\000\000\000\000\000\000\000\b\230\304\003\000\000\000\000\220\335\305\003", '\000' <repeats 52 times>"\270, \204g̼\177\000\000\006\000\000\000\001\272\272\272\003\000\000\000\272\272\272\272`\r\"\004", '\000' <repeats 20 times>"\331, EEEEEE\aA\000\000\000\000\000\000\000\360X\227\001\000\000\000\000@v\347\t\000\000\000\000j\006\063\001", '\000' <repeats 12 times>"\206, \006\063\001", '\000' <repeats 12 times>"\353, EEEEEE"...}
#4  0x000000000180a3eb in LogStreamPrivate::run (this=0x3b1c960) at /usr/src/simgear/simgear/debug/logstream.cxx:261
        entry = {debugClass = SG_VIEW, debugPriority = SG_INFO, file = 0x1983e78 "/usr/src/flightgear/src/Viewer/splash.cxx", line = 421, message =
    'E' <repeats 40 times>, "8\000\000\000\000\000\000\aA\000\000\000\000\000\000\000\360X\227\001\000\000\000\000@v\347\t\000\000\000\000\212\003\063\001", '\000' <repeats 12 times>"\246, \003\063\001", '\000' <repeats 12 times>"\321, EEEEEE\a\221\000\000\000\000\000\000\000\020W\237\001\000\000\000\000\002\000\000\000\000\000\000\000\b\230\304\003\000\000\000\000\220\335\305\003", '\000' <repeats 52 times>"\270, \204g̼\177\000\000\006\000\000\000\001\272\272\272\003\000\000\000\272\272\272\272`\r\"\004", '\000' <repeats 20 times>"\331, EEEEEE\aA\000\000\000\000\000\000\000\360X\227\001\000\000\000\000@v\347\t\000\000\000\000j\006\063\001", '\000' <repeats 12 times>"\206, \006\063\001", '\000' <repeats 12 times>"\353, EEEEEE"...}
#5  0x00000000018b9880 in SGThread::PrivateData::start_routine (data=0x3b1c960) at /usr/src/simgear/simgear/threads/SGThread.cxx:204
        thread = 0x3b1c960
#6  0x00007fbcd0593e0f in start_thread (arg=0x7fbcc8715700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fbcc8715700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140448793450240, 9104804245468186844, 0, 61983888, 18, 140448793450240, -9141370621572577060, -9141353371402794788}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
              canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007fbccbb9a44d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
(gdb) t 6
(gdb) quit
FG 3.1 GIT / Opensuse 12.3 / Phenom II X4 / GForce GTX560
Stefan's little Flightgear corner | The Finnish Weather Center | Wolves in Finland

Working on: EFTP
COM: IAX2:home.gofferje.net/stefan (MO-FR 0700-2000 UTC, SA+SU 0900-2000 UTC)
sgofferj
 
Posts: 789
Joined: Mon Dec 05, 2011 5:13 pm
Location: EFTP
Callsign: OH-SW
Version: 3.1 GIT
OS: Opensuse

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby Hooray » Sat Nov 16, 2013 9:36 pm

and now, FG segfaults on startup (2 out of 5 tries, the computer switches suddenly off (1 out of 5 tries) or it works flawlessly until I exit and segfaults then.


well, "surge protection", "computer switching off", "computer restarting/rebooting" etc - sorry to say, but something isn't quite right with your system - even if FG were the worst application on the planet, i.e. a trojan-virus eating 100% of your CPU/GPU/RAM resources, the operating system should never allow such things to happen, if properly configured - so there must be some other issue, see: http://wiki.flightgear.org/System_Crashes

A properly configured/working OS would instead kill the corresponding process and not reboot the whole computer. Make sure that your power supply can deal with your GPU's power requirements, if you haven't modified your system in any way, run memtest86 first, and then do a full CPU/GPU burn-in test. If that doesn't show any problems, check your hard disks, at least do a SMART check.

PS: I don't think you need to set any host names in the multi-screen config file unless you are using the HLA setup
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby sgofferj » Sat Nov 16, 2013 9:53 pm

It MIGHT be the power supply. I had the same issue with 2.12 a few times. But with 2.99 I have flown several hours in single screen without problems besides the segfault on exit. I'll check.
FG 3.1 GIT / Opensuse 12.3 / Phenom II X4 / GForce GTX560
Stefan's little Flightgear corner | The Finnish Weather Center | Wolves in Finland

Working on: EFTP
COM: IAX2:home.gofferje.net/stefan (MO-FR 0700-2000 UTC, SA+SU 0900-2000 UTC)
sgofferj
 
Posts: 789
Joined: Mon Dec 05, 2011 5:13 pm
Location: EFTP
Callsign: OH-SW
Version: 3.1 GIT
OS: Opensuse

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby Hooray » Sat Nov 16, 2013 10:12 pm

UBB is about 300 MB (ISO file) and contains various system diagnostics, and stress-testing tools
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby sgofferj » Sat Nov 16, 2013 10:15 pm

UBB?
FG 3.1 GIT / Opensuse 12.3 / Phenom II X4 / GForce GTX560
Stefan's little Flightgear corner | The Finnish Weather Center | Wolves in Finland

Working on: EFTP
COM: IAX2:home.gofferje.net/stefan (MO-FR 0700-2000 UTC, SA+SU 0900-2000 UTC)
sgofferj
 
Posts: 789
Joined: Mon Dec 05, 2011 5:13 pm
Location: EFTP
Callsign: OH-SW
Version: 3.1 GIT
OS: Opensuse

Re: Short experience report: 2.99 GIT on Opensuse 12.3

Postby Hooray » Sat Nov 16, 2013 10:21 pm

Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest