viq | 19 Dec 19:33
Favicon

kernel/5690: system crash when running rtorrent

>Number:         5690
>Category:       kernel
>Synopsis:       system crash when running rtorrent
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 19 18:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     viq
>Release:        4.2-current
>Organization:
net
>Environment:
	
	System      : OpenBSD 4.2
	Details     : OpenBSD 4.2-current (GENERIC) #607: Tue Dec 18 18:36:52 MST 2007
			 deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	I was playing with rtorrent, wanting to see whether what it causes is system freeze or can I get a trace out of
it. Here is the trace:
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 22815  24668  22815   1000  3      0x4082  ttyin         ksh
 29816   4644  29816   1000  3      0x4082  kqread        rtorrent
  4644  24668   4644   1000  3      0x4082  pause         ksh
 24668  31055  24668   1000  3        0x80  select        screen
 31055  20036  31055   1000  3      0x4082  pause         screen
 20036   6122  20036   1000  3      0x4082  pause         ksh
  6122   7244   7244   1000  3       0x180  select        sshd
  7244  13222   7244      0  3      0x4080  netio         sshd
 14078      1  14078      0  3     0x40180  select        sendmail
 15504      1  15504      0  3      0x4082  ttyin         getty
 10207      1  10207      0  3      0x4082  ttyin         getty
 23236      1  23236      0  3      0x4082  ttyin         getty
 17439      1  17439      0  3      0x4082  ttyin         getty
  8461      1   8461      0  3      0x4082  ttyin         getty
 25085      1  25085      0  3      0x4082  ttyin         getty
  8861      1   8861      0  3        0x80  select        cron
 13222      1  13222      0  3        0x80  select        sshd
  3881      1   3881      0  3       0x180  select        inetd
  9466  21630  21630     83  3       0x180  poll          ntpd
 21630      1  21630      0  3        0x80  poll          ntpd
   741      1    741      0  3        0x80  poll          rpc.lockd
 13621  29522  29522      0  3        0x80  nfsd          nfsd
  9512  29522  29522      0  3        0x80  nfsd          nfsd
 29271  29522  29522      0  3        0x80  nfsd          nfsd
  1876  29522  29522      0  3        0x80  nfsd          nfsd
 29522      1  29522      0  3        0x80  netcon        nfsd
 15404      1  15404      0  3        0x80  select        mountd
 19921      1  19921     28  3       0x180  poll          portmap
  3181  23838  23838     73  3       0x180  poll          syslogd
 23838      1  23838      0  3        0x88  netio         syslogd
 21016      1  21016     77  3       0x180  poll          dhclient
 16864      1  24411      0  3        0x82  poll          dhclient
    14      0      0      0  3    0x100200  bored         crypto
    13      0      0      0  3    0x100200  aiodoned      aiodoned
    12      0      0      0  3    0x100200  syncer        update
    11      0      0      0  3    0x100200  cleaner       cleaner
    10      0      0      0  3    0x100200  reaper        reaper
     9      0      0      0  3    0x100200  pgdaemon      pagedaemon
     8      0      0      0  3    0x100200  pftm          pfpurge
     7      0      0      0  3    0x100200  usbtsk        usbtask
     6      0      0      0  3    0x100200  usbevt        usb0
     5      0      0      0  3    0x100200  apmev         apm0
     4      0      0      0  3    0x100200  bored         syswq
*    3      0      0      0  7    0x100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
     1      0      1      0  3      0x4080  wait          init
     0     -1      0      0  3     0x80200  scheduler     swapper
ddb> trace
Debugger(b0,d6a4b2b0,da4fbeb0,f95cb7b1,3f8) at Debugger+0x4
comintr(d1162000) at comintr+0x9f
Xrecurse_legacy4() at Xrecurse_legacy4+0xad
--- interrupt ---
(null)(5305,0,da4fbf40,0) at 0xf10a
apm_cpu_idle(d034794d,da4fa000,d6a4b2b0,d0906e78,d0873ca0) at apm_cpu_idle+0x52

cpu_idle_cycle(d0873ca0) at cpu_idle_cycle+0xc
Bad frame pointer: 0xd0906e78
ddb> boot reboot

>How-To-Repeat:
Start rtorrent, start downloading for example
http://torrent.fedoraproject.org/torrents/Fedora-8-dvd-i386.torrent and wait at most a couple hours.
>Fix:
Fix is not known to me.

OpenBSD 4.2-current (GENERIC) #607: Tue Dec 18 18:36:52 MST 2007
    deraadt <at> i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 350 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 536444928 (511MB)
avail mem = 510820352 (487MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/27/98, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.2 @ 0xfb470 (64 entries)
bios0: vendor Dell Computer Corporation version "A03" date 10/27/98
bios0: Dell Computer Corporation OptiPlex GX1 350L+
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc680/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000 0xd0000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
agp0 at pchb0: aperture at 0xf4000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility,
channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SAMSUNG SV1021H>
wd0: 16-sector PIO, LBA, 9732MB, 19932192 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMBus disabled
xl0 at pci0 dev 13 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 10, address 00:04:75:9d:8d:d4
exphy0 at xl0 phy 24: 3Com internal media interface
xl1 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x24: irq 11, address 00:c0:4f:67:e2:35
exphy1 at xl1 phy 24: 3Com internal media interface
isa0 at piixpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
isapnp0 at isa0 port 0x279: read port 0x203
wss1 at isapnp0 "CS4236B, CSC0000, , WSS/SB" port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0:
CS4236/CS4236B (vers 0)
audio0 at wss1
joy0 at isapnp0 "CS4236B, CSC000F, , Game" port 0x3a0/8
"CS4236B, CSC0010, , Ctrl" at isapnp0 port 0xf00/8 not configured
"CS4236B, CSC0003, , MPU" at isapnp0 port 0x330/2 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask fb45 netmask ff45 ttymask ffc7
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted

>Release-Note:
>Audit-Trail:
>Unformatted:


Gmane