Opened 9 months ago

Last modified 4 months ago

#27955 new defect

wont let me load up tor at all

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

Description

tor wont start after new update cannot paste tor logs either

Child Tickets

Change History (3)

comment:1 Changed 9 months ago by nickm

Component: Core TorApplications/Tor Browser
Owner: set to tbb-team

Is this on windows? what happens when you try?

comment:2 Changed 4 months ago by paul

Hi guys,

I've seen similar to this with torbrowser and discussed on the IRC chat.

I *think* where https://github.com/torproject/tor/blob/dad12188a6ca957f6fde1eb602fd98b2fa93b1a4/src/or/connection.c#L913 calls bind and returns WSAEACCESS . Whilst there is a log_warn line here, this log attempt does not turn up in the browser log ( I managed to get this by running a system call tracer and see the text string getting passed around).

From my irc logs:

[23:03] <pa_> If i run firefox under a sys call tracer , that slows down the app enough that I can record the screen - the tor.exe console that opens goes:
[23:03] <pa_> opening control listener on 127.0.0.1:9151
[23:03] <pa_> then goes could not bind : permission denied [WSAEACCES]
[23:03] <pa_> then saisys it failed to parse the config and quits
[23:04] <pa_> tcpview.exe says there's nothing on local port 9151
[23:06] <pa_> but I can't tell if that happens when not under the tracer as it's too fast so doesn't render any text

24 hours later and it's opening a control port fine - I'm thinking that something in windows defender or similar is kicking in and silently blocking it, although if that's the case, I didn't manage to work out what the other day.

Whilst I can't tell if this is same bug as original reporter, there might be a good case here to raise a new bug that the log's are not turning up in the torbrowser logs [making it hard to spot this issue ;)]

comment:3 in reply to:  2 Changed 4 months ago by gk

Replying to paul:

Hi guys,

I've seen similar to this with torbrowser and discussed on the IRC chat.

I *think* where https://github.com/torproject/tor/blob/dad12188a6ca957f6fde1eb602fd98b2fa93b1a4/src/or/connection.c#L913 calls bind and returns WSAEACCESS . Whilst there is a log_warn line here, this log attempt does not turn up in the browser log ( I managed to get this by running a system call tracer and see the text string getting passed around).

From my irc logs:

[23:03] <pa_> If i run firefox under a sys call tracer , that slows down the app enough that I can record the screen - the tor.exe console that opens goes:
[23:03] <pa_> opening control listener on 127.0.0.1:9151
[23:03] <pa_> then goes could not bind : permission denied [WSAEACCES]
[23:03] <pa_> then saisys it failed to parse the config and quits
[23:04] <pa_> tcpview.exe says there's nothing on local port 9151
[23:06] <pa_> but I can't tell if that happens when not under the tracer as it's too fast so doesn't render any text

24 hours later and it's opening a control port fine - I'm thinking that something in windows defender or similar is kicking in and silently blocking it, although if that's the case, I didn't manage to work out what the other day.

Whilst I can't tell if this is same bug as original reporter, there might be a good case here to raise a new bug that the log's are not turning up in the torbrowser logs [making it hard to spot this issue ;)]

Where do you get the browser log from? Note, that you can tune the granularity of the tor log messages and where to put them in your torrc-defaults (https://gitweb.torproject.org/builders/tor-browser-build.git/tree/projects/tor-browser/Bundle-Data/windows/Data/Tor/torrc-defaults) which is in your bundle under Browser\TorBrowser\Data\Tor. Alternatively, you could copy the expert bundle over (can be found on https://www.torproject.org/download/download.html.en) which should give you a console with log messages. Let us know how that goes as we are curious about what is going on here.

Note: See TracTickets for help on using tickets.