Jump to content
The Dark Mod Forums

/proc/cpuinfo CPU frequency: 2000.07 MHz signal caught: Segmentation fault si_code 1


Recommended Posts

Posted (edited)

I played darkmod 3 - 4 months ago. But recently I can't get it running on my systems. I tried both the old (that I used to run 3 - 4 months ago) and the latest dark mod versions. The game doesn't start, and exits with:

┌┄┄[sourav::archlinux]┈[~/darkmod]
└──╼⮚ ./thedarkmod.x64
TDM 2.06/64 #7416 (7416M) linux-x86_64 May 25 2018 10:22:50
found interface lo - loopback
found interface wlp1s0 - 192.168.2.7/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3 CMOV
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
WARNING:Fan missions path does not exist for installed fm: _parcel
------ Initializing File System ------
Current search path:
  /home/sourav/darkmod/
  /home/sourav/darkmod/tdm_textures_wood01.pk4 (375 files)
  /home/sourav/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/sourav/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/sourav/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/sourav/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/sourav/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/sourav/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/sourav/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/sourav/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/sourav/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/sourav/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/sourav/darkmod/tdm_textures_other01.pk4 (122 files)
  /home/sourav/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/sourav/darkmod/tdm_textures_metal01.pk4 (494 files)
  /home/sourav/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/sourav/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/sourav/darkmod/tdm_textures_door01.pk4 (174 files)
  /home/sourav/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/sourav/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/sourav/darkmod/tdm_standalone.pk4 (4 files)
  /home/sourav/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/sourav/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/sourav/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/sourav/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/sourav/darkmod/tdm_sound_vocals04.pk4 (2872 files)
  /home/sourav/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/sourav/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/sourav/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/sourav/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/sourav/darkmod/tdm_sound_sfx01.pk4 (943 files)
  /home/sourav/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/sourav/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/sourav/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/sourav/darkmod/tdm_sound_ambient01.pk4 (217 files)
  /home/sourav/darkmod/tdm_prefabs01.pk4 (942 files)
  /home/sourav/darkmod/tdm_player01.pk4 (125 files)
  /home/sourav/darkmod/tdm_models_decls01.pk4 (102 files)
  /home/sourav/darkmod/tdm_models02.pk4 (1989 files)
  /home/sourav/darkmod/tdm_models01.pk4 (2701 files)
  /home/sourav/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/sourav/darkmod/tdm_gui01.pk4 (702 files)
  /home/sourav/darkmod/tdm_fonts01.pk4 (696 files)
  /home/sourav/darkmod/tdm_env01.pk4 (152 files)
  /home/sourav/darkmod/tdm_defs01.pk4 (174 files)
  /home/sourav/darkmod/tdm_base01.pk4 (186 files)
  /home/sourav/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/sourav/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/sourav/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/sourav/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/sourav/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/sourav/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/sourav/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_humanoid_heads01.pk4 (97 files)
  /home/sourav/darkmod/tdm_ai_humanoid_guards01.pk4 (377 files)
  /home/sourav/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/sourav/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/sourav/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1208: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
------------------------------
/proc/cpuinfo CPU frequency: 2000.07 MHz
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
About to exit with code 0

Currently I have a desktop and a laptop, both having the same issue.

My system details:

$ cat /proc/version
Linux version 5.2.1-arch1-1-ARCH (builduser@heftig-55221) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Sun Jul 14 14:52:52 UTC 2019
  
$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 500.004
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 3985.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 500.005
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 3985.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 500.027
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 3985.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 500.006
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 3985.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

What's the issue here?

Edited by Sourav
Posted (edited)

When i compare your startup log, with others.
I see (and think) it crashes before the language-, audio and video detection.

For starters, please update your tdm 2.06 to the most recent version 2.07 using the tdm updater and try again.
 

Some info that might help:
http://wiki.thedarkmod.com/index.php?title=FAQ
http://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Linux
http://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Installing_TDM_on_Linux_-_Installing_other_packages

a working log in the spoiler, so you can compare yourself

 

TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface eth0 - 10.0.2.15/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
no 'darkmod' directory in exe path /usr/lib/thedarkmod, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Current search path:
  /usr/lib/thedarkmod/
  /usr/lib/thedarkmod/tdm_textures_wood01.pk4 (376 files)
  /usr/lib/thedarkmod/tdm_textures_window01.pk4 (389 files)
  /usr/lib/thedarkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /usr/lib/thedarkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /usr/lib/thedarkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /usr/lib/thedarkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /usr/lib/thedarkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /usr/lib/thedarkmod/tdm_textures_sfx01.pk4 (69 files)
  /usr/lib/thedarkmod/tdm_textures_roof01.pk4 (72 files)
  /usr/lib/thedarkmod/tdm_textures_plaster01.pk4 (142 files)
  /usr/lib/thedarkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /usr/lib/thedarkmod/tdm_textures_other01.pk4 (127 files)
  /usr/lib/thedarkmod/tdm_textures_nature01.pk4 (281 files)
  /usr/lib/thedarkmod/tdm_textures_metal01.pk4 (496 files)
  /usr/lib/thedarkmod/tdm_textures_glass01.pk4 (51 files)
  /usr/lib/thedarkmod/tdm_textures_fabric01.pk4 (43 files)
  /usr/lib/thedarkmod/tdm_textures_door01.pk4 (177 files)
  /usr/lib/thedarkmod/tdm_textures_decals01.pk4 (461 files)
  /usr/lib/thedarkmod/tdm_textures_carpet01.pk4 (92 files)
  /usr/lib/thedarkmod/tdm_textures_base01.pk4 (395 files)
  /usr/lib/thedarkmod/tdm_standalone.pk4 (4 files)
  /usr/lib/thedarkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /usr/lib/thedarkmod/tdm_sound_vocals07.pk4 (1111 files)
  /usr/lib/thedarkmod/tdm_sound_vocals06.pk4 (696 files)
  /usr/lib/thedarkmod/tdm_sound_vocals05.pk4 (128 files)
  /usr/lib/thedarkmod/tdm_sound_vocals04.pk4 (2870 files)
  /usr/lib/thedarkmod/tdm_sound_vocals03.pk4 (743 files)
  /usr/lib/thedarkmod/tdm_sound_vocals02.pk4 (1299 files)
  /usr/lib/thedarkmod/tdm_sound_vocals01.pk4 (82 files)
  /usr/lib/thedarkmod/tdm_sound_sfx02.pk4 (605 files)
  /usr/lib/thedarkmod/tdm_sound_sfx01.pk4 (948 files)
  /usr/lib/thedarkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /usr/lib/thedarkmod/tdm_sound_ambient03.pk4 (24 files)
  /usr/lib/thedarkmod/tdm_sound_ambient02.pk4 (163 files)
  /usr/lib/thedarkmod/tdm_sound_ambient01.pk4 (220 files)
  /usr/lib/thedarkmod/tdm_prefabs01.pk4 (960 files)
  /usr/lib/thedarkmod/tdm_player01.pk4 (125 files)
  /usr/lib/thedarkmod/tdm_models_decls01.pk4 (103 files)
  /usr/lib/thedarkmod/tdm_models02.pk4 (2020 files)
  /usr/lib/thedarkmod/tdm_models01.pk4 (3043 files)
  /usr/lib/thedarkmod/tdm_gui_credits01.pk4 (49 files)
  /usr/lib/thedarkmod/tdm_gui01.pk4 (715 files)
  /usr/lib/thedarkmod/tdm_fonts01.pk4 (696 files)
  /usr/lib/thedarkmod/tdm_env01.pk4 (152 files)
  /usr/lib/thedarkmod/tdm_defs01.pk4 (179 files)
  /usr/lib/thedarkmod/tdm_base01.pk4 (197 files)
  /usr/lib/thedarkmod/tdm_ai_steambots01.pk4 (24 files)
  /usr/lib/thedarkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /usr/lib/thedarkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /usr/lib/thedarkmod/tdm_ai_base01.pk4 (8 files)
  /usr/lib/thedarkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_0
01' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/r
ipple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' pre
viously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' prev
iously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 2693.77 MHz
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1259 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
execing Darkmod.cfg
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1259 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: found device 'Built-in Audio Analog Stereo'
OpenAL: using 'OpenAL Soft'
OpenAL vendor: OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version: 1.1 ALSOFT 1.17.2
OpenAL: found EFX extension
OpenAL: found 256 hardware voices
----- Initializing OpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: llvmpipe (LLVM 5.0, 256 bits)
GL_EXTENSIONS: GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seaml
ess_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minm
ax GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE
_packed_pixels GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_
of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage
 GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_col
