Carl Fürstenberg <[email protected]> wrote:

Hi,

> Ok, I attach the log here, it got an segfault.
>
> [0:139][r...@azabox azatoth]# LANG=C  mt-daapd -d 9 -f > mt-daapd_crash.log 
> 2>&1
> Segmenteringsfel
> [0:139][r...@azabox azatoth]#

OK, that's *way* better now :-) I can only trigger the bug if I
disable caching in the browser; I don't know if you do have caching
disabled, but the log suggested that.

I've found the segfault and the underlying bug, and it's about as
stupid as it can get.

ws_copyfile(foo, bar, NULL); // is called

and in ws_copyfile(foo, bar, int *bytes_copied):
...
if (write_error)
{
...
*bytes_copied = total_bytes;
...
}

Patching, uploading and submitting for a stable update...

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[email protected]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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

Reply via email to