--- Begin Message ---
Package: fdupes
Version: 1:2.2.1-1
Severity: normal
Usertags: crash
When in interactive mode and if there are no duplicates present,
pressing Enter without entering a command causes a crash (SIGSEGV).
$ find -delete
$ echo foo > foo
$ echo bar > bar
$ gdb -batch -n -ex 'set logging redirect on' -ex 'set logging debugredirect
on' -ex 'set logging enabled on' -ex 'set pagination off' -ex run -ex bt -ex
'bt full' --args fdupes -dr .
( No duplicates found; type 'exit' to exit program ): ΒΆ EOF
$ cat gdb.txt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
deletefiles_ncurses (files=<optimized out>, logfile=logfile@entry=0x0) at
./ncurses-interface.c:1291
1291 ./ncurses-interface.c: No such file or directory.
#0 deletefiles_ncurses (files=<optimized out>, logfile=logfile@entry=0x0)
at ./ncurses-interface.c:1291
#1 0x0000555555557fbb in main (argc=<optimized out>, argv=<optimized out>)
at ./fdupes.c:1557
#0 deletefiles_ncurses (files=<optimized out>, logfile=logfile@entry=0x0)
at ./ncurses-interface.c:1291
filewin = <optimized out>
promptwin = 0x55555566f490
statuswin = 0x55555566de70
curfile = <optimized out>
dupefile = <optimized out>
groups = <optimized out>
reallocgroups = <optimized out>
groupfilecount = <optimized out>
topline = 0
cursorgroup = 0
cursorfile = 0
cursor_x = <optimized out>
cursor_y = <optimized out>
groupfirstline = <optimized out>
totallines = <optimized out>
allocatedgroups = <optimized out>
totalgroups = 0
groupindex = 0
linestyle = <optimized out>
preservecount = 0
deletecount = <optimized out>
unresolvedcount = <optimized out>
globaldeletiontally = 0
row = 21845
x = 0
g = <optimized out>
wch = 10
keyresult = 0
cy = <optimized out>
f = <optimized out>
commandbuffer = 0x555555672980 L""
commandbuffersize = 80
commandarguments = 0x7ffff7ecc020 <_nc_prescreen> L""
commandidentifier = 0x55555567aae0
confirmationkeywordidentifier = 0x55555567bc70
doprune = 1
token = <optimized out>
wcsptr = 0x7fffffffea02
L"\x72657478\x35322d6d\x6c6f6336\x4300726f\x53554c50\x434e495f\x4544554c\x5441505f\x682f3d48\x2f656d6f\x73626170\x74706f2f\x636e692f\x6564756c\x6f682f3a\x702f656d\x2f736261\x2f74706f\x6c636e69\x656475\x474b5044\x4e45475f\x424d5953\x5f534c4f\x43454843\x454c5f4b\x3d4c4556\x53550034\x703d5245\x736261\x5f485353\x504b5341\x5f535341\x55514552\x3d455249\x66657270\x53007265\x565f4c44\x4f454449\x56495244\x773d5245\x616c7961\x4c00646e\x41524249\x505f5952\x3d485441\x6d6f682f\x61702f65\x6f2f7362\x6c2f7470\x2f3a6269\x656d6f68\x6261702f\x706f2f73\x696c2f74\x5a410062\x5f455255\x45524f43\x4c4f435f\x5443454c\x4c45545f\x54454d45\x303d5952\x53415000\x524f5753\x54535f44\x5f45524f\x45535f58\x5443454c\x3d4e4f49\x6d697270\x797261\x4d4f4e47\x45545f45\x4e494d52\x535f4c41\x49565245\x3a3d4543\x33312e31\x45520036\x54524f50\x45475542\x4c49414d\x6261703d\x65644073\x6e616962\x67726f2e\x5f4f4400\x5f544f4e\x43415254\x313d4b\x504d4554\x6d742f3d\x73752f70\x312f7265\x303030\x4f445553\x4b53415f\x53534150\x6f682f3d\x702f656d\x2f736261\x2f6e6962\x706b7361\x2d737361\x726367\x52504f47\x3d59584f\x65726964\x44007463\x4c505349\x3a3d5941\x48530030\x3d4c564c\x4f4d0032\x4e455f5a\x454c4241\x5941575f\x444e414c\x5000313d\x52454741\x73656c3d\x414d0073\x434f4c4c\x4548435f\x3d5f4b43\x54510032\x5f4d495f\x55444f4d\x693d454c\x737562\x5f535643\x3d485352\x687373\x464e5953\x455f4749\x4c42414e\x52445f45\x313d5741\x54595000\x444e4f48\x57544e4f\x45544952\x45545942\x45444f43\x4c00313d\x494c5f44\x52415242\x41505f59\x2f3d4854\x656d6f68\x6261702f\x706f2f73\x696c2f74\x682f3a62\x2f656d6f\x73626170\x74706f2f\x62696c2f\x4e595300\x5f474946\x42414e45\x575f454c\x48544449\x5800313d\x525f4744\x49544e55\x445f454d\x2f3d5249\x2f6e7572\x72657375\x3030312f\x41470030\x59425354\x4c45545f\x54454d45\x445f5952\x42415349\x3d44454c\x59530031\x4749464e\x414e455f\x5f454c42\x594c4f50\x3d4e4f47\x59530031\x4749464e\x414e455f\x5f454c42\x54454b53\x313d4843\x4f435300\x4c46534e\x3d534741\x75712d2d\x746569\x49414d45\x61703d4c\x40337362\x656e6f62"...
wcstolcheck = 0x7ffff7e8a780 <_IO_2_1_stdout_> L"\xfbad2084"
number = <optimized out>
status = 0x55555567be30
prompt = 0x55555567b180
dupesfound = <optimized out>
intresult = <optimized out>
resumecommandinput = 0
index_width = <optimized out>
timestamp_width = <optimized out>
#1 0x0000555555557fbb in main (argc=<optimized out>, argv=<optimized out>)
at ./fdupes.c:1557
x = <optimized out>
opt = <optimized out>
file1 = <optimized out>
file2 = <optimized out>
files = 0x55555556bc20
curfile = 0x0
match = 0x0
checktree = 0x55555556bca0
filecount = <optimized out>
progress = 3
oldargv = 0x55555556baa0
firstrecurse = <optimized out>
logfile = <optimized out>
loginfo = <optimized out>
log_error = 32767
logfile_status = {st_dev = 2, st_ino = 32768, st_nlink = 2, st_mode
= 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize =
0, st_blocks = 0, st_atime = 0, st_atimensec = 0, st_mtime = 0, st_mtimensec =
0, st_ctime = 0, st_ctimensec = 0, __glibc_reserved = {0, 0, 0}}
endptr = 0x7ffff7fe0c3d <init_cpu_features+1149> "\213\0059\277\001"
long_options = {{name = 0x5555555621f1 "omitfirst", has_arg = 0,
flag = 0x0, val = 102}, {name = 0x5555555621fb "recurse", has_arg = 0, flag =
0x0, val = 114}, {name = 0x5555555621bf "recurse:", has_arg = 0, flag = 0x0,
val = 82}, {name = 0x555555562203 "quiet", has_arg = 0, flag = 0x0, val = 113},
{name = 0x555555562209 "sameline", has_arg = 0, flag = 0x0, val = 49}, {name =
0x555555562228 "size", has_arg = 0, flag = 0x0, val = 83}, {name =
0x555555562163 "time", has_arg = 0, flag = 0x0, val = 116}, {name =
0x555555562212 "symlinks", has_arg = 0, flag = 0x0, val = 115}, {name =
0x55555556221b "hardlinks", has_arg = 0, flag = 0x0, val = 72}, {name =
0x555555562225 "minsize", has_arg = 1, flag = 0x0, val = 71}, {name =
0x55555556222d "maxsize", has_arg = 1, flag = 0x0, val = 76}, {name =
0x555555562235 "noempty", has_arg = 0, flag = 0x0, val = 110}, {name =
0x55555556223d "nohidden", has_arg = 0, flag = 0x0, val = 65}, {name =
0x555555562246 "delete", has_arg = 0, flag = 0x0, val = 100}, {name =
0x55555556224d "plain", has_arg = 0, flag = 0x0, val = 80}, {name =
0x555555562253 "version", has_arg = 0, flag = 0x0, val = 118}, {name =
0x555555563cbe "help", has_arg = 0, flag = 0x0, val = 104}, {name =
0x55555556225b "noprompt", has_arg = 0, flag = 0x0, val = 78}, {name =
0x555555562264 "immediate", has_arg = 0, flag = 0x0, val = 73}, {name =
0x55555556226e "summarize", has_arg = 0, flag = 0x0, val = 109}, {name =
0x555555562278 "summary", has_arg = 0, flag = 0x0, val = 109}, {name =
0x555555562280 "permissions", has_arg = 0, flag = 0x0, val = 112}, {name =
0x55555556228c "order", has_arg = 1, flag = 0x0, val = 111}, {name =
0x555555562292 "reverse", has_arg = 0, flag = 0x0, val = 105}, {name =
0x55555556229a "log", has_arg = 1, flag = 0x0, val = 108}, {name =
0x55555556229e "deferconfirmation", has_arg = 0, flag = 0x0, val = 68}, {name =
0x0, has_arg = 0, flag = 0x0, val = 0}}
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800,
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700,
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fdupes depends on:
ii libc6 2.37-7
ii libncursesw6 6.4+20230625-2
ii libpcre2-32-0 10.42-2
ii libtinfo6 6.4+20230625-2
fdupes recommends no packages.
fdupes suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part
--- End Message ---