Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tor: raw assertion failed (crash) #4235

Closed
foremtehan opened this issue Aug 28, 2019 · 8 comments
Closed

tor: raw assertion failed (crash) #4235

foremtehan opened this issue Aug 28, 2019 · 8 comments

Comments

Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
@foremtehan
Copy link

@foremtehan foremtehan commented Aug 28, 2019

After i execute termux-setup-storage in my device (Huawei P7 Android version 5) nothing happend but some of my packages functionality has been broked (tor) :
63872210-a7615600-c9d2-11e9-8944-b18e7bd130a1

Even i would delete completely termux from my phone and reinstall it, tor wouldn't work and same error will show up and seem like termux restore it self from some hidden file in my sdcard...

How to Completely remove termux (cache,accesse, etc) from my phone ? (delete cache from setting wouldn't work)

@xeffyr
Copy link
Member

@xeffyr xeffyr commented Aug 28, 2019

(delete cache from setting wouldn't work)

Erasing application data will work.
Your tor error isn't related to termux-setup-storage or such, reinstalling probably won't help.

@foremtehan
Copy link
Author

@foremtehan foremtehan commented Aug 28, 2019

Erasing application data will work.

  1. I deleted google play data to make sure there no caching
  2. first I deleted termux data in setting , and removed it from apps
  3. I've restart my phone
  4. then i install termux again
  5. i executed pkg install tor -y
    and tor show the same error above,Note that i have termux and tor on my another phone and it work properly , something wrong here,

I realized every time i run tor, termux would create a core. file what is it ?

Capture

Where is map_anon.c located? I couldnt see the detail of this file with nano

@xeffyr
Copy link
Member

@xeffyr xeffyr commented Aug 28, 2019

Note that i have termux and tor on my another phone and it work properly , something wrong here,

  1. tor just crashes and you can't do anything here (except using different device).

  2. Post output of termux-info from both devices.

I realized every time i run tor, termux would create a core. file what is it ?

It is a core dump.

@xeffyr
Copy link
Member

@xeffyr xeffyr commented Aug 28, 2019

I couldnt see the detail of this file with nano

There no such file in Termux.
This is a reference to source code directory in build environment.

@xeffyr xeffyr changed the title Can't remove access "termux-setup-storage" even i'd uninstall termux tor: raw assertion failed Aug 28, 2019
@xeffyr xeffyr changed the title tor: raw assertion failed tor: raw assertion failed (crash) Aug 28, 2019
@foremtehan
Copy link
Author

@foremtehan foremtehan commented Aug 28, 2019

Post output of termux-info from both devices.

Coudnt find a way to copy texts from the console so here's the screenshots:

1

2

(I'll send you screenshot from another phone if necessary but i cant for now)

@foremtehan
Copy link
Author

@foremtehan foremtehan commented Aug 30, 2019

@xeffyr does termux have access to /sdcard and /storage by default ? i'm able to see the directories by fresh termux install i bet this crash related to termux-setup-storage command, wish there is a command that able to restore or remove all termux access .

@xeffyr
Copy link
Member

@xeffyr xeffyr commented Aug 30, 2019

Android 5 allows to see /sdcard without storage permission since here it is given by default. Starting from Android 6, you have to explicitly give the necessary permission.

@xeffyr
Copy link
Member

@xeffyr xeffyr commented Sep 22, 2019

Seems to be fixed with update to 0.4.1.6 (happens on previous version but not with newest).

@xeffyr xeffyr closed this Sep 22, 2019
@termux termux locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.