On 2012/06/11 21:19, Alexandr Shadchin wrote: > On Sat, Jun 09, 2012 at 10:05:33PM +0600, Alexandr Shadchin wrote: > > On Fri, Jun 01, 2012 at 12:50:14AM +0600, Alexandr Shadchin wrote: > > > On Sun, May 20, 2012 at 12:45:52AM +0600, Alexandr Shadchin wrote: > > > > On Tue, May 15, 2012 at 01:16:12AM +0600, Alexandr Shadchin wrote: > > > > > Hi, > > > > > > > > > > pkg/DESCR: > > > > > DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD, > > > > > OpenSolaris and probably other UNIX-like systems. > > > > > > > > > > Some features (more can be found on the homepage): > > > > > > > > > > * mp3, ogg vorbis, flac, ape, wv, wav, cd audio (and many more) > > > > > * ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support > > > > > * no GNOME or KDE dependencies > > > > > * minimize to tray, with scrollwheel volume control > > > > > * drag and drop, both inside the playlist, and from other applications > > > > > * control playback from command line > > > > > * global hotkeys > > > > > * multiple playlists > > > > > * album artwork display > > > > > * 18-band graphical equalizer > > > > > * metadata editor > > > > > * user-customizable groups in playlists > > > > > * user-customizable columns with flexible title formatting > > > > > * radio and podcast support for ogg vorbis, mp3 and aac streams > > > > > * gapless playback > > > > > * plugin support; bundled with lots of plugins, such as global > > > > > hotkeys and last.fm scrobbler; sdk is included > > > > > > > > > > > > > Change: > > > > * change CONFIGURE_STYLE to gnu > > > > * check the usage of yasm > > > > * rework alloca patches > > > > * sndio plugins on default > > > > > > > > > > Change: > > > * Add "textproc/intltool" to MODULES > > > * Fix "pthread_mutex_destroy on mutex with waiters!" > > > (thanks to dcoppa@ for both fix) > > > * Simplify sndio backend > > > (+ fix sthen@ segfault, but resampling still does not work for him) > > > > > > > Update to 0.5.5 + some fix sndio backend (thanks ratchov@) > > > > Small update sndio backend. > > sthen@: Can you test this ? (this fix start 'deadbeef emergency.wav' for me)
BTW there's a missing BUILD_DEPENDS on devel/libtool (needed for the autoconf macros) Back to segfaults again, whether opening directly from the command line or opening in the gui. GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd5.1"... (gdb) set args ~/.emergency.wav (gdb) r Starting program: /usr/obj/ports/deadbeef-0.5.5/deadbeef-0.5.5/deadbeef ~/emergency.wav starting deadbeef 0.5.5 server_start 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 gtkui plugin compiled for gtk version: 2.24.10 selected output plugin: sndio output plugin INFO: loading playlist Default INFO: from file /home/sthen/.config/deadbeef/playlists/0.dbpl streamer_set_output_format 16bit int 2ch 44100Hz channelmask=3, bufferfill: 0 selected output plugin: sndio output plugin selected output plugin: sndio output plugin streamer_set_output_format 8bit int 2ch 22050Hz channelmask=3 streamer_set_output_format 8bit int 2ch 22050Hz channelmask=3, bufferfill: 0 Program received signal SIGSEGV, Segmentation fault. [Switching to thread 1006325] 0x0000000000410b7d in streamer_read_async (bytes=0x8354c0 "", size=Variable "size" is not available. ) at streamer.c:1916 1916 int tempsize = pcm_convert (&fileinfo->fmt, input, &dspfmt, tempbuf, inputsize); (gdb) bt full #0 0x0000000000410b7d in streamer_read_async (bytes=0x8354c0 "", size=Variable "size" is not available. ) at streamer.c:1916 dsp = Variable "dsp" is not available. (gdb) bt #0 0x0000000000410b7d in streamer_read_async (bytes=0x8354c0 "", size=Variable "size" is not available. ) at streamer.c:1916 #1 0x000000000041209c in streamer_thread (ctx=Variable "ctx" is not available. ) at streamer.c:1433 #2 0x000000020455668e in _rthread_start (v=Variable "v" is not available. ) at /usr/src/lib/librthread/rthread.c:113 #3 0x0000000206a5b11e in __tfork_thread () from /usr/lib/libc.so.64.2 Cannot access memory at address 0x20807a000 (gdb) thread apply all bt Thread 9 (thread 1029315): #0 0x0000000206a5b10d in __tfork_thread () from /usr/lib/libc.so.64.2 #1 0x0000000204554c38 in _rthread_mutex_lock (mutexp=0x0, trywait=0, abstime=0x204759068) at /usr/src/lib/librthread/rthread_sync.c:162 #2 0x00000002160bf3ba in ddb_src_can_bypass (_src=Variable "_src" is not available. ) at src.c:94 #3 0x00000000004109ca in streamer_read_async (bytes=0x8354c0 "", size=16384) at streamer.c:1871 #4 0x000000000041209c in streamer_thread (ctx=Variable "ctx" is not available. ) at streamer.c:1433 #5 0x000000020455668e in _rthread_start (v=Variable "v" is not available. ) at /usr/src/lib/librthread/rthread.c:113 #6 0x0000000206a5b11e in __tfork_thread () from /usr/lib/libc.so.64.2 Cannot access memory at address 0x20807a000 0x0000000000410b7d 1916 int tempsize = pcm_convert (&fileinfo->fmt, input, &dspfmt, tempbuf, inputsize); (gdb) list 1911 if (inputsize > 0) { 1912 // make *MAX_DSP_RATIO sized buffer for float data 1913 char tempbuf[inputsize/inputsamplesize * dspsamplesize * MAX_DSP_RATIO]; 1914 1915 // convert to float 1916 int tempsize = pcm_convert (&fileinfo->fmt, input, &dspfmt, tempbuf, inputsize); 1917 int nframes = inputsize / inputsamplesize; 1918 ddb_dsp_context_t *dsp = dsp_chain; 1919 float ratio = 1.f; 1920 int maxframes = sizeof (tempbuf) / dspsamplesize; (gdb) print *fileinfo $1 = {plugin = 0x221680340, 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 input No symbol "input" in current context. (gdb) p tempbuf No symbol "tempbuf" in current context. (gdb) p inputsize Variable "inputsize" is not available. (gdb) p dspsamplesize $3 = 8 (gdb) p inputsamplesize No symbol "inputsamplesize" in current context. (gdb) The program is running. Exit anyway? (y or n) y