ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

mac rosrun rviz rviz => exit and Segmentation fault: 11 [closed]

asked 2017-05-23 10:53:58 -0500

westeast gravatar image

this is the run error information :

rosrun rviz rviz
[ INFO] [1495554305.192083000]: rviz version 1.12.4
[ INFO] [1495554305.192143000]: compiled against Qt version 5.8.0
[ INFO] [1495554305.192152000]: compiled against OGRE version 1.7.4 (Cthugha)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault: 11

the following is the more detail info on mac . so my question is how should I analysis the following information and find the real reason that the rviz exit.

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0:
--> 
    __TEXT                 0000000101bda000-0000000101bea000 [   64K] r-x/rwx SM=COW  /Users/USER/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libOgreMain.1.7.4.dylib         0x00000001025fa3f3 Ogre::RenderSystem::attachRenderTarget(Ogre::RenderTarget&) + 23
1   libRenderSystem_GL.dylib        0x000000010db93006 Ogre::GLRenderSystem::_createRenderWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int, bool, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::STLAllocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) + 878
2   libOgreMain.1.7.4.dylib         0x0000000102626624 Ogre::Root::createRenderWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int, bool, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::STLAllocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) + 38
3   librviz.dylib                   0x0000000101d763a9 rviz::RenderSystem::tryMakeRenderWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::STLAllocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*, int) + 313
4   librviz.dylib                   0x0000000101d74307 rviz::RenderSystem::makeRenderWindow(long, unsigned int, unsigned int) + 1895
5   librviz.dylib                   0x0000000101d73718 rviz::RenderSystem::RenderSystem() + 424
6   librviz.dylib                   0x0000000101d72fd8 rviz::RenderSystem ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2018-08-08 01:34:31.670249

Comments

westeast gravatar image westeast  ( 2017-05-23 11:02:04 -0500 )edit
westeast gravatar image westeast  ( 2017-05-23 11:39:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-23 12:44:25 -0500

westeast gravatar image

updated 2017-05-23 12:45:59 -0500

Does not my mac graphic card support OpenGL?

Because At last lines are "Starting Mac OS X OpenGL Subsystem"

[#38#zong@01:37:05 ~/git/enmodel]$ rosrun rviz rviz  -l
[ INFO] [1495561034.888849000]: rviz version 1.12.4
[ INFO] [1495561034.888904000]: compiled against Qt version 5.8.0
[ INFO] [1495561034.888911000]: compiled against OGRE version 1.7.4 (Cthugha)
[ INFO] [1495561036.083851000]: Creating resource group General
[ INFO] [1495561036.083907000]: Creating resource group Internal
[ INFO] [1495561036.083923000]: Creating resource group Autodetect
[ INFO] [1495561036.083994000]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[ INFO] [1495561036.084218000]: Registering ResourceManager for type Material
[ INFO] [1495561036.084250000]: Registering ResourceManager for type Mesh
[ INFO] [1495561036.084267000]: Registering ResourceManager for type Skeleton
[ INFO] [1495561036.084303000]: MovableObjectFactory for type 'ParticleSystem' registered.
[ INFO] [1495561036.084350000]: OverlayElementFactory for type Panel registered.
[ INFO] [1495561036.084366000]: OverlayElementFactory for type BorderPanel registered.
[ INFO] [1495561036.084379000]: OverlayElementFactory for type TextArea registered.
[ INFO] [1495561036.084398000]: Registering ResourceManager for type Font
[ INFO] [1495561036.084418000]: ArchiveFactory for archive type FileSystem registered.
[ INFO] [1495561036.084439000]: ArchiveFactory for archive type Zip registered.
[ INFO] [1495561036.084450000]: DDS codec registering
[ INFO] [1495561036.084478000]: FreeImage version: 3.17.0
[ INFO] [1495561036.084492000]: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[ INFO] [1495561036.084661000]: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
[ INFO] [1495561036.084691000]: Registering ResourceManager for type HighLevelGpuProgram
[ INFO] [1495561036.084781000]: Registering ResourceManager for type Compositor
[ INFO] [1495561036.084949000]: MovableObjectFactory for type 'Entity' registered.
[ INFO] [1495561036.084968000]: MovableObjectFactory for type 'Light' registered.
[ INFO] [1495561036.084978000]: MovableObjectFactory for type 'BillboardSet' registered.
[ INFO] [1495561036.084988000]: MovableObjectFactory for type 'ManualObject' registered.
[ INFO] [1495561036.085012000]: MovableObjectFactory for type 'BillboardChain' registered.
[ INFO] [1495561036.085035000]: MovableObjectFactory for type 'RibbonTrail' registered.
[ INFO] [1495561036.085190000]: *-*-* OGRE Initialising
[ INFO] [1495561036.085215000]: *-*-* Version 1.7.4 (Cthugha)
[ INFO] [1495561036.085239000]: Loading library /usr/local/Cellar/ogre/1.7.4_2/lib/libRenderSystem_GL
[ INFO] [1495561036.089648000]: Installing plugin: GL RenderSystem
[ INFO] [1495561036.089741000]: OpenGL Rendering Subsystem created.
[ INFO] [1495561036.089925000]: Plugin successfully installed
[ INFO] [1495561036.089951000]: Loading library /usr/local/Cellar/ogre/1.7.4_2/lib/libPlugin_OctreeSceneManager
[ INFO] [1495561036.094892000]: Installing plugin: Octree & Terrain Scene Manager
[ INFO] [1495561036.094949000]: Plugin successfully installed
[ INFO] [1495561036.094974000]: Loading library /usr/local/Cellar/ogre/1.7.4_2/lib/libPlugin_ParticleFX
[ INFO] [1495561036.099312000]: Installing plugin: ParticleFX
[ INFO] [1495561036.099347000]: Particle Emitter Type 'Point' registered
[ INFO] [1495561036.099365000]: Particle Emitter Type 'Box' registered
[ INFO] [1495561036.099392000]: Particle Emitter Type 'Ellipsoid' registered
[ INFO] [1495561036.099442000]: Particle Emitter Type 'Cylinder' registered ...
(more)
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-23 10:53:58 -0500

Seen: 626 times

Last updated: May 23 '17