Bug#315691: xmms-sid: segfaults with a SID tune

2005-06-30 Thread Matti Hamalainen
On Thu, 30 Jun 2005, Francesco Poli wrote:

 Package: xmms-sid
 Version: 0.7.4+0.8.0beta14-1
 Followup-For: Bug #315691

Problem located. It is a simple case of the SID-file in question having 
large number of sub-tunes, which overflows the internal limit of XMMS-SID. 
This is a long-standing problem which will be fixed in next release by 
replacing the static amount with dynamic allocation. (It _should_ have 
been fixed in beta14, but I got too busy with the release.)

However, a trivial patch should fix most occurences of this problem, 
although it somewhat increases memory usage...

http://www.tnsp.org/xs-files/xmms-sid-0.8.0beta14-maxsubfix.patch


Gerfried, apply this if you wish.

-- 
] ccr/TNSP^DKD^pWp :: ccr(at)tnsp(dot)org :: http://ccr.tnsp.org/
] Fingerprint: 0466 95ED 96DF 3701 C71D   D62D 10A6 28A6 1374 C112


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



Bug#315691: xmms-sid: segfaults with a SID tune

2005-06-29 Thread Francesco Poli
Package: xmms-sid
Version: 0.7.4+0.8.0beta14-1
Followup-For: Bug #315691

On Mon, 27 Jun 2005, Matti Hamalainen wrote:

 Unable to reproduce. Could you run xmms under gdb to get a backtrace
 and send it pasted here? Example:
 
 $ gdb xmms
 ...
 (gdb) run
 ... crash ..
 (gdb) bt
 ... backtrace follows, with any luck :)

Here's what I got:

$ gdb xmms   
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...(no debugging symbols found)
Using host libthread_db library /lib/libthread_db.so.1.

[gdb] r Zak_McKracken.sid 
Starting program: /usr/bin/xmms Zak_McKracken.sid
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1680)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 32769 (LWP 1681)]
[New Thread 16386 (LWP 1682)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type return to continue, or q return to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 32771 (LWP 1683)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 49156 (LWP 1684)]
[New Thread 65541 (LWP 1685)]
Message: device: default

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16386 (LWP 1682)]
0x403f3354 in mallopt () from /lib/libc.so.6
[gdb] bt
#0  0x403f3354 in mallopt () from /lib/libc.so.6
#1  0x403f215f in free () from /lib/libc.so.6
#2  0x401eb1b1 in g_free () from /usr/lib/libglib-1.2.so.0
#3  0x408a5ece in xs_tuneinfo_free () from /usr/lib/xmms/Input/libxmmssid.so
#4  0x408a5da9 in xs_get_song_info () from /usr/lib/xmms/Input/libxmmssid.so
#5  0x08060e0c in input_get_song_info ()
#6  0x0806b177 in playlist_get_songtime ()
#7  0x0806af96 in playlist_get_songtitle ()
#8  0x08094938 in playlistwin_real_hide ()
#9  0x08068e92 in playlist_ins ()
#10 0x08069540 in playlist_ins_url_string ()
#11 0x0806dda9 in ctrl_write_packet ()
#12 0x40200e51 in pthread_start_thread () from /lib/libpthread.so.0
#13 0x40200ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#14 0x4045892a in clone () from /lib/libc.so.6
[gdb] quit


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



Bug#315691: xmms-sid: segfaults with a SID tune

2005-06-27 Thread Matti Hamalainen
On Sat, 25 Jun 2005, Francesco Poli wrote:

 Package: xmms-sid
 Version: 0.7.4+0.8.0beta14-1
 Severity: normal
 
 
 Steps to reproduce the bug:
 
 $ wget http://www.c64.org/HVSC/GAMES/S-Z/Zak_McKracken.sid
 $ xmms Zak_McKracken.sid 
 Message: device: default
 
 Segmentation fault
 
 You've probably found a bug in XMMS, please visit
 http://bugs.xmms.org and fill out a bug report.

Unable to reproduce. Could you run xmms under gdb to get a backtrace
and send it pasted here? Example:

$ gdb xmms
...
(gdb) run
... crash ..
(gdb) bt
... backtrace follows, with any luck :)


-- 
] ccr/TNSP^DKD^pWp :: ccr(at)tnsp(dot)org :: http://ccr.tnsp.org/
] Fingerprint: 0466 95ED 96DF 3701 C71D   D62D 10A6 28A6 1374 C112


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



Bug#315691: xmms-sid: segfaults with a SID tune

2005-06-24 Thread Francesco Poli
Package: xmms-sid
Version: 0.7.4+0.8.0beta14-1
Severity: normal


Steps to reproduce the bug:

$ wget http://www.c64.org/HVSC/GAMES/S-Z/Zak_McKracken.sid
$ xmms Zak_McKracken.sid 
Message: device: default

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.


^Z
[1]+  Stopped xmms Zak_McKracken.sid
$ killall -KILL xmms
[1]+  Killed  xmms Zak_McKracken.sid


Note that my system is a Debian Sarge, recently upgraded from Woody.
The same SID tune was played correctly by the Woody version of xmms-sid.


My ~/.xmms/config file is included below (I don't think this to be
much useful, but I included it just in case...):

-8---8---8---8---8-
[xmms]
allow_multiple_instances=FALSE
use_realtime=FALSE
always_show_cb=TRUE
convert_underscore=TRUE
convert_%20=TRUE
show_numbers_in_pl=TRUE
snap_windows=TRUE
save_window_positions=TRUE
dim_titlebar=TRUE
save_playlist_position=TRUE
read_pl_metadata=TRUE
open_rev_order=FALSE
get_info_on_load=FALSE
get_info_on_demand=TRUE
eq_doublesize_linked=TRUE
no_playlist_advance=FALSE
sort_jump_to_file=FALSE
smooth_title_scroll=TRUE
use_backslash_as_dir_delimiter=FALSE
player_x=981
player_y=846
player_shaded=FALSE
player_visible=TRUE
shuffle=TRUE
repeat=TRUE
doublesize=FALSE
autoscroll_songname=TRUE
timer_mode=1
vis_type=0
analyzer_mode=0
analyzer_type=1
analyzer_peaks=TRUE
scope_mode=0
vu_mode=1
vis_refresh_rate=1
analyzer_falloff=3
peaks_falloff=0
playlist_x=706
playlist_y=382
playlist_width=275
playlist_height=580
playlist_shaded=FALSE
playlist_visible=FALSE
playlist_transparent=FALSE
playlist_font=-adobe-helvetica-bold-r-*-*-10-*
use_fontsets=FALSE
mainwin_use_xfont=FALSE
mainwin_font=-adobe-helvetica-medium-r-*-*-8-*
playlist_position=0
equalizer_x=465
equalizer_y=727
snap_distance=10
equalizer_visible=FALSE
equalizer_shaded=FALSE
equalizer_active=FALSE
equalizer_autoload=FALSE
easy_move=FALSE
use_eplugins=FALSE
always_on_top=TRUE
sticky=TRUE
equalizer_preamp=2.4
random_skin_on_play=FALSE
pause_between_songs=FALSE
pause_between_songs_time=2
mouse_wheel_change=2
show_wm_decorations=FALSE
eqpreset_default_file=dir_default.preset
eqpreset_extension=preset
equalizer_band0=20
equalizer_band1=16
equalizer_band2=8
equalizer_band3=-3.2
equalizer_band4=-13.6
equalizer_band5=-12.8
equalizer_band6=-3.2
equalizer_band7=6.4
equalizer_band8=14.4
equalizer_band9=20
output_plugin=/usr/lib/xmms/Output/libOSS.so
effect_plugin=/usr/lib/xmms/Effect/libnormvol.so
disabled_iplugins=
url_history_length=0
generic_title_format=%p - %t
filesel_path=/cdrom/
playlist_path=/home/frx/music/
enabled_vplugins=libxmms_singit.so,libsanalyzer.so,libbscope.so
enabled_gplugins=libxmms_osd.so
use_pl_metadata=TRUE
timer_minutes_only=FALSE
mousewheel_scroll_amount=10
skin_dirs_number=1
skin_dir0=/home/frx/.xmms/Skins

[MPG123]
resolution=16
channels=2
downsample=0
http_buffer_size=256
http_prebuffer=25
use_proxy=FALSE
proxy_host=localhost
proxy_port=8080
proxy_use_auth=FALSE
save_http_stream=FALSE
save_http_path=/home/frx
cast_title_streaming=TRUE
use_udp_channel=TRUE
title_override=FALSE
disable_id3v2=FALSE
id3_format=%p - %t
detect_by_content=FALSE
use_3dnow=0

[normvol]
level=0.25
silence=0.01
maxmult=5
cutoff=13000
degree=2
do_compress=FALSE

[CDDA]
device=/dev/cdrom
directory=/cdrom/
use_oss_mixer=TRUE
title_override=FALSE
name_format=%p - %t
use_cddb=TRUE
cddb_server=freedb.freedb.org
cddb_protocol_level=0
use_cdin=FALSE
cdin_server=www.cdindex.org

[BlurScope]
color=7248125

[XMMS-SID]
bitsPerSample=16
channels=1
frequency=44100
mos8580=FALSE
emulateFilter=TRUE
filterFs=400
filterFm=60
filterFt=0.05
memoryMode=1
clockSpeed=1
forceSpeed=FALSE
detectMagic=TRUE
STILpath=~/C64Music/DOCUMENTS/STIL.txt
useSTIL=FALSE
fileInfo=%1 - %2
audioBitsPerSample=16
audioChannels=2
audioFrequency=44100
emulateFilters=TRUE
playerEngine=1
sid2Builder=1
sid2OptLevel=0
oversampleEnable=FALSE
oversampleFactor=2
playMaxTimeEnable=TRUE
playMaxTimeUnknown=TRUE
playMaxTime=500
playMinTimeEnable=FALSE
playMinTime=15
songlenDBEnable=FALSE
songlenDBPath=~/C64Music/Songlengths.txt
stilDBEnable=FALSE
stilDBPath=~/C64Music/DOCUMENTS/STIL.txt
hvscPath=~/C64Music
subsongControl=2
titleOverride=FALSE
titleFormat=%p - %t (%c) [%n]
subAutoEnable=TRUE
subAutoMinOnly=TRUE
subAutoMinTime=15

[osd]
colour=green
font=-misc-fixed-medium-r-normal-*-*-200-*-*-c-*-iso8859-15
timeout=5
offset=10
shadow_offset=2
pos=0

-8---8---8---8---8-


Here's a list of xmms-related packages installed on my system:

$ dpkg -l | grep xmms  
ii  xmms   1.2.10+cvs2005 Versatile X audio player that looks like Win
ii  xmms-jess  2.9.1-7visualization plugin for XMMS using various 
ii  xmms-osd-plugi 2.2.14-1.1 XMMS plugin using xosd
ii  xmms-sid   0.7.4+0.8.0bet Input plugin for XMMS that plays SID (C64) t
ii  xmms-singit0.1.28-1   Display and edit