Debian Bug report logs -
#309677
Dumps core on Alpha
Reported by: Falk Hueffner <falk@debian.org>
Date: Wed, 18 May 2005 18:33:03 UTC
Severity: grave
Found in version 1.16.0.0-1
Fixed in version asc/1.16.2.0-2
Done: Bartosz Fenski <fenio@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Falk Hueffner <falk@debian.org>:
New Bug report received and forwarded. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: asc
Version: 1.16.0.0-1
Severity: grave
When I start asc, I get a screen with some aircrafts for a second or
so, and then:
falk@juist:~% asc
open /dev/sequencer: No such device
zsh: abort (core dumped) asc
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: alpha
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.3
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages asc depends on:
ii aalib1 1.4p5-22 ascii art library
ii asc-data 1.16.0.0-1 data files for the Advanced Strate
ii libartsc0 1.3.2-3 aRts Sound system C support librar
ii libasound2 1.0.8-3 ALSA library
ii libaudio2 1.7-2 The Network Audio System (NAS). (s
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6.1 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libesd0 0.2.35-2 Enlightened Sound Daemon - Shared
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0-0pre9 GCC support library
ii libglib2.0-0 2.6.4-1 The GLib library of C routines
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libogg0 1.1.2-1 Ogg Bitstream Library
ii libparagui1.0 1.0.4-8 a real crossplatform widget set ba
ii libphysfs-1.0 1.0.0-4 filesystem abstraction library for
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsdl-image1 1.2.4-1 image loading library for Simple D
ii libsdl-mixer1 1.2.6-1 mixer library for Simple DirectMed
ii libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer
ii libsigc++-1.2 1.2.5-4 type-safe Signal Framework for C++
ii libsmpeg0 0.4.5+cvs20030824-1 SDL MPEG Player Library - shared l
ii libstdc++5 1:3.3.6-5 The GNU Standard C++ Library v3
ii libtiff4 3.7.2-2 Tag Image File Format (TIFF) libra
ii libvorbis0a 1.1.0-1 The Vorbis General Audio Compressi
ii libvorbisfile 1.1.0-1 The Vorbis General Audio Compressi
ii libx11-6 4.3.0.dfsg.1-13 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-13 X Window System miscellaneous exte
ii libxt6 4.3.0.dfsg.1-13 X Toolkit Intrinsics
ii slang1 1.4.9dbs-8 The S-Lang programming library - r
ii xlibs 4.3.0.dfsg.1-13 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #10 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Wed, May 18, 2005 at 08:29:38PM +0200, Falk Hueffner wrote:
> Package: asc
> Version: 1.16.0.0-1
> Severity: grave
> When I start asc, I get a screen with some aircrafts for a second or
> so, and then:
> falk@juist:~% asc
> open /dev/sequencer: No such device
> zsh: abort (core dumped) asc
Confirmed as well with the version in sarge.
--
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #15 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Here's the (not so useful) backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000120111a2c in putchar ()
(gdb) bt
#0 0x0000000120111a2c in putchar ()
#1 0x0000000120111dd0 in putchar ()
#2 0x00000001200c5374 in putchar ()
#3 0x00000001200c5228 in putchar ()
#4 0x00000001200c5020 in putchar ()
#5 0x00000001200c4eb4 in putchar ()
#6 0x000000012003bb44 in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
#7 0x000000012003c90c in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
#8 0x0000000120223954 in std::_Rb_tree_rebalance_for_erase ()
#9 0x000000012003f2b4 in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
Cannot access memory at address 0x20000e68e88
(gdb)
--
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Bartosz Fenski aka fEnIo <fenio@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #20 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thu, May 19, 2005 at 04:13:55AM -0700, Steve Langasek wrote:
> Here's the (not so useful) backtrace:
[...]
Thanks Steve.
Since I don't have access to alpha desktop it would be quite hard to debug
the problem.
One more question. Does it segfault with `asc -q` switch?
regards
fEnIo
--
,''`. Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo
: :' : 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland
`. `' phone:+48602383548 | proud Debian maintainer and user
`- http://skawina.eu.org | jid:fenio@jabber.org | rlu:172001
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to "Steinar H. Gunderson" <sgunderson@bigfoot.com>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #25 received at 309677@bugs.debian.org (full text, mbox, reply):
On Fri, May 20, 2005 at 04:05:53PM +0200, Bartosz Fenski aka fEnIo wrote:
> Since I don't have access to alpha desktop it would be quite hard to debug
> the problem.
I doubt this is relevant for the bug, but Valgrind shows several errors in
the memory handling. For instance, asc allocates memory with new[] some
places and then later free it with asc_free() (graphicset.cpp:199 and
sg.cpp:309); another problem is that it deletes "void*"-pointers, which gives
undefined behaviour (g++ complains about this). Second, there are several
uses of uninitialised values (which could make bugs crop up on one platform
but not another); I won't list them all here, but simply running "valgrind
asc -w" (on x86, of course) shows quite a lot of them. (Some are due to X,
but the others should really be fixed.)
Also note that there are several places where g++ warns "array subscript has
type char". As the signedness of char is undefined, this may very well be a
pile of portability bugs waiting to happen...
BTW, setting DEB_BUILD_OPTIONS="noopt" doesn't work, since you only override
CFLAGS, not CXXFLAGS.
/* Steinar */
--
Homepage: http://www.sesse.net/
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #30 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, May 20, 2005 at 04:05:53PM +0200, Bartosz Fenski aka fEnIo wrote:
> On Thu, May 19, 2005 at 04:13:55AM -0700, Steve Langasek wrote:
> > Here's the (not so useful) backtrace:
> Since I don't have access to alpha desktop it would be quite hard to debug
> the problem.
> One more question. Does it segfault with `asc -q` switch?
Yes, it does.
--
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to "Martin Bickel" <bickel@asc-hq.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #35 received at 309677@bugs.debian.org (full text, mbox, reply):
On Mon, 23 May 2005 18:07:25 +0200, Bartosz Fenski aka fEnIo wrote:
>Do you have any clue what could cause this crash on alpha architecture?
Sorry, I don't know what's going wrong. But to be honest, I would have
been surprised if ASC did run on Alpha out of the box...
I don't expect the changes to get ASC to run on other platforms to be
big, but without such machines I can't find the problems myself. The
delete void* and char array subscripts should not be the source of any
portability problems, that should work in those circumstances, however
ugly it is. Instead I suspect some structure alignment issues because
ints are 64 Bit on Alpha - unlike AMD64, where an int is still 32 bit.
Currently only i386 and AMD64 are known to work, PowerPC support is on
the way.
I'm very aware that there are foul things under the hood of ASC (using
valgrind myself) : primarily the graphics engine with its MS-DOS
legacy. I'm working on a complete replacement which will result in ASC
2.0, but that's still several month off.
Regards,
Martin
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #40 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, May 23, 2005 at 07:49:26PM +0200, Martin Bickel wrote:
> On Mon, 23 May 2005 18:07:25 +0200, Bartosz Fenski aka fEnIo wrote:
> >Do you have any clue what could cause this crash on alpha architecture?
> Sorry, I don't know what's going wrong. But to be honest, I would have
> been surprised if ASC did run on Alpha out of the box...
> I don't expect the changes to get ASC to run on other platforms to be
> big, but without such machines I can't find the problems myself. The
> delete void* and char array subscripts should not be the source of any
> portability problems, that should work in those circumstances, however
> ugly it is. Instead I suspect some structure alignment issues because
> ints are 64 Bit on Alpha - unlike AMD64, where an int is still 32 bit.
No, they are not.
--
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #45 received at 309677@bugs.debian.org (full text, mbox, reply):
Hi,
could you please "fix" this by uploading the latest version of asc with
the archs list trimmed down to i386 and amd64, the archs that seem
officially supported by upstream, to t-p-u?
asc has been removed from Sarge for now and it seems quite silly to
exclude a really well-made game from Sarge just because it has problems
on a fringe architecture hardly anyone uses nowadays, while it's working
for the two archs that cover at least 95% of the installed base. I've
played the i386 version for quite some time and it's nowhere in a
non-releasable state. It can than be ported to alpha in sid after Sarge
has been released.
Cheers,
Moritz
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Bartosz Fenski aka fEnIo <fenio@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #50 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Wed, May 25, 2005 at 01:35:55PM +0200, Moritz Muehlenhoff wrote:
> could you please "fix" this by uploading the latest version of asc with
> the archs list trimmed down to i386 and amd64, the archs that seem
> officially supported by upstream, to t-p-u?
I'm not sure if it is possible to "fix" it this way. If some package was
released/built for all archs and then there are problems on one of them
then it is RC bug. Reuploading without problematic arch isn't considered as
a solution for this RC bug.
But as I said I'm not sure about this.
> asc has been removed from Sarge for now and it seems quite silly to
> exclude a really well-made game from Sarge just because it has problems
> on a fringe architecture hardly anyone uses nowadays, while it's working
> for the two archs that cover at least 95% of the installed base. I've
> played the i386 version for quite some time and it's nowhere in a
> non-releasable state. It can than be ported to alpha in sid after Sarge
> has been released.
Yep it works great on i386 for me.
regards
fEnIo
--
,''`. Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo
: :' : 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland
`. `' phone:+48602383548 | proud Debian maintainer and user
`- http://skawina.eu.org | jid:fenio@jabber.org | rlu:172001
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Lior Kaplan <webmaster@guides.co.il>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #55 received at 309677@bugs.debian.org (full text, mbox, reply):
Package: asc
Followup-For: Bug #309677
>> could you please "fix" this by uploading the latest version of asc with
>> the archs list trimmed down to i386 and amd64, the archs that seem
>> officially supported by upstream, to t-p-u?
>
>I'm not sure if it is possible to "fix" it this way. If some package was
>released/built for all archs and then there are problems on one of them
>then it is RC bug. Reuploading without problematic arch isn't considered as
>a solution for this RC bug.
you said only i386 & ia64 are officialy supported, so why not to exclude platform which don't have support?
The of course means that a whishlist bug should be reported to add alpha support.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Bartosz Fenski aka fEnIo <fenio@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #60 received at 309677@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello.
Falk could you please test new version of asc? According to authors it
supports powerpc, so maybe support for other archs is better too.
If not then I'll ask ftp-masters for removing all not supported archs for
now.
regards
fEnIo
--
,''`. Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo
: :' : 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland
`. `' phone:+48602383548 | proud Debian maintainer and user
`- http://skawina.eu.org | jid:fenio@jabber.org | rlu:172001
[signature.asc (application/pgp-signature, inline)]
Message sent on to Falk Hueffner <falk@debian.org>:
Bug#309677.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Bartosz Fenski <fenio@debian.org>:
Bug#309677; Package asc.
(full text, mbox, link).
Acknowledgement sent to Falk Hueffner <falk@debian.org>:
Extra info received and forwarded to list. Copy sent to Bartosz Fenski <fenio@debian.org>.
(full text, mbox, link).
Message #68 received at 309677@bugs.debian.org (full text, mbox, reply):
Bartosz Fenski aka fEnIo <fenio@debian.org> writes:
> Falk could you please test new version of asc? According to authors it
> supports powerpc, so maybe support for other archs is better too.
It seems to work as of 1.16.2.0-1. BTW, you should try to fix this:
../../ASCStringHelpers.h: In static member function 'static int ASCStringHelpers::_Printf(const char*, ...)':
../../ASCStringHelpers.h:445: warning: cannot pass objects of non-POD type 'struct va_list' through '...'; call will abort at runtime
(it seems to be dead code, but still... what you want here is
"vprintf".)
--
Falk
Reply sent to Bartosz Fenski <fenio@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Falk Hueffner <falk@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #73 received at 309677-close@bugs.debian.org (full text, mbox, reply):
Source: asc
Source-Version: 1.16.2.0-2
We believe that the bug you reported is fixed in the latest version of
asc, which is due to be installed in the Debian FTP archive:
asc-data_1.16.2.0-2_all.deb
to pool/main/a/asc/asc-data_1.16.2.0-2_all.deb
asc_1.16.2.0-2.diff.gz
to pool/main/a/asc/asc_1.16.2.0-2.diff.gz
asc_1.16.2.0-2.dsc
to pool/main/a/asc/asc_1.16.2.0-2.dsc
asc_1.16.2.0-2_i386.deb
to pool/main/a/asc/asc_1.16.2.0-2_i386.deb
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 309677@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bartosz Fenski <fenio@debian.org> (supplier of updated asc 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: SHA1
Format: 1.7
Date: Wed, 10 Aug 2005 11:07:34 +0200
Source: asc
Binary: asc asc-data
Architecture: source i386 all
Version: 1.16.2.0-2
Distribution: unstable
Urgency: low
Maintainer: Bartosz Fenski <fenio@debian.org>
Changed-By: Bartosz Fenski <fenio@debian.org>
Description:
asc - turn-based strategy game
asc-data - data files for the Advanced Strategic Command game
Closes: 309677 322198
Changes:
asc (1.16.2.0-2) unstable; urgency=low
.
* Seems that asc (at least without networking support) works on all archs,
so we're going to support them again. (Closes: #322198, #309677)
Files:
210413cbe679b798d42a9e2d654d413f 772 games optional asc_1.16.2.0-2.dsc
93875144e1c6fdf51f8c97fe04792437 3041 games optional asc_1.16.2.0-2.diff.gz
bebfdbe26ad5a4f6f30fd7181c239bf7 6102230 games optional asc-data_1.16.2.0-2_all.deb
2e97dc35892fc8ecd09cb2f109e36ec6 2276770 games optional asc_1.16.2.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC+cuehQui3hP+/EARAswvAKCf27Rz4wx0/in8Rkw9OtH699XD8gCgmtOf
rb1HzV2ydfJcMLHjWpyQ/xc=
=MjtT
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 15:43:55 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:
Tue Aug 14 22:48:11 2018;
Machine Name:
beach
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.