Bug#309677: Dumps core on Alpha

2005-05-21 Thread Steve Langasek
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
Description: Digital signature


Bug#309677: Dumps core on Alpha

2005-05-20 Thread Bartosz Fenski aka fEnIo
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:[EMAIL PROTECTED] | 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:[EMAIL PROTECTED] | rlu:172001


signature.asc
Description: Digital signature


Bug#309677: Dumps core on Alpha

2005-05-20 Thread Steinar H. Gunderson
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/


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



Bug#309677: Dumps core on Alpha

2005-05-19 Thread Steve Langasek
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:

 [EMAIL PROTECTED]:~% 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
Description: Digital signature


Bug#309677: Dumps core on Alpha

2005-05-19 Thread Steve Langasek
Here's the (not so useful) backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x000120111a2c in putchar ()
(gdb) bt
#0  0x000120111a2c in putchar ()
#1  0x000120111dd0 in putchar ()
#2  0x0001200c5374 in putchar ()
#3  0x0001200c5228 in putchar ()
#4  0x0001200c5020 in putchar ()
#5  0x0001200c4eb4 in putchar ()
#6  0x00012003bb44 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#7  0x00012003c90c in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#8  0x000120223954 in std::_Rb_tree_rebalance_for_erase ()
#9  0x00012003f2b4 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
Cannot access memory at address 0x2e68e88
(gdb)


-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Bug#309677: Dumps core on Alpha

2005-05-18 Thread Falk Hueffner
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:

[EMAIL PROTECTED]:~% 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, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages asc depends on:
ii  aalib11.4p5-22   ascii art library
ii  asc-data  1.16.0.0-1 data files for the Advanced Strate
ii  libartsc0 1.3.2-3aRts Sound system C support librar
ii  libasound21.0.8-3ALSA library
ii  libaudio2 1.7-2  The Network Audio System (NAS). (s
ii  libaudiofile0 0.2.6-6Open-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-0pre9GCC support library
ii  libglib2.0-0  2.6.4-1The 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-1Ogg Bitstream Library
ii  libparagui1.0 1.0.4-8a real crossplatform widget set ba
ii  libphysfs-1.0 1.0.0-4filesystem abstraction library for
ii  libpng12-01.2.8rel-1 PNG library - runtime
ii  libsdl-image1 1.2.4-1image loading library for Simple D
ii  libsdl-mixer1 1.2.6-1mixer 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-4type-safe Signal Framework for C++
ii  libsmpeg0 0.4.5+cvs20030824-1SDL MPEG Player Library - shared l
ii  libstdc++51:3.3.6-5  The GNU Standard C++ Library v3
ii  libtiff4  3.7.2-2Tag Image File Format (TIFF) libra
ii  libvorbis0a   1.1.0-1The Vorbis General Audio Compressi
ii  libvorbisfile 1.1.0-1The Vorbis General Audio Compressi
ii  libx11-6  4.3.0.dfsg.1-13X Window System protocol client li
ii  libxext6  4.3.0.dfsg.1-13X Window System miscellaneous exte
ii  libxt64.3.0.dfsg.1-13X Toolkit Intrinsics
ii  slang11.4.9dbs-8 The S-Lang programming library - r
ii  xlibs 4.3.0.dfsg.1-13X Keyboard Extension (XKB) configu
ii  zlib1g1:1.2.2-4  compression library - runtime

-- no debconf information


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