Bug#388406: Segfault during the second mission

2007-01-03 Thread Alexei Chetroi
Package: widelands
Version: build9half-10
Severity: normal

  Hello,

  there's upstream bug #1377585, which was fixed in the svn revision
1078. See attached file for the fix. Tested with build9half on debian
sarge.

 Best,

-- 
Alexei Chetroi
Imported from svn revision: 1078

Index: src/zip_filesystem.cc
===
--- widelands-build9half.orig/src/zip_filesystem.cc (revision 1077)
+++ widelands-build9half/src/zip_filesystem.cc  (revision 1078)
@@ -88,6 +88,8 @@
   
if( path[path.size()-1] != '/' ) 
   path += '/';
+   if( path[0] != '/' )
+  path = '/'+path;
 
unzCloseCurrentFile( m_unzipfile );
unzGoToFirstFile( m_unzipfile );
@@ -101,7 +103,7 @@
   std::string filename = FS_Filename( complete_filename.c_str() );
   std::string filepath = complete_filename.substr( 0, 
complete_filename.size()-filename.size());
   
-  if( path == filepath ) 
+  if ( ( path == filepath )  ( filename !=  ) )
  results-insert( complete_filename );
   
   if( unzGoToNextFile( m_unzipfile ) == UNZ_END_OF_LIST_OF_FILE ) 


Bug#388406: Segfault during the second mission

2006-09-20 Thread Vincent Fourmond
Package: widelands
Version: build9half-10
Severity: normal

  Hello !

  To get my hands on the game, I play the tutorial. The first mission went 
fine, but the second 
crashes reproducibly when the mines are finished, with the following output

Event Chain: looking if check is needed for eventchain 4
Eventchain Advisor 3 Mines Up is going to get checked!
WARNING: Couldn't open map:boldreth.png: Couldn't find file map:boldreth.png
zsh: segmentation fault  widelands

  Lokks like a missing image or a bad description in the campaign data is 
responsible for that... Hope 
it will be fixed soon, I'd like to go on playing ;-)

  Thanks for considering this report !

Vincent Fourmond



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)

Versions of packages widelands depends on:
ii  libc6  2.3.6.ds1-4   GNU C Library: Shared libraries
ii  libgcc11:4.1.1-13GCC support library
ii  libpng12-0 1.2.8rel-5.2  PNG library - runtime
ii  libsdl-image1.21.2.5-2   image loading library for Simple D
ii  libsdl-mixer1.21.2.6-1.1 mixer library for Simple DirectMed
ii  libsdl-net1.2  1.2.5-7   network library for Simple DirectM
ii  libsdl-ttf2.0-02.0.8-3   ttf library for Simple DirectMedia
ii  libsdl1.2debian1.2.11-3  Simple DirectMedia Layer
ii  libstdc++6 4.1.1-13  The GNU Standard C++ Library v3
ii  widelands-data build9half-10 fantasy real-time strategy game (d
ii  zlib1g 1:1.2.3-13compression library - runtime

widelands recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]