#4584: Warzone 2100 3.2.3 crash during loading on Manjaro
------------------------------------+-------------------------
        Reporter:  Neo-Galaxy       |      Owner:
            Type:  bug              |     Status:  new
        Priority:  normal           |  Milestone:  unspecified
       Component:  other            |    Version:  3.2.3
Operating System:  GNU/Linux 64bit  |
------------------------------------+-------------------------
 In version 3.2.3 the game crashes while loading at startup, while in
 version 3.2.2 it did not. These are the last two logs I have of the game:
 {{{
 --- Starting log [/home/XXXX/.warzone2100-3.2/logs/WZlog-
 0513_154124.txt]---
 info    |03:41:24: [realmain:938] Using /home/XXXX/.warzone2100-3.2/logs
 /WZlog-0513_154124.txt debug file
 error   |03:41:27: [khr_callback:139] GL::SC(Error:High) : 0:12(2): error:
 array index must be < 1
 error   |03:41:27: [pie_LoadShader:280] Fragment shader compilation has
 failed [shaders/text.frag]
 error   |03:41:27: [printShaderInfoLog:164] Shader info log: 0:12(2):
 error: array index must be < 1
 error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetUniformLocation(program not linked)
 last message repeated 2 times
 last message repeated 2 times (total 4 repeats)
 error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUseProgram(program 40 not linked)
 error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetAttribLocation(program not linked)
 last message repeated 2 times
 last message repeated 1 times (total 3 repeats)
 error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetUniformLocation(program not linked)
 last message repeated 2 times
 last message repeated 1 times (total 3 repeats)
 error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniform(program not linked)
 last message repeated 2 times
 last message repeated 1 times (total 3 repeats)
 error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUseProgram(program 40 not linked)
 error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniformMatrix(program not linked)
 error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniform(program not linked)
 last message repeated 2 times
 }}}

 {{{
 Program: /usr/bin/warzone2100(warzone2100)
 Command line: "warzone2100"
 Version: Version: 3.2.3, Built:Apr 29 2017
 Distributor: ArchLinux
 Compiled on: Apr 29 2017 16:40:40
 Compiled by: GCC 6.3.1 20170306
 Compiled mode: Release build
 Executed on: Sat May 13 15:41:24 2017
 Operating system: Linux
 Node name: XXXX
 Release: 4.9.27-1-MANJARO
 Version: #1 SMP PREEMPT Mon May 8 08:48:50 UTC 2017
 Machine: x86_64

 Pointers: 64bit

 Compiled against PhysicsFS version: 2.0.3
 Running with PhysicsFS version: 2.0.3

 Misc Data:
 [15:41:26]Video Mode 1024 x 600 (fullscreen)
 [15:41:26]OpenGL Vendor: Intel Open Source Technology Center
 [15:41:26]OpenGL Renderer: Mesa DRI Intel(R) Pineview M
 [15:41:26]OpenGL Version: 2.1 Mesa 17.0.5
 [15:41:26]GLEW Version: 2.0.0
 [15:41:26]OpenGL GLSL Version : 1.20
 [15:41:27]OpenAL Device Name: OpenAL Soft
 [15:41:28]OpenAL Vendor: OpenAL Community
 [15:41:28]OpenAL Version: 1.1 ALSOFT 1.17.2
 [15:41:28]OpenAL Renderer: OpenAL Soft
 [15:41:28]OpenAL Extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE
 AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE
 AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS
 AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic
 AL_SOFT_block_alignment AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data
 AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points
 AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length
 [15:41:28]Using Backend: SDL
 [15:41:28]Using language: Idioma del sistema

 Dump caused by signal: SIGSEGV: Invalid memory reference: Address not
 mapped to object

 Log message: error   |03:41:27: [khr_callback:139] GL::SC(Error:High) :
 0:12(2): error: array index must be < 1
 Log message: error   |03:41:27: [pie_LoadShader:280] Fragment shader
 compilation has failed [shaders/text.frag]
 Log message: error   |03:41:27: [printShaderInfoLog:164] Shader info log:
 0:12(2): error: array index must be < 1
 Log message: error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetUniformLocation(program not linked)
 Log message: last message repeated 2 times
 Log message: last message repeated 2 times (total 4 repeats)
 Log message: error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUseProgram(program 40 not linked)
 Log message: error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetAttribLocation(program not linked)
 Log message: last message repeated 2 times
 Log message: last message repeated 1 times (total 3 repeats)
 Log message: error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glGetUniformLocation(program not linked)
 Log message: last message repeated 2 times
 Log message: last message repeated 1 times (total 3 repeats)
 Log message: error   |03:41:27: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniform(program not linked)
 Log message: last message repeated 2 times
 Log message: last message repeated 1 times (total 3 repeats)
 Log message: error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUseProgram(program 40 not linked)
 Log message: error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniformMatrix(program not linked)
 Log message: error   |03:41:29: [khr_callback:139] GL::API(Error:High) :
 GL_INVALID_OPERATION in glUniform(program not linked)
 Log message: last message repeated 2 times

 GLIBC raw backtrace:
 warzone2100[0x6d2c0f]
 /usr/lib/libpthread.so.0(+0x11fe0)[0x7fda76a24fe0]

 GDB extended backtrace:
 GNU gdb (GDB) 7.12.1
 Copyright (C) 2017 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 /usr/bin/warzone2100...(no debugging symbols
 found)...done.
 Attaching to program: /usr/bin/warzone2100, process 26567
 [New LWP 26568]
 [New LWP 26575]
 [New LWP 26579]
 [New LWP 26580]
 [New LWP 26581]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/usr/lib/libthread_db.so.1".
 0x00007fda76a2492a in waitpid () from /usr/lib/libpthread.so.0
 (gdb) #0  0x0000000000000000 in ?? ()
 (gdb) (gdb)
 Thread 6 (Thread 0x7fda55ef0700 (LWP 26581)):
 #0  0x00007fda76a23296 in do_futex_wait.constprop () at
 /usr/lib/libpthread.so.0
 #1  0x00007fda76a23354 in __new_sem_wait_slow.constprop.0 () at
 /usr/lib/libpthread.so.0
 #2  0x00007fda767c4bee in  () at /usr/lib/libSDL2-2.0.so.0
 #3  0x00000000004d303d in  ()
 #4  0x00007fda7677343c in  () at /usr/lib/libSDL2-2.0.so.0
 #5  0x00007fda767c48e9 in  () at /usr/lib/libSDL2-2.0.so.0
 #6  0x00007fda76a1a2e7 in start_thread () at /usr/lib/libpthread.so.0
 #7  0x00007fda71f7154f in clone () at /usr/lib/libc.so.6

 Thread 5 (Thread 0x7fda55ff1700 (LWP 26580)):
 #0  0x00007fda76a20756 in pthread_cond_wait@@GLIBC_2.3.2 () at
 /usr/lib/libpthread.so.0
 #1  0x00007fda5ac544c8 in pa_threaded_mainloop_wait () at
 /usr/lib/libpulse.so.0
 #2  0x00007fda757af429 in  () at /usr/lib/libopenal.so.1
 #3  0x00007fda757b46c7 in  () at /usr/lib/libopenal.so.1
 #4  0x00007fda76a1a2e7 in start_thread () at /usr/lib/libpthread.so.0
 #5  0x00007fda71f7154f in clone () at /usr/lib/libc.so.6

 Thread 4 (Thread 0x7fda5b671700 (LWP 26579)):
 #0  0x00007fda71f6767d in poll () at /usr/lib/libc.so.6
 #1  0x00007fda5ac53ee1 in  () at /usr/lib/libpulse.so.0
 #2  0x00007fda5ac456f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
 #3  0x00007fda5ac45d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
 #4  0x00007fda5ac45e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
 #5  0x00007fda5ac53e29 in  () at /usr/lib/libpulse.so.0
 #6  0x00007fda5a9f1fe8 in  () at
 /usr/lib/pulseaudio/libpulsecommon-10.0.so
 #7  0x00007fda76a1a2e7 in start_thread () at /usr/lib/libpthread.so.0
 #8  0x00007fda71f7154f in clone () at /usr/lib/libc.so.6

 Thread 3 (Thread 0x7fda5f1cd700 (LWP 26575)):
 #0  0x00007fda76a23296 in do_futex_wait.constprop () at
 /usr/lib/libpthread.so.0
 #1  0x00007fda76a23354 in __new_sem_wait_slow.constprop.0 () at
 /usr/lib/libpthread.so.0
 #2  0x00007fda767c4bee in  () at /usr/lib/libSDL2-2.0.so.0
 #3  0x00007fda767c4d45 in  () at /usr/lib/libSDL2-2.0.so.0
 #4  0x00007fda767737fc in  () at /usr/lib/libSDL2-2.0.so.0
 #5  0x00007fda7677343c in  () at /usr/lib/libSDL2-2.0.so.0
 #6  0x00007fda767c48e9 in  () at /usr/lib/libSDL2-2.0.so.0
 #7  0x00007fda76a1a2e7 in start_thread () at /usr/lib/libpthread.so.0
 #8  0x00007fda71f7154f in clone () at /usr/lib/libc.so.6

 Thread 2 (Thread 0x7fda6944f700 (LWP 26568)):
 #0  0x00007fda71f6767d in poll () at /usr/lib/libc.so.6
 #1  0x00007fda6fc3b8e0 in  () at /usr/lib/libxcb.so.1
 #2  0x00007fda6fc3d679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
 #3  0x00007fda6c6c5239 in  () at /usr/lib/libQt5XcbQpa.so.5
 #4  0x00007fda730026d8 in  () at /usr/lib/libQt5Core.so.5
 #5  0x00007fda76a1a2e7 in start_thread () at /usr/lib/libpthread.so.0
 #6  0x00007fda71f7154f in clone () at /usr/lib/libc.so.6

 Thread 1 (Thread 0x7fda76fc8a00 (LWP 26567)):
 #0  0x00007fda76a2492a in waitpid () at /usr/lib/libpthread.so.0
 #1  0x00000000006d31ec in  ()
 #2  0x00007fda76a24fe0 in <signal handler called> () at
 /usr/lib/libpthread.so.0
 #3  0x0000000000000000 in  ()
 #4  0x00007fda5ce6a83a in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #5  0x00007fda5ce58ad2 in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #6  0x00007fda5d03ddef in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #7  0x00007fda5ce58112 in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #8  0x00007fda5ce3b935 in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #9  0x00007fda5ce3bbfa in  () at /usr/lib/xorg/modules/dri/i915_dri.so
 #10 0x00000000006a3513 in  ()
 #11 0x00000000006a7068 in iV_DrawImageText(unsigned int,
 glm::detail::tvec2<int>, glm::detail::tvec2<int>, glm::detail::tvec2<int>,
 float, REND_MODE, PIELIGHT) ()
 #12 0x00000000006bcc5c in iV_DrawTextRotated(char const*, float, float,
 float, iV_fonts) ()
 #13 0x00000000004d6b06 in  ()
 #14 0x0000000000667b13 in WIDGET::displayRecursive(int, int) ()
 #15 0x0000000000667b96 in WIDGET::displayRecursive(int, int) ()
 #16 0x000000000066825a in widgDisplayScreen(W_SCREEN*) ()
 #17 0x00000000004dc13d in runTitleMenu() ()
 #18 0x000000000065e9cd in titleLoop() ()
 #19 0x000000000052e535 in mainLoop() ()
 #20 0x00000000006dd15c in wzMainEventLoop() ()
 #21 0x000000000052f1f7 in realmain(int, char**) ()
 #22 0x00007fda71ea5511 in __libc_start_main () at /usr/lib/libc.so.6
 #23 0x000000000046752a in _start ()
 (gdb) #4  0x00007fda5ce6a83a in ?? () from
 /usr/lib/xorg/modules/dri/i915_dri.so
 (gdb) (gdb) rax            0x7fda5d5b1840       140575845849152
 rbx            0x249d790        38393744
 rcx            0x249d828        38393896
 rdx            0x249c120        38388000
 rsi            0x249d7f0        38393840
 rdi            0x249d7c0        38393792
 rbp            0x246c680        0x246c680
 rsp            0x7ffe1e373f40   0x7ffe1e373f40
 r8             0x249d829        38393897
 r9             0x1      1
 r10            0x1      1
 r11            0x1      1
 r12            0x2500170        38797680
 r13            0x249d7c0        38393792
 r14            0x249d828        38393896
 r15            0x249d829        38393897
 rip            0x7fda5ce6a83a   0x7fda5ce6a83a
 eflags         0x246    [ PF ZF IF ]
 cs             0x33     51
 ss             0x2b     43
 ds             0x0      0
 es             0x0      0
 fs             0x0      0
 gs             0x0      0
 (gdb) A debugging session is active.

         Inferior 1 [process 26567] will be detached.

 Quit anyway? (y or n) [answered Y; input not from terminal]
 Detaching from program: /usr/bin/warzone2100, process 26567
 }}}

--
Ticket URL: <http://developer.wz2100.net/ticket/4584>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to