Debian Bug report logs - #604172
lincity-ng crash (easyly reproducible)

version graph

Package: lincity-ng; Maintainer for lincity-ng is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for lincity-ng is src:lincity-ng (PTS, buildd, popcon).

Reported by: Alain B <alain.baeckeroot@laposte.net>

Date: Sat, 20 Nov 2010 22:00:01 UTC

Severity: important

Found in version lincity-ng/2.0-2

Fixed in version lincity-ng/2.0-3

Done: Markus Koschany <apo@gambaru.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#604172; Package lincity-ng. (Sat, 20 Nov 2010 22:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alain B <alain.baeckeroot@laposte.net>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 20 Nov 2010 22:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alain B <alain.baeckeroot@laposte.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lincity-ng crash (easyly reproducible)
Date: Sat, 20 Nov 2010 22:37:58 +0100
Package: lincity-ng
Version: 2.0-2+b2
Severity: grave
Justification: renders package unusable

This bug was reported on upstream mailing list, and seems to affect only
debian squeeze (with either the squeeze version or latest svn version)
maybe only the amd64 version.

For sure this does not happen on ubuntu 10.04 32bits (either packaged or svn)

Howto crash :
- start a game (either window or full screen, SDL or OpenGL)
- zoom out (get as far as possible from the town)
- put the mouse cursor on top of screen to scroll at maximum
- select buldozer tool

