alip / mpdcron

A ‘cron’ like program for mpd. It can execute scripts based on mpd’s idle events.
http://mpd.wikia.com/wiki/Client:MPDCRON
GNU General Public License v2.0
35 stars 8 forks source link

mpdcron: free(): invalid pointer: 0x089c4f60 #8

Open Dieterbe opened 14 years ago

Dieterbe commented 14 years ago

using 9638d9c7fbf3e5c31d83

log and stacktrace : http://sprunge.us/Djid

Dieterbe commented 14 years ago

Hmm. Consider the following ways to specify your password in mpdcron.conf: 1: "password = mypass" 2: "password = md5:md5ofmypass" 3: "password = notmypass"

Method 1 has always worked fine. The problem here is ever since I'm using method 2. Note that last.fm does accept the format, because with method 3 the app will say:

[scrobbler] [last.fm] handshake failed, username or password incorrect (BADAUTH) [scrobbler] [last.fm] waiting 60 seconds before trying again

with option 2 I get: [scrobbler] [last.fm] handshake successful and so on.

What happens is (after submitting 1 song): mpdcron: scrobbler-submit.c:296: scrobbler_handshake_callback: Assertion `scrobbler->state == SCROBBLER_STATE_HANDSHAKE' failed.

Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall ()