Closed vpelcak closed 3 years ago
Any more details?
What would help? I tried running it in gdb:
FATAL ERROR
[error] Expression : item_name [error] Function : InitInternal [error] File : /home/vita/!files/programy/xray-16/src/xrGame/../xrServerEntities/xml_str_id_loader.h [error] Line : 157 [error] Description : id for item don't set, number 104 in dialogs_jupiter
stack trace:
/usr/lib64/xrCore.so(_ZN7xrDebug10GatherInfoEPcmRK13ErrorLocationPKcS5_S5S5+0x1cf) [0x7ffff7a0c17f] /usr/lib64/xrCore.so(_ZN7xrDebug4FailERbRK13ErrorLocationPKcS5_S5S5+0x91) [0x7ffff7a0c331] /usr/lib64/xrGame.so(+0x110903a) [0x7fffa1ac703a] /usr/lib64/xrGame.so(+0x1108225) [0x7fffa1ac6225] /usr/lib64/xrCore.so(_ZN4Task7executeEv+0x5b) [0x7ffff7a37dab] /usr/lib64/libtbb.so.2(+0x1fba9) [0x7ffff7413ba9] /usr/lib64/libtbb.so.2(+0x1a036) [0x7ffff740e036] /usr/lib64/libtbb.so.2(+0x18aa4) [0x7ffff740caa4] /usr/lib64/libtbb.so.2(+0x14e70) [0x7ffff7408e70] /usr/lib64/libtbb.so.2(+0x150c9) [0x7ffff74090c9] /lib64/libpthread.so.0(+0x8458) [0x7ffff79a9458] /lib64/libc.so.6(clone+0x3f) [0x7ffff6ba380f]
Thread 39 "xr_3da" received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 0x7fff80bf7700 (LWP 17397)] xrDebug::Fail (ignoreAlways=@0x7fffa27f8a8d: false, loc=..., expr=expr@entry=0x7fffa1ff2886 "item_name", desc=desc@entry=0x7fff80bf4b40 "id for item don't set, number 104 in dialogs_jupiter", arg1=arg1@entry=0x0, arg2=arg2@entry=0x0) at /home/vita/!files/programy/xray-16/src/xrCore/xrDebug.cpp:536 536 if (OnDialog) (gdb) bt full
arg2=arg2@entry=0x0) at /home/vita/!files/programy/xray-16/src/xrCore/xrDebug.cpp:536
lock = {<Noncopyable> = {<No data fields>}, impl = 0x7fff4c0c7830, lockCounter = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = 1}, static is_always_lock_free = true}}
assertionInfo = "\nFATAL ERROR\n\n[error] Expression : item_name\n[error] Function : InitInternal\n[error] File : /home/vita/!files/programy/xray-16/src/xrGame/../xrServerEntities/xml_str_id_loader.h\n[erro"...
size = 4096
resetFullscreen = false
result = AssertionResult::abort
ignoreAlways = false
item_name = 0x0
buf = "id for item don't set, number 104 in dialogs_jupiter\000\177\000\000pR\000L\377\177\000\000\000L\277\200\377\177\000\000\334\067\237\367\377\177\000\000\000L\277\200\377\177\000\000\000ާ\346\365\006\213*\000L\277\200\377\177\000\000\360K\277\200\377\177\000\000Ш\233\240\377\177\000\000\370٦\367\377\177\000\000\000L\277\200\377\177\000\000\377\377\377\377\377\377\377\377ȒA\367\377\177\000\000.\215\237\367\377\177\000\000`L\277\200\377\177\000\000؍S\304\377\177\000\000\000\000\000\000\000\000\000\000\200d\000L\377\177\000\000\002\000\000\000\000\001\000\002", '\000' <repeats 18 times>...
t_it = <optimized out>
data = {id = {p_ = 0x7fffa2001b98}, index = 157, pos_in_file = 103, _xml = 0x7fffa2077ad8 <CXML_IdToIndex<CPhraseDialog>::InitInternal()::__FUNCTION__>}
i = 104
uiXml = 0x7fff4c0c8b90
xml_file_full = "dialogs_jupiter.xml"
items_num = <optimized out>
it = 2
__FUNCTION__ = "InitInternal"
xml_file = "dialogs_jupiter", '\000' <repeats 17 times>, "wpn\\wpn_usp_bump\000thm\000re\\GSC\\SCOP\\gamedata\\textures\\wpn\\wpn_usp_bump.thm\000hm\000thm\000t.thm\000\000hm\000hm", '\000' <repeats 6797 times>...
count = <optimized out>
index = 281
No locals.
No locals.
No locals.
No locals.
No locals.
at /var/tmp/portage/dev-cpp/tbb-2017.20161128/work/tbb2017_20161128oss/src/tbb/scheduler.cpp:980
p = <optimized out>
t_next = 0x0
t = 0x7fffa01a7ec0
quit_point = <optimized out>
old_ref_top_priority = <optimized out>
old_ref_reload_epoch = <optimized out>
old_innermost_running_task = <optimized out>
old_properties = <optimized out>
cpu_ctl_helper = {guard_cpu_ctl_env = {mxcsr = 40896, x87cw = 127, static MXCSR_CONTROL_MASK = -64}, curr_cpu_ctl_env = {mxcsr = 40896, x87cw = 127, static MXCSR_CONTROL_MASK = -64}}
parent_ctx = <optimized out>
t = <optimized out>
index = 6
i = <optimized out>
s = @0x7fff82587e00: {<tbb::internal::scheduler> = {<tbb::internal::no_copy> = {<tbb::internal::no_assign> = {<No data fields>}, <No data fields>},
_vptr.scheduler = 0x7ffff7422a70 <vtable for tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>+16>}, <rml::job> = {scratch_ptr = 0x0}, <tbb::internal::intrusive_list_node> = {my_prev_node = 0x0,
my_next_node = 0x0}, <tbb::internal::scheduler_state> = {my_arena_index = 6, my_arena_slot = 0x7fffa01ab000, my_arena = 0x7fffa01aa880, my_innermost_running_task = 0x7fffa01a7ec0, my_inbox = {my_putter = 0x7fffa01aa500},
my_affinity_id = 7, my_properties = {static worker = false, static master = true, type = false, outermost = true}, my_last_global_observer = 0x0, my_last_local_observer = 0x0, my_ref_top_priority = 0x7fff825efd30,
my_ref_reload_epoch = 0x7fff825efd40}, static quick_task_size = 192, my_stealing_threshold = 140735351322244, static null_arena_index = 18446744073709551615, my_market = 0x7fff825efd00, my_random = {x = 1349478671,
c = 1640894987, static a = 2654435761}, my_free_list = 0x7fff8258be40, my_dummy_task = 0x7fff8258bf40, my_ref_count = 1, my_auto_initialized = false, static min_task_pool_size = 64, my_small_task_count = 12,
my_return_list = 0x7fff8258b640, _padding1 = '\000' <repeats 111 times>, my_context_list_head = {my_prev = 0x7fff82587f28, my_next = 0x7fff82587f28},
my_context_list_mutex = {<tbb::internal::mutex_copy_deprecated_and_disabled> = {<tbb::internal::no_copy> = {<tbb::internal::no_assign> = {<No data fields>}, <No data fields>}, <No data fields>}, flag = 0 '\000',
static is_rw_mutex = false, static is_recursive_mutex = false, static is_fair_mutex = false}, my_context_state_propagation_epoch = 0,
--Type
j = @0x7fff82587e08: {scratch_ptr = 0x0}
self = <optimized out>
No symbol table info available.
No symbol table info available.
Hmm. When compiled with debug symbols and ran, it worked.
Did you update your gamedata with our gamedata from the repository?
gamedata in ~/.local/share/GSC/SCOP is a symlink to /usr/share/openxray/gamedata/
I followed: https://github.com/OpenXRay/xray-16/wiki/%5BEN%5D-How-to-build-and-setup-on-Linux
This seems to be a bug related to parallel loading of resources. Try to run a couple more times, I started on the second attempt normally
Indeed. It seems to be the case. Thank you. It works now.
No, problem is not elliminated, reopened
Am also recieving a lot of fatal errors.
System: Manjaro Linux 64bit Linux 5.4.31 ThinkPad W520 32 GB RAM Intel® Core™ i7-2860QM CPU @ 2.50GHz × 8 Mesa DRI Intel® HD Graphics 3000 (SNB GT2) // GF106GLM nVidia Quadro 2000M Video-Linux driver (Free & OpenSource, not the official one)
FATAL ERROR
[error] Expression : item_name [error] Function : InitInternal [error] File : /home/vita/!files/programy/xray-16/src/xrGame/../xrServerEntities/xml_str_id_loader.h [error] Line : 157 [error] Description : id for item don't set, number 104 in dialogs_jupiter
This crash was fixed in b1fc859f0dfe1b21e8e824f5a88595ecd9d4373f.
@Translator5, can you test the game again? I can't say if your log is related to this issue or it's another crash, so I will close this issue, and if you still have this crash, let's just open another issue.
Describe the bug A clear and concise description of what the bug is. [\home\vita.local\share\GSC\SCOP\user.ltx] successfully loaded. SOUND: OpenAL: enumerate devices... SOUND: OpenAL: EnumerationExtension Present devices OpenAL Soft SOUND: OpenAL: system default SndDevice name is OpenAL Soft SOUND: OpenAL: All available devices:
FATAL ERROR
[error] Expression : item_name [error] Function : InitInternal [error] File : /home/vita/!files/programy/xray-16/src/xrGame/../xrServerEntities/xml_str_id_loader.h [error] Line : 157 [error] Description : id for item don't set, number 118 in npc_profile
stack trace:
/usr/lib64/xrCore.so(_ZN7xrDebug10GatherInfoEPcmRK13ErrorLocationPKcS5_S5S5+0x1cf) [0x7efbff0c639f] /usr/lib64/xrCore.so(_ZN7xrDebug4FailERbRK13ErrorLocationPKcS5_S5S5+0x91) [0x7efbff0c6541] /usr/lib64/xrGame.so(+0x122c5ca) [0x7efbcb1fe5ca] /usr/lib64/xrGame.so(+0x122ae54) [0x7efbcb1fce54] /usr/lib64/xrCore.so(_ZN4Task7executeEv+0x50) [0x7efbff0f62f0] /usr/lib64/libtbb.so.2(+0x1fba9) [0x7efbfeacaba9] /usr/lib64/libtbb.so.2(+0x1a036) [0x7efbfeac5036] /usr/lib64/libtbb.so.2(+0x18aa4) [0x7efbfeac3aa4] /usr/lib64/libtbb.so.2(+0x14e70) [0x7efbfeabfe70] /usr/lib64/libtbb.so.2(+0x150c9) [0x7efbfeac00c9] /lib64/libpthread.so.0(+0x8458) [0x7efbff060458] /lib64/libc.so.6(clone+0x3f) [0x7efbfe24480f] Trasovací/ladící past (SIGTRAP)