the game should crash after 2 or 3 tries (maybe the first one) even
without doing anything else than selecting tool.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lincity-ng depends on:
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-6        GCC support library
ii  libgl1-mesa-glx [libgl1 7.7.1-4          A free implementation of the OpenG
ii  libphysfs1              2.0.1-2          filesystem abstraction library for
ii  libsdl-gfx1.2-4         2.0.20-1.1       drawing and graphical effects exte
ii  libsdl-image1.2         1.2.10-2+b2      image loading library for Simple D
ii  libsdl-mixer1.2         1.2.8-6+b1       mixer library for Simple DirectMed
ii  libsdl-ttf2.0-0         2.0.9-1          ttf library for Simple DirectMedia
ii  libsdl1.2debian         1.2.14-6.1       Simple DirectMedia Layer
ii  libstdc++6              4.4.5-6          The GNU Standard C++ Library v3
ii  libxml2                 2.7.7.dfsg-4     GNOME XML library
ii  lincity-ng-data         2.0-2            Media files for the city simulator
ii  ttf-dejavu              2.31-1           Metapackage to pull in ttf-dejavu-
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

lincity-ng recommends no packages.

lincity-ng suggests no packages.

-- no debconf information





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#604172; Package lincity-ng. (Tue, 30 Nov 2010 21:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Tue, 30 Nov 2010 21:00:03 GMT) (full text, mbox, link).


Message #10 received at 604172@bugs.debian.org (full text, mbox, reply):

From: Moritz Muehlenhoff <jmm@inutil.org>
To: Alain B <alain.baeckeroot@laposte.net>
Cc: 604172@bugs.debian.org, control@bugs.debian.org
Subject: Re: lincity-ng crash (easyly reproducible)
Date: Tue, 30 Nov 2010 21:56:31 +0100
severity 604172 important
thanks

On Sat, Nov 20, 2010 at 10:37:58PM +0100, Alain B wrote:
> 
> This bug was reported on upstream mailing list, and seems to affect only
> debian squeeze (with either the squeeze version or latest svn version)
> maybe only the amd64 version.
> 
> For sure this does not happen on ubuntu 10.04 32bits (either packaged or svn)
> 
> Howto crash :
> - start a game (either window or full screen, SDL or OpenGL)
> - zoom out (get as far as possible from the town)
> - put the mouse cursor on top of screen to scroll at maximum
> - select buldozer tool
> 
> the game should crash after 2 or 3 tries (maybe the first one) even
> without doing anything else than selecting tool.

I cannot reproduce this. (amd64, Squeeze).

Can you reproduce this yourself or did you just see the report on the development
mailing list? If so, do you know how to generate a backtrace?

Cheers,
        Moritz




Severity set to 'important' from 'grave' Request was from Moritz Muehlenhoff <jmm@inutil.org> to control@bugs.debian.org. (Tue, 30 Nov 2010 21:00:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#604172; Package lincity-ng. (Tue, 30 Nov 2010 23:45:08 GMT) (full text, mbox, link).


Acknowledgement sent to Alain Baeckeroot <alain.baeckeroot@laposte.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Tue, 30 Nov 2010 23:45:08 GMT) (full text, mbox, link).


Message #17 received at 604172@bugs.debian.org (full text, mbox, reply):

From: Alain Baeckeroot <alain.baeckeroot@laposte.net>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: 604172@bugs.debian.org
Subject: Re: lincity-ng crash (easyly reproducible)
Date: Wed, 1 Dec 2010 00:20:42 +0100
Le 30/11/2010 à 21:56, Moritz Muehlenhoff a écrit :
> 
> I cannot reproduce this. (amd64, Squeeze).
> 
> Can you reproduce this yourself or did you just see the report on the development
> mailing list? If so, do you know how to generate a backtrace?
> 

I am one of the upstream maintainers of lincity-ng
I can reproduce this bug in squeeze-amd64 (packaged or rebuild)

On fedora14-amd64 it is a bit stranger :
- the fedora packaged version is named-fc12 
 `file lincity-ng` says something like "elf64 for linux-2.6.18"
  it works flawlessly in f14

- my personal rebuid on fc14 
  `file lincity-ng` says something like "elf64 for linux-2.6.32"
	it crashes at first "buldozer tool" selection.


I don't know what means the "for linux 2.6.X" given by the file command, maybe
 this could help me to track down this bug.

I'll post a bt trace from gdb soon (i must sleep now :) )

Cheers
Alain





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#604172; Package lincity-ng. (Thu, 02 Dec 2010 21:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Alain Baeckeroot <alain.baeckeroot@laposte.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Thu, 02 Dec 2010 21:06:03 GMT) (full text, mbox, link).


Message #22 received at 604172@bugs.debian.org (full text, mbox, reply):

From: Alain Baeckeroot <alain.baeckeroot@laposte.net>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: 604172@bugs.debian.org
Subject: Re: lincity-ng crash (easyly reproducible)
Date: Thu, 2 Dec 2010 22:03:24 +0100
[Message part 1 (text/plain, inline)]
Hi

i digged a little more this weird bug :
In attachment you'll find 
- a simple patch that fix this (or more probably a workaround)
- the backtrack from gdb (on latest svn)
	(game map is bounded by (0,0) < (x,y) < (100,100) )

I just don't understand why this bug does not happen all the time, 
and stayed hidden for so long (it appears in a very stable part of
the code, untouched for years)

I'll try to have a deeper understanding later.

Cheers
Alain
[patch_crash_on_bulldoze_tool.diff (text/x-patch, attachment)]
[gdb_bt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#604172; Package lincity-ng. (Mon, 06 Dec 2010 21:42:10 GMT) (full text, mbox, link).


Acknowledgement sent to Alain Baeckeroot <alain.baeckeroot@laposte.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Mon, 06 Dec 2010 21:42:10 GMT) (full text, mbox, link).


Message #27 received at 604172@bugs.debian.org (full text, mbox, reply):

From: Alain Baeckeroot <alain.baeckeroot@laposte.net>
To: 604172@bugs.debian.org
Cc: Moritz Muehlenhoff <jmm@inutil.org>
Subject: Re: lincity-ng crash (easyly reproducible)
Date: Mon, 6 Dec 2010 22:38:39 +0100
[Message part 1 (text/plain, inline)]
Attached is the patch corresponding to upstream commit 1605 which fixes
the crash due to out of boundary...

thanks
[fix_1605.diff (text/x-patch, attachment)]

Reply sent to Markus Koschany <apo@gambaru.de>:
You have taken responsibility. (Thu, 07 Mar 2013 17:06:07 GMT) (full text, mbox, link).


Notification sent to Alain B <alain.baeckeroot@laposte.net>:
Bug acknowledged by developer. (Thu, 07 Mar 2013 17:06:07 GMT) (full text, mbox, link).


Message #32 received at 604172-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: 604172-close@bugs.debian.org
Subject: Bug#604172: fixed in lincity-ng 2.0-3
Date: Thu, 07 Mar 2013 17:03:27 +0000
Source: lincity-ng
Source-Version: 2.0-3

We believe that the bug you reported is fixed in the latest version of
lincity-ng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 604172@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@gambaru.de> (supplier of updated lincity-ng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 Mar 2013 16:37:16 +0100
Source: lincity-ng
Binary: lincity-ng lincity-ng-data
Architecture: source amd64 all
Version: 2.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@gambaru.de>
Description: 
 lincity-ng - City simulator game with polished graphics
 lincity-ng-data - Media files for the city simulator game LinCity-NG
Closes: 557683 604172 638667
Changes: 
 lincity-ng (2.0-3) unstable; urgency=low
 .
   [ Markus Koschany ]
   * Add myself to Uploaders.
   * Switch to package format 3.0 (quilt).
   * Bump compat level to 9 and require debhelper >= 9.
   * debian/control:
     - Bump Standards-Version to 3.9.4, no changes needed.
     - Drop quilt dependency. Package format 3.0 uses quilt by default.
     - Do not use versioned dependencies. They are not necessary anymore.
     - Add ${misc:Depends} to binary packages.
     - lincity-ng-data: Suggest lincity-ng.
     - Update to use canonical Vcs-fields. Fix broken Vcs-Browser link.
     - Change Conflicts to Breaks and Replaces relation which allows the dpkg
       package management system to find the best upgrade path more freely.
   * debian/rules:
     - Use dh sequencer to simplify debian/rules.
     - Build with --parallel and --autotools_dev addon.
     - Install RELNOTES as upstream changelog. Do not install it via docs file.
     - Build with hardening=+all.
   * Update debian/copyright to copyright format 1.0.
   * Install doc/lincity-ng.6 via manpages files.
   * Install arch-dependent files with lincity-ng.install and arch-independent
     files with lincity-ng-data.install.
   * Drop README.Debian. The information presented in this README file is
     outdated. (Closes: #638667)
   * New patches:
     - create-valid-desktop-file.patch: Remove deprecated UTF-8 Encoding key.
       Fix a typo and use the icon name without file extension. Add keywords.
       (LP: #674519)
     - Add fix-format-is-not-a-string-literal-error.patch to prevent a FTBFS.
     - fix-hyphen-is-used-as-minus-sign.patch: Creates a 100% valid manpage.
     - fix-out-of-boundary-crash.patch: The game can crash in rare cicumstances
       if you zoom out as far as possible and select the bulldozer tool. This
       patch fixes the issue. Thanks to Alain Baeckeroot for the report and
       patch. (Closes: #604172)
     - Add dep3 headers to all patches.
   * Symlink only sans.ttf, the other two fonts were removed by upstream.
 .
   [ Gonéri Le Bouder ]
   * Remove myself from Uploaders.
 .
   [ Cyril Brulebois ]
   * Update my mail address.
 .
   [ Bruno "Fuddl" Kleinert ]
   * Fix typo in lincity-ng-data package description. (Closes: #557683)
Checksums-Sha1: 
 240a20031a5a57c04f63995ea48a4e050339e28e 2209 lincity-ng_2.0-3.dsc
 2377c40fb8f6fb55015019827b1395199d06769b 40500403 lincity-ng_2.0.orig.tar.gz
 574cac8e45831ec1e51c53a1ecb2dca373426db4 10213 lincity-ng_2.0-3.debian.tar.gz
 4597a8c862925cc32cc90a82fb6f352a4281200c 399174 lincity-ng_2.0-3_amd64.deb
 ed72bf8e0f6b4e361bc669bb7dfe60e07cdf1d19 39772516 lincity-ng-data_2.0-3_all.deb
Checksums-Sha256: 
 28ced9c53a89b8da047ea905914558ce8fc74647ad051d2898b9f5f2c3581f1c 2209 lincity-ng_2.0-3.dsc
 df0ba6341212e2e550904f813ab6893f733817b948885df51201c960fbf6808b 40500403 lincity-ng_2.0.orig.tar.gz
 0557597ccffa3f2c4562d1ea71f16c6535cb9a3a0d5d36f5e62ac34fd4dc61f5 10213 lincity-ng_2.0-3.debian.tar.gz
 3ea7389e603107e0ae1889267d550ea9c8537bd3951fa2ecae680768d68fe3e1 399174 lincity-ng_2.0-3_amd64.deb
 8f652e6d2b726c237589481b027a6cc6da0883ea5166e4760778fd6c3662c8c0 39772516 lincity-ng-data_2.0-3_all.deb
Files: 
 bcd44688b8a3fa830fbdeb8fdfc0998c 2209 games optional lincity-ng_2.0-3.dsc
 e20d96af2b063c2d168878be9dce25d0 40500403 games optional lincity-ng_2.0.orig.tar.gz
 e6e9a36ab4429e5052ceef83ddee1d22 10213 games optional lincity-ng_2.0-3.debian.tar.gz
 94ce027c722f6f8c19d4ca7aea3170dc 399174 games optional lincity-ng_2.0-3_amd64.deb
 e77e04cb69288bd2c56982c492519cf6 39772516 games optional lincity-ng-data_2.0-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJROMdBAAoJEHQmOzf1tfkTUuQP/RpVaOpolLvp2nrLa+OJGoHY
ypXu2wSpqCwpSKh252FHVAGiPPdWoQwsCJCGcd5yC7b6CsCIf7jAzAX3QqfBx7Hz
zcLwumTl4p4s2BsZr2DqQDjtIypeEv7NzsKwKQ8CF4iSOkmkImM7unGqmR7+6PUL
C5DWL4ZfGbyaTzv1ZM2+C+XSu7VWNIk+YGIfIPndWeVkpcMipLV15HyWObVAWAFv
Et3/WRSALxWSV3UQZXCOX+yYwyi+1U5uNXg/Rjne0kRlplSyg1Yo6HzKlreyHbdk
+/UxauQIIyilRjXt1RA2/cbTqkIfDj7iAjXynPl90pWJINbI+edmjJgvt5DnA65J
rHIhfXE7hWwzwg8J8drCIwYDuHJkSajMYp9Ys6+ByT3Wj1PmCb1iPDh0eourkNQ8
RQbu9VNTqU74AMQCfR2AzAavR4D8nPz7Hqra1pEQDIFDC5IUoRmUGWqmAvmKhY8O
EsUspCbM8KLmukWxT2IGtAcIKgQXqSWA5H+oghuQRCetULRqbuE5e/5NNPOB0uKo
zVSmsaro5KdTId0A9R93Rh6p1DKkpm8wP/WSFmXpHYwevwqo6/a24yAdMVSKo1SL
DA6amxbjB9D/F6M9eeAYPOoo++/dzT6fhmZSL9eBHVR/kGumTgqWjnL85yn/osAo
InmeFua/+32ITWyN1SiU
=fqNt
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 03 Jun 2013 08:57:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 15:08:43 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.