Bug 104966 - skype hangs in uninterruptable state on 6.2-PRERELEASE (regression)
Summary: skype hangs in uninterruptable state on 6.2-PRERELEASE (regression)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.2-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 13:50 UTC by Kyryll A Mirnenko
Modified: 2007-11-16 10:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyryll A Mirnenko 2006-10-31 13:50:23 UTC
I've got running KDE and start skype (linux version, from ports), then try
to login. The skype hangs up and and makes some processed do the same. As
`top` reports "skype_bin" process is in "exit1" state, while some processes
(those hang up) are in "zoneli" state. _Some_ apps being run after the issue
also joins the lock (`screen` is the one), neither of 'em responds to -KILL,
though rebooting system doesn't report any unkillable processes.

The issue was tested with 2 machines, one running BETA2 + a couple of days
RELENG_6 snapshot, other running 2 days old RELENG_6.

How-To-Repeat: Run recent RELENG_6, start skype and log in.
Comment 1 Kyryll A Mirnenko 2006-10-31 15:10:25 UTC
Here comes my kernel:

machine		i386
cpu		I686_CPU
ident		MY-LITE

options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

device		apic			# I/O APIC

device		eisa
device		pci

device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives
options 	ATA_STATIC_ID	# Static device numbering

device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

device		sc

device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
#device		ppc
#device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		ppi		# Parallel port interface device

device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

device		wlan		# 802.11 support
device		firmware
device		iwi

device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners

device		ucom
device		uplcom
device		sound
device		speaker
device		snd_ich
device		isa
device		mem
device		npx
device		io

options		QUOTA
device		crypto
device		snp
maxusers	15

options		HZ=100
options		PERFMON
options		LIBICONV
options		COMPAT_AOUT
options		CD9660_ICONV
options		MSDOSFS_ICONV
options		NTFS
options		NTFS_ICONV
options		COMPAT_LINUX
options		REISERFS
options		EXT2FS
options		LINPROCFS
options		LINSYSFS
options		FDESCFS
options		MAXCONS=5
options		PANIC_REBOOT_WAIT_TIME=-1
options		SC_ALT_MOUSE_IMAGE
options		SC_CUT_SPACES2TABS
options		SC_HISTORY_SIZE=700
options		SC_MOUSE_CHAR=0x3
options		SC_TWOBUTTON_MOUSE

options		SMBFS
options		UNIONFS
device		atapicam
options		FB_INSTALL_CDEV

options		GEOM_BDE
options		GEOM_ELI
options		GEOM_BSD
options		GEOM_MBR
options		GEOM_VOL
options		DIRECTIO
options		DEVICE_POLLING
options		NO_F00F_HACK
options		VFS_AIO
options		LIBALIAS
options		LIBMCHAIN
options		TCP_DROP_SYNFIN
options		NETSMB
options		ZERO_COPY_SOCKETS
device		blank_saver
options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPFIREWALL_VERBOSE
options		IPFIREWALL_VERBOSE_LIMIT=100
options		IPDIVERT
options		DUMMYNET
options		IPFIREWALL_FORWARD
options		PMAP_SHPGPERPROC=400

device		puc
options		PUC_FASTINTR

options 	DFLDSIZ=(512UL*1024*1024)
options 	MAXDSIZ=(1024UL*1024*1024)
options 	MAXSSIZ=(128UL*1024*1024)
options 	PPP_BSDCOMP	
options 	PPP_DEFLATE	
options 	PPP_FILTER	
options 	SEMMAP=45
options 	SEMMNI=15
options 	SEMMNS=90
options 	SEMMNU=45
options 	SEMMSL=90
options 	SEMOPM=150
options 	SEMUME=15
options 	SHMALL=1536
options 	SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
options 	SHMMAXPGS=1536
options 	SHMMIN=2
options 	SHMMNI=48
options 	SHMSEG=12

device		smb
device		smbus
device		ichsmb

device		sl


-- 
Regards, Mirya
ICQ #313898202
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-10-31 18:04:58 UTC
State Changed
From-To: open->feedback

Is this an issue with the port, or with the base system?  e.g. is the system 
useable after that process hangs?
Comment 3 Kyryll A Mirnenko 2006-10-31 18:30:18 UTC
That's about the _base_ system (but triggered only by skype) - sorry, I didn't 
set the category, as I stated skype hangs in uninterruptable (KILL won't 
work) state marked as "zonelimit" in `top` (sys/vm/uma_core.c), some, but not 
all processes, both already running and newly started, enter the same state 
and so hang.

I've got 2 machines running the same kernel config (attached), but with 
different hardware modules (so that's not related to specific harware 
dirver), cvs checkouts 15 Oct and 28 Oct both triggering the issue.

-- 
Regards, Mirya
ICQ #313898202
Comment 4 Mark Linimon 2006-10-31 19:54:55 UTC
was this something that worked on older versions, e.g. 6.1-RELEASE?

mcl
Comment 5 Kyryll A Mirnenko 2006-10-31 21:31:30 UTC
For 6.1 it worked flamelessly. The kernel config was the same
-- 
Regards, Mirya
ICQ #313898202
Comment 6 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-11-01 06:43:25 UTC
All I can say is that I can reproduce it on my
6.2-PRERELEASE #12: Sun Oct 29 20:37:04 EET 2006 i386
 > cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <nVidia nForce4> at io 0xd800, 0x1000 irq 20 bufsz 16384 kld snd_ich (1p/1r/2v channels duplex default)



-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #242:
Software uses US measurements, but the OS is in metric...

Comment 7 Kyryll A Mirnenko 2006-11-01 12:08:27 UTC
2IOnut: That's really not about sound subsystem. I've reproduced it a couple 
of hours ago with a soundcard-less machine
-- 
Regards, Mirya
ICQ #313898202
Comment 8 Kyryll A Minrneko 2006-11-02 23:36:35 UTC
Good news. GENERIC doesn't trigger the issue, so I diff'ed it to my kernel & 
tracked down the buggy option, as a result

- GENERIC works fine
- GENERIC + "maxusers 15" makes skype hang up

plz confirm it those who're running custom configs are suffer from unusable 
skype

-- 
Regards, Mirya
ICQ #313898202
Comment 9 K. Macy freebsd_committer freebsd_triage 2007-11-16 10:01:14 UTC
State Changed
From-To: feedback->closed


timeout on Ion-Mihai Tetcu - please provide your config if you are 
still seeing this issue. It was a PEBKAC for Kyryll.