On Thu, Feb 09, 2012 at 12:44:21AM +0100, Elimar Riesebieter wrote:
> Firstly, check syslog to see if the system has logged a crash.

I found nothing in syslog or messages.

> Secondly, run the server as a separate process with its own terminal
> and see if it produces an error message:
> 
>         mocp -SF
> 
> then in a separate VC or xterm:
> 
>         mocp
> 
> If and when it crashes, check the first process for a message.

OK, results below - sorry if this is more output than you needed. I ran
the test twice, once before and once after removing ~/.moc/cache,
similar results each time. Output below is from the first test only. It
crashed on the 3rd file each time, the first 2 played normally. To make
sure it just wasn't this set of files, I also ran the test on a
different directory with a similar result. Thanks for your help on this
Elimar.


Feb  8 19:45:38.398859: audio.c:379 go_to_another_file(): Playing next...
Feb  8 19:45:38.398865: audio.c:402 go_to_another_file(): Next item
Feb  8 19:45:38.398870: audio.c:440 play_thread(): Playing item 2: 
/home/ljholish/audio/samples/JonathanBailey44-Acoustic_Bass/f-1B.wav
Feb  8 19:45:38.398831: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.398887: server.c:609 send_events(): Flushing events for client 0
Feb  8 19:45:38.398901: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.398890: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.399070: out_buf.c:334 out_buf_reset(): resetting the buffer
Feb  8 19:45:38.399076: player.c:336 precache_wait(): Waiting for precache 
thread...
Feb  8 19:45:38.399082: player.c:342 precache_wait(): done
Feb  8 19:45:38.399086: player.c:627 play_file(): Using precached file
Feb  8 19:45:38.399090: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.399095: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.399101: audio.c:701 audio_open(): Audio device already opened 
with such parameters.
Feb  8 19:45:38.399473: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.399504: audio.c:1176 audio_plist_set_time(): Setting time for 
/home/ljholish/audio/samples/JonathanBailey44-Acoustic_Bass/f-1B.wav
Feb  8 19:45:38.399515: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.399505: jack.c:217 moc_jack_play(): Playing 32768B
Feb  8 19:45:38.399531: jack.c:235 moc_jack_play(): Space in the ringbuffer: 
1022B
Feb  8 19:45:38.399539: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.399556: jack.c:261 moc_jack_play(): Sleeping for 8533us
Feb  8 19:45:38.399586: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.399594: server.c:609 send_events(): Flushing events for client 0
Feb  8 19:45:38.399608: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.399615: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.399621: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.401088: tags_cache.c:677 tags_cache_add_request(): Request for 
tags for /home/ljholish/audio/samples/JonathanBailey44-Acoustic_Bass/f-1B.wav 
from client 0
Feb  8 19:45:38.401146: tags_cache.c:718 tags_cache_add_request(): Found 
outdated or incomplete tags in the cache
Feb  8 19:45:38.402210: tags_cache.c:447 tags_cache_read_add(): Getting tags 
for /home/ljholish/audio/samples/JonathanBailey44-Acoustic_Bass/f-1B.wav
Feb  8 19:45:38.402302: tags_cache.c:497 tags_cache_read_add(): Tags in the 
cache are not what we want.
Feb  8 19:45:38.402327: audio.c:1155 audio_get_ftime(): Found time for 
/home/ljholish/audio/samples/JonathanBailey44-Acoustic_Bass/f-1B.wav
Feb  8 19:45:38.402340: tags_cache.c:521 tags_cache_read_add(): Adding/updating 
cache object
Feb  8 19:45:38.402948: tags_cache.c:376 tags_cache_gc(): Elements in cache: 
256 (limit 256)
Feb  8 19:45:38.403013: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.403028: tags_cache.c:574 reader_thread(): All queues empty, 
waiting
Feb  8 19:45:38.403041: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.403051: server.c:609 send_events(): Flushing events for client 0
Feb  8 19:45:38.403142: player.c:133 bitrate_list_empty(): Bitrate list 
elements removed.
Feb  8 19:45:38.403154: player.c:455 decode_loop(): No get_stream() function
Feb  8 19:45:38.403160: server.c:257 wake_up_server(): Waking up the server
Feb  8 19:45:38.403167: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.403222: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.403227: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 0 because the bitrate hasn't changed
Feb  8 19:45:38.403233: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.403585: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.403624: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.403628: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 0 because the bitrate hasn't changed
Feb  8 19:45:38.403634: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.403951: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.403988: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.403993: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 0 because the bitrate hasn't changed
Feb  8 19:45:38.403998: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.404330: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.404375: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.404380: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 0 because the bitrate hasn't changed
Feb  8 19:45:38.404385: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.404718: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.404759: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.404764: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 0 because the bitrate hasn't changed
Feb  8 19:45:38.404769: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.404964: server.c:1690 server_loop(): Got 'wake up'
Feb  8 19:45:38.404990: server.c:609 send_events(): Flushing events for client 0
Feb  8 19:45:38.405204: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.405250: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.405261: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 1 because the bitrate hasn't changed
Feb  8 19:45:38.405271: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.405595: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.405638: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.405648: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 1 because the bitrate hasn't changed
Feb  8 19:45:38.405659: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.405990: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.406034: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.406044: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 1 because the bitrate hasn't changed
Feb  8 19:45:38.406055: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.406380: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.406423: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.406433: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 1 because the bitrate hasn't changed
Feb  8 19:45:38.406443: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.406777: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.406821: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.406830: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 1 because the bitrate hasn't changed
Feb  8 19:45:38.406841: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.407168: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.407212: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.407222: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.407232: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.407618: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.407666: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.407676: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.407687: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.408028: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.408074: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.408084: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.408094: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.408426: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.408473: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.408483: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.408494: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.408833: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.409195: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.409207: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.409219: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.409554: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.409692: player.c:501 decode_loop(): decoded 32768 bytes
Feb  8 19:45:38.409703: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 2 because the bitrate hasn't changed
Feb  8 19:45:38.409714: player.c:566 decode_loop(): putting into the buffer 
32768 bytes
Feb  8 19:45:38.410061: player.c:460 decode_loop(): loop...
Feb  8 19:45:38.410104: player.c:501 decode_loop(): decoded 25948 bytes
Feb  8 19:45:38.410114: player.c:180 bitrate_list_add(): Not adding bitrate -1 
at time 3 because the bitrate hasn't changed
Feb  8 19:45:38.410124: player.c:566 decode_loop(): putting into the buffer 
25948 bytes
*** glibc detected *** mocp: double free or corruption (!prev): 
0x0000000001faf140 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75ab6)[0x7f782ee85ab6]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f782ee8a7ec]
mocp(audio_conv+0x3fb)[0x434ac1]
mocp(audio_send_buf+0x51)[0x417892]
mocp[0x42f4f5]
mocp(player+0x5a7)[0x43003d]
mocp[0x418097]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7f782ebfab50]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f782eee890d]
======= Memory map: ========
00400000-00459000 r-xp 00000000 08:02 1259904                            
/usr/bin/mocp
00659000-0065c000 rw-p 00059000 08:02 1259904                            
/usr/bin/mocp
0065c000-006f7000 rw-p 00000000 00:00 0 
01f54000-01fc9000 rw-p 00000000 00:00 0                                  [heap]
7f7818000000-7f7818029000 rw-p 00000000 00:00 0 
7f7818029000-7f781c000000 ---p 00000000 00:00 0 
7f781f98c000-7f781f98d000 ---p 00000000 00:00 0 
7f781f98d000-7f782018d000 rw-p 00000000 00:00 0 
7f782018d000-7f782018e000 ---p 00000000 00:00 0 
7f782018e000-7f782098e000 rw-p 00000000 00:00 0 
7f782098e000-7f7820a54000 rw-s 00000000 08:07 51675149                   
/home/ljholish/.moc/cache/__db.004
7f7820a54000-7f7820a96000 rw-s 00000000 08:07 51675148                   
/home/ljholish/.moc/cache/__db.003
7f7820a96000-7f7820aca000 rw-s 00000000 08:07 51675147                   
/home/ljholish/.moc/cache/__db.002
7f7820aca000-7f7820ad0000 rw-s 00000000 08:07 51675146                   
/home/ljholish/.moc/cache/__db.001
7f7820ad0000-7f7820ad1000 ---p 00000000 00:00 0 
7f7820ad1000-7f78212d1000 rw-p 00000000 00:00 0 
7f78212d1000-7f78212d2000 ---p 00000000 00:00 0 
7f78212d2000-7f7821cd3000 rw-p 00000000 00:00 0 
7f7821cd3000-7f7821cd4000 ---p 00000000 00:00 0 
7f7821cd4000-7f7821d54000 rw-p 00000000 00:00 0 
7f7821d54000-7f7826bc4000 rw-s 00000000 00:11 108939554                  
/run/shm/jack-1000-0
7f7826bc4000-7f7826bc5000 ---p 00000000 00:00 0 
7f7826bc5000-7f7826c45000 rw-p 00000000 00:00 0 
7f7826c45000-7f7826c46000 ---p 00000000 00:00 0 
7f7826c46000-7f7826cc6000 rw-p 00000000 00:00 0 
7f7826cc6000-7f7826cee000 r-xp 00000000 08:02 607161                     
/usr/lib/x86_64-linux-gnu/libwavpack.so.1.1.4
7f7826cee000-7f7826eed000 ---p 00028000 08:02 607161                     
/usr/lib/x86_64-linux-gnu/libwavpack.so.1.1.4
7f7826eed000-7f7826eee000 rw-p 00027000 08:02 607161                     
/usr/lib/x86_64-linux-gnu/libwavpack.so.1.1.4
7f7826eee000-7f7826ef0000 r-xp 00000000 08:02 523610                     
/usr/lib/moc/decoder_plugins/libwavpack_decoder.so
7f7826ef0000-7f78270ef000 ---p 00002000 08:02 523610                     
/usr/lib/moc/decoder_plugins/libwavpack_decoder.so
7f78270ef000-7f78270f0000 rw-p 00001000 08:02 523610                     
/usr/lib/moc/decoder_plugins/libwavpack_decoder.so
7f78270f0000-7f78270f8000 r-xp 00000000 08:02 425981                     
/usr/lib/libvorbisfile.so.3.3.4
7f78270f8000-7f78272f7000 ---p 00008000 08:02 425981                     
/usr/lib/libvorbisfile.so.3.3.4Aborted

-- 
<[email protected]>



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

Reply via email to