[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[bos-dev] [bug #37029] svn build - segfault after (Patch not found:) [svn rev: 10189]



URL:
  <http://savannah.nongnu.org/bugs/?37029>

                 Summary: svn build - segfault after (Patch not found:) [svn
rev: 10189]
                 Project: Bos Wars
            Submitted by: drankinatty
            Submitted on: Sun 05 Aug 2012 06:13:34 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Fresh build of boswars-svn on Archlinux. (linux 3.4.7-1, libpng15, gcc 4.7.1,
glibc 2.16)

  Bos builds without issue, but experiences frequent segfaults during game
play and on start of the map editor. The errors to stdout before the segfault
are:

Patch not found: Grass-plain-huge
<snip>
Patch not found: Grass-plain-large
<snip>
Patch not found: Grass-road-curve-SW
... (many more)
Segmentation fault

  The game can be played single player well into the game before a segfault
occurs (4on4 map, left vs. right game). When playing multiplayer from a linux
host to a windows host, the game will play for the first minute before network
errors cause the game to hang and one player to be disconnected. Multiplayer
between 2 windows hosts works.

  This is a fantastic game that shows much work has gone into it. The patch
errors look like a path error of some sort somewhere in the code, or perhaps
at buildtime. The build on Arch is done as follows:

pkgver=10189
_svntrunk=svn://bos.seul.org/svn/bos/bos/trunk
_svnmod=boswars
svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"

  cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
  cd "$srcdir/$_svnmod-build"

  #
  # BUILD HERE
  #

  ./make.py

  mkdir -p
${pkgdir}/{opt/bos,usr/bin,usr/share/pixmaps,usr/share/applications}

  # remove nasty files
  find . -name ".svn" -type d -exec rm -fr {} +

  # install files
  cp -rf campaigns doc graphics intro languages maps music scripts sounds
units ${pkgdir}/opt/bos

  install -D -m 755 ${srcdir}/$_svnmod-build/fbuild/release/boswars \
	  ${pkgdir}/opt/bos/boswars

  install -D -m 755 ${srcdir}/boswars.sh \
	  ${pkgdir}/usr/bin/boswars

  install -D -m 644 ${srcdir}/boswars.png \
	  ${pkgdir}/usr/share/pixmaps/boswars.png

  install -D -m 644 ${srcdir}/boswars.desktop \
	  ${pkgdir}/usr/share/applications/boswars.desktop

The resulting file placement is shown in the attachment. I have also included
a complete set of boswars error-log as well. Hopefully this will help fix
boswars. It is a great legacy game to play with friends or your kiddos over
the lan :)  Thanks for your hard work. Let me know if I can send anything
else.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 05 Aug 2012 06:13:34 AM GMT  Name: bosbug.txt  Size: 17kB   By:
drankinatty
Files show the stdout from boswars prior to segfault and the filelist from the
package
<http://savannah.nongnu.org/bugs/download.php?file_id=26318>
-------------------------------------------------------
Date: Sun 05 Aug 2012 06:13:34 AM GMT  Name: boswars-filelist.txt  Size: 31kB 
 By: drankinatty
Files show the stdout from boswars prior to segfault and the filelist from the
package
<http://savannah.nongnu.org/bugs/download.php?file_id=26319>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37029>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/