Public bug reported:

from gdb:

i3status: trying to auto-detect output_format setting                           
                                                                                
                                                    
i3status: auto-detected "term"
*** buffer overflow detected ***: terminated

Program received signal SIGABRT, Aborted.
Download failed: Invalid argument.  Continuing without source file 
./nptl/./nptl/pthread_kill.c.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimised out>) at 
./nptl/pthread_kill.c:44
warning: 44     ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimised out>) 
at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimised out>) at 
./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimised out>, signo=signo@entry=6) at 
./nptl/pthread_kill.c:89
#3  0x00007ffff7a4526e in __GI_raise (sig=sig@entry=6) at 
../sysdeps/posix/raise.c:26
#4  0x00007ffff7a288ff in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff7a297b6 in __libc_message_impl (fmt=fmt@entry=0x7ffff7bce765 
"*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:132
#6  0x00007ffff7b36c19 in __GI___fortify_fail (msg=msg@entry=0x7ffff7bce74c 
"buffer overflow detected") at ./debug/fortify_fail.c:24
#7  0x00007ffff7b365d4 in __GI___chk_fail () at ./debug/chk_fail.c:28
#8  0x00007ffff7a889f0 in __vsprintf_internal 
(string=string@entry=0x7fffffff4c80 "Crowne Plaza Paris République", 
maxlen=maxlen@entry=30, format=<optimised out>, args=args@entry=0x7fffffff4a70, 
    mode_flags=mode_flags@entry=6) at ./libio/iovsprintf.c:67
#9  0x00007ffff7b37e6f in ___sprintf_chk (s=s@entry=0x7fffffff4c80 "Crowne 
Plaza Paris République", flag=flag@entry=2, slen=slen@entry=30, 
format=format@entry=0x55555556ac3a "%s") at ./debug/sprintf_chk.c:40
#10 0x0000555555568512 in sprintf (__fmt=0x55555556ac3a "%s", 
__s=0x7fffffff4c80 "Crowne Plaza Paris République") at 
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30
#11 maybe_escape_markup (buffer=<synthetic pointer>, text=0x7fffffff4d04 
"Crowne Plaza Paris République") at ../src/output.c:93
#12 print_wireless_info (ctx=ctx@entry=0x7fffffff4ea0) at 
../src/print_wireless_info.c:595
#13 0x000055555555c49b in main (argc=<optimised out>, argv=<optimised out>) at 
../i3status.c:708
(gdb) quit


Incidentally, at gdb startup I saw this, which is awesome.  It enabled creating 
this bug report so easily.

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n])

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: i3status 2.14-2build2
ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12
Uname: Linux 6.8.0-51-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Mar  1 22:27:03 2025
InstallationDate: Installed on 2023-12-02 (455 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: i3status
UpgradeStatus: Upgraded to noble on 2024-08-30 (183 days ago)
mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07

** Affects: i3status (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100683

Title:
  i3status crashes on a too-long SSID name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/i3status/+bug/2100683/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to