Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3353 closed defect (fixed)

buffers.c:1404: fetch_from_evbuffer_http: Assertion eol.pos <= crlf.pos failed

Reported by: stars Owned by:
Priority: High Milestone:
Component: Core Tor/Tor Version: Tor:
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



since last update for libevent and Tor, i get a message about a bug :

juin 06 15:59:02.039 [Notice] Tor v0.2.3.1-alpha-dev (git-96da10aace8aa948). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
juin 06 15:59:02.044 [Notice] Read configuration file
juin 06 15:59:06.245 [Notice] Initialized libevent version 2.1.0-alpha-dev using method epoll (with changelist). Good.
juin 06 15:59:06.245 [Notice] Opening OR listener on
juin 06 15:59:06.245 [Notice] Opening Directory listener on
juin 06 15:59:06.245 [Notice] Opening Socks listener on
juin 06 15:59:06.245 [Notice] Opening DNS listener on
juin 06 15:59:06.246 [Notice] Opening Control listener on
juin 06 15:59:06.246 [Notice] Based on 1000 circuit times, it looks like we don't need to wait so long for circuits to finish. We will now assume a circuit is too slow to use after waiting 6 seconds.
juin 06 15:59:06.246 [Notice] Parsing GEOIP file
juin 06 15:59:06.246 [Notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
juin 06 15:59:06.246 [Notice] OpenSSL OpenSSL 0.9.8k 25 Mar 2009 [9080bf] looks like it's older than 0.9.8l, but some vendors have backported 0.9.8l's renegotiation code to earlier versions, and some have backported the code from 0.9.8m or 0.9.8n. I'll set both SSL3_FLAGS and SSL_OP just to be safe.
juin 06 15:59:06.246 [Notice] Your Tor server's identity key fingerprint is 'SwissTorHelp A32E64A8136EBD5124048022786857CB931F584F'
juin 06 15:59:06.247 [Notice] This version of Tor ( is newer than any recommended version, according to the directory authorities. Recommended versions are:,,,,,,,,,,
juin 06 15:59:06.247 [Notice] Reloaded microdescriptor cache. Found 11362 descriptors.
juin 06 15:59:06.247 [Notice] Removed 4225/11362 microdescriptors as old.
juin 06 15:59:06.247 [Notice] We now have enough directory information to build circuits.
juin 06 15:59:06.247 [Notice] Bootstrapped 80%: Connecting to the Tor network.
juin 06 15:59:06.247 [Notice] New control connection opened.
juin 06 15:59:06.248 [Notice] Guessed our IP address as
juin 06 15:59:06.872 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
juin 06 15:59:07.033 [Notice] Heartbeat: Tor's uptime is 0:00, with 2 circuits open. I've pushed 5 kB and received 3 kB.
juin 06 15:59:07.119 [Notice] Bootstrapped 85%: Finishing handshake with first hop.
juin 06 15:59:07.705 [Notice] Bootstrapped 90%: Establishing a Tor circuit.
juin 06 15:59:09.414 [Notice] Tor has successfully opened a circuit. Looks like client functionality is working.
juin 06 15:59:09.415 [Notice] Bootstrapped 100%: Done.
juin 06 15:59:32.649 [Error] fetch_from_evbuffer_http(): Bug: buffers.c:1404: fetch_from_evbuffer_http: Assertion eol.pos <= crlf.pos failed; aborting.

System: Kubuntu Lucid LTS 10.04.2
Linux 2.6.38-10-generic

Child Tickets

Change History (9)

comment:1 Changed 9 years ago by nickm

Component: - Select a componentTor Relay
Priority: normalmajor

This is with bufferevents enabled, yeah?

comment:2 Changed 9 years ago by stars

Hi nickm,

Yes, with bufferevents enabled , sorry, forget to add in my comment.

Best Regards

comment:3 Changed 9 years ago by nickm

Hi! I spent a while poking this and I think it was a libevent bug that should be fixed now. (It looks like you're using libevent from git, so updating to the one I just pushed should do the trick.)

comment:4 Changed 9 years ago by nickm

(FWIW, this bug only affected libevent git master, which isn't actually a release yet. Libevent 2.0.x shouldn't be affected. At least, assuming that the bug here is the same bug as the bug I just fixed.)

comment:5 Changed 9 years ago by stars

Hi Nickm,

yes, now the bug is fixed, thanks very much.

Best Regards


comment:6 Changed 9 years ago by nickm

Thanks for the quick reply; marking as closed.

comment:7 Changed 9 years ago by nickm

Resolution: fixed
Status: newclosed

comment:8 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:9 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.