Re: Segmentation Fault at "Configure Race"
Michael Sieben <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CAORBCVx6fqqKijqGZv85faybBdqDqC7nTipjgbAXd72UG0uo9g@mail.gmail.com> |
Hi Bernhard, i downloaded the robotgen you linked, but now i get this: ./robotgen -n "mcc1" -a "McCriddle" -c "car5-trb1" --gpl grep: data/cars/models/car5-trb1/car5-trb1.xml: Datei oder Verzeichnis nicht gefunden usage: robotgen -n <name> -a <author> -c <car> [-d description] [--gpl] linadmin@svr110:~/torcs-1.3.4$ torcs -s Visual Properties Report ------------------------ Compatibility mode, properties unknown. linadmin@svr110:~/torcs-1.3.4$ ./robotgen -n "mcc1" -a "McCriddle" -c "car5-trb1" --gpl grep: data/cars/models/car5-trb1/car5-trb1.xml: Datei oder Verzeichnis nicht gefunden usage: robotgen -n <name> -a <author> -c <car> [-d description] [--gpl] The "Configure Race" now works fine, after i deleted my generated robot from /usr/local/lib/... and /usr/local/share/.... kind regards McCriddle 2013/5/23 Bernhard Wymann <[email protected]> > Hi McCriddle > > The ultimate reason for this is probable a fixed memory leak in 1.3.4. I > the CVS you can find a fixed robotgen script: > http://torcs.cvs.sourceforge.**net/viewvc/torcs/torcs/torcs/** > robotgen?revision=1.4.2.1&**view=markup&pathrev=r1-3-1<http://torcs.cvs.sourceforge.net/viewvc/torcs/torcs/torcs/robotgen?revision=1.4.2.1&view=markup&pathrev=r1-3-1> > > And have a look at this, this is likely the cause: > http://www.berniw.org/trb/**forum/showthread.php?topicid=**3508<http://www.berniw.org/trb/forum/showthread.php?topicid=3508> > > Let us know if this helped, usually the solution of such stuff is pretty > easy, so keep going. > > Best regards > > Bernhard > > > > On 05/23/2013 01:31 PM, Michael Sieben wrote: > >> Hi, >> >> i'm trying to setup torcs for robot-dev. >> >> I'm running on Ubuntu 13.04 and used the current torcs-1.3.4 sources. >> >> Basically i followed the tutorial at >> http://www.berniw.org/**tutorials/robot/tutorial.html<http://www.berniw.org/tutorials/robot/tutorial.html> >> >> After applying a patch ( see >> http://comments.gmane.org/**gmane.games.torcs.general/1584<http://comments.gmane.org/gmane.games.torcs.general/1584>) i got the >> game running and can start race without any problems. >> >> Using the robotgen from the tutorial i generated and compiled my basic >> robot and then tried to test it. >> >> Unfortunately torcy crashes whenever i try to modify the race settings ( >> Configura race ) as soon as i hit "Accept" in the track selection. >> >> I hope someone can give me a hint where my environment is lacking. >> >> Thanks in advance >> McCriddle >> >> >> Here is the output from torcs -d : >> >> GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu >> Copyright (C) 2013 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later >> <http://gnu.org/licenses/gpl.**html <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-linux-gnu". >> For bug reporting instructions, please see: >> <http://www.gnu.org/software/**gdb/bugs/<http://www.gnu.org/software/gdb/bugs/> >> >... >> Reading symbols from /usr/local/lib/torcs/torcs-**bin...done. >> (gdb) Starting program: /usr/local/lib/torcs/torcs-bin -l >> /home/linadmin/.torcs -L /usr/local/lib/torcs -D >> /usr/local/share/games/torcs >> warning: no loadable sections found in added symbol-file system-supplied >> DSO at 0x7ffff7ffa000 >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/** >> libthread_db.so.1". >> Visual Properties Report >> ------------------------ >> Compatibility mode, properties unknown. >> [New Thread 0x7fffeee39700 (LWP 20929)] >> [New Thread 0x7fffee638700 (LWP 20930)] >> [New Thread 0x7fffeb474700 (LWP 20931)] >> [Thread 0x7fffeb474700 (LWP 20931) exited] >> [New Thread 0x7fffeb474700 (LWP 20932)] >> [New Thread 0x7fffe6c72700 (LWP 20933)] >> [Thread 0x7fffe6c72700 (LWP 20933) exited] >> [Thread 0x7fffeb474700 (LWP 20932) exited] >> [Thread 0x7fffee638700 (LWP 20930) exited] >> [Thread 0x7fffeee39700 (LWP 20929) exited] >> process 20925 is executing new program: /usr/local/lib/torcs/torcs-bin >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/** >> libthread_db.so.1". >> Visual Properties Report >> ------------------------ >> Compatibility mode, properties unknown. >> [New Thread 0x7fffeee39700 (LWP 20934)] >> [New Thread 0x7fffee638700 (LWP 20935)] >> [New Thread 0x7fffeb474700 (LWP 20936)] >> [Thread 0x7fffeb474700 (LWP 20936) exited] >> [New Thread 0x7fffeb474700 (LWP 20937)] >> [New Thread 0x7fffe6c72700 (LWP 20938)] >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x00007ffff613ac51 in ?? () from /lib/x86_64-linux-gnu/libc.so.**6 >> (gdb) #0 0x00007ffff613ac51 in ?? () from /lib/x86_64-linux-gnu/libc.so. >> **6 >> #1 0x00007ffff613a8c6 in strdup () from /lib/x86_64-linux-gnu/libc.so.** >> 6 >> #2 0x00007ffff4de3389 in RmDriversSelect (vs=vs@entry=0x7ffff73859c0 >> <ds>) at driverselect.cpp:360 >> #3 0x00007ffff717e758 in reConfigRunState () at racemanmenu.cpp:155 >> #4 0x00007ffff75b0447 in GfuiScreenActivate (screen=0x2839ea0) at >> gui.cpp:491 >> #5 0x00007ffff4de176b in rmtsDeactivate (screen=<optimized out>) at >> trackselect.cpp:80 >> #6 0x00007ffff4de1871 in rmtsSelect () at trackselect.cpp:171 >> #7 0x00007ffff75b025b in gfuiMouse (y=<optimized out>, x=<optimized >> out>, state=1, button=0) >> at gui.cpp:423 >> ---Type <return> to continue, or q <return> to quit---#8 gfuiMouse >> (button=0, state=1, x=<optimized out>, y=<optimized out>) at gui.cpp:398 >> #9 0x00007ffff6d4c7d8 in glutMainLoopEvent () from >> /usr/lib/x86_64-linux-gnu/**libglut.so.3 >> #10 0x00007ffff6d4cd81 in glutMainLoop () from >> /usr/lib/x86_64-linux-gnu/**libglut.so.3 >> #11 0x00000000004013b6 in main (argc=8, argv=0x7fffffffe068) at >> main.cpp:134 >> (gdb) quit >> A debugging session is active. >> >> Inferior 1 [process 20925] will be killed. >> >> Quit anyway? (y or n) [answered Y; input not from terminal] >> >> >> >> ------------------------------**------------------------------** >> ------------------ >> Try New Relic Now & We'll Send You this Cool Shirt >> New Relic is the only SaaS-based application performance monitoring >> service >> that delivers powerful full stack analytics. Optimize and monitor your >> browser, app, & servers with just a few lines of code. Try New Relic >> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_** >> d2d_may <http://p.sf.net/sfu/newrelic_d2d_may> >> >> >> >> ______________________________**_________________ >> Torcs-users mailing list >> [email protected].**net <[email protected]> >> https://lists.sourceforge.net/**lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >> >> > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users