Stable: 2.5.2
Development: 2.6-alpha3
toshiba satellite 220cds laptop
p120mhz
32mb ram
OpenBSD chev 4.4 GENERIC#1021 i386
moc stable 2.4.4 compiled from source with gcc (GCC) 3.3.5
DECODER_PLUGINS=' mp3 vorbis flac sndfile ffmpeg'
netstreams also enabled with curl
dependencies were installed from the openbsd binary packages at ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.4/packages/i386/
First issue: All of the toggle elements remain bold even when disabled (SHUFFLE, REPEAT, NEXT). What i mean is that I can enable/disable them yet the text remains bold either way so if I look at the interface I have no way to know what is toggled.
Second issue: If I try to switch from pcm to the master mixer using the 'x' key, mocp interface just crashes. The mocp server continues to run and play the music, but even if i reattach to it it just crashes again with the same message. The only way to get the client interface to run again is to kill the server process and run mocp again. Here is the message after crash:
assertion "value >= 0 && value <= 100" failed: file "interface_elements.c", line 3325, function "iface_set_mixer_value" |
| || Abort trap (core dumped)
I'm not proficient with gdb.. but here is what we get:
chev# gdb mocp.core
GNU gdb 6.3
This GDB was configured as "i386-unknown-openbsd4.4"..."/root/mocp.core": not in executable format: File format not recognized
If it matters, this behavior remains the same whether ssh'd into the console or running locally and also whether using ksh or zsh. And yes, I know this system is old and slow but it really seems to work great with moc other than the client interface crash behavior. I have no trouble playing flac, mp3, ogg from a mounted nfs share. I tried to install 2.50-alpha3 just to see if therer were any difference but I could not get past make due to various compile errors which I am not knowledgable enough to troubleshoot.
Thanks for moc and for any help :)
daper
Sun, 2009-02-15 14:35
Permalink
Thanks for the report. I have
Thanks for the report. I have no way (and time) to debug this under OpenBSD :( Do you use OSS driver?
To use gdb, you need two options: path to the mocp executable and then the core file like gdb /usr/local/bin/mocp mocp.core
azurite
Mon, 2009-02-16 00:41
Permalink
gdb output
Yes I am using OSS, and here is the gdb output ..not sure if this is any help though
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.4"...
Core was generated by `mocp'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.11.0...done.
Loaded symbols for /usr/lib/libpthread.so.11.0
Reading symbols from /usr/lib/libossaudio.so.3.1...done.
Loaded symbols for /usr/lib/libossaudio.so.3.1
Reading symbols from /usr/local/lib/libcurl.so.10.0...done.
Loaded symbols for /usr/local/lib/libcurl.so.10.0
Reading symbols from /usr/local/lib/libidn.so.16.30...done.
Loaded symbols for /usr/local/lib/libidn.so.16.30
Reading symbols from /usr/local/lib/libiconv.so.5.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.5.0
Reading symbols from /usr/local/lib/libintl.so.4.0...done.
Loaded symbols for /usr/local/lib/libintl.so.4.0
Reading symbols from /usr/lib/libssl.so.11.0...done.
Loaded symbols for /usr/lib/libssl.so.11.0
Reading symbols from /usr/lib/libcrypto.so.14.0...done.
Loaded symbols for /usr/lib/libcrypto.so.14.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/lib/libncurses.so.10.0...done.
Loaded symbols for /usr/lib/libncurses.so.10.0
Reading symbols from /usr/lib/libm.so.3.0...done.
Loaded symbols for /usr/lib/libm.so.3.0
Symbols already loaded for /usr/lib/libpthread.so.11.0
Reading symbols from /usr/lib/libc.so.48.0...done.
Loaded symbols for /usr/lib/libc.so.48.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/moc/decoder_plugins/libffmpeg_decoder.so...done.
Loaded symbols for /usr/local/lib/moc/decoder_plugins/libffmpeg_decoder.so
Reading symbols from /usr/local/lib/libavformat.so.12.0...done.
Loaded symbols for /usr/local/lib/libavformat.so.12.0
Reading symbols from /usr/local/lib/libbz2.so.10.4...done.
Loaded symbols for /usr/local/lib/libbz2.so.10.4
Reading symbols from /usr/local/lib/libavcodec.so.13.0...done.
Loaded symbols for /usr/local/lib/libavcodec.so.13.0
Reading symbols from /usr/local/lib/libfaac.so.0.0...done.
Loaded symbols for /usr/local/lib/libfaac.so.0.0
Reading symbols from /usr/local/lib/libfaad.so.1.0...done.
Loaded symbols for /usr/local/lib/libfaad.so.1.0
Reading symbols from /usr/local/lib/libmp3lame.so.1.0...done.
Loaded symbols for /usr/local/lib/libmp3lame.so.1.0
Reading symbols from /usr/local/lib/libvorbis.so.6.0...done.
Loaded symbols for /usr/local/lib/libvorbis.so.6.0
Reading symbols from /usr/local/lib/libvorbisenc.so.2.3...done.
Loaded symbols for /usr/local/lib/libvorbisenc.so.2.3
Reading symbols from /usr/local/lib/liba52.so.0.0...done.
Loaded symbols for /usr/local/lib/liba52.so.0.0
Reading symbols from /usr/local/lib/libtheora.so.3.0...done.
Loaded symbols for /usr/local/lib/libtheora.so.3.0
Reading symbols from /usr/local/lib/libogg.so.5.3...done.
Loaded symbols for /usr/local/lib/libogg.so.5.3
Reading symbols from /usr/local/lib/libx264.so.2.0...done.
Loaded symbols for /usr/local/lib/libx264.so.2.0
Reading symbols from /usr/local/lib/libavutil.so.6.0...done.
Loaded symbols for /usr/local/lib/libavutil.so.6.0
Reading symbols from /usr/local/lib/moc/decoder_plugins/libflac_decoder.so...done.
Loaded symbols for /usr/local/lib/moc/decoder_plugins/libflac_decoder.so
Reading symbols from /usr/local/lib/libFLAC.so.9.0...done.
Loaded symbols for /usr/local/lib/libFLAC.so.9.0
Reading symbols from /usr/local/lib/moc/decoder_plugins/libmp3_decoder.so...done.
Loaded symbols for /usr/local/lib/moc/decoder_plugins/libmp3_decoder.so
Reading symbols from /usr/local/lib/libmad.so.2.1...done.
Loaded symbols for /usr/local/lib/libmad.so.2.1
Reading symbols from /usr/local/lib/libid3tag.so.3.0...done.
Loaded symbols for /usr/local/lib/libid3tag.so.3.0
Reading symbols from /usr/local/lib/moc/decoder_plugins/libsndfile_formats_decoder.so...done.
Loaded symbols for /usr/local/lib/moc/decoder_plugins/libsndfile_formats_decoder.so
Reading symbols from /usr/local/lib/libsndfile.so.2.0...done.
Loaded symbols for /usr/local/lib/libsndfile.so.2.0
Reading symbols from /usr/local/lib/moc/decoder_plugins/libvorbis_decoder.so...done.
Loaded symbols for /usr/local/lib/moc/decoder_plugins/libvorbis_decoder.so
Reading symbols from /usr/local/lib/libvorbisfile.so.5.0...done.
Loaded symbols for /usr/local/lib/libvorbisfile.so.5.0
#0 0x0c95faed in kill () from /usr/lib/libc.so.48.0
daper
Mon, 2009-02-16 11:26
Permalink
Ootput of the "bt" command of
Ootput of the "bt" command of gdb will be more helpful.
azurite
Mon, 2009-02-16 19:57
Permalink
bt output
#0 0x0c95faed in kill () from /usr/lib/libc.so.48.0
(gdb) bt
#0 0x0c95faed in kill () from /usr/lib/libc.so.48.0
#1 0x0c997da3 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2 0x0c938b17 in __assert2 (file=0x3c006069 "interface_elements.c", line=3325,
func=0x3c005fbf "iface_set_mixer_value", failedexpr=0x3c00644e "value >= 0 && value <= 100")
at /usr/src/lib/libc/gen/assert.c:52
#3 0x1c01cbe2 in iface_set_mixer_value (value=0) at interface_elements.c:3328
#4 0x1c010b8c in update_mixer_value () at interface.c:429
#5 0x1c015701 in interface_loop () at interface.c:3260
#6 0x1c00aad5 in start_moc (params=0xcfbe2d5c, args=0xcfbe2fec, arg_num=0) at main.c:190
#7 0x1c00b2be in main (argc=0, argv=0xcfbe2fe8) at main.c:548
(gdb)