[Pidgin] #7726: 100% CPU usage for not checking the socked was closed

Pidgin trac at pidgin.im
Mon Dec 8 06:45:33 EST 2008


#7726: 100% CPU usage for not checking the socked was closed
--------------------+-------------------------------------------------------
 Reporter:  eperez  |     Owner:  khc  
     Type:  defect  |    Status:  new  
Component:  MSN     |   Version:  2.5.2
 Keywords:          |  
--------------------+-------------------------------------------------------
 This bug is not easy to reproduce and when it happens I do not have debug
 support enabled.[[BR]]
 Here is the strace:[[BR]]
 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10,
 events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=46, events=POLLIN},
 {fd=48, events=POLLIN}, {fd=6, events=POLLIN}, {fd=27, events=POLLIN},
 {fd=29, events=POLLIN}, {fd=36, events=POLLIN}, {fd=19, events=POLLIN},
 {fd=44, events=POLLIN}, {fd=41, events=POLLIN}, {fd=54, events=POLLIN},
 {fd=49, events=POLLIN}, {fd=40, events=POLLIN}, {fd=42, events=POLLIN},
 {fd=28, events=POLLIN}, {fd=55, events=POLLIN}, {fd=35, events=POLLIN},
 {fd=14, events=POLLIN}], 21, 0) = 1 ([{fd=14, revents=POLLIN}])[[BR]]
 recvfrom(14, ""..., 5, 0, NULL, NULL)   = 0[[BR]]
 read(3, 0xf17b24, 4096)                 = -1 EAGAIN (Resource temporarily
 unavailable)[[BR]]
 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10,
 events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=46, events=POLLIN},
 {fd=48, events=POLLIN}, {fd=6, events=POLLIN}, {fd=27, events=POLLIN},
 {fd=29, events=POLLIN}, {fd=36, events=POLLIN}, {fd=19, events=POLLIN},
 {fd=44, events=POLLIN}, {fd=41, events=POLLIN}, {fd=54, events=POLLIN},
 {fd=49, events=POLLIN}, {fd=40, events=POLLIN}, {fd=42, events=POLLIN},
 {fd=28, events=POLLIN}, {fd=55, events=POLLIN}, {fd=35, events=POLLIN},
 {fd=14, events=POLLIN}], 21, 0) = 1 ([{fd=14, revents=POLLIN}])[[BR]]
 recvfrom(14, ""..., 5, 0, NULL, NULL)   = 0[[BR]]
 read(3, 0xf17b24, 4096)                 = -1 EAGAIN (Resource temporarily
 unavailable)[[BR]]
 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10,
 events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=46, events=POLLIN},
 {fd=48, events=POLLIN}, {fd=6, events=POLLIN}, {fd=27, events=POLLIN},
 {fd=29, events=POLLIN}, {fd=36, events=POLLIN}, {fd=19, events=POLLIN},
 {fd=44, events=POLLIN}, {fd=41, events=POLLIN}, {fd=54, events=POLLIN},
 {fd=49, events=POLLIN}, {fd=40, events=POLLIN}, {fd=42, events=POLLIN},
 {fd=28, events=POLLIN}, {fd=55, events=POLLIN}, {fd=35, events=POLLIN},
 {fd=14, events=POLLIN}], 21, 0) = 1 ([{fd=14, revents=POLLIN}])[[BR]]
 recvfrom(14, ""..., 5, 0, NULL, NULL)   = 0[[BR]]
 read(3, 0xf17b24, 4096)                 = -1 EAGAIN (Resource temporarily
 unavailable)[[BR]]

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7726>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list