Re: Segmentation fault while running torcs
Bernhard Wymann <[email protected]> Sat, 26 Oct 2013 11:42:20 +0200
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Shashidhar
For me it looks like your TORCS has been compiled/linked to the NVidia
OpenGL library, but during runtime it seems to pick up some mesa parts
(free OpenGL implementation), so I guess your system/account is somehow
not clean set up, e.g. check if you have $LD_LIBRARY_PATH set cumbersome.
Maybe you have compiled/installed TORCS as root, which might not have
the same environment configuration, or you have a mixed set of OpenGL
header files/libraries or something, this is hard to tell.
Just for a fresh start I recommend to start from scratch, and to try an
installation in the users home directory (then the environment on
compilation and runtime matches):
- unpack the sources somewhere in your users home directory
- ./configure --prefix=/home/shashi/torcs_bin
- make >& make.log
- make install
- make datainstall
- ~/torcs_bin/bin/torcs
With torcs -l you can review the shared libraries which are picked up by
torcs. If you need further help yopu could post the output of
"config.log", "torcs -l" and maybe the whole compilation output ("make
>& make.log").
Best regards
Bernhard
On 10/25/2013 12:47 PM, Shashidhar Kounduri wrote:
> Hi,
> I have downloaded torcs related packages from Liniux section, was able
> to compile
> successfully, but when i run torcs i get the following segmentation
> fault. could you please
> help in rectifying this
>
>
> root@shashi-VirtualBox:~# torcs
> /home/shashi/.torcs created, copying/linking game data
> Visual Properties Report
> ------------------------
> Compatibility mode, properties unknown.
> OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
> OpenGL Warning: glVertexArrayRangeNV not found in mesa table
> OpenGL Warning: glCombinerInputNV not found in mesa table
> OpenGL Warning: glCombinerOutputNV not found in mesa table
> OpenGL Warning: glCombinerParameterfNV not found in mesa table
> OpenGL Warning: glCombinerParameterfvNV not found in mesa table
> OpenGL Warning: glCombinerParameteriNV not found in mesa table
> OpenGL Warning: glCombinerParameterivNV not found in mesa table
> OpenGL Warning: glFinalCombinerInputNV not found in mesa table
> OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
> OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
> OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
> OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
> OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
> OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
> OpenGL Warning: glDeleteFencesNV not found in mesa table
> OpenGL Warning: glFinishFenceNV not found in mesa table
> OpenGL Warning: glGenFencesNV not found in mesa table
> OpenGL Warning: glGetFenceivNV not found in mesa table
> OpenGL Warning: glIsFenceNV not found in mesa table
> OpenGL Warning: glSetFenceNV not found in mesa table
> OpenGL Warning: glTestFenceNV not found in mesa table
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x2162b90
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> /usr/local/bin/torcs: line 53: 23212 Segmentation fault
> $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk