Skip to content
Tcl Source Code Artifact [c667ecbe65]
Login

Artifact [c667ecbe65]

Artifact c667ecbe65cb436ee46271cf5013a45aafe4bd56b48c716c0d61c0f8a7b72f5e:

Ticket change [c667ecbe65] - Ticket [4d3f2130292dbfe3|4d3f213029] <i>VFS support causes infinite recursion during &#39;file exists&#39; if working directory has been removed</i> status still Open with 4 other changes by jrioux on 2023-04-25 15:21:52.
D 2023-04-25T15:21:52.333
J icomment Yes\sthe\sbug\sis\sonly\sreproducible\swith\s"package\srequire\svfs"\sand\smost\slikely\sonly\son\slinux.\r\n\r\nHere\sthe\sprogram\soutput\srunning\sin\sgdb:\r\n\r\n(gdb)\sr\r\nStarting\sprogram:\s/usr/bin/tclsh\r\nwarning:\sError\sdisabling\saddress\sspace\srandomization:\sOperation\snot\spermitted\r\n[Thread\sdebugging\susing\slibthread_db\senabled]\r\nUsing\shost\slibthread_db\slibrary\s"/lib/x86_64-linux-gnu/libthread_db.so.1".\r\n%\spackage\srequire\svfs\r\n1.4.2\r\n%\sset\stestdir\sdirectory_for_testing_will_be_deleted\r\ndirectory_for_testing_will_be_deleted\r\n%\sset\stestdir_abs\s[file\sjoin\s[pwd]\s$testdir]\r\n/directory_for_testing_will_be_deleted\r\n%\sfile\smkdir\s$testdir\r\n%\scd\s$testdir\r\n%\sputs\s"Current\sworking\sdir:\s[pwd]"\r\nCurrent\sworking\sdir:\s/directory_for_testing_will_be_deleted\r\n%\sfile\sdelete\s$testdir_abs\r\n%\sputs\s"Current\sworking\sdir:\s[pwd]"\r\nCurrent\sworking\sdir:\r\n%\sputs\s"File\sexists:\s[file\sexists\s.]"\r\n\r\nProgram\sreceived\ssignal\sSIGSEGV,\sSegmentation\sfault.\r\n0x00007fb74877effd\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n(gdb)\sbt\r\n#0\s\s0x00007fb74877effd\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#1\s\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#2\s\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#3\s\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#4\s\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#5\s\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#6\s\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#7\s\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#8\s\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#9\s\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#10\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#11\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#12\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#13\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#14\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#15\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#16\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#17\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#18\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#19\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#20\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#21\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#22\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#23\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#24\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#25\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#26\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#27\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#28\s0x00007fb74877f1c9\sin\sTcl_FSGetCwd\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#29\s0x00007fb748796099\sin\sTcl_FSGetNormalizedPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n#30\s0x00007fb748002c36\sin\s??\s()\sfrom\s/usr/lib/tcltk/x86_64-linux-gnu/vfs1.4.2/libvfs1.4.2.so\r\n#31\s0x00007fb748780b9e\sin\sTcl_FSGetFileSystemForPath\s()\sfrom\s/lib/x86_64-linux-gnu/libtcl8.6.so\r\n--Type\s<RET>\sfor\smore,\sq\sto\squit,\sc\sto\scontinue\swithout\spaging--\r\n\r\nThe\s??\sin\sthe\sstack\strace\sshould\sbe\sVfsPathInFilesystem\sif\sI\sam\snot\smistaken.
J login jrioux
J mimetype text/plain
J username jrioux
K 4d3f2130292dbfe33977659c2afe98c7bb86b668
U jrioux
Z 97776f7a97b9bfc9bc4c2a047e053e6f