Opened 6 years ago

Closed 6 years ago

#11465 closed defect (fixed)

Log a backtrace on sandbox failure.

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: 0.2.5.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: tor-client sandbox linux
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


When we hit a sandbox failure, it would be great to log a backtrace. I tried adding a call to do that, but it didn't work. More investigation is needed.

Child Tickets

Change History (3)

comment:1 Changed 6 years ago by nickm

Well, *that* was a fun one to diagnose. :/

First, it's necessary to make libc load symbols before we install the sandbox filter. Otherwise, it will try to read some symbol tables from some elf files and fail badly.

Second, we needed to allow the writev() syscall.

comment:2 Changed 6 years ago by nickm

Status: newneeds_review

Fix in branch "bug11465". (You would not believe how many things I had to unravel to figure this one out.)

comment:3 Changed 6 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Still looks okay to me. Merged to 0.2.5.

Note: See TracTickets for help on using tickets.