Bug#314725: kobodeluxe: Seg fault when disabling sound

2008-02-27 Thread Andrew Moise
  I can't reproduce this in kobodl 0.5.1-1 and libsdl1.2debian-alsa
1.2.13-2.  Thanks for the followup; sorry it took me a year and a half
to get back to you.
  Cheers!



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



Bug#314725: kobodeluxe: Seg fault when disabling sound

2006-05-13 Thread Aurelien Jarno
Hi,

This bug has been reported long time ago and I am not able to reproduce
it here. New versions of libsdl1.2 have been uploaded since then. Could
you please give a try with the latest version in sid and tell me if the
bug is still present ?

Thanks,
Aurelien

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


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



Bug#314725: kobodeluxe: Seg fault when disabling sound

2005-06-18 Thread Andrew Moise
  Okay, I agree that this is SDL's fault.  Feel free to reassign it
appropriately.  I investigated further:

   * This was using the alsa audio output of SDL, _not_ the OSS one (bug
#314866).
   * The behavior I listed only happens when another audio stream is
already playing when kobodl is started; when nothing else is playing, it
fails to initialize the audio system entirely:

-
WARNING: Failed to get hardware screen surface.Switching to SINGLE buffer mode.
ALSA lib pcm_direct.c:666:(snd_pcm_direct_initialize_slave) 
snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:814:(snd_pcm_dmix_open) unable to initialize slave
Couldn't initialize audio; disabling sound effects.
-

   * When I valgrind kobodl while something else _is_ playing, I start
getting reports of invalid accesses before SDL_InitSubSystem() even
returns:

-
[EMAIL PROTECTED] /tmp]$ valgrind --db-attach=yes ./kobodl
==17615== Memcheck, a memory error detector for x86-linux.
==17615== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==17615== Using valgrind-2.4.0, a program supervision framework for x86-linux.
==17615== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==17615== For more details, rerun with: -v
==17615== 
WARNING: Failed to get hardware screen surface.Switching to SINGLE buffer mode.
==17615== Syscall param socketcall.connect(serv_addr..sun_path) points to 
uninitialised byte(s)
==17615==at 0x1B9E8EE6: connect (socket.S:65)
==17615==by 0x1BE48384: snd_pcm_direct_client_connect (pcm_direct.c:371)
==17615==by 0x1BE4BA07: snd_pcm_dmix_open (pcm_dmix.c:832)
==17615==by 0x1BE4C05D: _snd_pcm_dmix_open (pcm_dmix.c:1158)
==17615==by 0x1BE13CC6: snd_pcm_open_conf (pcm.c:2061)
==17615==by 0x1BE142DD: snd_pcm_open_noupdate (pcm.c:2093)
==17615==by 0x1BE14606: snd_pcm_open_slave (pcm.c:2177)
==17615==by 0x1BE523BD: _snd_pcm_softvol_open (pcm_softvol.c:811)
==17615==by 0x1BE13CC6: snd_pcm_open_conf (pcm.c:2061)
==17615==by 0x1BE1463A: snd_pcm_open_slave (pcm.c:2178)
==17615==by 0x1BE34384: _snd_pcm_plug_open (pcm_plug.c:1159)
==17615==by 0x1BE13CC6: snd_pcm_open_conf (pcm.c:2061)
==17615==  Address 0x52BFE040 is on thread 1's stack
==17615== 
==17615==  Attach to debugger ? --- [Return/N/n/Y/y/C/c]  y
starting debugger
==17615== starting debugger with cmd: /usr/bin/gdb -nw /proc/17618/fd/1015 17618
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-linux...Using host libthread_db library 
/usr/lib/debug/libthread_db.so.1.

