mtr on ubuntu 24.04 is broken when using -r option

Bug #2069401 reported by Alan Boey
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
mtr (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Have tried on 3 servers

root@orbit:/root#mtr -r 8.8.8.8
Start: 2024-06-14T07:49:44+0000
*** buffer overflow detected ***: terminated
Aborted

#cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: mtr 0.95-1.1build2
ProcVersionSignature: Ubuntu 6.8.0-1008.9-gcp 6.8.4
Uname: Linux 6.8.0-1008-gcp x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Jun 14 07:48:00 2024
ProcEnviron:
 LANG=C.UTF-8
 LC_TIME=en_GB.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm
SourcePackage: mtr
UpgradeStatus: Upgraded to noble on 2024-06-05 (8 days ago)
mtime.conffile..etc.logrotate.d.apport: 2023-08-16T06:34:12.497648

Revision history for this message
Alan Boey (mipl) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mtr (Ubuntu):
status: New → Confirmed
Revision history for this message
theminertv (theminertv) wrote :

Backtrace:

#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007ffff724526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff72288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff72297b6 in __libc_message_impl (fmt=fmt@entry=0x7ffff73ce765 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:132
#6 0x00007ffff7336c19 in __GI___fortify_fail (msg=msg@entry=0x7ffff73ce74c "buffer overflow detected") at ./debug/fortify_fail.c:24
#7 0x00007ffff73365d4 in __GI___chk_fail () at ./debug/chk_fail.c:28
#8 0x00007ffff7337db5 in ___snprintf_chk (s=s@entry=0x7fffffffbce1 " ", maxlen=maxlen@entry=1024, flag=flag@entry=2, slen=slen@entry=991, format=format@entry=0x7fffffffbb70 "%6s") at ./debug/snprintf_chk.c:29
#9 0x0000555555563714 in snprintf (__fmt=0x7fffffffbb70 "%6s", __n=1024, __s=0x7fffffffbce1 " ") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:54
#10 report_close (ctl=ctl@entry=0x7fffffffcaf0) at ../ui/report.c:143
#11 0x0000555555564c4d in display_close (ctl=ctl@entry=0x7fffffffcaf0) at ../ui/display.c:127
#12 0x000055555555ca77 in main (argc=<optimized out>, argv=<optimized out>) at ../ui/mtr.c:828

Revision history for this message
Collin Anderson (cmawebsite) wrote :

This duplicate bug has a patch and more info: https://bugs.launchpad.net/ubuntu/+source/mtr/+bug/2071890

Revision history for this message
Haw Loeung (hloeung) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "5908af4c19188cb17b62f23368b6ef462831a0cb.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.