[vorbis] Several problems with ogg123

Mike Irwin mikeirw at pobox.com
Thu Jan 16 19:14:40 PST 2003



I'm having several problems with ogg123 on a FreeBSD-STABLE machine.  In
each case, ogg123 dumps core complaining about a bus error.

1) ogg123 plays all files at what seems like twice the correct speed.  When
   given a SIGINT, ogg123 dumps core.  This is using the program defaults,
   including the OSS driver.  Here's a backtrace from gdb:

Core was generated by `ogg123'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libvorbisfile.so.3...done.
Reading symbols from /usr/local/lib/libvorbis.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/libogg.so.4...done.
Reading symbols from /usr/local/lib/libao.so.3...done.
Reading symbols from /usr/local/lib/libcurl.so.2...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/local/lib/libintl.so.4...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
#1  0x283a3633 in _exit () from /usr/lib/libc_r.so.4
#2  0x28253947 in exit () from /usr/lib/libc.so.4
#3  0x804e9a5 in main (argc=2, argv=0xbfbff61c) at ogg123.c:379
#4  0x8049e9e in _start ()

<p>2) When run using the ESD driver, ogg123 will not even attempt to play the
   file, but just dumps core instead.  Here's another backtrace:

Core was generated by `ogg123'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libvorbisfile.so.3...done.
Reading symbols from /usr/local/lib/libvorbis.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/libogg.so.4...done.
Reading symbols from /usr/local/lib/libao.so.3...done.
Reading symbols from /usr/local/lib/libcurl.so.2...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/local/lib/libintl.so.4...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/local/lib/ao/plugins-2/liboss.so...done.
Reading symbols from /usr/local/lib/ao/plugins-2/libesd.so...done.
Reading symbols from /usr/local/lib/libesd.so.2...done.
Reading symbols from /usr/local/lib/libaudiofile.so.0...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
#1  0x283bdbf2 in connect () from /usr/lib/libc_r.so.4
#2  0x284094b5 in esd_connect_tcpip (host=0x0) at esdlib.c:491
#3  0x284097c8 in esd_open_sound (host=0x0) at esdlib.c:627
#4  0x28409a49 in esd_play_stream (format=4129, rate=44100, host=0x0, 
    name=0x28404da0 "libao output") at esdlib.c:738
#5  0x28404a6d in ao_plugin_open (device=0x806a7c0, format=0xbfafef34)
    at ao_esd.c:138
#6  0x280bb7bf in _open_device (driver_id=5, format=0xbfafef34, options=0x0, 
    file=0x0) at audio_out.c:462
#7  0x280bba3f in ao_open_live (driver_id=5, format=0xbfafef34, options=0x0)
    at audio_out.c:583
#8  0x804b514 in audio_reopen_action (buf=0x8075000, arg=0x80c20d0)
    at callbacks.c:60
#9  0x804a43e in execute_actions (buf=0x8075000, action_list=0x8075050, 
    position=0) at buffer.c:148
#10 0x804a65f in buffer_thread_func (arg=0x8075000) at buffer.c:230
#11 0x28363f80 in _thread_start () from /usr/lib/libc_r.so.4
#12 0x0 in ?? ()

<p>3) When given the command line option `-c', ogg123 dumps core after
   printing the available options.  Again, another backtrace:

Core was generated by `ogg123'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libvorbisfile.so.3...done.
Reading symbols from /usr/local/lib/libvorbis.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/libogg.so.4...done.
Reading symbols from /usr/local/lib/libao.so.3...done.
Reading symbols from /usr/local/lib/libcurl.so.2...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/local/lib/libintl.so.4...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/local/lib/ao/plugins-2/liboss.so...done.
Reading symbols from /usr/local/lib/ao/plugins-2/libesd.so...done.
Reading symbols from /usr/local/lib/libesd.so.2...done.
Reading symbols from /usr/local/lib/libaudiofile.so.0...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28253a48 in .cerror () from /usr/lib/libc.so.4
#1  0x283a3633 in _exit () from /usr/lib/libc_r.so.4
#2  0x28253947 in exit () from /usr/lib/libc.so.4
#3  0x804ce53 in parse_cmdline_options (argc=2, argv=0xbfbff60c, 
    ogg123_opts=0x80570e0, file_opts=0x8055c6c) at cmdline_options.c:102
#4  0x804e609 in main (argc=2, argv=0xbfbff60c) at ogg123.c:295
#5  0x8049e9e in _start ()

<p>I've compiled the sources myself, and tried the versions from the FreeBSD
ports collection, with either giving the same results. With the sources
that I compiled myself, the only patch I made was to libao, where I had to
remove the dependency on libdl.

I'd appreciate any help on solving these problems.

For the record, I can play other audio files just fine, using either the
OSS or ESD driver.

-- 
Mike
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list