<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Game Crashlands crashes on startup"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102625">102625</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Game Crashlands crashes on startup
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ratatosk.yggdrasil@googlemail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=134084" name="attach_134084" title="gdb output when running crashlands">attachment 134084</a> <a href="attachment.cgi?id=134084&action=edit" title="gdb output when running crashlands">[details]</a></span>
gdb output when running crashlands

Running on Arch with latest Mesa in the official repositories (17.1.8) via
mesa-git from AUR or 17.0.x in Ubuntu 16.04 and 17.04 Crashlands crashes on
startup (a window opens and immediately closes again) in combination with a
Radeon RX 470. On another machine using integrated HD 6620G it runs fine
(Ubuntu 16.04).

Using LLVMPIPE via LIBGL_ALWAYS_SOFTWARE=1 and GALLIUM_DRIVER=llvmpipe the game
runs as expected.

When starting the game from command line I get a segfault with this message:
./run.sh: Zeile 3:  2218 Speicherzugriffsfehler  (Speicherabzug geschrieben)
LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH ./runner

This error however seems to be unrelated to the crash because it remains even
if using LLVMPIPE.

Running via gdb produces the attached output.

GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>>
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:
<<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>.
Find the GDB manual and other documentation resources online at:
<<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from runner...(no debugging symbols found)...done.
(gdb) run
Starting program:
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner 
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner:
/usr/lib32/libcrypto.so.1.0.0: no version information available (required by
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner)
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner:
/usr/lib32/libssl.so.1.0.0: no version information available (required by
/home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

***************************************
*     YoYo Games Linux Runner V1.3    *
***************************************  
CommandLine: -game game.unx
ExeName= /home/nagezahn/.local/share/Steam/steamapps/common/Crashlands/runner
MemoryManager allocated: 1723148
INI DisplayName=Crashlands
SavePrePend /home/nagezahn/.config/Crashlands/ 
GAMEPAD: Initialising Ubuntu support
Attempting to set gamepadcount to 4
Steam being initialised with appId 391730
Steam_Init
Error: Failed to load libsteam_api.so: libsteam_api.so: cannot open shared
object file: No such file or directory
Failed LoadSteamLib() call: Error loading libsteam_api.so
SteamInit failed: Error loading libsteam_api.so
Display Size(Pixels): 1920,1200
GameDisplayName=Crashlands
Win #1
XF86VidModeExtension-Version 2.2
libGL error: failed to create dri screen
libGL error: failed to load driver: swrast
Got Doublebuffered Visual!
glX-Version 1.4
Icon: w=120 h=120
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  30
  Current serial number in output stream:  32
[Inferior 1 (process 3337) exited with code 01]</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>