After updating my ubuntu to 10.04 LTS - the Lucid Lynx, and I am sad to say that it does not work too.
I got this output :
ScicosLab-4.4b7 On the road again
Copyright (c) 1989-2010 (INRIA, ENPC) Released by Metalau Project-team and ENPC. Scilab team and Scilab Consortium do not support this version. (Sat Feb 20 20:43:30 CET 2010) -------------------------------------------
Startup execution: loading initial environment
-->mode(-1);
Program received signal SIGSEGV, Segmentation fault. 0x037c4057 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6 (gdb) backtrace #0 0x037c4057 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6 #1 0x03794bc5 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int) () from /usr/lib/libstdc++.so.6 #2 0x01b6a018 in osg::notify(osg::NotifySeverity) () from /usr/lib/libosg.so.56 #3 0x01ba233b in osg::StateAttribute::addParent(osg::StateSet*) () from /usr/lib/libosg.so.56 #4 0x01badbc7 in osg::StateSet::setAttribute(std::map<std::pair<osg::StateAttribute::Type, unsigned int>, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int>, std::less<std::pair<osg::StateAttribute::Type, unsigned int> >, std::allocator<std::pair<std::pair<osg::StateAttribute::Type, unsigned int> const, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int> > > >&, osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56 #5 0x01baf8aa in osg::StateSet::setAttributeAndModes(osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56 #6 0x018d5409 in osgUtil::RenderBin::RenderBin(osgUtil::RenderBin::SortMode) () from /usr/lib/libosgUtil.so.56 #7 0x018d5583 in ?? () from /usr/lib/libosgUtil.so.56 #8 0x0192ec3d in ?? () from /usr/lib/libosgUtil.so.56 #9 0x0184de78 in _init () from /usr/lib/libosgUtil.so.56 #10 0x0011dbbc in ?? () from /lib/ld-linux.so.2 #11 0x0011dcd9 in ?? () from /lib/ld-linux.so.2 ---Type <return> to continue, or q <return> to quit--- #12 0x00121d99 in ?? () from /lib/ld-linux.so.2 #13 0x0011d7e6 in ?? () from /lib/ld-linux.so.2 #14 0x001215e6 in ?? () from /lib/ld-linux.so.2 #15 0x0012ec0b in ?? () from /lib/tls/i686/cmov/libdl.so.2 #16 0x0011d7e6 in ?? () from /lib/ld-linux.so.2 #17 0x0012f09c in ?? () from /lib/tls/i686/cmov/libdl.so.2 #18 0x0012eb41 in dlopen () from /lib/tls/i686/cmov/libdl.so.2 #19 0x0857712e in ?? () #20 0x0857757d in SciLink () #21 0x085776f9 in iscilink_ () #22 0x08144b0f in scilink_ () #23 0x081451d9 in matsys_ () #24 0x08098458 in callinterf_ () #25 0x080c0c7d in scirun_ () #26 0x08585812 in realmain_ () #27 0x086d749b in main () #28 0x00e94bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #29 0x08093f11 in _start ()
It looks like a problem with openscenegraph. You will need to upgrade to a newer version of ubuntu or help me figure out which part of the code is causing the issue and make it compatible. It looks like something to do with osg stateset to you could try to comment out code that deals with stateset and see what is breaking it. It could be something like the transparency setting etc.
here is the output:
Program received signal SIGSEGV, Segmentation fault.
0xb1bab007 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
(gdb) backtrace
#0 0xb1bab007 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
#1 0xb1b80795 in std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int) () from /usr/lib/libstdc++.so.6
#2 0xb3534258 in osg::notify(osg::NotifySeverity) ()
from /usr/lib/libosg.so.56
#3 0xb356c23b in osg::StateAttribute::addParent(osg::StateSet*) ()
from /usr/lib/libosg.so.56
#4 0xb357765f in osg::StateSet::setAttribute(std::map, std::pair, unsigned int>, std::less >, std::allocator const, std::pair, unsigned int> > > >&, osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56 #5 0xb357a91a in osg::StateSet::setAttributeAndModes(osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56
#6 0xb3799959 in osgUtil::RenderBin::RenderBin(osgUtil::RenderBin::SortMode)
() from /usr/lib/libosgUtil.so.56
#7 0xb3799ad3 in ?? () from /usr/lib/libosgUtil.so.56
#8 0xb37f16bd in ?? () from /usr/lib/libosgUtil.so.56
#9 0xb3713554 in _init () from /usr/lib/libosgUtil.so.56
#10 0xb7ff08bc in ?? () from /lib/ld-linux.so.2
#11 0xb7ff0a21 in ?? () from /lib/ld-linux.so.2
---Type to continue, or q to quit---
#12 0xb7ff4a49 in ?? () from /lib/ld-linux.so.2
#13 0xb7ff04e6 in ?? () from /lib/ld-linux.so.2
#14 0xb7ff4200 in ?? () from /lib/ld-linux.so.2
#15 0xb7fc5c0b in ?? () from /lib/tls/i686/cmov/libdl.so.2
#16 0xb7ff04e6 in ?? () from /lib/ld-linux.so.2
#17 0xb7fc609c in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7fc5b41 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#19 0x08576c9e in ?? ()
#20 0x085770ed in SciLink ()
#21 0x08577269 in iscilink_ ()
#22 0x081444ff in scilink_ ()
#23 0x08144bc9 in matsys_ ()
#24 0x08098408 in callinterf_ ()
#25 0x080c09ad in scirun_ ()
#26 0x08585312 in realmain_ ()
#27 0x086d6ecb in main ()
#28 0xb7159b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08093ee1 in _start ()
(gdb)
In the gdb terminal type backtrace and show me that output. You are running ubuntu right? Someone else got this running on maverick so it is odd that you are having problems.
Comments
How do you use JSBSim , Con give any example?
Akshay
After updating my ubuntu to 10.04 LTS - the Lucid Lynx, and I am sad to say that it does not work too.
I got this output :
ScicosLab-4.4b7
On the road again
Copyright (c) 1989-2010
(INRIA, ENPC)
Released by Metalau Project-team and ENPC.
Scilab team and Scilab Consortium do not support this version.
(Sat Feb 20 20:43:30 CET 2010)
-------------------------------------------
Startup execution:
loading initial environment
-->mode(-1);
Program received signal SIGSEGV, Segmentation fault.
0x037c4057 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
(gdb) backtrace
#0 0x037c4057 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
#1 0x03794bc5 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int) () from /usr/lib/libstdc++.so.6
#2 0x01b6a018 in osg::notify(osg::NotifySeverity) ()
from /usr/lib/libosg.so.56
#3 0x01ba233b in osg::StateAttribute::addParent(osg::StateSet*) ()
from /usr/lib/libosg.so.56
#4 0x01badbc7 in osg::StateSet::setAttribute(std::map<std::pair<osg::StateAttribute::Type, unsigned int>, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int>, std::less<std::pair<osg::StateAttribute::Type, unsigned int> >, std::allocator<std::pair<std::pair<osg::StateAttribute::Type, unsigned int> const, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int> > > >&, osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56
#5 0x01baf8aa in osg::StateSet::setAttributeAndModes(osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56
#6 0x018d5409 in osgUtil::RenderBin::RenderBin(osgUtil::RenderBin::SortMode)
() from /usr/lib/libosgUtil.so.56
#7 0x018d5583 in ?? () from /usr/lib/libosgUtil.so.56
#8 0x0192ec3d in ?? () from /usr/lib/libosgUtil.so.56
#9 0x0184de78 in _init () from /usr/lib/libosgUtil.so.56
#10 0x0011dbbc in ?? () from /lib/ld-linux.so.2
#11 0x0011dcd9 in ?? () from /lib/ld-linux.so.2
---Type <return> to continue, or q <return> to quit---
#12 0x00121d99 in ?? () from /lib/ld-linux.so.2
#13 0x0011d7e6 in ?? () from /lib/ld-linux.so.2
#14 0x001215e6 in ?? () from /lib/ld-linux.so.2
#15 0x0012ec0b in ?? () from /lib/tls/i686/cmov/libdl.so.2
#16 0x0011d7e6 in ?? () from /lib/ld-linux.so.2
#17 0x0012f09c in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0x0012eb41 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#19 0x0857712e in ?? ()
#20 0x0857757d in SciLink ()
#21 0x085776f9 in iscilink_ ()
#22 0x08144b0f in scilink_ ()
#23 0x081451d9 in matsys_ ()
#24 0x08098458 in callinterf_ ()
#25 0x080c0c7d in scirun_ ()
#26 0x08585812 in realmain_ ()
#27 0x086d749b in main ()
#28 0x00e94bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08093f11 in _start ()
Program received signal SIGSEGV, Segmentation fault.
0xb1bab007 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
(gdb) backtrace
#0 0xb1bab007 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6
#1 0xb1b80795 in std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int) () from /usr/lib/libstdc++.so.6
#2 0xb3534258 in osg::notify(osg::NotifySeverity) ()
from /usr/lib/libosg.so.56
#3 0xb356c23b in osg::StateAttribute::addParent(osg::StateSet*) ()
from /usr/lib/libosg.so.56
#4 0xb357765f in osg::StateSet::setAttribute(std::map, std::pair, unsigned int>, std::less >, std::allocator const, std::pair, unsigned int> > > >&, osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56 #5 0xb357a91a in osg::StateSet::setAttributeAndModes(osg::StateAttribute*, unsigned int) () from /usr/lib/libosg.so.56
#6 0xb3799959 in osgUtil::RenderBin::RenderBin(osgUtil::RenderBin::SortMode)
() from /usr/lib/libosgUtil.so.56
#7 0xb3799ad3 in ?? () from /usr/lib/libosgUtil.so.56
#8 0xb37f16bd in ?? () from /usr/lib/libosgUtil.so.56
#9 0xb3713554 in _init () from /usr/lib/libosgUtil.so.56
#10 0xb7ff08bc in ?? () from /lib/ld-linux.so.2
#11 0xb7ff0a21 in ?? () from /lib/ld-linux.so.2
---Type to continue, or q to quit---
#12 0xb7ff4a49 in ?? () from /lib/ld-linux.so.2
#13 0xb7ff04e6 in ?? () from /lib/ld-linux.so.2
#14 0xb7ff4200 in ?? () from /lib/ld-linux.so.2
#15 0xb7fc5c0b in ?? () from /lib/tls/i686/cmov/libdl.so.2
#16 0xb7ff04e6 in ?? () from /lib/ld-linux.so.2
#17 0xb7fc609c in ?? () from /lib/tls/i686/cmov/libdl.so.2
#18 0xb7fc5b41 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#19 0x08576c9e in ?? ()
#20 0x085770ed in SciLink ()
#21 0x08577269 in iscilink_ ()
#22 0x081444ff in scilink_ ()
#23 0x08144bc9 in matsys_ ()
#24 0x08098408 in callinterf_ ()
#25 0x080c09ad in scirun_ ()
#26 0x08585312 in realmain_ ()
#27 0x086d6ecb in main ()
#28 0xb7159b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#29 0x08093ee1 in _start ()
(gdb)
Program received signal SIGSEGV, Segmentation fault.
0xb1bab007 in std::uncaught_exception() () from /usr/lib/libstdc++.so.6