Attaching to program: /proc/17618/fd/1015, process 17618
`system-supplied DSO at 0xe000' has disappeared; keeping its symbols.
Reading symbols from /usr/lib/valgrind/vg_inject.so...done.
Loaded symbols for /usr/lib/valgrind/vg_inject.so
Reading symbols from /usr/lib/valgrind/vgpreload_memcheck.so...done.
Loaded symbols for /usr/lib/valgrind/vgpreload_memcheck.so
Reading symbols from /usr/lib/libSDL_image-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_image-1.2.so.0
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/debug/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17615)]
Loaded symbols for /usr/lib/debug/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /usr/lib/debug/libm.so.6...done.
Loaded symbols for /usr/lib/debug/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/debug/libc.so.6...done.
Loaded symbols for /usr/lib/debug/libc.so.6
Reading symbols from /usr/lib/debug/libdl.so.2...done.
Loaded symbols for /usr/lib/debug/libdl.so.2
Reading symbols from /usr/lib/libtiff.so.4...done.
Loaded symbols for /usr/lib/libtiff.so.4
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/ld-linux.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.3.2.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1

Bug#314725: kobodeluxe: Seg fault when disabling sound

2005-06-17 Thread Andrew Moise
Package: kobodeluxe
Version: 0.4pre10-1
Severity: normal

  When I launch kobodeluxe and immediately navigate to the options menu
and disable sound, it seg faults.  My system is set up for ALSA sound,
and libsdl1.2debian-oss is installed.
  Here's the full transcript:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/games/kobodl 
[Thread debugging using libthread_db enabled]
[New Thread -1213512064 (LWP 24825)]
WARNING: Failed to get hardware screen surface.Switching to SINGLE buffer mode.
[New Thread -1218815056 (LWP 24826)]
audio.c: Warning: Requested 512 samplebuffer, but got 940 samples.
Loading Trance1...
  Copyright (C) David Olofson, 2002.
.--
| MIDI File: /usr/share/games/kobo-deluxe/sfx/trance1.mid
|Format: 0
| Title: Unknown
|Author: Unknown
|   Remarks: None
'--
  Done!
Loading Test2...
  Copyright (C) David Olofson, 2002.
.--
| MIDI File: /usr/share/games/kobo-deluxe/sfx/test2.mid
|Format: 0
| Title: Unknown
|Author: Unknown
|   Remarks: None
'--
  Done!
Loading Ballad1...
  Copyright (C) David Olofson, 2002.
.--
| MIDI File: /usr/share/games/kobo-deluxe/sfx/ballad1.mid
|Format: 0
| Title: Unknown
|Author: Unknown
|   Remarks: None
'--
  Done!
Name Score Start End
chops31606 0  16
score_manager_t::select_profile(0)
[Thread -1218815056 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213512064 (LWP 24825)]
0xb7d5fece in _int_free () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7d5fece in _int_free () from /lib/tls/libc.so.6
#1  0xb7d5edcb in free () from /lib/tls/libc.so.6
#2  0xb7f27d2f in SDL_FreeAudioMem (chunk=0x337)
at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audiomem.c:70
#3  0xb7f25498 in SDL_AudioQuit ()
at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audio.c:584
#4  0xb7f23e95 in SDL_QuitSubSystem (flags=16)
at ../../SDL-1.2.7+1.2.8cvs20041007/src/SDL.c:200
#5  0xb7f253e0 in SDL_CloseAudio ()
at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audio.c:568
#6  0x0806c146 in audio_stop () at audio.c:864
#7  0x0806c169 in audio_close () at audio.c:893
#8  0x0805f5ab in close_audio () at kobo.cpp:910
#9  0x080607b5 in main (argc=0, argv=0x3f80) at kobo.cpp:1613
(gdb) 

-- 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.11-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kobodeluxe depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1 1:4.0.0-9GCC support library
ii  libsdl-image1.2 1.2.4-1  image loading library for Simple D
ii  libsdl1.2debian 1.2.7+1.2.8cvs20041007-5 Simple DirectMedia Layer
ii  libstdc++5  1:3.3.6-6The GNU Standard C++ Library v3

kobodeluxe recommends no packages.

-- no debconf information


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



Bug#314725: kobodeluxe: Seg fault when disabling sound

2005-06-17 Thread Joey Hess
Andrew Moise wrote:
   When I launch kobodeluxe and immediately navigate to the options menu
 and disable sound, it seg faults.  My system is set up for ALSA sound,
 and libsdl1.2debian-oss is installed.
   Here's the full transcript:

FWIW, I can't reproduce it, not using alsa here.

 (gdb) bt
 #0  0xb7d5fece in _int_free () from /lib/tls/libc.so.6
 #1  0xb7d5edcb in free () from /lib/tls/libc.so.6
 #2  0xb7f27d2f in SDL_FreeAudioMem (chunk=0x337)
 at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audiomem.c:70
 #3  0xb7f25498 in SDL_AudioQuit ()
 at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audio.c:584
 #4  0xb7f23e95 in SDL_QuitSubSystem (flags=16)
 at ../../SDL-1.2.7+1.2.8cvs20041007/src/SDL.c:200
 #5  0xb7f253e0 in SDL_CloseAudio ()
 at ../../../SDL-1.2.7+1.2.8cvs20041007/src/audio/SDL_audio.c:568
 #6  0x0806c146 in audio_stop () at audio.c:864

Looks like it's either a SDL bug, or kobo is doing something to
seriously mess up SDL before disabling the sound.

-- 
see shy jo


signature.asc
Description: Digital signature