crash when starting #131

Closed
opened 2019-03-05 20:57:14 +00:00 by erinn · 2 comments
Owner

manually restarting non-bundled tor made the problem go away but it was replicable before doing so.

2019/03/05 12:54:24 connections/engine.go [INFO] Running cwtch peer on xxx.onion:9878
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x667c4a]

goroutine 34 [running]:
github.com/cretz/bine/tor.(*OnionService).Accept(0xc4200c6230, 0xc420098140, 0xc4200da100, 0xc42005bd78, 0x51d268)
/home/erinn/go/src/github.com/cretz/bine/tor/listen.go:301 +0x2a
git.openprivacy.ca/openprivacy/libricochet-go/connectivity.(*onionListenService).Accept(0xc4202fc0a0, 0x18, 0xc42005be78, 0x1, 0x1)
/home/erinn/go/src/git.openprivacy.ca/openprivacy/libricochet-go/connectivity/torProvider.go:56 +0x2e
git.openprivacy.ca/openprivacy/libricochet-go/application.(*RicochetApplication).Run(0xc4200e4120, 0x883b20, 0xc4202fc0a0)
/home/erinn/go/src/git.openprivacy.ca/openprivacy/libricochet-go/application/application.go:150 +0xaa
cwtch.im/cwtch/protocol/connections.(*Engine).listenFn(0xc4200a8500)
/home/erinn/go/src/cwtch.im/cwtch/protocol/connections/engine.go:152 +0x69c
created by cwtch.im/cwtch/protocol/connections.(*Engine).eventHandler
/home/erinn/go/src/cwtch.im/cwtch/protocol/connections/engine.go:104 +0xf89

manually restarting non-bundled tor made the problem go away but it was replicable before doing so. 2019/03/05 12:54:24 connections/engine.go [INFO] Running cwtch peer on xxx.onion:9878 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x667c4a] goroutine 34 [running]: github.com/cretz/bine/tor.(*OnionService).Accept(0xc4200c6230, 0xc420098140, 0xc4200da100, 0xc42005bd78, 0x51d268) /home/erinn/go/src/github.com/cretz/bine/tor/listen.go:301 +0x2a git.openprivacy.ca/openprivacy/libricochet-go/connectivity.(*onionListenService).Accept(0xc4202fc0a0, 0x18, 0xc42005be78, 0x1, 0x1) /home/erinn/go/src/git.openprivacy.ca/openprivacy/libricochet-go/connectivity/torProvider.go:56 +0x2e git.openprivacy.ca/openprivacy/libricochet-go/application.(*RicochetApplication).Run(0xc4200e4120, 0x883b20, 0xc4202fc0a0) /home/erinn/go/src/git.openprivacy.ca/openprivacy/libricochet-go/application/application.go:150 +0xaa cwtch.im/cwtch/protocol/connections.(*Engine).listenFn(0xc4200a8500) /home/erinn/go/src/cwtch.im/cwtch/protocol/connections/engine.go:152 +0x69c created by cwtch.im/cwtch/protocol/connections.(*Engine).eventHandler /home/erinn/go/src/cwtch.im/cwtch/protocol/connections/engine.go:104 +0xf89
Owner

Linking #128 as I expect they are related.

We keep seeing crashes caused by Bine and/or libricochet - we should double check the tor provider code to make sure we are correctly handling issues with contacting tor.

Linking #128 as I expect they are related. We keep seeing crashes caused by Bine and/or libricochet - we should double check the tor provider code to make sure we are correctly handling issues with contacting tor.
Owner

Haven't seen any crashing on startup for a while in all kinds of conditions, and based on Dan's experiments and the latest window code, I'm going to close this.

Haven't seen any crashing on startup for a while in all kinds of conditions, and based on Dan's experiments and the latest window code, I'm going to close this.
sarah closed this issue 2019-08-10 02:32:12 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/ui#131
No description provided.