Opened 6 years ago

Closed 12 months ago

#3869 closed defect (wontfix)

Libevent warning on fluxe3, when running filtering bufferevents

Reported by: Sebastian Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Keywords: bufferevents tor-relay
Cc: l+torproject.org_4@… Actual Points:
Parent ID: #3561 Points:
Reviewer: Sponsor:

Description

Sometimes (3 times in the past 13 hours) I got a log message about a libevent warning. Here they are:

Warning from libevent: Epoll MOD(1) on fd 333 failed.  Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
Warning from libevent: Epoll ADD(4) on fd 807 failed.  Old events were 0; read change was 0 (none); write change was 1 (add): Bad file descriptor
Warning from libevent: Epoll ADD(4) on fd 224 failed.  Old events were 0; read change was 0 (none); write change was 1 (add): Bad file descriptor

Child Tickets

Change History (10)

comment:1 Changed 6 years ago by stars

hi,

i get sometimes the same errors on last origin/master:

sept. 24 16:05:44.772 [Warning] Warning from libevent: Epoll MOD(1) on fd 614 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.519 [Warning] Warning from libevent: Epoll MOD(1) on fd 531 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.586 [Warning] Warning from libevent: Epoll MOD(1) on fd 28 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.587 [Warning] Warning from libevent: Epoll MOD(1) on fd 618 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.587 [Warning] Warning from libevent: Epoll MOD(1) on fd 619 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.587 [Warning] Warning from libevent: Epoll MOD(1) on fd 458 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.587 [Warning] Warning from libevent: Epoll MOD(1) on fd 535 failed. Old events were 6; read change was 0 (none); write change was 2 (del): Bad file descriptor
sept. 24 16:05:50.588 [Warning] Warning from libevent: Epoll ADD(1) on fd 175 failed. Old events were 0; read change was 1 (add); write change was 0 (none): Bad file descriptor
sept. 24 16:05:50.685 [Warning] Warning from libevent: Epoll MOD(1) on fd 175 failed. Old events were 2; read change was 1 (add); write change was 0 (none): Bad file descriptor
sept. 24 16:05:50.685 [Warning] Warning from libevent: Epoll MOD(1) on fd 175 failed. Old events were 2; read change was 1 (add); write change was 0 (none): Bad file descriptor

Tor v0.2.3.4-alpha-dev (git-5a8dcca8f7f86377) (with bufferevents). (Running on Linux x86_64)

Initialized libevent version 2.1.0-alpha-dev using method epoll (with changelist). Good. commit 2179d7359fecda9880cf15f9746b4f07bbecb055

OpenSSL OpenSSL 1.0.0e 6 Sep 2011 looks like version 0.9.8m or later; I will try SSL_OP to enable renegotiation

Linux 2.6.38-10-generic #46~lucid1-Ubuntu SMP Wed Jul 6 18:41:04 UTC 2011 x86_64 GNU/Linux

Best Regards

SwissTorHelp

comment:2 Changed 6 years ago by leeps

Cc: l+torproject.org_4@… added
Type: defecttask

trac forced me to change Type to 'bug-fix' or 'task', of which only 'task' was available.

Here TOR crashes after epoll failures:
Warning from libevent: Epoll ADD(1) on fd 233 failed. Old events were 0; read change was 1 (add); write change was 0 (none): Bad file descriptor

Tor version 0.2.3.7-alpha (git-c2d03beb65d0c820).

$ grep EVENT_VERSION /usr/include/event2/event-config.h
#define _EVENT_VERSION "2.0.14-stable"

I'm not used to debugging crashes, but I want to help where I can. Please let me know what to do.

comment:3 in reply to:  2 Changed 6 years ago by rransom

Replying to leeps:

trac forced me to change Type to 'bug-fix' or 'task', of which only 'task' was available.

I see it too:

Warning: The parent ticket (#3561) has type enhancement which does not allow child type 'defect'. Must be one of : bug-fix,task.

Moved to #4384.

comment:4 Changed 6 years ago by erinn

Type: taskdefect

comment:5 Changed 5 years ago by arma

Keywords: bufferevents added

comment:6 Changed 5 years ago by nickm

Milestone: Tor: 0.2.3.x-finalTor: 0.2.4.x-final

comment:7 Changed 5 years ago by nickm

Keywords: tor-relay added

comment:8 Changed 5 years ago by nickm

Component: Tor RelayTor

comment:9 Changed 5 years ago by nickm

Milestone: Tor: 0.2.4.x-finalTor: unspecified

comment:10 Changed 12 months ago by nickm

Resolution: wontfix
Status: newclosed

The bufferevents code and corresponding build options have been removed in 0.2.9.2-alpha

Note: See TracTickets for help on using tickets.