INTERNAL ERROR: raw assertion failed (core dump) in termux
So, I have fresh install of termux in my phone no matter if i reinstall the termux tor will crash in start does anybudy can track it down ?
==============================================================T= 1567005970
INTERNAL ERROR: Raw assertion failed at /home/builder/.termux-build/tor/src/src/lib/malloc/map_anon.c:213: nodump_result == 0Aborted (core dumped)
Additional information:
https://github.com/termux/termux-packages/issues/4235 https://tor.stackexchange.com/questions/20222/internal-error-raw-assertion
Trac:
Username: foremtehan
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Trac changed milestone to %Tor: 0.4.1.x-final
changed milestone to %Tor: 0.4.1.x-final
Trac:
Component: - Select a component to Core Tor/TorThere's a lot of info in those links, but I can't find the tor version you're using?
I think we fixed a similar mmap bug recently, we'll know if we can find you what version you're using.
There's also a missing newline and tor version bug in the logs here, so raw_assert() also has some bugs. I'll open a child ticket.
Trac:
Keywords: N/A deleted, 042-should, mmap, regression?, android added
Milestone: N/A to Tor: 0.4.2.x-final
Status: new to needs_informationReplying to teor:
There's a lot of info in those links, but I can't find the tor version you're using?
You'll have to let us know, it's definitely not in these logs.
There's also a missing newline and tor version bug in the logs here, so raw_assert() also has some bugs. I'll open a child ticket.
I made sure it will be in future logs, see #31571 (moved).
Replying to teor:
we'll know if we can find you what version you're using.
I installed tor through termux by "pkg install tor", I found the version (0.4.1.5):
https://i.imgur.com/1IVlFNt.png
How to install last version of tor by "pkg"?
There's also a missing newline and tor version bug in the logs here, so raw_assert() also has some bugs. I'll open a child ticket.
Is there anything I need to do؟
Trac:
Username: foremtehanReplying to foremtehan:
Replying to teor:
we'll know if we can find you what version you're using.
I installed tor through termux by "pkg install tor", I found the version (0.4.1.5):
Thanks!
I've assigned this bug to nickm, because he wrote this code.
How to install last version of tor by "pkg"?
I don't know which tor versions are available via pkg, check its package index?
Let's see if nickm can diagnose the bug, and tell you if it is fixed. Then we will know which version to tell you to install.
There's also a missing newline and tor version bug in the logs here, so raw_assert() also has some bugs. I'll open a child ticket.
Is there anything I need to do؟
No, we will take care of fixing logging, and make sure it gets into a tor release eventually.
Trac:
Status: needs_information to assigned
Owner: N/A to nickmTrac:
Priority: Medium to HighSo, this appears to be happening because madvise() is failing, which shouldn't be able to happen, but which might be possible. I wonder what the errno value is. My guesses would be ENOSYS or EINVAL.
I have a possible fix in a branch
bug31570_041
. (If the issue isn't fixed, it should at least have a slightly better log message.) PR at https://github.com/torproject/tor/pull/1285 .It would be good if somebody could test this patch on an affected system, but I think it should be clear enough that we could try merging it anyway.
Trac:
Status: assigned to needs_review
Actualpoints: N/A to .1Add "crash" keyword to defect tickets in 0.4.2 that don't have it.
Trac:
Keywords: N/A deleted, crash addedTrac:
Reviewer: N/A to ahfTrac:
Keywords: crash deleted, crash BugSmashFund added- Developer
Patch looks good. I was not able to trigger the error case here on my machine though.
Trac:
Status: needs_review to merge_ready Trac:
Keywords: crash BugSmashFund deleted, crash BugSmashFund dgoulet-merge addedMerged!
Trac:
Resolution: N/A to fixed
Status: merge_ready to closedBackported to 0.4.1
Trac:
Keywords: crash BugSmashFund dgoulet-merge deleted, crash BugSmashFund dgoulet-merge 041-backport added
Milestone: Tor: 0.4.2.x-final to Tor: 0.4.1.x-final- Trac closed
closed
- Trac added 48m of time spent
added 48m of time spent