Ticket #1264 (closed defect: invalid)

Opened 4 years ago

Last modified 4 months ago

SIGSERV in epoll

Reported by: Plantain Owned by: rakshasa
Priority: high Component: rtorrent
Version: HEAD Severity: major
Keywords: Cc:

Description

There seems to be a bug in the epoll code that results in a sigserv under heavy load. It's very difficult to reproduce with gdb attached which makes me think it's a race condition.

Seems to crash once a day, often more. Using r1038 as r1040 doesn't compile.

GDB backtrace below.

Program received signal SIGSEGV, Segmentation fault. 0xb7e89947 in torrent::PollEPoll::perform (this=0x8125ca8) at poll_epoll.cc:135 135 ((Event*)itr->data.ptr)->event_read(); (gdb) bt #0 0xb7e89947 in torrent::PollEPoll::perform (this=0x8125ca8)

at poll_epoll.cc:135

#1 0x080bde04 in core::PollManagerEPoll::poll (this=0x8129ce0, timeout=

{m_time = 0}) at poll_manager_epoll.cc:112

#2 0x0807cbe1 in main (argc=1, argv=0xbf8118a4) at main.cc:27

Change History

Changed 4 months ago by rakshasa

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.