* Larry Holish [120211 22:58 -0600]:

> On Sat, Feb 11, 2012 at 10:00:17AM +0100, Elimar Riesebieter wrote:
>  
> > Please find a testbuild at [0] and let me know wether it works or
> > not.
> > 
> > [0] http://www.lxtec.de/debarchiv
> 
> OK, uninstalled sid version and installed yours:
> 
> ljholish:~$ aptitude versions moc
> p   1:2.5.0~alpha4+svn20111012-1 unstable 500 
> i   1:2.5.0~alpha4+svn20120125-1lxtec1 100 
> 
> Unfortunately, fails with the same error message in client.

So John Fitzgerald, the new upstream maintainer of moc, advised us
to find memory leaks via valgrind.

Please do as follows:

1 Save attached moc.supp in the directory where you want to use moc
2 Install valgrind via `apt-get install valgrind`
3 Run moc with the  version 1:2.5.0~alpha4+svn20120125-1lxtec1 as
  follows:

valgrind --leak-check=yes --log-file=valgrind.log --suppressions=moc.supp mocp

4 Send me the valgrind.log file after the crash.
5 Eventually send me the wav file which is responsible for the crash
  via PM. As it is only a shorttime audio it shouldn't be so big.

I did some tests with very short wav files found in
/usr/share/sounds/alsa and can't reproduce your behaviour.

Elimar

-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
         -Friedrich Nietzsche
#
# MOC - music on console
# Copyright (C) 2004-2005 Damian Pietras <da...@daper.net>
#
# moc.supp Copyright (C) 2012 John Fitzgerald
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#

# Some libraries contain memory bugs which obscure messages indicating
# a problem in MOC.  You can improve the signal-to-noise ratio by
# pointing valgrind at this file using its '--suppressions' option.

# TODO: - Prove that the suppressed reports aren't caused by MOC.

{
    LibMagic: Invalid read 2
    Memcheck:Addr2
    fun:file_softmagic
}

{
    ASound: Lost blocks
    Memcheck:Leak
    ...
    obj:*/libasound.so.*
}

{
    RCC: Uninitialised condition
    Memcheck:Cond
    obj:*/librcc.so.*
}

Attachment: signature.asc
Description: Digital signature

Reply via email to