termux/termux-root-packages

tshark outputting nothing

IRISnoir opened this issue · 6 comments

Hello, when I'm trying to scan my network to do some penetration testing via tshark, it doesn't work. It outputs nothing and just gives me back my shell. It doesn't give me the help message either. I hope you can help fix this. Thank you.
Oh and this is my termux-info:
Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages-21 x11/main
https://dl.bintray.com/xeffyr/unstable-packages-21 unstable/main
https://dl.bintray.com/grimler/science-packages-21 science/stable
https://dl.bintray.com/grimler/termux-root-packages-21 root/stable
https://dl.bintray.com/grimler/game-packages-21 games/stable
https://termux.net stable/main
https://termux.net stable/main
System information:
Linux localhost 3.10.72 #1 SMP PREEMPT Tue Feb 16 18:23:49 CST 2016 armv7l Android
Termux-packages arch:
arm
Android version:
5.1
Device manufacturer:
Lenovo
Device model:
Lenovo TB3-710I
20190709_141910

Looks like duplicate of #95.

Yes, but that is the old report. The old report is solved because I erase all data. This one is an exception. I tried but don't know what to do. Please help.

Gdb presented this:
warning: .dynamic section for "/system/lib/libpcre.so" is not at the expected address (wrong library or version mismatch?)
Thank you for reopening.

@HoangPhantom in #95 you said that you "restarted termux" and it started working again, does the same not work now?

What's the exit code from tshark? (tshark; echo $?)

I can't reproduce this issue (I don't have an android 5 or 6 device) and it might even be an issue that only happens on your ROM. gdb doesn't output anything so there's also not much to go on to debug it.

Does the android log say anything that seems to be relevant?

I restarted at #95 and it works finely but doesn't now.
Exit code: 1
Gdb's output:
20190712_192615

Device log doesn't say much(Do I have to wait?):
20190712_192924

Closing since it tshark seem to work for you again: https://github.com/termux/termux-packages/issues/4059