On Thu, Jun 21, 2007 at 09:34:18PM +0100, Edd Barrett wrote:
> Hi ports@,
>
> The scmpc port (mpd audio scrobbler client), appears to seg fault when 
> invoked.
>
> I am running the most recent snapshot on i386. Th config file used is
> the example one with my username/password substituted.
>
> # scmpc -f /etc/scmpc/scmpc.conf -n
> Old pid file removed.
> 2007-06-21 20:48:35  Segfault in signal handling thread.
> Segmentation fault (core dumped)
>
> I can't see anything evident by using ktrace, so I turned on debugging
> symbols (by adding -g in relevant places after 'make configure'), then
> ran 'make build':
>
> # gdb /usr/local/bin/scmpc
> 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 "i386-unknown-openbsd4.1"...
> (gdb) run -f /etc/scmpc/scmpc -n
> Starting program: /usr/local/bin/scmpc -f /etc/scmpc/scmpc -n
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to process 23633, thread 0x8a3da400]
> 0x0c86117c in L1 () from /usr/lib/libc.so.41.0
> (gdb) bt
> #0  0x0c86117c in L1 () from /usr/lib/libc.so.41.0
> #1  0x1c0035cb in queue_load () at src/audioscrobbler.c:746
> #2  0x1c002eb2 in as_thread (arg=0x0) at src/audioscrobbler.c:475
> #3  0x054fd117 in _thread_start () at
> /usr/src/lib/libpthread/uthread/uthread_create.c:244
> #4  0x0000001f in ?? ()
> #5  0x00000000 in ?? ()
>
> -- 
> Best Regards
>
> Edd
>
> ---------------------------------------------------
> http://students.dec.bournemouth.ac.uk/ebarrett
it's broken when no cache file is present.
a fix will be committed this weekend.

cheers,
jasper

-- 
``Sapere aude!''
NedBSD: http://nedbsd.eu

Reply via email to