joakim666 / colortail

Like the tail command line utility but with colors
GNU General Public License v2.0
125 stars 23 forks source link

Segfault for large files in logs #5

Open mikeforbes opened 13 years ago

mikeforbes commented 13 years ago

Hi there,

I still get a segfault for large files being read by colortail, using the latest version. example:

# colortail -f /var/log/syslog

(in another shell, same box)

# logger < file.with.lots.of.text.on.one.line.txt

(file is 1429k)

results in colortail segfaulting:

kernel: [2391911.204618] colortail[25342]: segfault at 7fff9aed4004 ip 00007f3c7679fb50 sp 00007fff9aecda68 error 6 in libc-2.11.1.so[7f3c7671d000+17a000]

I'm happy to do a backtrace or valgrind report for you if needed.

Using colortail 0.3.3, ubuntu lucid 10.04

xztraz commented 7 years ago

issue stil relevant. segfault on long lines

ThomasLobker commented 5 years ago

I just gave it another try on Ubuntu 18.04 with a fresh build of colortail but unfortunately....

[Sun Jun 30 21:39:09 2019] colortail[16313]: segfault at 7ffd17862fc0 ip 00007fbbfd090913 sp 00007ffdca0963b8 error 6 in libc-2.27.so[7fbbfcfda000+1e7000]
[Sun Jun 30 22:08:55 2019] colortail[24659]: segfault at 7fff5f6fb004 ip 00007f576d6cd913 sp 00007fff5f6f47e8 error 6 in libc-2.27.so[7f576d617000+1e7000]
Abhinickz commented 1 year ago

Got this error: with colortail 0.3.3

60307 segmentation fault  colortail -f /var/lib/readarr/logs/Readarr.txt /var/lib/sonarr/logs/sonarr.txt

on Environment:

Raspberry Pi 4B Rev 1.4
OS: Debian GNU/Linux 11 (bullseye) aarch64
Kernel: 5.15.84-v8+