question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mitmproxy binary self-corruption (Ubuntu 18.04)

See original GitHub issue
Steps to reproduce the problem:
  1. get the 4.x mitmproxy release from github, untar it to /usr/local/bin
  2. work with some traffic
  3. exit and try to start binary again, you will get:
[13310] Cannot open self /usr/local/bin/mitmproxy or archive /usr/local/bin/mitmproxy.pkg

Noticed that file size of corrupted binary have been increased:

~# l /usr/local/bin/old/mitmproxy 
-rwxr-xr-x 1 2000 2000 22450352 Jun 16 07:51 /usr/local/bin/corrupted_mitmproxy*
~# l /usr/local/bin/mitmproxy 
-r-xr-xr-x 1 2000 2000 22444880 Jun 16 07:51 /usr/local/bin/mitmproxy*

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
Sfinxcommented, Jul 1, 2018

Exactly - this issue appeared again at newer pyinstaller 😉 Seems like guys do not bother with regression tests at all. All I can do here is to supply enough debug/reproduce info as I’m dumb in python. It is 100% reproducible at my system so I’ve to add exception for mitm* binaries to prelink config.

Read more comments on GitHub >

github_iconTop Results From Across the Web

apt - How do I install mitmproxy on ubuntu 18.0.4
1 Answer 1 · Firstly, run the following command in the terminal to remove apt installed mitmproxy package: sudo apt remove mitmproxy ·...
Read more >
Downloads - Mitmproxy
Downloads. ⭐ Heads Up! You can also install mitmproxy via brew, pip, WSL, or Docker!
Read more >
mitmproxy - a man-in-the-middle proxy with a console interface
mitmproxy is a console tool that allows interactive examination and modification of HTTP traffic. It differs from mitmdump in that all flows are...
Read more >
mitmproxy : arm64 : Bionic (18.04) : Ubuntu - Launchpad
Date Status Target Pocket Component Section 2018‑02‑06 19:27:17 UTC Published Ubuntu Bionic arm64 release universe net Deleted Ubuntu Bionic arm64 proposed universe net 2018‑02‑06 19:30:55 UTC...
Read more >
Installation - Introduction — mitmproxy 0.18 documentation
Ubuntu comes with Python but we need to install pip, python-dev and several ... on OSX is to download the pre-built binary packages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found