darkice cannot connect to IPv6 icecast server

Bug #1513152 reported by Kevin Otte
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
darkIce
New
Unknown
darkice (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

kjotte@pegasus:~$ grep ^server darkice.cfg
server = marconi.home.nivex.net
kjotte@pegasus:~$ host marconi.home.nivex.net
marconi.home.nivex.net has IPv6 address 2606:a000:a461:4500:5054:ff:febc:58a2
kjotte@pegasus:~$ darkice -c darkice.cfg
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: darkice.cfg
Using PulseAudio audio server as input device.
Using PulseAudio source: default
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
DarkIce: TcpSocket.cpp:226: gethostbyname error [0]

Looking at that source file, directly above I see a section that starts with #ifdef HAVE_ADDRINFO

Please ensure new builds are getaddrinfo() / IPv6 enabled.

Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: darkice 1.2-0.2build1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
Date: Wed Nov 4 12:07:11 2015
InstallationDate: Installed on 2015-03-21 (227 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
SourcePackage: darkice
UpgradeStatus: Upgraded to wily on 2015-10-29 (6 days ago)

Revision history for this message
Kevin Otte (nivex) wrote :
Revision history for this message
Kevin Otte (nivex) wrote :

Still a problem two years later:
$ lsb_release -d
Description: Ubuntu 17.10
$ darkice -c ./darkice.cfg
DarkIce 1.3 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: ./darkice.cfg
Using PulseAudio audio server as input device.
Using PulseAudio source: default
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
DarkIce: TcpSocket.cpp:226: gethostbyname error [0]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in darkice (Ubuntu):
status: New → Confirmed
Changed in darkice:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.