Opened 6 weeks ago

Last modified 13 days ago

#32718 new defect

Crash: Consensus diff src/lib/memarea/memarea.c:147: memarea_chunk_free_unchecked

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: crash, tor-dir, 043-must, openbsd, BugSmashFund
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:


Here's the Tor log from OpenBSD:

Tor[96521]: Could not apply consensus diff because an ed command was
missing a line number.
Tor[96521]: consdiff_gen_diff: Refusing to generate consensus diff
because the generated ed diff could not be tested to successfully
generate the target consensus.
Tor[96521]: tor_assertion_failed_: Bug: src/lib/memarea/memarea.c:147:
memarea_chunk_free_unchecked: Assertion sent_val == 0x90806622u failed;
aborting. (on Tor )
Tor[96521]: Bug: Assertion sent_val == 0x90806622u failed in
memarea_chunk_free_unchecked at src/lib/memarea/memarea.c:147: . (Stack
trace not available) (on Tor )

Here's the original email:

Child Tickets

Change History (3)

comment:1 Changed 6 weeks ago by random

thanks @teor for creating the ticket. I'm the one with the problem.
This morning tor crashed again, this time without any log messages. Atm I have
"Log notice syslog" set, what would be a good logging config to circle this problem? thanks!

comment:2 Changed 6 weeks ago by teor

Tor has an interrupt-level logging mode, where it writes error-level logs to stderr, and any open file logs.

Try adding Log notice /var/log/tor/log (or whatever the default tor log path is on your platform).

comment:3 Changed 13 days ago by ahf

Keywords: 043-must added; 043-should removed
Note: See TracTickets for help on using tickets.