Bug#928240: etw: Segmentation fault at start

Steinar H. Gunderson sesse at debian.org
Wed May 1 09:26:24 BST 2019


On Wed, May 01, 2019 at 01:11:32AM +0200, Markus Koschany wrote:
> Thanks for providing a solution and a way forward. Could you provide a
> trivial fix/patch as well? I'm willing to test it and ask the release
> team for an unblock. I currently don't understand the underlying issue
> and why it was triggered in the first place but I gladly accept patches.

This appears to be the simplest way forward:

Index: etw-3.6+svn162/etw/prefix.c
===================================================================
--- etw-3.6+svn162.orig/etw/prefix.c
+++ etw-3.6+svn162/etw/prefix.c
@@ -113,7 +113,7 @@ br_locate (void *symbol)
 
         if (!fgets (line, sizeof (line), f))
             continue;
-        if (!strstr (line, " r-xp ") || !strchr (line, '/'))
+        if ((!strstr (line, " r-xp ") && !strstr(line, " r--p")) || !strchr (line, '/'))
             continue;
 
         sscanf (line, "%lx-%lx ", &start, &end);

I couldn't figure out the controls of the game itself, but at least it
appears to start up okay. :-)

/* Steinar */
-- 
Homepage: https://www.sesse.net/



More information about the Pkg-games-devel mailing list