Closed vjancik closed 3 years ago
Could you please try:
sudo TMPDIR=$PREFIX/tmp tshark -i wlan0
I don't get a seg fault, but I do get an error that $TMPDIR (that tsu sets to ~/.suroot/.tmp) does not exist. I'll patch it to always use $PREFIX/tmp if this fixes it for you as well.
I can confirm this fixes the issue! Thank you!
On Fri, Jan 8, 2021, 09:00 Henrik Grimler notifications@github.com wrote:
Could you please try:
sudo TMPDIR=$PREFIX/tmp tshark -i wlan0
I don't get a seg fault, but I do get an error that $TMPDIR (that tsu sets to ~/.suroot/.tmp) does not exist. I'll patch it to always use $PREFIX/tmp if this fixes it for you as well.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/termux/termux-root-packages/issues/220#issuecomment-756610101, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAH6MJOISA6KEK5UNKD24DSY23QBANCNFSM4VZVEV3Q .
Fixed it in tsu, should work out of the box after doing a pkg upgrade
in 10 minutes or so.
Thanks for reporting!
The crash was fixed in wireshark. https://gitlab.com/wireshark/wireshark/-/issues/17828
@jborme cool, thanks for investigating and fixing it!
Problem description Tshark reports a segmentation fault in dumpcap on usage.
Steps to reproduce sudo provided by tsu
sudo tshark -i wlan0
Output:
Additionally:
sudo dumpcap
outputsAdditional information Output of
tshark --version
:Output of
termux-info