Segmentation fault.
After compiling the latest version of vdrift I decided to test in on an NVIDIA Optimus machine. It segfaulted:
DRI_PRIME=1 gdb ./build/vdrift
GNU gdb (GDB) 7.6
Copyright © 2013 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 "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/antonio/Projects/vdrift/build/vdrift...done.
(gdb) run
Starting program: /home/antonio/Projects/vdrift/build/vdrift
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Revision: Unversioned directory, O/S: Unix
INFO: Home directory: /home/antonio
INFO: Settings file: /home/antonio/.vdrift/VDrift.config (does not exist, will be created)
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
ERROR: Failed to load /home/antonio/.vdrift/VDrift.config
INFO: The last VDrift startup was unsuccessful.
Settings have been set to failsafe defaults.
Your original VDrift.config file was backed up to VDrift.config.backup
[New Thread 0x7fffea578700 (LWP 1948)]
[Thread 0x7fffea578700 (LWP 1948) exited]
INFO: Disabling antialiasing
ATTENTION: default value of option force_s3tc_enable overridden by environment.
INFO: Display change was successful: 800x600x32 16z fullscreen=0
INFO: Video card information:
GL Vendor: Intel Open Source Technology Center
GL Renderer: Mesa DRI Intel® Ivybridge Mobile
GL Version: 3.0 Mesa 9.1.2
Texture units: 8 full, 16 partial
Maximum texture size: 8192
Maximum varying floats: 64
INFO: You don't have an NVIDIA or ATI/AMD card. This game may not run correctly or at all.
INFO: Using GLEW 1.9.0
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 8
INFO: Disabling shaders
INFO: Maximum anisotropy: 16
Program received signal SIGSEGV, Segmentation fault.
0x00007fffede435a3 in ?? () from /usr/lib/libdricore9.1.2.so.1
(gdb) bt
#0 0x00007fffede435a3 in ?? () from /usr/lib/libdricore9.1.2.so.1
#1 0x00007fffedd5405a in _ae_ArrayElement () from /usr/lib/libdricore9.1.2.so.1
#2 0x00007fffede37632 in ?? () from /usr/lib/libdricore9.1.2.so.1
#3 0x0000000000587a40 in MODEL::GenerateListID (this=0xa020d0, error_output=...) at src/graphics/model.cpp:185
#4 0x000000000058733b in MODEL::Load (this=0xa020d0, varray=..., error_output=..., genlist=true) at src/graphics/model.cpp:85
#5 0x000000000048571f in Factory<MODEL>::init (this=0x7fffffff3508, use_vbo=false) at src/content/modelfactory.cpp:40
#6 0x000000000049f44c in GAME::InitCoreSubsystems (this=0x7fffffff2f50) at src/game.cpp:418
Python Exception <type 'exceptions.IndexError'> list index out of range:
#7 0x000000000049d3df in GAME::Start (this=0x7fffffff2f50, args=std::list) at src/game.cpp:170
#8 0x000000000062d142 in main (argc=1, argv=0x7fffffffe128) at src/main.cpp:84
I don't know if this is vdrift or libdri bug.
Thanks for your help.
|