In file gui/wheel.h at line ~174
Code:
void Wheel<wheel_t>::Save()
{
default_option = cur_option;
if( saved )
-> settings.Set( setting, value_list[cur_option] );
}
Problem is in "value_list[cur_option]" for -> parameter deadzone
With old option.config my trace is
Code:
[New Thread 1112157104 (LWP 7624)]
setting -joystick.type
current op -0
value_list cur_option -joystick
setting -joystick.deadzone
current op -0
value_list cur_option -off
With new option.config my trace is
Code:
[New Thread 1112021936 (LWP 7622)]
setting -joystick.type
current op -0
value_list cur_option -joystick
setting -joystick.deadzone
current op -0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087352800 (LWP 7619)]
0x402aea69 in std::operator<< <char, std::char_traits<char>, std::allocator<char> > () from /usr/lib/libstdc++.so.5
My code for trace.
Code:
if( saved )
{
cout << "setting -" << setting << "\n";
cout << "current op -" << cur_option << "\n";
cout << "value_list cur_option -" << value_list[cur_option] << "\n";
settings.Set( setting, value_list[cur_option] );
}
Seems to be something wrong initialized.
Is it not possible that the method believe that still exist parameter
deadzone (old option-27) into option.config file?
pwp71
P.S. What are the file VDrift.pot and nl.po?