bugBos Wars - Bugs: bug #37029, svn build - segfault after (Patch...

 
 

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

Submitter:  David <drankinatty>
Submitted:  Sun 05 Aug 2012 06:13:34 AM UTC
Votes: 10
 
Severity:  3 - Normal Item Group:  * Bug
Status:  Works For Me Privacy:  Public
Assigned to:  feb Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 09 Feb 2014 04:56:08 PM UTC, comment #5: 

Closing as the issue looks to be solved and related to the Arch PKGBUILD.

François Beerten <feb>
Group administrator
Sun 24 Nov 2013 12:11:01 AM UTC, comment #4: 

Paul,

  Thank you for the follow-up. I'll try building and playing and report back. I have to rebuild my arch box after a dmraid de-sync, so it may be a few days before I have it done. (there is also a question of whether the latest mdraid incorporates dmraid chipset support for my board, if not, it will be a few more days :-)

David <drankinatty>
Thu 21 Nov 2013 03:22:39 AM UTC, comment #3: 

Before adding patches to PKGBUILD, but after changing it to use revision 10225 rather 10083, game was playable, without the patches, no segfault (although I did not play long with black background).

changing revision is made by editing the line:
pkgver=10083
to read:
pkgver=10225

10225 was latest... at least some minutes ago.

Paul Dufresne <pauld>
Thu 21 Nov 2013 03:15:20 AM UTC, comment #2: 

That's a bug in the PKGBUILD of Arch Linux.
patches directory is not installed in the package in the following line:
cp -rf campaigns doc graphics intro languages maps music scripts sounds units ${pkgdir}/opt/bos

that I suggested in a comment in AUR system should become:
cp -rf campaigns doc graphics intro languages maps music patches scripts sounds units ${pkgdir}/opt/bos

Paul Dufresne <pauld>
Wed 08 Aug 2012 07:18:16 PM UTC, comment #1: 

Those messages "Patch not found: Grass-plain-huge" are abnormal. It looks like the patches are not installed. I haven't found it in your script.

Does it crash also when building boswars yourself and playing it from the directory where you unarchived it ?

François Beerten <feb>
Group administrator
Sun 05 Aug 2012 06:13:34 AM UTC, original submission:  

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.

David <drankinatty>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26318:  bosbug.txt added by drankinatty (17KiB - text/plain - Files show the stdout from boswars prior to segfault and the filelist from the package)
file #26319:  boswars-filelist.txt added by drankinatty (31KiB - text/plain - Files show the stdout from boswars prior to segfault and the filelist from the package)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pauld (Posted a comment)
  • -email is unavailable- added by feb (Posted a comment)
  • -email is unavailable- added by drankinatty (Voted in favor of this item)
  • -email is unavailable- added by drankinatty (Submitted the item)
  •  

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 feb StatusNone Works For Me
        Open/ClosedOpen Closed
    2012-08-08 feb Assigned toNone feb
    2012-08-05 drankinatty Carbon-Copy- Added drankinatty
    2012-08-05 drankinatty Attached File- Added bosbug.txt, #26318
        Attached File- Added boswars-filelist.txt, #26319

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code