Giter Site home page Giter Site logo

mtr segfaults about mtr HOT 5 CLOSED

traviscross avatar traviscross commented on June 28, 2024
mtr segfaults

from mtr.

Comments (5)

dkorzhevin avatar dkorzhevin commented on June 28, 2024

Seems, mtr doesn't work with IPv6 as expected..

ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.21.0.116 netmask 255.255.255.0 broadcast 172.21.0.255
inet6 fe80::1ec1:deff:fe0b:17d8 prefixlen 64 scopeid 0x20
inet6 2a02:2278:70eb:101:1ec1:deff:fe0b:17d8 prefixlen 64 scopeid 0x0
ether 1c:c1🇩🇪0b:17:d8 txqueuelen 1000 (Ethernet)
RX packets 1572745 bytes 2138243687 (1.9 GiB)
RX errors 0 dropped 3290 overruns 0 frame 0
TX packets 792803 bytes 71035457 (67.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 1832 bytes 63518 (62.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1832 bytes 63518 (62.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

In error i see, that mtr crash after request to localhost IPv6 loopback: localhost (::)

Will dig more..

from mtr.

rewolff avatar rewolff commented on June 28, 2024

Hi,
When you straced the mtr command, it failed to get a raw socket. Either you didn't make it setuid at all, or the strace wasn't run as "root". You need to run the strace as root, because otherwise the system will refuse to let mtr get a raw socket.

from mtr.

dkorzhevin avatar dkorzhevin commented on June 28, 2024

Please, look at https://gist.github.com/anonymous/5575021

This is result of command executed from root (not sudo):

LANG=C strace -Ff -tt mtr mirohost.net 2>&1 | tee strace-mtr.log

from mtr.

danners avatar danners commented on June 28, 2024

i also got a crash on arch and looked more into it:
it seems that the source archive from ftp://ftp.bitwizard.nl/mtr/mtr-0.84.tar.gz which arch uses to build its package doesn't include the bugfix (commit cece39e). If i apply the changes, i can use mtr again.

from mtr.

rewolff avatar rewolff commented on June 28, 2024

Around the 0.84 release, I had trouble keeping git and the "releases" in sync. Sorry for the trouble.
Let's consider this fixed. OK?

from mtr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.