Skip to content

Instantly share code, notes, and snippets.

@2bits
Created November 6, 2012 06:29
Show Gist options
  • Save 2bits/4022986 to your computer and use it in GitHub Desktop.
Save 2bits/4022986 to your computer and use it in GitHub Desktop.
mpd-0.17.2 - crash on stop after playing iTunes m4a on OSX
(gdb) bt
#0 decoder_stream_decode (plugin=0x1000655f8, decoder=0x100000000, input_stream=0x10093cd00) at decoder_thread.c:141
#1 0x000000010000cbec in decoder_run_file [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:364
#2 0x000000010000cbec in decoder_run_song [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:408
#3 0x000000010000cbec in decoder_run [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:453
#4 0x000000010000cbec in decoder_task (arg=0x1028004f0) at decoder_thread.c:141
#5 0x0000000100322503 in g_thread_proxy ()
#6 0x00007fff80db5742 in _pthread_start ()
#7 0x00007fff80da2181 in thread_start ()
(gdb) bt full
#0 decoder_stream_decode (plugin=0x1000655f8, decoder=0x100000000, input_stream=0x10093cd00) at decoder_thread.c:141
No locals.
#1 0x000000010000cbec in decoder_run_file [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:364
dc = (struct decoder_control *) 0x1028004f0
suffix = 0x102e06e78 "m4a"
plugin = (const struct decoder_plugin *) 0x1000655f8
input_stream = (struct input_stream *) 0x10093cd00
decoder = {
dc = 0x1028004f0,
conv_state = {
dsd = {
buffer = {
buffer = 0x0,
size = 0
},
dsd2pcm = {0x0 <repeats 32 times>}
},
resample = {
buffer = {
buffer = 0x0,
size = 0
}
},
dither = {
error = {0, 0, 0},
random = 0
},
format_buffer = {
buffer = 0x0,
size = 0
},
channels_buffer = {
buffer = 0x0,
size = 0
}
},
timestamp = 21.826757369614285,
initial_seek_pending = false,
initial_seek_running = false,
seeking = false,
song_tag = 0x0,
stream_tag = 0x102e057f0,
decoder_tag = 0x0,
chunk = 0x0,
replay_gain_info = {
tuples = {{
gain = 0,
peak = 0
}, {
gain = 0,
peak = 0
}}
},
replay_gain_serial = 0
}
song = <value temporarily unavailable, due to optimizations>
uri = <value temporarily unavailable, due to optimizations>
#2 0x000000010000cbec in decoder_run_song [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:408
dc = (struct decoder_control *) 0x1028004f0
suffix = 0x102e06e78 "m4a"
plugin = (const struct decoder_plugin *) 0x1000655f8
input_stream = (struct input_stream *) 0x10093cd00
decoder = {
dc = 0x1028004f0,
conv_state = {
dsd = {
buffer = {
buffer = 0x0,
size = 0
},
dsd2pcm = {0x0 <repeats 32 times>}
},
resample = {
buffer = {
buffer = 0x0,
size = 0
}
},
dither = {
error = {0, 0, 0},
random = 0
},
format_buffer = {
buffer = 0x0,
size = 0
},
channels_buffer = {
buffer = 0x0,
size = 0
}
},
timestamp = 21.826757369614285,
initial_seek_pending = false,
initial_seek_running = false,
seeking = false,
song_tag = 0x0,
stream_tag = 0x102e057f0,
decoder_tag = 0x0,
chunk = 0x0,
replay_gain_info = {
tuples = {{
gain = 0,
peak = 0
}, {
gain = 0,
peak = 0
}}
},
replay_gain_serial = 0
}
song = <value temporarily unavailable, due to optimizations>
uri = <value temporarily unavailable, due to optimizations>
#3 0x000000010000cbec in decoder_run [inlined] () at /private/tmp/mpd-De4y/mpd-0.17.2/src/decoder_thread.c:453
dc = (struct decoder_control *) 0x1028004f0
suffix = 0x102e06e78 "m4a"
plugin = (const struct decoder_plugin *) 0x1000655f8
input_stream = (struct input_stream *) 0x10093cd00
decoder = {
dc = 0x1028004f0,
conv_state = {
dsd = {
buffer = {
buffer = 0x0,
size = 0
},
dsd2pcm = {0x0 <repeats 32 times>}
},
resample = {
buffer = {
buffer = 0x0,
size = 0
}
},
dither = {
error = {0, 0, 0},
random = 0
},
format_buffer = {
buffer = 0x0,
size = 0
},
channels_buffer = {
buffer = 0x0,
size = 0
}
},
timestamp = 21.826757369614285,
initial_seek_pending = false,
initial_seek_running = false,
seeking = false,
song_tag = 0x0,
stream_tag = 0x102e057f0,
decoder_tag = 0x0,
chunk = 0x0,
replay_gain_info = {
tuples = {{
gain = 0,
peak = 0
}, {
gain = 0,
peak = 0
}}
},
replay_gain_serial = 0
}
song = <value temporarily unavailable, due to optimizations>
uri = <value temporarily unavailable, due to optimizations>
#4 0x000000010000cbec in decoder_task (arg=0x1028004f0) at decoder_thread.c:141
dc = (struct decoder_control *) 0x1028004f0
suffix = 0x102e06e78 "m4a"
plugin = (const struct decoder_plugin *) 0x1000655f8
input_stream = (struct input_stream *) 0x10093cd00
decoder = {
dc = 0x1028004f0,
conv_state = {
dsd = {
buffer = {
buffer = 0x0,
size = 0
},
dsd2pcm = {0x0 <repeats 32 times>}
},
resample = {
buffer = {
buffer = 0x0,
size = 0
}
},
dither = {
error = {0, 0, 0},
random = 0
},
format_buffer = {
buffer = 0x0,
size = 0
},
channels_buffer = {
buffer = 0x0,
size = 0
}
},
timestamp = 21.826757369614285,
initial_seek_pending = false,
initial_seek_running = false,
seeking = false,
song_tag = 0x0,
stream_tag = 0x102e057f0,
decoder_tag = 0x0,
chunk = 0x0,
replay_gain_info = {
tuples = {{
gain = 0,
peak = 0
}, {
gain = 0,
peak = 0
}}
},
replay_gain_serial = 0
}
song = <value temporarily unavailable, due to optimizations>
uri = <value temporarily unavailable, due to optimizations>
#5 0x0000000100322503 in g_thread_proxy ()
No symbol table info available.
#6 0x00007fff80db5742 in _pthread_start ()
No symbol table info available.
#7 0x00007fff80da2181 in thread_start ()
No symbol table info available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment