Opened 3 years ago

Closed 3 years ago

#19744 closed defect (not a bug)

segfault while trying nightly build as other user but works as root

Reported by: scooby Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version: Tor: unspecified
Severity: Critical Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Wanted to try https://people.torproject.org/~linus/builds/tbb-nightly-hardened-2016-07-24/
for test with selfrando

I'm on Arch linux derivative, kernel 4.1.6 using kernel randomization and AUFS patch.

./start-tor-browser -v

Rand seed:1001955615
Module@0x7ffca4e64cb8 dynamic:0x5619f04cc8b0 PIT:0x5619f04cd000 base:0x5619f0092000->0x5619f0492000 GOT:0x5619f04ccbe0 eh_f_hdr:0x5619f04ca63c
ASAN:SIGSEGV
=================================================================
==22965==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f39275fb928 bp 0x7ffca4e64ca8 sp 0x7ffca4e64c08 T0)
SRAT init
SRAT warning: cannot find Memory Layout File. Stack trace will be probably wrong.
ASAN:SIGSEGV
==22965==AddressSanitizer: while reporting a bug found another one. Ignoring.

Hacked around in start-tor-browser to allow it be started as user root and then it works
so some user problem.
er other than

What I can say is that the regular tor-browser works fine as that other user.
So what changed?

I'm attaching file with debug output for run with root rights.

Child Tickets

Attachments (2)

tor-browser-debug-log-as-user-root.txt (10.3 KB) - added by scooby 3 years ago.
strace-log-as-user-other-than-root.txt (26.4 KB) - added by scooby 3 years ago.
Strace of a trial run as user other than root

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by scooby

Changed 3 years ago by scooby

Strace of a trial run as user other than root

comment:1 Changed 3 years ago by scooby

Resolution: not a bug
Status: newclosed

Okay checked code and found that it looks for that file in /tmp

I have f*ed around alot with /tmp on my system lately so that other user
had no write permissions in /tmp

When changed all is well.

Works, thnak you

Note: See TracTickets for help on using tickets.