bryangrim / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Darkice 1.2 cored dumped with aacplus stream #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile darkice 1.2 from ports on FreeBSD 9.1 x64 with the following:
OPTIONS_FILE_UNSET+=JACK
OPTIONS_FILE_UNSET+=PULSEAUDIO
OPTIONS_FILE_SET+=VORBIS
OPTIONS_FILE_SET+=OPUS
OPTIONS_FILE_SET+=LAME
OPTIONS_FILE_SET+=TWOLAME
OPTIONS_FILE_SET+=FAAC
OPTIONS_FILE_SET+=AACPLUS
2. Audio device used:emu10kx0: <Creative SBLive! Value [CT4832]> port 
0x1000-0x101f irq 18 at device 2.0 on pci6
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
3. Icecast server compiled from ports on FreeBSD 9.1 x64

What is the expected output? What do you see instead?
Should start streaming normally to icecast2.
Errors out:
DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /usr/local/etc/darkice.cfg
Using OSS DSP input device: /dev/dsp0.0
Using POSIX real-time scheduling, priority 3
Using aacplus codec
Using faac codec version 1.28
Using faac codec version 1.28
Using faac codec version 1.28
Using faac codec version 1.28
Using faac codec version 1.28
Using faac codec version 1.28
Using faac codec version 1.28
Bus error (core dumped)

What version of the product are you using? On what operating system?
darkice 1.2
freebsd 9.1 x64 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r253476M
Icecast 2.3.2
libogg-1.3.1,4
libaacplus-2.0.2_1
flac-1.3.0_1
faac-1.28_2
speex-1.2.r1_4,1

Please provide any additional information below.
Darkice crashes with core dump at start, only when aacplus is used.

Original issue reported on code.google.com by mihai.ta...@gmail.com on 22 Jul 2013 at 9:16

Attachments:

GoogleCodeExporter commented 8 years ago
Output with -v 10:
root@streamer1:/usr/local/etc # darkice -c /usr/local/etc/darkice.cfg -v 10
DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /usr/local/etc/darkice.cfg
23-Jul-2013 00:41:46 Using OSS DSP input device: /dev/dsp0.0
23-Jul-2013 00:41:46 buffer size:  882000
23-Jul-2013 00:41:46 encoding
23-Jul-2013 00:41:46 scheduler high priority 31
23-Jul-2013 00:41:46 Using POSIX real-time scheduling, priority 3
23-Jul-2013 00:41:46 HTTP/1.0 200
23-Jul-2013 00:41:46 Using aacplus codec
23-Jul-2013 00:41:46 nChannelsAAC 1
23-Jul-2013 00:41:46 sampleRateAAC 22050
23-Jul-2013 00:41:46 inSamples 4096
23-Jul-2013 00:41:46 MultiThreadedConnector :: tranfer, bytes 0
23-Jul-2013 00:41:46 MultiThreadedConnector :: ThreadData :: threadFunction, 
was (thread, priority, type):  0x8039e3200 0 SCHED_OTHER
23-Jul-2013 00:41:46 MultiThreadedConnector :: ThreadData :: threadFunction, 
now is (thread, priority, type):  0x8039e3200 1 SCHED_FIFO
Bus error (core dumped)

Original comment by mihai.ta...@gmail.com on 22 Jul 2013 at 9:42