On 2012/06/09 15:20, Stuart Henderson wrote: > On 2012/06/09 19:23, Alexandr Shadchin wrote: > > > $ pgrep -lf sndio > > > 14709 /usr/bin/sndiod -v 109 -b 47040 -a off -fsun:1 -L - > > > > May be need use -frsnd/1 ? > > I tried this, it doesn't change anything (also other programs work > OK with sun:1).
Hrmmm... So sun:1 / rsnd/1 were actually wrong, they should have used device 0 instead (I think I had a second uaudio connected at some point which shifted the devices around). Other programs I tried were still working because they silently fell back to using the device directly (sigh... sorry I didn't notice that before). Fixing this changes things of course, but I still get segfaults, either using file/open or opening on the command line. Starting program: /usr/local/bin/deadbeef ~/emergency.wav starting deadbeef 0.5.4 server_start INFO: unlink socket: No such file or directory failed to load config file loading plugins from /home/sthen/.local/lib/deadbeef loading plugins from /usr/local/lib/deadbeef plug_load_all: scandir found 71 files loading plugin /usr/local/lib/deadbeef/aac.so loading plugin /usr/local/lib/deadbeef/artwork.so loading plugin /usr/local/lib/deadbeef/cdda.so loading plugin /usr/local/lib/deadbeef/converter.so loading plugin /usr/local/lib/deadbeef/converter_gtk2.so loading plugin /usr/local/lib/deadbeef/dca.so loading plugin /usr/local/lib/deadbeef/ddb_ao.so loading plugin /usr/local/lib/deadbeef/ddb_dumb.so found gui plugin ddb_gui_GTK2.so added GTK2 gui plugin loading plugin /usr/local/lib/deadbeef/ddb_mono2stereo.so loading plugin /usr/local/lib/deadbeef/ddb_shn.so loading plugin /usr/local/lib/deadbeef/dsp_libsrc.so loading plugin /usr/local/lib/deadbeef/ffap.so loading plugin /usr/local/lib/deadbeef/ffmpeg.so loading plugin /usr/local/lib/deadbeef/flac.so loading plugin /usr/local/lib/deadbeef/hotkeys.so loading plugin /usr/local/lib/deadbeef/lastfm.so loading plugin /usr/local/lib/deadbeef/m3u.so loading plugin /usr/local/lib/deadbeef/mms.so loading plugin /usr/local/lib/deadbeef/mpgmad.so loading plugin /usr/local/lib/deadbeef/musepack.so loading plugin /usr/local/lib/deadbeef/notify.so loading plugin /usr/local/lib/deadbeef/nullout.so loading plugin /usr/local/lib/deadbeef/shellexec.so loading plugin /usr/local/lib/deadbeef/shellexecui_gtk2.so loading plugin /usr/local/lib/deadbeef/sndfile.so loading plugin /usr/local/lib/deadbeef/sndio.so loading plugin /usr/local/lib/deadbeef/supereq.so loading plugin /usr/local/lib/deadbeef/tta.so loading plugin /usr/local/lib/deadbeef/vfs_curl.so loading plugin /usr/local/lib/deadbeef/vfs_zip.so loading plugin /usr/local/lib/deadbeef/vorbis.so loading plugin /usr/local/lib/deadbeef/vtx.so loading plugin /usr/local/lib/deadbeef/wavpack.so checking GUI plugin: GTK2 found selected GUI plugin: GTK2 loading plugin /usr/local/lib/deadbeef/ddb_gui_GTK2.so converter: failed to open file /home/sthen/.config/deadbeef/presets/encoders/. for writing converter: failed to open file /home/sthen/.config/deadbeef/presets/encoders/.. for writing gtkui plugin compiled for gtk version: 2.24.10 selected output plugin: sndio output plugin streamer_set_output_format 16bit int 2ch 44100Hz channelmask=3, bufferfill: 0 selected output plugin: sndio output plugin aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 120416 selected output plugin: sndio output plugin aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 120416 streamer_set_output_format 8bit int 2ch 22050Hz channelmask=3 streamer_set_output_format 8bit int 2ch 22050Hz channelmask=3, bufferfill: 0 gtkui: found cover-art loader plugin aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 60208 Program received signal SIGSEGV, Segmentation fault. [Switching to thread 1029706] 0x00000000004106ed in streamer_read_async (bytes=0x834fc0 "", size=Variable "size" is not available. ) at streamer.c:1876 1876 int tempsize = pcm_convert (&fileinfo->fmt, input, &dspfmt, tempbuf, inputsize); (gdb) bt #0 0x00000000004106ed in streamer_read_async (bytes=0x834fc0 "", size=Variable "size" is not available. ) at streamer.c:1876 #1 0x0000000000411b9c in streamer_thread (ctx=Variable "ctx" is not available. ) at streamer.c:1411 #2 0x000000021042d68e in _rthread_start (v=Variable "v" is not available. ) at /usr/src/lib/librthread/rthread.c:113 #3 0x00000002046b607e in __tfork_thread () from /usr/lib/libc.so.64.1 Cannot access memory at address 0x20525d000 (gdb) print *fileinfo $1 = {plugin = 0x220b9a340, fmt = {bps = 8, channels = 2, samplerate = 22050, channelmask = 3, is_float = 0, is_bigendian = 0}, readpos = 0.185759634, file = 0x0} (gdb) print dspfmt $2 = {bps = 32, channels = 2, samplerate = 22050, channelmask = 3, is_float = 1, is_bigendian = 0} (gdb) print *fileinfo->plugin $3 = {plugin = {type = 1, api_vmajor = 1, api_vminor = 0, version_major = 1, version_minor = 0, flags = 0, reserved1 = 0, reserved2 = 0, reserved3 = 0, id = 0x220a995f6 "sndfile", name = 0x220a995fe "WAV/PCM player", descr = 0x220a99880 "wav/aiff player using libsndfile", copyright = 0x220a998a8 "Copyright (C) 2009-2012 Alexey Yakovenko <wa...@users.sourceforge.net>\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas pub"..., website = 0x220a9960d "http://deadbeef.sf.net", command = 0, start = 0x220999530 <sndfile_start>, stop = 0x2209993b0 <sndfile_stop>, connect = 0, disconnect = 0, exec_cmdline = 0, get_actions = 0, message = 0x220999540 <sndfile_message>, configdialog = 0x220a99740 "property \"File Extensions (separate with ';')\" entry sndfile.extensions \"wav;aif;aiff;snd;au;paf;svx;nist;voc;ircam;w64;mat4;mat5;pvf;xi;htk;sds;avr;wavex;sd2;caf;wve\";\n"}, open = 0x220999380 <sndfile_open>, init = 0x220999050 <sndfile_init>, free = 0x2209989c0 <sndfile_free>, read = 0x220998e80 <sndfile_read>, seek = 0x220998e70 <sndfile_seek>, seek_sample = 0x220998e30 <sndfile_seek_sample>, insert = 0x220998a00 <sndfile_insert>, numvoices = 0, mutevoice = 0, read_metadata = 0, write_metadata = 0, exts = 0x220b9a020, prefixes = 0x0}