or_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conditional_rend
er_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_A
RB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_cla
mp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_dr
aw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location G
L_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragme
nt_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebu
ffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_textur
e_sub_image GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_a
rrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidat
e_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind
 GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion
_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_poin
t_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_int
erface_query GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects G
L_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_sha
der_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_sten
cil_export GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading
_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_stencil_
texturing GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object
GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_c
ompression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_textu
re_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_text
ure_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_ga
ther GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_
texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels
 GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_tex
ture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_s
torage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_quer
y GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedba
ck_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix G
L_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object
 GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program
 GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_1
0_10_10_rev GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffer
s GL_ATI_fragment_shader GL_ATI_separate_stencil GL_ATI_texture_compression_3dc
 GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL
_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_
blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_v
ertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_E
XT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuf
fer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_o
bject GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_multi_draw_a
rrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_E
XT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_pol
ygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondar
y_color GL_EXT_separate_specular_color GL_EXT_shader_integer_mix GL_EXT_shadow_
funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_text
ure GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EX
T_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compr
ession_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_en
v_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_integer
 GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_E
XT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_text
ure_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_qu
ery GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_I
BM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat G
L_INGR_blend_func_separate GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_
error GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_sign
ed_rgba GL_MESA_window_pos GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_condi
tional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_
NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_t
exture_env_combine4 GL_NV_texture_rectangle GL_OES_EGL_image GL_OES_read_format
 GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_textur
e_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
OpenGL vendor: VMware, Inc.
OpenGL renderer: llvmpipe (LLVM 5.0, 256 bits)
OpenGL version: 3.0 Mesa 18.0.2
v - using GL version 2.0 (core)
Checking portable OpenGL extensions...
Max texture coords: 8
Max texture units: 32
Max active textures: 96
v - using GL_EXT_texture_compression_s3tc (ext)
v - using GL_ARB_texture_compression_rgtc (core+ext)
X - GL_EXT_texture_filter_anisotropic not found
v - using GL_EXT_texture_lod_bias (ext)
v - using GL_EXT_stencil_wrap (ext)
v - using GL_ARB_map_buffer_range (core+ext)
v - using GL_ARB_vertex_program (ext)
v - using GL_ARB_fragment_program (ext)
X - GL_EXT_depth_bounds_test not found
v - using GL_ARB_framebuffer_object (core+ext)
X - GL_EXT_gpu_shader4 not found
X - GL_ARB_geometry_shader4 not found
v - using GL_ARB_pixel_buffer_object (ext)
v - using GL_ARB_timer_query (ext)
v - using GL_KHR_debug (ext)
v - using GL_ARB_sync (ext)
GL fence sync available
Max geometry output vertices: 1663565201
Max geometry output components: 1663565201
Max vertex attribs: 16
Max env parameters: 256
----- R_ReloadARBPrograms -----
glprogs/test.vfp 8
glprogs/test.vfp 9
glprogs/interaction.vfp 1
glprogs/interaction.vfp 2
glprogs/bumpyEnvironment.vfp 5
glprogs/bumpyEnvironment.vfp 6
glprogs/ambientLight.vfp 10
glprogs/ambientLight.vfp 11
glprogs/shadow.vp 7
glprogs/environment.vfp 3
glprogs/environment.vfp 4
glprogs/test_direct.vfp 12
glprogs/test_direct.vfp 13
glprogs/interaction_direct.vfp 14
glprogs/interaction_direct.vfp 15
glprogs/soft_particle.vfp 16
glprogs/soft_particle.vfp 17
glprogs/cubic_light_point.vfp 18
glprogs/cubic_light_point.vfp 19
glprogs/cubic_light_proj.vfp 20
glprogs/cubic_light_proj.vfp 21
glprogs/test_cubic_light_point.vfp 22
glprogs/test_cubic_light_point.vfp 23
glprogs/test_cubic_light_proj.vfp 24
glprogs/test_cubic_light_proj.vfp 25
glprogs/ambient_cubic_light.vfp 26
glprogs/ambient_cubic_light.vfp 27
glprogs/cookMath_pass1.vfp 28
glprogs/cookMath_pass1.vfp 29
glprogs/cookMath_pass2.vfp 30
glprogs/cookMath_pass2.vfp 31
glprogs/brightPass_opt.vfp 32
glprogs/brightPass_opt.vfp 33
glprogs/blurx.vfp 34
glprogs/blurx.vfp 35
glprogs/blury.vfp 36
glprogs/blury.vfp 37
glprogs/finalScenePass_opt.vfp 38
glprogs/finalScenePass_opt.vfp 39
-------------------------------
---------- R_ReloadGLSLPrograms_f -----------
interaction VF
ambientInteraction VF
stencilShadow VF
oldStage VF
depthAlpha VF
fog VF
blend VF
cubeMap VF
interactionA VF
interactionN VFWARNING:CompileShader(glprogs/interactionN.fs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES

 

shadowMapA VGFWARNING:CompileShader(glprogs/shadowMapA.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES

 

shadowMapN VWARNING:CompileShader(glprogs/shadowMapN.vs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES


GFWARNING:CompileShader(glprogs/shadowMapN.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES

 

---------------------------------
Font fonts/english/stone in size 12 not found, using size 24 instead.
--------- Initializing Game ----------
The Dark Mod 2.07/64, linux-x86_64, code revision 8079
Build date: Apr 12 2019
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_0
01' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/r
ipple_1' previously defined at materials/tdm_particles_ripple.mtr:1
Initializing event system
...842 event definitions
Initializing class hierarchy
...171 classes, 1657056 bytes for event callbacks
Initializing scripts
Compiled 'tdm_ai_lanternbot::startAlarmWhistle': 362.6 ms
---------- Compile stats ----------

Memory usage:
     Strings: 44, 7352 bytes
  Statements: 20264, 810560 bytes
   Functions: 1267, 169756 bytes
   Variables: 91900 bytes
    Mem used: 1827840 bytes
 Static data: 4014424 bytes
   Allocated: 4862948 bytes
 Thread size: 7912 bytes

Maximum object size: 884
Largest object type name: weapon_arrow
...6 aas types
game initialized.
--------------------------------------
Parsing material files
Found 0 new mission packages.
Found 3 mods in the FM folder.
Parsed 0 mission declarations, no mission database file present.
-------- Initializing Session --------
Font fonts/english/mason_glow in size 12 not found, using size 48 instead.
Font fonts/english/mason_glow in size 24 not found, using size 48 instead.
Font fonts/english/mason in size 12 not found, using size 48 instead.
Font fonts/english/mason in size 24 not found, using size 48 instead.
WARNING:Couldn't load sound 'sound' using default
session initialized
--------------------------------------
--- Common Initialization Complete ---
------------- Warnings ---------------
during The Dark Mod initialization...
WARNING:CompileShader(glprogs/interactionN.fs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES


WARNING:CompileShader(glprogs/shadowMapA.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES


WARNING:CompileShader(glprogs/shadowMapN.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES


WARNING:CompileShader(glprogs/shadowMapN.vs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20,
 1.30, 1.00 ES, and 3.00 ES


WARNING:Couldn't load sound 'sound' using default
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_0
01' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/r
ipple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' pre
viously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' prev
iously defined at skins/steam_engine_003.skin:18
9 warnings
pid: 1798
Async thread started
Couldn't exec autocommands.cfg - file does not exist.
Dumped console text to hoi.txt.

 

 
 


 

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

Hello! Sorry for the late reply.

Yes, I also tried the latest TDM the day I posted. It crashes the same way both on my laptop and desktop.

I have downloaded darkmod from the official website, and did what they recommended.

I also tried Arch User Repository - same behaviour.

I am not sure why, but the file I tried ran 3 - 4 months ago. I usually upgrade my systems and the kernel once every week.

I also tried running this on my desktop. Both the laptop and desktop (both running Arch Linux, more or less the same kernel, and the desktop with a better hardware).

[Also a note, the darkmod release 4 - 5 months old had a problem. I can see the lights, but the ray tracing was not working. Basically everything was mostly dark (the lantern, fire arrows and everything), so I used to play the old version. As I said, both the versions failed to run now].

I played TDM a lot. I am missing it ?

Edited by Sourav
Posted

Here's the new darkmod:
 

┌┄┄[sourav::archlinux]┈[~/darkmod]
└──╼⮚ ./thedarkmod.x64
TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp1s0 - 192.168.2.7/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/sourav/darkmod/
  /home/sourav/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/sourav/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/sourav/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/sourav/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/sourav/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/sourav/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/sourav/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/sourav/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/sourav/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/sourav/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/sourav/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/sourav/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/sourav/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/sourav/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/sourav/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/sourav/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/sourav/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/sourav/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/sourav/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/sourav/darkmod/tdm_standalone.pk4 (4 files)
  /home/sourav/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/sourav/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/sourav/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/sourav/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/sourav/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/sourav/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/sourav/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/sourav/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/sourav/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/sourav/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/sourav/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/sourav/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/sourav/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/sourav/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/sourav/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/sourav/darkmod/tdm_player01.pk4 (125 files)
  /home/sourav/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/sourav/darkmod/tdm_models02.pk4 (2020 files)
  /home/sourav/darkmod/tdm_models01.pk4 (3043 files)
  /home/sourav/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/sourav/darkmod/tdm_gui01.pk4 (715 files)
  /home/sourav/darkmod/tdm_fonts01.pk4 (696 files)
  /home/sourav/darkmod/tdm_env01.pk4 (152 files)
  /home/sourav/darkmod/tdm_defs01.pk4 (179 files)
  /home/sourav/darkmod/tdm_base01.pk4 (197 files)
  /home/sourav/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/sourav/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/sourav/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/sourav/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/sourav/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/sourav/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/sourav/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/sourav/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/sourav/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/sourav/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/sourav/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1971.08 MHz
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
About to exit with code 0

 

Posted (edited)

How about generating another type of log.
Please change  the following line, in the darkmod.cfg file in your tdm folder
seta logFile "0"
to
seta logFile "2"
Safe the config file and start TDM.
Tdm will generate a log file named "qconsole.log" in one of the folders in the  fm-folder.
What is the content of that file?
http://wiki.thedarkmod.com/index.php?title=Debugging_TDM_systemerrors

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

I am using the latest darkmod.

I don't see the darkmod.cfg file in the darkmod folder. So I created a new file. It didn't  create a "qconsole.log" file after the exit.

But I see a darkmod.ini file.

There is no other log file except the tdm_update.log ...

 

I also tried running tdm with arguments:

./thedarkmod.x64 +map training_mission +glxinfo +condump mylog.txt +quit

It didn't create any

mylog.txt

It always crashes [catches exception] in the same way...

Edited by Sourav
Posted (edited)

An other way to search for errors is to check the required objects.

After this,

In darkmod.ini you can change the 0 values to 1 of all options, except the "logClass_". (but i dont have any experience with this)
Darkmod.cfg is the config file thats generated during the first succesful startup.
But you can create your own by copying the content from the followin link and change where needed:
http://forums.thedarkmod.com/index.php?/topic/19919-problem-with-207-some-level-unplayable/&tab=comments#comment-437702

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

Firstly, yes, I have glxinfo, and OpenGL works fine.

Secondly, I have tried the AUR version as I have mentioned earlier.

Thirdly I have:
 

1. openal
2. libxxf86vm
3. libpng

All installed.

 

Fourthly, I think this could be something else related to the updated libraries? Because the version 2.06 I had ran 3 - 4 months ago. It's not working now. On both of my computers.

Because this is Arch, things break faster and it will soon get adopted by Debian / Ubuntu / Mint...

Edited by Sourav
Posted

I dont know where you can find information about the needed libraries.

Have you tried TDM other analyze solutions, like changing lines in darkmod.ini or
manually created darkmod.cfg (with seta logfile "2" included)?
(or run: thedarkmod.x64 +seta logfile 2, and looking of the changes in darkmod.log)
 

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted

Do I understand it right that it crashes at the moment when it prints "/proc/cpuinfo CPU frequency: 2000.07 MHz" and "signal caught: Segmentation fault" ?

Could you please save your thedarkmod.x64 executable somewhere, and replace it with this one (this is for latest 2.07) It is larger, because it has all the debug info inside.

Then start it with gdb like: gdb thedarkmod.x64. When it crashes, try to get a stacktrace (bt or backtrace). Post it here.

Posted
On 8/2/2019 at 11:46 PM, stgatilov said:

Do I understand it right that it crashes at the moment when it prints "/proc/cpuinfo CPU frequency: 2000.07 MHz" and "signal caught: Segmentation fault" ?

Could you please save your thedarkmod.x64 executable somewhere, and replace it with this one (this is for latest 2.07) It is larger, because it has all the debug info inside.

Then start it with gdb like: gdb thedarkmod.x64. When it crashes, try to get a stacktrace (bt or backtrace). Post it here.

Hi, sorry for the later reply, but I can't access the website you gave... :(

Posted

I'm having a similar problem. Here's my error message:

$ ./thedarkmod.x64
TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp3s0 - 192.168.86.23/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/tice/darkmod/
  /home/tice/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/tice/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/tice/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/tice/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/tice/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/tice/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/tice/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/tice/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/tice/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/tice/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/tice/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/tice/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/tice/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/tice/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/tice/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/tice/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/tice/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/tice/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/tice/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/tice/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/tice/darkmod/tdm_standalone.pk4 (4 files)
  /home/tice/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/tice/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/tice/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/tice/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/tice/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/tice/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/tice/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/tice/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/tice/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/tice/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/tice/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/tice/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/tice/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/tice/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/tice/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/tice/darkmod/tdm_player01.pk4 (125 files)
  /home/tice/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/tice/darkmod/tdm_models02.pk4 (2020 files)
  /home/tice/darkmod/tdm_models01.pk4 (3043 files)
  /home/tice/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/tice/darkmod/tdm_gui01.pk4 (715 files)
  /home/tice/darkmod/tdm_fonts01.pk4 (696 files)
  /home/tice/darkmod/tdm_env01.pk4 (152 files)
  /home/tice/darkmod/tdm_defs01.pk4 (179 files)
  /home/tice/darkmod/tdm_base01.pk4 (197 files)
  /home/tice/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/tice/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/tice/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/tice/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/tice/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/tice/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/tice/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/tice/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/tice/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/tice/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/tice/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/tice/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/tice/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 2734.66 MHz
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
About to exit with code 0

And here's my system info:

$ cat /proc/version
Linux version 5.0.0-23-generic (buildd@lcy01-amd64-017) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)) #24-Ubuntu SMP Mon Jul 29 15:36:44 UTC 2019

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 1287.568
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 4800.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 1219.013
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 4800.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 1400.261
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 4800.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
stepping	: 3
microcode	: 0xcc
cpu MHz		: 1308.632
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 4800.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

I should note that I didn't put TDM into usr/share/games. I put it into my home folder instead. Is that a bad idea?

Posted

Ok, I got it from the Google Drive. And after replacing the original file with the downloaded file, changing permission to 755, and running I get:

TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp1s0 - 192.168.2.7/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/sourav/darkmod/
  /home/sourav/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/sourav/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/sourav/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/sourav/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/sourav/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/sourav/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/sourav/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/sourav/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/sourav/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/sourav/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/sourav/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/sourav/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/sourav/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/sourav/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/sourav/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/sourav/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/sourav/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/sourav/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/sourav/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/sourav/darkmod/tdm_standalone.pk4 (4 files)
  /home/sourav/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/sourav/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/sourav/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/sourav/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/sourav/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/sourav/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/sourav/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/sourav/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/sourav/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/sourav/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/sourav/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/sourav/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/sourav/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/sourav/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/sourav/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/sourav/darkmod/tdm_player01.pk4 (125 files)
  /home/sourav/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/sourav/darkmod/tdm_models02.pk4 (2020 files)
  /home/sourav/darkmod/tdm_models01.pk4 (3043 files)
  /home/sourav/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/sourav/darkmod/tdm_gui01.pk4 (715 files)
  /home/sourav/darkmod/tdm_fonts01.pk4 (696 files)
  /home/sourav/darkmod/tdm_env01.pk4 (152 files)
  /home/sourav/darkmod/tdm_defs01.pk4 (179 files)
  /home/sourav/darkmod/tdm_base01.pk4 (197 files)
  /home/sourav/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/sourav/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/sourav/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/sourav/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/sourav/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/sourav/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/sourav/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/sourav/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/sourav/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/sourav/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/sourav/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1747.14 MHz
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
About to exit with code 0

 

Posted

I'm afraid you have to run TDM under gdb. Did you use gdb before? I guess we should incorporate automatic crash dumps in future...

Run in console: gdb thedarkmod.x64

When it loads, enter command run and hit Enter.

When it crashes, write backtrace and hit Enter. Copy the stuff it prints here.

Also, try to run generate-core-file command. If it saves some file, share it please.

 

I'm not very experienced with crashdumps on Linux side, and we have no wiki tutorial on it unfortunately.

 

 

Posted

Ok here's the output:

┌┄┄[sourav::archlinux]┈[~/darkmod]
└──╼⮚ gdb thedarkmod.x64 
GNU gdb (GDB) 8.3
Copyright (C) 2019 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from thedarkmod.x64...
(gdb) run
Starting program: /home/sourav/darkmod/thedarkmod.x64 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp1s0 - 192.168.2.8/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/sourav/darkmod/
  /home/sourav/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/sourav/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/sourav/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/sourav/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/sourav/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/sourav/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/sourav/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/sourav/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/sourav/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/sourav/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/sourav/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/sourav/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/sourav/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/sourav/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/sourav/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/sourav/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/sourav/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/sourav/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/sourav/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/sourav/darkmod/tdm_standalone.pk4 (4 files)
  /home/sourav/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/sourav/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/sourav/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/sourav/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/sourav/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/sourav/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/sourav/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/sourav/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/sourav/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/sourav/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/sourav/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/sourav/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/sourav/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/sourav/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/sourav/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/sourav/darkmod/tdm_player01.pk4 (125 files)
  /home/sourav/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/sourav/darkmod/tdm_models02.pk4 (2020 files)
  /home/sourav/darkmod/tdm_models01.pk4 (3043 files)
  /home/sourav/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/sourav/darkmod/tdm_gui01.pk4 (715 files)
  /home/sourav/darkmod/tdm_fonts01.pk4 (696 files)
  /home/sourav/darkmod/tdm_env01.pk4 (152 files)
  /home/sourav/darkmod/tdm_defs01.pk4 (179 files)
  /home/sourav/darkmod/tdm_base01.pk4 (197 files)
  /home/sourav/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/sourav/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/sourav/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/sourav/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/sourav/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/sourav/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/sourav/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/sourav/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/sourav/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/sourav/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/sourav/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
[New Thread 0x7ffff759b700 (LWP 8705)]
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1211.24 MHz

Thread 1 "thedarkmod.x64" received signal SIGSEGV, Segmentation fault.
R_ParseImageProgram_r (src=..., pic=0x7ffffffdff08, width=0x7ffffffdff00, 
    height=0x7ffffffdff04, timestamps=0x5031598, depth=0x503158c)
    at renderer/Image_program.cpp:527
527	renderer/Image_program.cpp: No such file or directory.
(gdb) backtrace
#0  R_ParseImageProgram_r (src=..., pic=0x7ffffffdff08, width=0x7ffffffdff00, 
    height=0x7ffffffdff04, timestamps=0x5031598, depth=0x503158c)
    at renderer/Image_program.cpp:527
#1  0x00000000005f8faf in R_LoadImageProgram (
    name=0x4e4b1e0 "makeintensity( lights/squarelight1a)", 
    pic=pic@entry=0x7ffffffdff08, width=width@entry=0x7ffffffdff00, 
    height=height@entry=0x7ffffffdff04, timestamps=timestamps@entry=0x5031598, 
    depth=depth@entry=0x503158c) at renderer/Image_program.cpp:601
#2  0x00000000005f3610 in idImage::ActuallyLoadImage (
    this=this@entry=0x5031540, 
    checkForPrecompressed=checkForPrecompressed@entry=true, 
    fromBackEnd=fromBackEnd@entry=false) at renderer/Image_load.cpp:1314
#3  0x00000000005ece08 in idImageManager::ImageFromFile (
    this=0x1d186a0 <imageManager>, 
    _name=0x4e4ada0 "makeintensity( lights/squarelight1a.tga)", 
    filter=filter@entry=TF_DEFAULT, allowDownSize=allowDownSize@entry=false, 
    repeat=repeat@entry=TR_CLAMP, depth=depth@entry=TD_DEFAULT, cubeMap=CF_2D)
    at renderer/Image_init.cpp:1368
#4  0x0000000000606ad5 in idMaterial::ParseMaterial (
    this=this@entry=0x50313a0, src=...) at renderer/Material.cpp:1981
#5  0x000000000060794c in idMaterial::Parse (this=0x50313a0, 
    text=<optimized out>, textLength=266) at renderer/Material.cpp:2208
