iCepa / Tor.framework

Tor framework for the iCepa project
Other
245 stars 53 forks source link

iOS: The framework is crashing randomly during the start/initialisation process. #71

Closed TruszczynskiA closed 2 years ago

TruszczynskiA commented 2 years ago

The start/initialisation process sometimes ends with a crash of the Tor framework. It seems it happens asynchronously after the app calls the start() method on the TorThread instance.

Logs from TORInstallTorLoggingCallback and TORInstallEventLoggingCallback: tor_log.txt

tladesignz commented 2 years ago
[Tor][Log][fault] tor_assertion_failed_: Bug: src/feature/hs/hs_circuitmap.c:543: hs_circuitmap_init: Assertion !the_hs_circuitmap failed; aborting. (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][debug] free_outbuf_info_by_ent: Freeing outbuf table entry from chan=2
[Tor][Log][debug] kist_scheduler_run: len pending=0, len to_readd=-1
[Tor][Log][debug] circuit_get_open_circ_or_launch: one on the way!
[Tor][Log][fault] Bug: Tor 0.4.6.8 (git-d5efc2c98619568e): Assertion !the_hs_circuitmap failed in hs_circuitmap_init at src/feature/hs/hs_circuitmap.c:543: . Stack trace: (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     0   Tor                                 0x000000010a7bf8cc log_backtrace_impl + 104 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     1   Tor                                 0x000000010a7cce68 tor_assertion_failed_ + 208 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     2   Tor                                 0x000000010a72978c hs_circuitmap_init + 144 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     3   Tor                                 0x000000010a730508 hs_init + 32 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     4   Tor                                 0x000000010a7428ec tor_init + 132 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     5   Tor                                 0x000000010a743178 tor_run_main + 176 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     6   Tor                                 0x000000010a65aa08 -[TORThread main] + 288 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     7   Foundation                          0x000000018337636c D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 426860 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     8   libsystem_pthread.dylib             0x00000001f1e269a4 _pthread_start + 148 (on Tor 0.4.6.8 d5efc2c98619568e)
[Tor][Log][fault] Bug:     9   libsystem_pthread.dylib             0x00000001f1e25ea0 thread_start + 8 (on Tor 0.4.6.8 d5efc2c98619568e)

@ahf, @nmathewson - that doesn't look like it has anything to do with iOS. Maybe you want to have a look at it?

@TruszczynskiA, thanks for letting us know. We can't do anything right now, but there are already bugfixes in the latest release candidates, which might address this already: https://gitweb.torproject.org/tor.git/tree/ChangeLog

tladesignz commented 2 years ago

Closed due to inactivity.