Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug: Cannot play replays....
05-31-2011, 05:15 PM
Post: #1
Bug: Cannot play replays....
Code:
gdb  --args vdrift -multithreaded
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <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 "i686-linux-gnu".
Para las instrucciones de informe de errores, vea:
<http://www.gnu.org/software/gdb/bugs/>...
Leyendo símbolos desde /usr/local/bin/vdrift...hecho.
(gdb) run
Starting program: /usr/local/bin/vdrift -multithreaded
[Depuración de hilo usando libthread_db enabled]
INFO: Multithreading enabled: 2 processors
INFO: Starting VDrift: development-full, Version: 3131, O/S: Unix-like
INFO: Home directory: /home/antonio
INFO: Settings file: /home/antonio/.vdrift/VDrift.config
INFO: Data directory: /usr/local/share/games/vdrift/data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Temporary directory: /home/antonio/.vdrift/tmp
INFO: Log file: /home/antonio/.vdrift/log.txt
[Nuevo Thread 0x2e75b70 (LWP 4590)]
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
[Thread 0x2e75b70 (LWP 4590) terminado]
INFO: Display change was successful: 1152x720x32 24z fullscreen=0
INFO: GL Renderer: GeForce 9600 GT/PCI/SSE2/3DNOW!
INFO: GL Vendor: NVIDIA Corporation
INFO: GL Version: 3.3.0 NVIDIA 270.41.06
INFO: Initialized GLEW 1.6.0
INFO: Loading /usr/local/share/games/vdrift/data/shaders/gl3/vdrift1.rhr...
INFO: Loaded /usr/local/share/games/vdrift/data/shaders/gl3/vdrift1.rhr
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/antonio/.vdrift/controls.config
[Nuevo Thread 0x2e75b70 (LWP 4591)]
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Loading replay file /home/antonio/.vdrift/replays/1.vdr
INFO: Loading track from path: /usr/local/share/games/vdrift/data/tracks/sepang
INFO: Loaded surfaces file, 5 surfaces.
INFO: Track timing sectors: 2
ERROR: .wheel.wheel.fl.wheel.fl.tire.&tire/touring.a0 not found.

Program received signal SIGSEGV, Segmentation fault.
0x08058f33 in ToMathVector<float> (v=...) at include/tobullet.h:33
33    include/tobullet.h: No existe el fichero o el directorio.
    in include/tobullet.h
Find all posts by this user
Quote this message in a reply
06-01-2011, 05:04 PM
Post: #2
 
Will look into it thanks.
Find all posts by this user
Quote this message in a reply
06-02-2011, 10:56 AM
Post: #3
 
Replay is back in r3133.
Find all posts by this user
Quote this message in a reply
06-02-2011, 11:58 AM
Post: #4
 
Code:
gdb vdrift
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <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 "i686-linux-gnu".
Para las instrucciones de informe de errores, vea:
<http://www.gnu.org/software/gdb/bugs/>...
Leyendo símbolos desde /usr/local/bin/vdrift...hecho.
(gdb) run -verbose
Starting program: /usr/local/bin/vdrift -verbose
[Depuración de hilo usando libthread_db enabled]
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: 3133, O/S: Unix-like
INFO: Home directory: /home/antonio
INFO: Settings file: /home/antonio/.vdrift/VDrift.config
INFO: Data directory: data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Temporary directory: /home/antonio/.vdrift/tmp
INFO: Log file: /home/antonio/.vdrift/log.txt
[Nuevo Thread 0x2e75b70 (LWP 2101)]
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
[Thread 0x2e75b70 (LWP 2101) terminado]
INFO: Display change was successful: 1152x720x32 24z fullscreen=0
INFO: GL Renderer: GeForce 9600 GT/PCI/SSE2/3DNOW!
INFO: GL Vendor: NVIDIA Corporation
INFO: GL Version: 3.3.0 NVIDIA 270.41.06
INFO: Initialized GLEW 1.6.0
INFO: Loading data/shaders/gl3/vdrift1.rhr...
INFO: Loaded data/shaders/gl3/vdrift1.rhr
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/antonio/.vdrift/controls.config
[Nuevo Thread 0x2e75b70 (LWP 2102)]
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Loading replay file /home/antonio/.vdrift/replays/1.vdr
INFO: Loading track from path: data/tracks/nuerburgring_nordschleife
INFO: Loaded surfaces file, 6 surfaces.
INFO: Track timing sectors: 2
ERROR: .wheel.fl.tire.tire/competition.a0 not found.

Program received signal SIGSEGV, Segmentation fault.
0x08058fa7 in ToMathVector<float> (v=...) at include/tobullet.h:33
33        return MATHVECTOR <T, 3> (v.x(), v.y(), v.z());
(gdb) bt
#0  0x08058fa7 in ToMathVector<float> (v=...) at include/tobullet.h:33
#1  0x0805809a in CAR::GetCenterOfMassPosition (this=0xbf9e918) at include/car.h:228
#2  0x080ef610 in GAME::UpdateTrackMap (this=0xbfff9bb0) at src/game.cpp:977
#3  0x080ee7a2 in GAME::AdvanceGameLogic (this=0xbfff9bb0) at src/game.cpp:807
#4  0x080ee01b in GAME::Tick (this=0xbfff9bb0, deltat=0.00700000022) at src/game.cpp:702
#5  0x080edeb5 in GAME::MainLoop (this=0xbfff9bb0) at src/game.cpp:667
#6  0x080e9b4d in GAME::Start (this=0xbfff9bb0, args=...) at src/game.cpp:224
#7  0x081d8f4f in main (argc=2, argv=0xbffff454) at src/main.cpp:72
(gdb)

This happens with 3133. Thanks
Find all posts by this user
Quote this message in a reply
06-02-2011, 01:09 PM
Post: #5
 
Got it, try 3135.
Find all posts by this user
Quote this message in a reply
06-02-2011, 03:15 PM
Post: #6
 
BINGO! Fixed. Thread closed. Perfect!
Find all posts by this user
Quote this message in a reply
06-02-2011, 03:20 PM
Post: #7
 
Sorry but can you put a simple button for deleting a replay? Tongue
Find all posts by this user
Quote this message in a reply
06-02-2011, 03:46 PM
Post: #8
 
Sorry again but this replay has something that triggers a bug:

In order to view links, you must have to reply to this thread.

Replay it untill the end and then the car is floating and rotating in the air after been fliying for a while quit and try to replay again. I wasn't able to debug it cause it freezed my desktop capturing my mouse and stopping execution so I wasn't able to even use ALT+TAB for switching windows. Thanks
Find all posts by this user
Quote this message in a reply
06-02-2011, 05:21 PM
Post: #9
 
Quote:that triggers a bug
Rerun the replay about 3 times, no crashes. The car penetrating/falling through the track is a physics engine issue that I'll try to workaround. What is the bug? Does it segfault?
Find all posts by this user
Quote this message in a reply
06-02-2011, 05:42 PM
Post: #10
 
It segfaulted in bullet engine. But as I said I couldn't get a backtrace because I couldn't switch the window. In the replay the F1 will crash once and will keep fliying but the sound will be like if it was accelerating. Let the car crash with the ground and reduce rmps to the minimum. At that point the car should be floating in the air while rotating very fast. Let it rotate for 3 or 4 secs and leave the replay. Try to replay it again. Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)