#6  0x0000000000596b37 in idDeclLocal::ParseLocal (this=this@entry=0x4a6f800)
--Type <RET> for more, q to quit, c to continue without paging--
    at framework/DeclManager.cpp:2173
#7  0x0000000000599078 in idDeclManagerLocal::FindType (
    makeDefault=<optimized out>, name=<optimized out>, type=DECL_MATERIAL, 
    this=0x1597300 <declManagerLocal>) at framework/DeclManager.cpp:1109
#8  idDeclManagerLocal::FindMaterial (this=0x1597300 <declManagerLocal>, 
    name=<optimized out>, makeDefault=<optimized out>)
    at framework/DeclManager.cpp:1507
#9  0x000000000064d218 in R_InitMaterials ()
    at renderer/RenderSystem_init.cpp:2006
#10 0x000000000064d79f in idRenderSystemLocal::Init (this=0x1d1c220 <tr>)
    at renderer/RenderSystem_init.cpp:2184
#11 0x000000000056ffb9 in idCommonLocal::InitGame (
    this=0x1512040 <commonLocal>) at framework/Common.cpp:2934
#12 0x00000000005704ff in idCommonLocal::Init (this=0x1512040 <commonLocal>, 
    argc=0, argv=<optimized out>, cmdline=0x0) at framework/Common.cpp:2807
#13 0x00000000004399d1 in main (argc=1, argv=0x7fffffffe818)
    at sys/linux/main.cpp:562
(gdb) generate-core-file
Saved corefile core.8701

Core file:
https://drive.google.com/file/d/1LzU0O9Swoq825hxdYdkATYIMgvP4SHeE/view?usp=sharing

Posted

Thank you, Sourav!

For other developers: the stacktrace is printed above. The crash happens in R_ParseImageProgram_r in "makeIntensity" case right after recursive call. The whole image being parsed is "makeintensity( lights/squarelight1a)" or "makeintensity( lights/squarelight1a.tga)". The pic is not null, but *pic is null. Some more values:

  • pic = 0x7ffffffdff08, *pic = 0x0
  • timestamps = 0x5031598, *timestamps = 0
  • *width = 64, *height = 8, c = 2048

Interestingly, the sizes of the image are correct, so it has found the file and managed to read size 64 x 8. However, *timestamps is zero, so I guess the "if (timestamp == -1)" condition triggers at the end of R_ParseImageProgram_r (right after R_LoadImage call). Perhaps it is some timestamp issue again.

 

@Sourav, could you please share your local file tdm_textures_base01.pk4 from your TDM directory?

 

 

Posted

Sourav, please also try the following.

Open file darkmod.cfg for editing, and add a line seta fs_debug "1" to its end. This is only for the period of investigation, better remove it back when everything is over.

