From: Luis M. <lui...@gm...> - 2005-03-21 10:28:19
|
Cvs version of gazebo it still crashing. It must be a ErrorPrint bug since in main.cc file of the cvs version we call PRINT_MSG1 instead of fprintf, as did in the past. Here goes the backtrace: bash-2.05b$ gdb gazebo/server/gazebo GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run /home/chiec/pelotofilo/zescena.world Starting program: /home/chiec/gazebo/server/gazebo /home/chiec/pelotofilo/zescena.world [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 15795)] *** Gazebo 0.5.1 *** Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 15795)] 0x0000002a96ee8e00 in strlen () from /lib/libc.so.6 (gdb) bt #0 0x0000002a96ee8e00 in strlen () from /lib/libc.so.6 #1 0x0000002a96ebed18 in vfprintf () from /lib/libc.so.6 #2 0x000000000042f0bb in ErrorPrint(int, int, char const*, int, char const*, ...) (msgType=2, level=0, file=0x501db7 "main.cc", line=255, fmt=0x501da4 "*** Gazebo %s ***\n") at Error.cc:80 #3 0x0000000000428ab5 in PreInit(int*, char**) (argc=0x7fbffff43c, argv=0x7fbffff4a8) at main.cc:255 #4 0x00000000004290d9 in main (argc=2, argv=0x7fbffff4a8) at main.cc:407 (gdb) q The program is running. Exit anyway? (y or n) y bash-2.05b$ ls -l gazebo/server/main.cc -rw-r--r-- 1 chiec users 10198 Mar 20 19:14 gazebo/server/main.cc bash-2.05b$ |