Redmine: Issueshttp://redmine.audacious-media-player.org/http://redmine.audacious-media-player.org/welcome/favicon.ico?15159353402015-03-14T10:59:41ZRedmine
Redmine Audacious - Bug #520 (Closed): Unable to play CD diskhttp://redmine.audacious-media-player.org/issues/5202015-03-14T10:59:41ZAndrey Karpenkok.andrey@mq.ru
<p>An attempt to play CD disk cause an segmentation fault</p>
<p>System:<br />3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux<br />3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p>
<p>Please, find attached log</p> Audacious - Bug #511 (Closed): misbehavior of function VFSFile::fread(...)http://redmine.audacious-media-player.org/issues/5112015-02-28T10:28:43ZAndrey Karpenkok.andrey@mq.ru
<p>System: 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux<br />and 3.13.0-46-generic #75-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p>
<p>Description: misbehavior of function VFSFile::fread(...) in case of read from smb:// file server</p>
<p>Log message:<br />ERROR vfs_local.cc:116 [vfs_local_fopen]: smb://192.168.2.148/share/Music/Sandra.The.Platinum.Collection.(3CD).2009.Ape.Cue.Lossless/CD2/Sandra - Platinum Collection.ape: No such file or directory</p>
<p>Workaround: Use symlink to gvfs folder to access network files or use retry logic in the code</p>
<p>int XXX::Read(void * pBuffer, unsigned int nBytesToRead, unsigned int * pBytesRead)
{<br /> if(vfs!=0)
{<br /> int64_t cur = vfs-> ftell();<br /> *pBytesRead = (unsigned int)vfs->fread(pBuffer, 1, nBytesToRead);<br /> if(nBytesToRead > *pBytesRead)
{<br /> if(!vfs ->feof())
{<br /> <abbr title=""Requested %d bytes, actually read %d bytes\n", nBytesToRead, *pBytesRead">AUDERR</abbr>;<br /> <abbr title=""Trying to retry from the same place\n"">AUDERR</abbr>;<br /> if(!vfs -> fseek(cur, VFSSeekType::VFS_SEEK_SET))
{<br /> *pBytesRead = (unsigned int)vfs->fread(pBuffer, 1, nBytesToRead);<br /> <abbr title=""After second attempt read %d bytes\n", *pBytesRead">AUDERR</abbr>;<br /> }<br /> }<br /> }<br /> return 0;<br /> }<br /> return 1;<br />}</p>
<p>In case of workaround use the log looks like:</p>
<p>ERROR newplugin.cc:156 [Read]: Requested 16320 bytes, actually read 64 bytes<br />ERROR newplugin.cc:158 [Read]: Trying to retry from the last place<br />ERROR newplugin.cc:162 [Read]: After second attempt read 16256 bytes</p>
<p>Note: It is possible to play files from the same server without any issues with different names<br />Thanks in advance</p> Audacious - Bug #361 (Rejected): memory corruption during attempt to use another plugin from the ...http://redmine.audacious-media-player.org/issues/3612013-10-21T07:26:32ZAndrey Karpenkok.andrey@mq.ru
<p>I have tried to make some improvement of cue plugin.<br />During my attempt I have found a strange memory corruption. It happens<br />not every time.<br />It is only happens after:<br /> base_tuple = aud_file_read_tuple (filename, decoder);<br />It is easy to find that place in cue.c.</p>
<p>It breaks data stored in memory allocated form the heap using malloc() .</p>
<p>To reproduce it I need to open using "open files" the same cue file ( a lot of tracks and<br />only one flac file) 5-10 times. I will get distorted lengths of the songs.<br />My system is Ubuntu 13.04.</p>