Now start TDM again. Share the new contents of game console, it should contain many lines like: "idFileSystem::OpenFileRead: glprogs/test.vfp (found in 'C:\TheDarkMod\darkmod/')".

Posted (edited)

Hello, @freyk, the video [xorg] driver I am using is: xf86-video-intel

And the OpenGL version I am using is 3.0 Mesa 19.1.3

 

Hi @stgatilov, I have edited the darkmod.cfg and appended the line

seta fs_debug "1"

at the end of the [461 line] file.


After running thedarkmod.x64, the output looks like the one in the post... And it doesn't write anything new to the terminal...

Edited by Sourav
Posted
2 minutes ago, stgatilov said:

What about tdm_textures_base01.pk4 file? 

I am not sure what to do with the tdm_textures_base01.pk4.

 

But when I run darkmod, I get only one occurrence of the word:

/home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • nbohr1more

      Cool thing: Thanksgiving break means I don't have to get my son up before dawn

      Not cool thing: My son stays up all night on my PC so I don't get much TDM time...
      · 3 replies
    • datiswous

      Does anyone know if the mission/map in this video posted by @Springheel can still be found somewhere and played? Looks like fun.
       
      · 1 reply
    • taffernicus

      I'm curious about doom and thief multiplayer netcode 😂 or how these games handle networking for multiplayer in general
      a youtube channel called battle(non)sense sometimes posts about netcode analysis
      · 2 replies
    • The Black Arrow

      Hey @Ansome, are you still around? I think it's been about 3 months since you've had an issue with an SSD, right?
      · 4 replies
    • Sotha

      Brushes: ~1300
      Patches: ~990
      Entities: ~960
      Ambients: Done, EFX: Done, Objectives: Done, Briefing, Done, Location System: Done.
      Going to final polishings before beta.
      · 0 replies
×
×
  • Create New...